diff --git a/.gitmodules b/.gitmodules index 3b16b5edff..16f6d2f163 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,11 +1,11 @@ [submodule "submodules/terrafx.interop.windows"] path = eng/submodules/terrafx.interop.windows url = https://github.com/terrafx/terrafx.interop.windows -[submodule "eng/submodules/opengl"] - path = eng/submodules/opengl +[submodule "eng/submodules/opengl-registry"] + path = eng/submodules/opengl-registry url = https://github.com/KhronosGroup/OpenGL-Registry.git -[submodule "eng/submodules/egl"] - path = eng/submodules/egl +[submodule "eng/submodules/egl-registry"] + path = eng/submodules/egl-registry url = https://github.com/KhronosGroup/EGL-Registry/ [submodule "eng/submodules/sdl"] path = eng/submodules/sdl @@ -16,9 +16,45 @@ [submodule "eng/submodules/openal-soft"] path = eng/submodules/openal-soft url = https://github.com/kcat/openal-soft -[submodule "eng/submodules/vulkan"] - path = eng/submodules/vulkan +[submodule "eng/submodules/vulkan-docs"] + path = eng/submodules/vulkan-docs url = https://github.com/KhronosGroup/Vulkan-Docs.git [submodule "eng/submodules/vulkan-headers"] path = eng/submodules/vulkan-headers url = https://github.com/KhronosGroup/Vulkan-Headers.git +[submodule "eng/submodules/assimp"] + path = eng/submodules/assimp + url = https://github.com/assimp/assimp +[submodule "eng/submodules/spirv-tools"] + path = eng/submodules/spirv-tools + url = https://github.com/KhronosGroup/SPIRV-Tools +[submodule "eng/submodules/spirv-reflect"] + path = eng/submodules/spirv-reflect + url = https://github.com/KhronosGroup/SPIRV-Reflect.git +[submodule "eng/submodules/spirv-headers"] + path = eng/submodules/spirv-headers + url = https://github.com/KhronosGroup/SPIRV-Headers +[submodule "eng/submodules/spirv-cross"] + path = eng/submodules/spirv-cross + url = https://github.com/KhronosGroup/SPIRV-Cross +[submodule "eng/submodules/shaderc"] + path = eng/submodules/shaderc + url = https://github.com/google/shaderc +[submodule "eng/submodules/moltenvk"] + path = eng/submodules/moltenvk + url = https://github.com/KhronosGroup/MoltenVK +[submodule "eng/submodules/vulkan-memory-allocator"] + path = eng/submodules/vulkan-memory-allocator + url = https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git +[submodule "eng/submodules/glslang"] + path = eng/submodules/glslang + url = https://github.com/KhronosGroup/glslang.git +[submodule "eng/submodules/openxr-sdk"] + path = eng/submodules/openxr-sdk + url = https://github.com/KhronosGroup/OpenXR-SDK.git +[submodule "eng/submodules/opencl-docs"] + path = eng/submodules/opencl-docs + url = https://github.com/KhronosGroup/OpenCL-Docs.git +[submodule "eng/submodules/opencl-headers"] + path = eng/submodules/opencl-headers + url = https://github.com/KhronosGroup/OpenCL-Headers.git diff --git a/.silktouch/opencl-clangsharp.stout b/.silktouch/opencl-clangsharp.stout new file mode 100644 index 0000000000..87b3ce0856 Binary files /dev/null and b/.silktouch/opencl-clangsharp.stout differ diff --git a/.silktouch/openxr-clangsharp.stout b/.silktouch/openxr-clangsharp.stout new file mode 100644 index 0000000000..252ca036b2 Binary files /dev/null and b/.silktouch/openxr-clangsharp.stout differ diff --git a/Silk.NET.slnx b/Silk.NET.slnx index 3212772f0c..92374af89a 100644 --- a/Silk.NET.slnx +++ b/Silk.NET.slnx @@ -54,9 +54,15 @@ + + + + + + diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 5ff74b19d5..75b7998a2d 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -12,6 +12,8 @@ Silk.NET 3.0 Preview 1 - Added combined OpenGL bindings using the 3.0 bindings style. - Added OpenAL bindings using the 3.0 bindings style. +- Added OpenCL bindings using the 3.0 bindings style. +- Added OpenXR bindings using the 3.0 bindings style. - Added SDL3 bindings using the 3.0 bindings style. - Added Vulkan bindings using the 3.0 bindings style. - Improved the bindings style to be more accessible, IDE-friendly, and AOT-friendly. Learn more at **TODO ADD A LINK TO DOCUMENTATION HERE**. diff --git a/docs/for-contributors/Generator/api-specific-notes.md b/docs/for-contributors/Generator/api-specific-notes.md index 3d3c4175a4..49109b57be 100644 --- a/docs/for-contributors/Generator/api-specific-notes.md +++ b/docs/for-contributors/Generator/api-specific-notes.md @@ -1,23 +1,66 @@ # API-Specific Notes This document's purpose is to note down any decisions or quirks that are specific to a library that Silk is generating -bindings for. +bindings for. It is fine for a section to be empty if we do not have any notes specific to that library. This is meant to be a living document. Please update this as new work is being done on the generator. -## OpenAL +Certain APIs are grouped together because they share similar characteristics. -Currently empty. +## C Bindings + +These are APIs that can be categorized as being straightforward C APIs or are C APIs that simply do not share +characteristics with other bindings. -## OpenGL +### SDL Currently empty. -## SDL +## Khronos Bindings -Currently empty. +These are APIs managed either by Khronos or APIs managed in a similar way to the official Khronos APIs. +These use the `MixKhronosData` mod and come with an XML spec. + +Be aware that the XML spec links point to the latest version. Silk's repo may be using an older version of these XML +files. + +### OpenAL + +Spec file used: https://raw.githubusercontent.com/kcat/openal-soft/master/registry/xml/al.xml + +### OpenCL + +Spec file used: https://raw.githubusercontent.com/KhronosGroup/OpenCL-Docs/main/xml/cl.xml + +The following warning is expected since we do not want to hardcode the version in our entrypoint header: + +``` +warning: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 310 (OpenCL 3.1) [-W#pragma-messages] +``` + +### OpenGL + +Spec file used: https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/main/xml/gl.xml + +### OpenXR + +Spec file used: https://raw.githubusercontent.com/KhronosGroup/OpenXR-SDK/main/specification/registry/xr.xml + +There will be the following errors in the generation log. This is expected. These types are part of the XML +specification, but not part of the main `openxr.h` header. + +API Constants shows up here, but not in Vulkan because OpenXR's XML lacks the `type="constants"` attribute that +Vulkan's XML has. + +``` +fail: Silk.NET.SilkTouch.Mods.MixKhronosData[0] Enum "API Constants" has no base type. Please add TypeMap entry to the configuration. This enum group will be skipped. +fail: Silk.NET.SilkTouch.Mods.MixKhronosData[0] Enum "XrAndroidThreadTypeKHR" has no base type. Please add TypeMap entry to the configuration. This enum group will be skipped. +fail: Silk.NET.SilkTouch.Mods.MixKhronosData[0] Enum "XrLoaderInterfaceStructs" has no base type. Please add TypeMap entry to the configuration. This enum group will be skipped. +``` + +### Vulkan -## Vulkan +Spec file used: https://raw.githubusercontent.com/KhronosGroup/Vulkan-Docs/main/xml/vk.xml There will be the following errors in the generation log. This is expected. These types are part of the XML specification, but not part of the main `vulkan.h` header. diff --git a/docs/for-contributors/Generator/generator-mods.md b/docs/for-contributors/Generator/generator-mods.md index ff56581087..c8793b129d 100644 --- a/docs/for-contributors/Generator/generator-mods.md +++ b/docs/for-contributors/Generator/generator-mods.md @@ -496,13 +496,13 @@ the mod. Khronos-style XML specifications: -- OpenAL: https://raw.githubusercontent.com/kcat/openal-soft/refs/heads/master/registry/xml/al.xml -- OpenCL: https://raw.githubusercontent.com/KhronosGroup/OpenCL-Docs/refs/heads/main/xml/cl.xml -- OpenGL: https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/refs/heads/main/xml/gl.xml +- OpenAL: https://raw.githubusercontent.com/kcat/openal-soft/master/registry/xml/al.xml +- OpenCL: https://raw.githubusercontent.com/KhronosGroup/OpenCL-Docs/main/xml/cl.xml +- OpenGL: https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/main/xml/gl.xml - OpenGL Windows: https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/main/xml/wgl.xml -- OpenGL X11: https://github.com/KhronosGroup/OpenGL-Registry/blob/main/xml/glx.xml -- OpenXR: https://raw.githubusercontent.com/KhronosGroup/OpenXR-SDK-Source/main/specification/registry/xr.xml -- Vulkan: https://raw.githubusercontent.com/KhronosGroup/Vulkan-Docs/refs/heads/main/xml/vk.xml +- OpenGL X11: https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/main/xml/glx.xml +- OpenXR: https://raw.githubusercontent.com/KhronosGroup/OpenXR-SDK/main/specification/registry/xr.xml +- Vulkan: https://raw.githubusercontent.com/KhronosGroup/Vulkan-Docs/main/xml/vk.xml Be aware that these link to the latest version. Silk's repo may be using an older version of these XML files. diff --git a/docs/for-contributors/Generator/using-the-generator.md b/docs/for-contributors/Generator/using-the-generator.md index 70eb00493c..65cc4c7f7b 100644 --- a/docs/for-contributors/Generator/using-the-generator.md +++ b/docs/for-contributors/Generator/using-the-generator.md @@ -15,12 +15,15 @@ Metal. ## Generator Overview -There are two main things to configure: +There are three main things to configure: 1. Silk 3 - This is the [`generator.json`](https://github.com/dotnet/Silk.NET/blob/develop/3.0/generator.json) file. 2. ClangSharpPInvokeGenerator - This is the [`eng/silktouch`](https://github.com/dotnet/Silk.NET/tree/develop/3.0/eng/silktouch) folder. +3. C# Project File - This is your typical `.csproj` file and add it to your solution before running the SilkTouch + generator. + Both are organized by native API. Note: For the average C API, SDL's generator configuration would be the best configuration to reference. Most options @@ -63,7 +66,7 @@ Note that these files can be stored anywhere since the SilkTouch configuration l generator looks for these response files. > To read more about ClangSharpPInvokeGenerator's command line arguments, a good option is to install the tool directly -> and use `--help` to display its command line documentation. +> and use the `--help` option to display its command line documentation. > > ```sh > dotnet tool install --global ClangSharpPInvokeGenerator @@ -211,14 +214,59 @@ static Vk() } ``` +### Initial Project Creation + +You must create the initial project for the generated bindings to go in. This also goes for the solution file. +SilkTouch does not modify either file. + +The paths for these files correspond to the following options in the `generator.json` file: +- `Jobs.JOB_NAME.SourceProject` +- `Jobs.JOB_NAME.Solution` + +(TODO: Does this apply to `Jobs.JOB_NAME.TestProject` as well?) + +For the source project file, ensure that the project references the `Silk.NET.Core` project or package by using the +corresponding `ProjectReference` or `PackageReference`. Also ensure the `AllowUnsafeBlocks` property is set to true. + +> Note: In Silk's repository, `AllowUnsafeBlocks` is set globally by +> [Directory.Build.props](https://github.com/dotnet/Silk.NET/blob/develop/3.0/Directory.Build.props). +> +> (TODO: Not sure if other properties are required.) + +For the solution file, both `.sln` and `.slnx` file formats are supported. This is because we defer to Roslyn and +MSBuild under the hood. + +### Running the Generator + +The generator can be run directly from source using the following command: + +```sh +dotnet run --project sources/SilkTouch/SilkTouch/Silk.NET.SilkTouch.csproj -c Release -- generator.json --only SDL +``` + +You may use the `--help` option to display additional information about available options. + +``` +dotnet run --project sources/SilkTouch/SilkTouch/Silk.NET.SilkTouch.csproj -c Release -- --help +``` + +Some notable options include the `--only` and `--skip` options. `--only` lets you specify the exact jobs to run. +`--skip` is the opposite and lets you specify the jobs to skip. If `--only` and `--skip` is specified for the same job, +`--skip` takes precedence. + +Warning: There are currently some generator bugs associated with running multiple jobs in the same process. We recommend +that you use `--only` to ensure that only one job is executed per process. Running multiple processes in parallel is +fine. + ### Generated Bindings Output All generated binding will be output to the `Jobs.JOB_NAME.SourceProject` path defined in `generator.json`. -These generated files all have the `.gen.cs` suffix and most of them are partial type declarations. -This means by creating a similarly named `.cs` file and using the `partial` C# keyword, you can add to the type. +These generated files all have the `.gen.cs` suffix and most of them are partial type declarations. This means by +creating a similarly named `.cs` file and using the `partial` C# keyword, you can add to the type. -Do not modify the `.gen.cs` files since running the generator again will overwrite those changes. +Do not modify the `.gen.cs` files since running the generator again will overwrite those changes. Files without this +extension are left untouched by the generator. ### Packing the Generated Bindings diff --git a/docs/silk.net/experimental-feed.md b/docs/silk.net/experimental-feed.md index 8d1b9a73c3..dbe7affae4 100644 --- a/docs/silk.net/experimental-feed.md +++ b/docs/silk.net/experimental-feed.md @@ -45,6 +45,16 @@ In order to use the experimental feed, you must change this project file slightl ``` +Optionally, create a `nuget.config` file next to your solution file with the following contents: +```xml + + + + + + +``` + ## Install an experimental version Now .NET has access to the experimental feed, it's time to install an experimental package. Check for the latest version on our [GitLab Package Registry](https://gitlab.com/silkdotnet/Silk.NET/-/packages). @@ -57,7 +67,6 @@ At the time of writing, the latest version is `2.0.0-build97.0`. Now to install ``` - > [!WARNING] > Experimental Feed builds may be deleted without warning at the Silk.NET team's discretion. diff --git a/eng/silktouch/opencl/header.txt b/eng/silktouch/opencl/header.txt new file mode 100644 index 0000000000..494c8c8976 --- /dev/null +++ b/eng/silktouch/opencl/header.txt @@ -0,0 +1,5 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. diff --git a/eng/silktouch/opencl/opencl/generate.rsp b/eng/silktouch/opencl/opencl/generate.rsp new file mode 100644 index 0000000000..387499087f --- /dev/null +++ b/eng/silktouch/opencl/opencl/generate.rsp @@ -0,0 +1,17 @@ +@../settings.rsp +@../remap.rsp +--additional +-Wno-invalid-constexpr +--file +opencl-opencl.h +--methodClassName +Cl +--namespace +Silk.NET.OpenCL +--output +../../../../sources/OpenCL/OpenCL +--test-output +../../../../tests/OpenCL/OpenCL +--traverse +../../../submodules/opencl-headers/CL/cl.h +../../../submodules/opencl-headers/CL/cl_ext.h diff --git a/eng/silktouch/opencl/opencl/opencl-opencl.h b/eng/silktouch/opencl/opencl/opencl-opencl.h new file mode 100644 index 0000000000..2940f714b4 --- /dev/null +++ b/eng/silktouch/opencl/opencl/opencl-opencl.h @@ -0,0 +1,2 @@ +#include +#include diff --git a/eng/silktouch/opencl/remap.rsp b/eng/silktouch/opencl/remap.rsp new file mode 100644 index 0000000000..5cc04603c6 --- /dev/null +++ b/eng/silktouch/opencl/remap.rsp @@ -0,0 +1,11 @@ +@../../remap-stdint.rsp +--remap +_cl_platform_id=cl_platform_id +_cl_device_id=cl_device_id +_cl_context=cl_context +_cl_command_queue=cl_command_queue +_cl_mem=cl_mem +_cl_program=cl_program +_cl_kernel=cl_kernel +_cl_event=cl_event +_cl_sampler=cl_sampler diff --git a/eng/silktouch/opencl/settings.rsp b/eng/silktouch/opencl/settings.rsp new file mode 100644 index 0000000000..623eb4ec0b --- /dev/null +++ b/eng/silktouch/opencl/settings.rsp @@ -0,0 +1,11 @@ +@../../common.rsp +--define-macro +TODO_DEFINE_MACROS=HERE +--headerFile +../header.txt +--include-directory +../../../submodules/opencl-headers +--with-callconv +*=Winapi +--with-librarypath +*=opencl diff --git a/eng/silktouch/opengl/settings.rsp b/eng/silktouch/opengl/settings.rsp index 3b24402e78..547b53cd28 100644 --- a/eng/silktouch/opengl/settings.rsp +++ b/eng/silktouch/opengl/settings.rsp @@ -4,8 +4,8 @@ TODO_DEFINE_MACROS=HERE --headerFile ../header.txt --include-directory -../../../submodules/opengl/api -../../../submodules/egl/api +../../../submodules/opengl-registry/api +../../../submodules/egl-registry/api ../../../include --with-callconv *=Winapi diff --git a/eng/silktouch/openxr/header.txt b/eng/silktouch/openxr/header.txt new file mode 100644 index 0000000000..3fc9ef3798 --- /dev/null +++ b/eng/silktouch/openxr/header.txt @@ -0,0 +1,5 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. diff --git a/eng/silktouch/openxr/openxr/generate.rsp b/eng/silktouch/openxr/openxr/generate.rsp new file mode 100644 index 0000000000..9c01404150 --- /dev/null +++ b/eng/silktouch/openxr/openxr/generate.rsp @@ -0,0 +1,16 @@ +@../settings.rsp +@../remap.rsp +--exclude +XR_NULL_HANDLE +--file +openxr-openxr.h +--methodClassName +Xr +--namespace +Silk.NET.OpenXR +--output +../../../../sources/OpenXR/OpenXR +--test-output +../../../../tests/OpenXR/OpenXR +--traverse +../../../submodules/openxr-sdk/include/openxr/openxr.h diff --git a/eng/silktouch/openxr/openxr/openxr-openxr.h b/eng/silktouch/openxr/openxr/openxr-openxr.h new file mode 100644 index 0000000000..17fc44a46d --- /dev/null +++ b/eng/silktouch/openxr/openxr/openxr-openxr.h @@ -0,0 +1 @@ +#include diff --git a/eng/silktouch/openxr/remap.rsp b/eng/silktouch/openxr/remap.rsp new file mode 100644 index 0000000000..183bb5fb2a --- /dev/null +++ b/eng/silktouch/openxr/remap.rsp @@ -0,0 +1 @@ +@../../remap-stdint.rsp diff --git a/eng/silktouch/openxr/settings.rsp b/eng/silktouch/openxr/settings.rsp new file mode 100644 index 0000000000..dc50931060 --- /dev/null +++ b/eng/silktouch/openxr/settings.rsp @@ -0,0 +1,11 @@ +@../../common.rsp +--define-macro +TODO_DEFINE_MACROS=HERE +--headerFile +../header.txt +--include-directory +../../../submodules/openxr-sdk/include +--with-callconv +*=Winapi +--with-librarypath +*=openxr_loader diff --git a/eng/submodules/assimp b/eng/submodules/assimp new file mode 160000 index 0000000000..392a658f9c --- /dev/null +++ b/eng/submodules/assimp @@ -0,0 +1 @@ +Subproject commit 392a658f9c271be965271f45e7521a1b80ea4392 diff --git a/eng/submodules/egl b/eng/submodules/egl deleted file mode 160000 index 5f2c71f311..0000000000 --- a/eng/submodules/egl +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5f2c71f311d6cb031562f2d61517383542ecade7 diff --git a/eng/submodules/egl-registry b/eng/submodules/egl-registry new file mode 160000 index 0000000000..a7fb4ec38a --- /dev/null +++ b/eng/submodules/egl-registry @@ -0,0 +1 @@ +Subproject commit a7fb4ec38a785cb5914b5a8ba5f264450677338d diff --git a/eng/submodules/glslang b/eng/submodules/glslang new file mode 160000 index 0000000000..275822a626 --- /dev/null +++ b/eng/submodules/glslang @@ -0,0 +1 @@ +Subproject commit 275822a6261ee689aadb1da5f09a0ec2f058685c diff --git a/eng/submodules/moltenvk b/eng/submodules/moltenvk new file mode 160000 index 0000000000..db445ff204 --- /dev/null +++ b/eng/submodules/moltenvk @@ -0,0 +1 @@ +Subproject commit db445ff2042d9ce348c439ad8451112f354b8d2a diff --git a/eng/submodules/openal-soft b/eng/submodules/openal-soft index 6e0d0b39b3..dc98bfbe60 160000 --- a/eng/submodules/openal-soft +++ b/eng/submodules/openal-soft @@ -1 +1 @@ -Subproject commit 6e0d0b39b3d9e5b027f01bdd2fbf18ca8ce5a2db +Subproject commit dc98bfbe6064d851e32428db83b06732a448810b diff --git a/eng/submodules/opencl-docs b/eng/submodules/opencl-docs new file mode 160000 index 0000000000..8e5d0534d0 --- /dev/null +++ b/eng/submodules/opencl-docs @@ -0,0 +1 @@ +Subproject commit 8e5d0534d022824de12e5fdde25f32f508de1b5c diff --git a/eng/submodules/opencl-headers b/eng/submodules/opencl-headers new file mode 160000 index 0000000000..6fe718c31a --- /dev/null +++ b/eng/submodules/opencl-headers @@ -0,0 +1 @@ +Subproject commit 6fe718c31a45fe25151362a72ef041c3a1047cbd diff --git a/eng/submodules/opengl b/eng/submodules/opengl deleted file mode 160000 index 0ef89b84d3..0000000000 --- a/eng/submodules/opengl +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0ef89b84d3bb5880a6553231d9cc64b2abd525a7 diff --git a/eng/submodules/opengl-registry b/eng/submodules/opengl-registry new file mode 160000 index 0000000000..8e772a3b0c --- /dev/null +++ b/eng/submodules/opengl-registry @@ -0,0 +1 @@ +Subproject commit 8e772a3b0c9e8a85ccb6f471b4cdbf94c8bcd71d diff --git a/eng/submodules/openxr-sdk b/eng/submodules/openxr-sdk new file mode 160000 index 0000000000..64f2b37c8c --- /dev/null +++ b/eng/submodules/openxr-sdk @@ -0,0 +1 @@ +Subproject commit 64f2b37c8c6da3d83c9b4d11865ba1fb752cb8ec diff --git a/eng/submodules/shaderc b/eng/submodules/shaderc new file mode 160000 index 0000000000..d5f08ae5c5 --- /dev/null +++ b/eng/submodules/shaderc @@ -0,0 +1 @@ +Subproject commit d5f08ae5c5a9a45165578445cbd0f9adf0223448 diff --git a/eng/submodules/spirv-cross b/eng/submodules/spirv-cross new file mode 160000 index 0000000000..1a6169566c --- /dev/null +++ b/eng/submodules/spirv-cross @@ -0,0 +1 @@ +Subproject commit 1a6169566c73d3da552748fc372fe2bbb856e46e diff --git a/eng/submodules/spirv-headers b/eng/submodules/spirv-headers new file mode 160000 index 0000000000..ad9184e76a --- /dev/null +++ b/eng/submodules/spirv-headers @@ -0,0 +1 @@ +Subproject commit ad9184e76a66b1001c29db9b0a3e87f646c64de0 diff --git a/eng/submodules/spirv-reflect b/eng/submodules/spirv-reflect new file mode 160000 index 0000000000..c90b7b781c --- /dev/null +++ b/eng/submodules/spirv-reflect @@ -0,0 +1 @@ +Subproject commit c90b7b781cdcff63cf1b409ffc7ca0a714e0425e diff --git a/eng/submodules/spirv-tools b/eng/submodules/spirv-tools new file mode 160000 index 0000000000..0539c81f69 --- /dev/null +++ b/eng/submodules/spirv-tools @@ -0,0 +1 @@ +Subproject commit 0539c81f69a3daeb706fd3477dca61435b475156 diff --git a/eng/submodules/vulkan b/eng/submodules/vulkan deleted file mode 160000 index 09d464f853..0000000000 --- a/eng/submodules/vulkan +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 09d464f85360160747c4ad6dc5a9841e15822aa5 diff --git a/eng/submodules/vulkan-docs b/eng/submodules/vulkan-docs new file mode 160000 index 0000000000..ea5259d683 --- /dev/null +++ b/eng/submodules/vulkan-docs @@ -0,0 +1 @@ +Subproject commit ea5259d68356334a2928d5d6c327ccaea2f2af08 diff --git a/eng/submodules/vulkan-headers b/eng/submodules/vulkan-headers index 3dda5a1a87..01393c3df0 160000 --- a/eng/submodules/vulkan-headers +++ b/eng/submodules/vulkan-headers @@ -1 +1 @@ -Subproject commit 3dda5a1a87b62fdf3baf4680edc41c00e85a7a22 +Subproject commit 01393c3df0e5285b54ee6527466513f9e614be94 diff --git a/eng/submodules/vulkan-memory-allocator b/eng/submodules/vulkan-memory-allocator new file mode 160000 index 0000000000..3aa921224c --- /dev/null +++ b/eng/submodules/vulkan-memory-allocator @@ -0,0 +1 @@ +Subproject commit 3aa921224c154a0d2c43912bc88e1c42ce1f7607 diff --git a/generator.json b/generator.json index 1a727db33d..bb01508ed3 100644 --- a/generator.json +++ b/generator.json @@ -107,8 +107,9 @@ "MarkNativeNames", "AddApiProfiles", "BakeSourceSets", - "MixKhronosData", "AddOpaqueStructs", + "MixKhronosData", + "TransformHandles", "TransformFunctions", "IdentifySharedPrefixes", "PrettifyNames", @@ -160,7 +161,7 @@ ] }, "MixKhronosData": { - "SpecPath": "eng/submodules/opengl/xml/gl.xml", + "SpecPath": "eng/submodules/opengl-registry/xml/gl.xml", "Namespace": "Silk.NET.OpenGL", "TypeMap": { "GLenum": "uint", @@ -226,6 +227,9 @@ "AddNoneMemberToFlags": true, "RewriteMemberValues": true }, + "TransformHandles": { + "UseDsl": true + }, "TransformFunctions": { "BoolTypes": { "GLboolean": null @@ -244,6 +248,162 @@ ] } }, + "OpenCL": { + "SourceProject": "sources/OpenCL/OpenCL/Silk.NET.OpenCL.csproj", + "Solution": "Silk.NET.slnx", + "DefaultLicenseHeader": "eng/silktouch/header.txt", + "Mods": [ + "AddIncludes", + "ClangScraper", + "MarkNativeNames", + "AddApiProfiles", + "ExtractHandles", + "MixKhronosData", + "TransformHandles", + "TransformFunctions", + "IdentifySharedPrefixes", + "PrettifyNames", + "TransformEnums", + "AddVTables", + "StripAttributes" + ], + "ClangScraper": { + "ClangSharpResponseFiles": [ + "eng/silktouch/opencl/**/generate.rsp" + ], + "InputSourceRoot": "sources/OpenCL", + "InputTestRoot": "tests/OpenCL" + }, + "MixKhronosData": { + "SpecPath": "eng/submodules/opencl-docs/xml/cl.xml", + "Namespace": "Silk.NET.OpenCL", + "TypeMap": { + "cl_bitfield": "ulong", + "cl_properties": "ulong", + "intptr_t": "long", + "ErrorCodes": "int", + "cl_affinity_domain_ext": "uint", + "clCommandExecutionStatus": "uint", + "cl_compiler_mode_altera": "uint", + "cl_motion_estimation_desc_intel.mb_block_type": "uint", + "cl_motion_estimation_desc_intel.subpixel_mode": "uint", + "cl_motion_estimation_desc_intel.sad_adjust_mode": "uint", + "cl_motion_estimation_desc_intel.search_path_type": "uint", + "cl_arm_device_svm_capabilities.flags": "uint", + "cl_arm_svm_alloc.flags": "uint", + "cl_intel_advanced_motion_estimation.flags": "uint", + "cl_intel_advanced_motion_estimation.search_cost_penalty": "uint", + "cl_intel_advanced_motion_estimation.search_cost_precision": "uint", + "cl_intel_advanced_motion_estimation.intra_search_prediction_modes_buffer.luma_block": "uint", + "cl_intel_advanced_motion_estimation.intra_search_prediction_modes_buffer.chroma_block": "uint", + "cl_intel_advanced_motion_estimation.skip_block_type": "uint", + "cl_intel_advanced_motion_estimation.device_me_version": "uint", + "cl_intel_advanced_motion_estimation.cl_motion_detect_desc_intel": "uint", + "cl_intel_advanced_motion_estimation.cl_motion_detect_desc_intel.2": "uint", + "cl_intel_device_side_avc_motion_estimation.version": "uint", + "cl_intel_device_side_avc_motion_estimation.major": "uint", + "cl_intel_device_side_avc_motion_estimation.minor": "uint", + "cl_intel_device_side_avc_motion_estimation.major.dir": "uint", + "cl_intel_device_side_avc_motion_estimation.partition": "uint", + "cl_intel_device_side_avc_motion_estimation.window": "uint", + "cl_intel_device_side_avc_motion_estimation.adjust": "uint", + "cl_intel_device_side_avc_motion_estimation.subpixel": "uint", + "cl_intel_device_side_avc_motion_estimation.cost.precision": "uint", + "cl_intel_device_side_avc_motion_estimation.weight": "uint", + "cl_intel_device_side_avc_motion_estimation.border": "uint", + "cl_intel_device_side_avc_motion_estimation.skip": "uint", + "cl_intel_device_side_avc_motion_estimation.skip.dir": "uint", + "cl_intel_device_side_avc_motion_estimation.skip.block.based": "uint", + "cl_intel_device_side_avc_motion_estimation.intra": "uint", + "cl_intel_device_side_avc_motion_estimation.intra.luma": "uint", + "cl_intel_device_side_avc_motion_estimation.intra.neighbor": "uint", + "cl_intel_device_side_avc_motion_estimation.luma.predictor": "uint", + "cl_intel_device_side_avc_motion_estimation.frame.dir": "uint", + "cl_intel_device_side_avc_motion_estimation.slice": "uint", + "cl_intel_device_side_avc_motion_estimation.scan.dir": "uint", + "cl_command_termination_reason_arm": "uint", + "cl_platform_command_buffer_capabilities_khr": "uint", + "cl_device_command_buffer_capabilities_khr": "uint", + "cl_media_adapter_type_khr": "uint", + "cl_media_adapter_set_khr": "uint", + "host_cache_policy": "uint", + "allocation_type": "uint", + "cl_unified_shared_memory_capabilities_intel": "uint", + "cl_mem_alloc_info_intel": "uint", + "cl_semaphore_type": "uint", + "cl_kernel_workgroup_info": "uint" + }, + "IdentifyEnumMemberImpliedVendors": true + }, + "AddVTables": { + "VTables": [ + { + "Kind": "DllImport" + }, + { + "Kind": "StaticWrapper" + }, + { + "Kind": "ThisThread", + "IsDefault": true, + "GenerateMakeCurrentPartial": true + } + ] + }, + "IdentifySharedPrefixes": { + "GlobalPrefixHints": ["cl", "_cl"] + }, + "PrettifyNames": { + "Affixes": { + "HandleType": { + "Order": 1 + }, + "FunctionPointerDelegateType": { + "Order": 1 + }, + "KhronosVendor": { + "Order": -1, + "Capitalize": true + }, + "KhronosFunctionDataType": { + "IsDiscriminator": true + }, + "KhronosImpliedVendor": { + "Remove": true + }, + "KhronosNonExclusiveVendor": { + "Remove": true + }, + "SharedPrefix": { + "Remove": true + } + } + }, + "TransformEnums": { + "AddNoneMemberToFlags": true, + "RewriteMemberValues": true + }, + "TransformHandles": { + "UseDsl": true + }, + "TransformFunctions": { + "BoolTypes": { + "cl_bool": null + } + }, + "TransformProperties": { + "BoolTypes": { + "cl_bool": null + } + }, + "StripAttributes": { + "Remove": [ + "NativeTypeName", + "NameAffix", + "Transformed" + ] + } + }, "OpenAL": { "SourceProject": "sources/OpenAL/OpenAL/Silk.NET.OpenAL.csproj", "Solution": "Silk.NET.slnx", @@ -294,9 +454,6 @@ "LOKI", "EXT" ], - "ExcludeVendorSuffixIdentification": [ - "ALC_INVALID_CONTEXT" - ], "NonVendorSuffixes": [ "Direct" ], @@ -392,6 +549,133 @@ ] } }, + "OpenXR": { + "SourceProject": "sources/OpenXR/OpenXR/Silk.NET.OpenXR.csproj", + "Solution": "Silk.NET.slnx", + "DefaultLicenseHeader": "eng/silktouch/header.txt", + "Mods": [ + "AddIncludes", + "ClangScraper", + "MarkNativeNames", + "ExtractHandles", + "ExtractNestedTypes", + "ExtractEnumConstants", + "ExtractFunctionPointers", + "TransformHandles", + "MixKhronosData", + "AddApiProfiles", + "InterceptNativeFunctions", + "TransformFunctions", + "TransformProperties", + "IdentifySharedPrefixes", + "PrettifyNames", + "TransformEnums", + "AddVTables", + "StripAttributes" + ], + "ClangScraper": { + "ClangSharpResponseFiles": [ + "eng/silktouch/openxr/**/generate.rsp" + ], + "InputSourceRoot": "sources/OpenXR", + "InputTestRoot": "tests/OpenXR" + }, + "AddApiProfiles": { + "Profiles": [ + { + "Profile": "openxr", + "SourceSubdirectory": "openxr" + } + ] + }, + "MixKhronosData": { + "SpecPath": "eng/submodules/openxr-sdk/specification/registry/xr.xml", + "Namespace": "Silk.NET.OpenXR", + "StructureTypes": [ + "XrStructureType" + ], + "FlagsTypes": [ + "XrFlags64" + ], + "IdentifyEnumMemberImpliedVendors": true + }, + "InterceptNativeFunctions": { + "NativeFunctionNames": [ + "xrCreateInstance" + ] + }, + "TransformFunctions": { + "BoolTypes": { + "XrBool32": null + } + }, + "TransformProperties": { + "BoolTypes": { + "XrBool32": null + } + }, + "TransformHandles": { + "UseDsl": true + }, + "IdentifySharedPrefixes": { + "GlobalPrefixHints": ["PFN_xr", "xr"] + }, + "PrettifyNames": { + "Affixes": { + "HandleType": { + "Order": 1 + }, + "FunctionPointerDelegateType": { + "Order": 1 + }, + "KhronosVendor": { + "Order": -1 + }, + "KhronosImpliedVendor": { + "Remove": true + }, + "KhronosHandleType": { + "Remove": true + }, + "SharedPrefix": { + "Remove": true + } + } + }, + "TransformEnums": { + "AddNoneMemberToFlags": true, + "RemoveMembers": [ + { + "MemberName": "MaxEnum", + "MemberValue": "0x7FFFFFFF" + } + ], + "CoerceBackingTypes": "PreferUnsigned", + "RewriteMemberValues": true + }, + "AddVTables": { + "VTables": [ + { + "Kind": "DllImport" + }, + { + "Kind": "StaticWrapper" + }, + { + "Kind": "ThisThread", + "IsDefault": true, + "GenerateFactoryPartial": true + } + ] + }, + "StripAttributes": { + "Remove": [ + "NativeTypeName", + "NameAffix", + "Transformed" + ] + } + }, "Vulkan": { "SourceProject": "sources/Vulkan/Vulkan/Silk.NET.Vulkan.csproj", "Solution": "Silk.NET.slnx", @@ -432,7 +716,7 @@ ] }, "MixKhronosData": { - "SpecPath": "eng/submodules/vulkan/xml/vk.xml", + "SpecPath": "eng/submodules/vulkan-docs/xml/vk.xml", "Namespace": "Silk.NET.Vulkan", "StructureTypes": [ "VkStructureType" @@ -470,6 +754,7 @@ "IdentifySharedPrefixes": { "GlobalPrefixHints": ["PFN_vk", "vk"], "PrefixOverrides": { + "VkImageCreateFlags2KHR": "VK_IMAGE_CREATE_2", "VkPipelineCreateFlags2": "VK_PIPELINE_CREATE_2", "VkMemoryDecompressionMethodFlagsEXT": "VK_MEMORY_DECOMPRESSION_METHOD" } diff --git a/sources/OpenAL/OpenAL/al/ALContext.gen.cs b/sources/OpenAL/OpenAL/al/ALContext.gen.cs index 81f6a82bc1..cbb083c22b 100644 --- a/sources/OpenAL/OpenAL/al/ALContext.gen.cs +++ b/sources/OpenAL/OpenAL/al/ALContext.gen.cs @@ -295,21 +295,26 @@ public static extern void GetInteger( [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static void GetInteger(DeviceHandle device, int param1, int size, Ref values) + public static void GetInteger( + DeviceHandle device, + Constant param1, + int size, + Ref values + ) { fixed (int* __dsl_values = values) { - GetInteger(device, param1, size, __dsl_values); + GetInteger(device, (int)param1, size, __dsl_values); } } [NativeName("alcGetIntegerv")] [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] - public static int GetInteger(DeviceHandle device, int param1) + public static int GetInteger(DeviceHandle device, Constant param1) { int values = default; - GetInteger(device, param1, 1, (int*)&values); + GetInteger(device, (int)param1, 1, (int*)&values); return values; } @@ -904,8 +909,12 @@ public void GetInteger(DeviceHandle device, int param1, int size, int* values) = [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public void GetInteger(DeviceHandle device, int param1, int size, Ref values) => - T.GetInteger(device, param1, size, values); + public void GetInteger( + DeviceHandle device, + Constant param1, + int size, + Ref values + ) => T.GetInteger(device, param1, size, values); [NativeName("alcGetIntegerv")] [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] @@ -913,7 +922,8 @@ public void GetInteger(DeviceHandle device, int param1, int size, Ref value [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public int GetInteger(DeviceHandle device, int param1) => T.GetInteger(device, param1); + public int GetInteger(DeviceHandle device, Constant param1) => + T.GetInteger(device, param1); [NativeName("alcGetProcAddress")] [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] @@ -1555,11 +1565,16 @@ public static void GetInteger(DeviceHandle device, int param1, int size, int* va [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static void GetInteger(DeviceHandle device, int param1, int size, Ref values) + public static void GetInteger( + DeviceHandle device, + Constant param1, + int size, + Ref values + ) { fixed (int* __dsl_values = values) { - GetInteger(device, param1, size, __dsl_values); + GetInteger(device, (int)param1, size, __dsl_values); } } @@ -1569,10 +1584,10 @@ public static void GetInteger(DeviceHandle device, int param1, int size, Ref param1) { int values = default; - GetInteger(device, param1, 1, (int*)&values); + GetInteger(device, (int)param1, 1, (int*)&values); return values; } @@ -2564,11 +2579,16 @@ public static void GetInteger(DeviceHandle device, int param1, int size, int* va [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - void IALContext.GetInteger(DeviceHandle device, int param1, int size, Ref values) + void IALContext.GetInteger( + DeviceHandle device, + Constant param1, + int size, + Ref values + ) { fixed (int* __dsl_values = values) { - ((IALContext)this).GetInteger(device, param1, size, __dsl_values); + ((IALContext)this).GetInteger(device, (int)param1, size, __dsl_values); } } @@ -2576,17 +2596,21 @@ void IALContext.GetInteger(DeviceHandle device, int param1, int size, Ref v [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static void GetInteger(DeviceHandle device, int param1, int size, Ref values) => - ThisThread.GetInteger(device, param1, size, values); + public static void GetInteger( + DeviceHandle device, + Constant param1, + int size, + Ref values + ) => ThisThread.GetInteger(device, param1, size, values); [NativeName("alcGetIntegerv")] [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - int IALContext.GetInteger(DeviceHandle device, int param1) + int IALContext.GetInteger(DeviceHandle device, Constant param1) { int values = default; - ((IALContext)this).GetInteger(device, param1, 1, (int*)&values); + ((IALContext)this).GetInteger(device, (int)param1, 1, (int*)&values); return values; } @@ -2594,7 +2618,7 @@ int IALContext.GetInteger(DeviceHandle device, int param1) [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static int GetInteger(DeviceHandle device, int param1) => + public static int GetInteger(DeviceHandle device, Constant param1) => ThisThread.GetInteger(device, param1); [NativeName("alcGetProcAddress")] diff --git a/sources/OpenAL/OpenAL/al/IALContext.gen.cs b/sources/OpenAL/OpenAL/al/IALContext.gen.cs index 5dbd4241d9..6baac04f1c 100644 --- a/sources/OpenAL/OpenAL/al/IALContext.gen.cs +++ b/sources/OpenAL/OpenAL/al/IALContext.gen.cs @@ -208,12 +208,17 @@ Ref values [NativeName("alcGetIntegerv")] [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] - static abstract void GetInteger(DeviceHandle device, int param1, int size, Ref values); + static abstract void GetInteger( + DeviceHandle device, + Constant param1, + int size, + Ref values + ); [NativeName("alcGetIntegerv")] [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] - static abstract int GetInteger(DeviceHandle device, int param1); + static abstract int GetInteger(DeviceHandle device, Constant param1); [NativeName("alcGetProcAddress")] [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] @@ -570,12 +575,17 @@ Constant deviceType [NativeName("alcGetIntegerv")] [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] - void GetInteger(DeviceHandle device, int param1, int size, Ref values); + void GetInteger( + DeviceHandle device, + Constant param1, + int size, + Ref values + ); [NativeName("alcGetIntegerv")] [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] - int GetInteger(DeviceHandle device, int param1); + int GetInteger(DeviceHandle device, Constant param1); [NativeName("alcGetProcAddress")] [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] diff --git a/sources/OpenAL/Soft.Native/runtimes/android-arm/native/libopenal.so b/sources/OpenAL/Soft.Native/runtimes/android-arm/native/libopenal.so index 8b0f64ec21..39dc8308d8 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/android-arm/native/libopenal.so and b/sources/OpenAL/Soft.Native/runtimes/android-arm/native/libopenal.so differ diff --git a/sources/OpenAL/Soft.Native/runtimes/android-arm64/native/libopenal.so b/sources/OpenAL/Soft.Native/runtimes/android-arm64/native/libopenal.so index 4fd3f598ca..42a0776619 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/android-arm64/native/libopenal.so and b/sources/OpenAL/Soft.Native/runtimes/android-arm64/native/libopenal.so differ diff --git a/sources/OpenAL/Soft.Native/runtimes/android-x64/native/libopenal.so b/sources/OpenAL/Soft.Native/runtimes/android-x64/native/libopenal.so index 3c2ec92d5a..534da427bb 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/android-x64/native/libopenal.so and b/sources/OpenAL/Soft.Native/runtimes/android-x64/native/libopenal.so differ diff --git a/sources/OpenAL/Soft.Native/runtimes/android-x86/native/libopenal.so b/sources/OpenAL/Soft.Native/runtimes/android-x86/native/libopenal.so index ed41794f25..240fdcf820 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/android-x86/native/libopenal.so and b/sources/OpenAL/Soft.Native/runtimes/android-x86/native/libopenal.so differ diff --git a/sources/OpenAL/Soft.Native/runtimes/ios/native/libopenal.dylib b/sources/OpenAL/Soft.Native/runtimes/ios/native/libopenal.dylib index f58e35e947..44c47f1943 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/ios/native/libopenal.dylib and b/sources/OpenAL/Soft.Native/runtimes/ios/native/libopenal.dylib differ diff --git a/sources/OpenAL/Soft.Native/runtimes/linux-arm/native/libopenal.so b/sources/OpenAL/Soft.Native/runtimes/linux-arm/native/libopenal.so index 8cf76e295b..f9ccbf5bbe 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/linux-arm/native/libopenal.so and b/sources/OpenAL/Soft.Native/runtimes/linux-arm/native/libopenal.so differ diff --git a/sources/OpenAL/Soft.Native/runtimes/linux-arm64/native/libopenal.so b/sources/OpenAL/Soft.Native/runtimes/linux-arm64/native/libopenal.so index c636b3783c..93cdc1f402 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/linux-arm64/native/libopenal.so and b/sources/OpenAL/Soft.Native/runtimes/linux-arm64/native/libopenal.so differ diff --git a/sources/OpenAL/Soft.Native/runtimes/linux-x64/native/libopenal.so b/sources/OpenAL/Soft.Native/runtimes/linux-x64/native/libopenal.so index bc5237235c..816ff019b9 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/linux-x64/native/libopenal.so and b/sources/OpenAL/Soft.Native/runtimes/linux-x64/native/libopenal.so differ diff --git a/sources/OpenAL/Soft.Native/runtimes/osx/native/libopenal.dylib b/sources/OpenAL/Soft.Native/runtimes/osx/native/libopenal.dylib index d6e299f695..1e04514e03 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/osx/native/libopenal.dylib and b/sources/OpenAL/Soft.Native/runtimes/osx/native/libopenal.dylib differ diff --git a/sources/OpenAL/Soft.Native/runtimes/tvos/native/libopenal.dylib b/sources/OpenAL/Soft.Native/runtimes/tvos/native/libopenal.dylib index 2ad7c825d8..00555640eb 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/tvos/native/libopenal.dylib and b/sources/OpenAL/Soft.Native/runtimes/tvos/native/libopenal.dylib differ diff --git a/sources/OpenAL/Soft.Native/runtimes/tvossimulator/native/libopenal.dylib b/sources/OpenAL/Soft.Native/runtimes/tvossimulator/native/libopenal.dylib index c0c36b20dc..300b7269d6 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/tvossimulator/native/libopenal.dylib and b/sources/OpenAL/Soft.Native/runtimes/tvossimulator/native/libopenal.dylib differ diff --git a/sources/OpenAL/Soft.Native/runtimes/win-arm64/native/OpenAL32.dll b/sources/OpenAL/Soft.Native/runtimes/win-arm64/native/OpenAL32.dll index 6a46cb52bd..3577178b56 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/win-arm64/native/OpenAL32.dll and b/sources/OpenAL/Soft.Native/runtimes/win-arm64/native/OpenAL32.dll differ diff --git a/sources/OpenAL/Soft.Native/runtimes/win-arm64/native/soft_oal.dll b/sources/OpenAL/Soft.Native/runtimes/win-arm64/native/soft_oal.dll index e2479997e8..859b1f9065 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/win-arm64/native/soft_oal.dll and b/sources/OpenAL/Soft.Native/runtimes/win-arm64/native/soft_oal.dll differ diff --git a/sources/OpenAL/Soft.Native/runtimes/win-x64/native/OpenAL32.dll b/sources/OpenAL/Soft.Native/runtimes/win-x64/native/OpenAL32.dll index 3e12d32c44..7e0f2ad73c 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/win-x64/native/OpenAL32.dll and b/sources/OpenAL/Soft.Native/runtimes/win-x64/native/OpenAL32.dll differ diff --git a/sources/OpenAL/Soft.Native/runtimes/win-x64/native/soft_oal.dll b/sources/OpenAL/Soft.Native/runtimes/win-x64/native/soft_oal.dll index 22d0abf0d5..50b3144b33 100644 Binary files a/sources/OpenAL/Soft.Native/runtimes/win-x64/native/soft_oal.dll and b/sources/OpenAL/Soft.Native/runtimes/win-x64/native/soft_oal.dll differ diff --git a/sources/OpenCL/OpenCL/Cl.gen.cs b/sources/OpenCL/OpenCL/Cl.gen.cs new file mode 100644 index 0000000000..f2d05b1901 --- /dev/null +++ b/sources/OpenCL/OpenCL/Cl.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using Silk.NET.Core.Loader; + +namespace Silk.NET.OpenCL; + +partial class Cl(INativeContext nativeContext) : IDisposable +{ + public partial class DllImport : ICl.Static + { + static DllImport() => LoaderInterface.RegisterHook(Assembly.GetExecutingAssembly()); + } + + public partial class ThisThread : ICl.Static + { + public static ThreadLocal Underlying { get; } = new(); + + public static partial void MakeCurrent(ICl ctx); + } + + private readonly unsafe void*[] _slots = new void*[179]; + + public static ICl Create(INativeContext ctx) => new Cl(ctx); + + /// + public void Dispose() => nativeContext.Dispose(); +} diff --git a/sources/OpenCL/OpenCL/Enums/AcceleratorInfoINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/AcceleratorInfoINTEL.gen.cs new file mode 100644 index 0000000000..29d2dbfbdf --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AcceleratorInfoINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_accelerator_info_intel")] +public enum AcceleratorInfoINTEL : uint +{ + [NativeName("CL_ACCELERATOR_DESCRIPTOR_INTEL")] + Descriptor = 16528, + + [NativeName("CL_ACCELERATOR_REFERENCE_COUNT_INTEL")] + ReferenceCount = 16529, + + [NativeName("CL_ACCELERATOR_CONTEXT_INTEL")] + Context = 16530, + + [NativeName("CL_ACCELERATOR_TYPE_INTEL")] + Type = 16531, +} diff --git a/sources/OpenCL/OpenCL/Enums/AcceleratorTypeINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/AcceleratorTypeINTEL.gen.cs new file mode 100644 index 0000000000..9a3038358a --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AcceleratorTypeINTEL.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_accelerator_type_intel")] +public enum AcceleratorTypeINTEL : uint +{ + [NativeName("CL_ACCELERATOR_TYPE_MOTION_ESTIMATION_INTEL")] + MotionEstimation = 0, +} diff --git a/sources/OpenCL/OpenCL/Enums/AddressingMode.gen.cs b/sources/OpenCL/OpenCL/Enums/AddressingMode.gen.cs new file mode 100644 index 0000000000..7d34f76d98 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AddressingMode.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_addressing_mode")] +public enum AddressingMode : uint +{ + [NativeName("CL_ADDRESS_NONE")] + None = 4400, + + [NativeName("CL_ADDRESS_CLAMP_TO_EDGE")] + ClampToEdge = 4401, + + [NativeName("CL_ADDRESS_CLAMP")] + Clamp = 4402, + + [NativeName("CL_ADDRESS_REPEAT")] + Repeat = 4403, + + [NativeName("CL_ADDRESS_MIRRORED_REPEAT")] + MirroredRepeat = 4404, +} diff --git a/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationDeviceMeVersionINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationDeviceMeVersionINTEL.gen.cs new file mode 100644 index 0000000000..f887278aea --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationDeviceMeVersionINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_advanced_motion_estimation.device_me_version")] +public enum AdvancedMotionEstimationDeviceMeVersionINTEL : uint +{ + [NativeName("CL_ME_VERSION_LEGACY_INTEL")] + Legacy = 0, + + [NativeName("CL_ME_VERSION_ADVANCED_VER_1_INTEL")] + AdvancedVer1 = 1, + + [NativeName("CL_ME_VERSION_ADVANCED_VER_2_INTEL")] + AdvancedVer2 = 2, +} diff --git a/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationFlagsINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationFlagsINTEL.gen.cs new file mode 100644 index 0000000000..4f2fafb9cd --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationFlagsINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_advanced_motion_estimation.flags")] +[Flags] +public enum AdvancedMotionEstimationFlagsINTEL : uint +{ + None = 0x0, + + [NativeName("CL_ME_CHROMA_INTRA_PREDICT_ENABLED_INTEL")] + ChromaIntraPredictEnabled = 0x1, + + [NativeName("CL_ME_LUMA_INTRA_PREDICT_ENABLED_INTEL")] + LumaIntraPredictEnabled = 0x2, +} diff --git a/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationIntraSearchPredictionModesBufferChromaBlockINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationIntraSearchPredictionModesBufferChromaBlockINTEL.gen.cs new file mode 100644 index 0000000000..68fff267c3 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationIntraSearchPredictionModesBufferChromaBlockINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName( + "cl_intel_advanced_motion_estimation.intra_search_prediction_modes_buffer.chroma_block" +)] +public enum AdvancedMotionEstimationIntraSearchPredictionModesBufferChromaBlockINTEL : uint +{ + [NativeName("CL_ME_CHROMA_PREDICTOR_MODE_DC_INTEL")] + Dc = 0, + + [NativeName("CL_ME_CHROMA_PREDICTOR_MODE_HORIZONTAL_INTEL")] + Horizontal = 1, + + [NativeName("CL_ME_CHROMA_PREDICTOR_MODE_VERTICAL_INTEL")] + Vertical = 2, + + [NativeName("CL_ME_CHROMA_PREDICTOR_MODE_PLANE_INTEL")] + Plane = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationIntraSearchPredictionModesBufferLumaBlockINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationIntraSearchPredictionModesBufferLumaBlockINTEL.gen.cs new file mode 100644 index 0000000000..780f95c4db --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationIntraSearchPredictionModesBufferLumaBlockINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_advanced_motion_estimation.intra_search_prediction_modes_buffer.luma_block")] +public enum AdvancedMotionEstimationIntraSearchPredictionModesBufferLumaBlockINTEL : uint +{ + [NativeName("CL_ME_LUMA_PREDICTOR_MODE_VERTICAL_INTEL")] + Vertical = 0, + + [NativeName("CL_ME_LUMA_PREDICTOR_MODE_HORIZONTAL_INTEL")] + Horizontal = 1, + + [NativeName("CL_ME_LUMA_PREDICTOR_MODE_DC_INTEL")] + Dc = 2, + + [NativeName("CL_ME_LUMA_PREDICTOR_MODE_DIAGONAL_DOWN_LEFT_INTEL")] + DiagonalDownLeft = 3, + + [NativeName("CL_ME_LUMA_PREDICTOR_MODE_DIAGONAL_DOWN_RIGHT_INTEL")] + DiagonalDownRight = 4, + + [NativeName("CL_ME_LUMA_PREDICTOR_MODE_PLANE_INTEL")] + Plane = 4, + + [NativeName("CL_ME_LUMA_PREDICTOR_MODE_VERTICAL_RIGHT_INTEL")] + VerticalRight = 5, + + [NativeName("CL_ME_LUMA_PREDICTOR_MODE_HORIZONTAL_DOWN_INTEL")] + HorizontalDown = 6, + + [NativeName("CL_ME_LUMA_PREDICTOR_MODE_VERTICAL_LEFT_INTEL")] + VerticalLeft = 7, + + [NativeName("CL_ME_LUMA_PREDICTOR_MODE_HORIZONTAL_UP_INTEL")] + HorizontalUp = 8, +} diff --git a/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationMotionDetectDesc2INTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationMotionDetectDesc2INTEL.gen.cs new file mode 100644 index 0000000000..7a1d803493 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationMotionDetectDesc2INTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_advanced_motion_estimation.cl_motion_detect_desc_intel.2")] +public enum AdvancedMotionEstimationMotionDetectDesc2INTEL : uint +{ + [NativeName("CL_ME_BIDIR_WEIGHT_QUARTER_INTEL")] + Quarter = 16, + + [NativeName("CL_ME_BIDIR_WEIGHT_THIRD_INTEL")] + Third = 21, + + [NativeName("CL_ME_BIDIR_WEIGHT_HALF_INTEL")] + Half = 32, + + [NativeName("CL_ME_BIDIR_WEIGHT_TWO_THIRD_INTEL")] + TwoThird = 43, + + [NativeName("CL_ME_BIDIR_WEIGHT_THREE_QUARTER_INTEL")] + ThreeQuarter = 48, +} diff --git a/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationMotionDetectDescINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationMotionDetectDescINTEL.gen.cs new file mode 100644 index 0000000000..db29c8798e --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationMotionDetectDescINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_advanced_motion_estimation.cl_motion_detect_desc_intel")] +public enum AdvancedMotionEstimationMotionDetectDescINTEL : uint +{ + [NativeName("CL_ME_FORWARD_INPUT_MODE_INTEL")] + ForwardInputMode = 1, + + [NativeName("CL_ME_BACKWARD_INPUT_MODE_INTEL")] + BackwardInputMode = 2, + + [NativeName("CL_ME_BIDIRECTION_INPUT_MODE_INTEL")] + BidirectionInputMode = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationSearchCostPenaltyINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationSearchCostPenaltyINTEL.gen.cs new file mode 100644 index 0000000000..0405237336 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationSearchCostPenaltyINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_advanced_motion_estimation.search_cost_penalty")] +public enum AdvancedMotionEstimationSearchCostPenaltyINTEL : uint +{ + [NativeName("CL_ME_COST_PENALTY_NONE_INTEL")] + None = 0, + + [NativeName("CL_ME_COST_PENALTY_LOW_INTEL")] + Low = 1, + + [NativeName("CL_ME_COST_PENALTY_NORMAL_INTEL")] + Normal = 2, + + [NativeName("CL_ME_COST_PENALTY_HIGH_INTEL")] + High = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationSearchCostPrecisionINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationSearchCostPrecisionINTEL.gen.cs new file mode 100644 index 0000000000..48fb6aeb04 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationSearchCostPrecisionINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_advanced_motion_estimation.search_cost_precision")] +public enum AdvancedMotionEstimationSearchCostPrecisionINTEL : uint +{ + [NativeName("CL_ME_COST_PRECISION_QPEL_INTEL")] + Qpel = 0, + + [NativeName("CL_ME_COST_PRECISION_HPEL_INTEL")] + Hpel = 1, + + [NativeName("CL_ME_COST_PRECISION_PEL_INTEL")] + Pel = 2, + + [NativeName("CL_ME_COST_PRECISION_DPEL_INTEL")] + Dpel = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationSkipBlockTypeINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationSkipBlockTypeINTEL.gen.cs new file mode 100644 index 0000000000..d5ab1483b3 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AdvancedMotionEstimationSkipBlockTypeINTEL.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_advanced_motion_estimation.skip_block_type")] +public enum AdvancedMotionEstimationSkipBlockTypeINTEL : uint +{ + [NativeName("CL_ME_SKIP_BLOCK_TYPE_16x16_INTEL")] + Type16x16 = 0, + + [NativeName("CL_ME_SKIP_BLOCK_TYPE_8x8_INTEL")] + Type8x8 = 4, +} diff --git a/sources/OpenCL/OpenCL/Enums/AffinityDomainEXT.gen.cs b/sources/OpenCL/OpenCL/Enums/AffinityDomainEXT.gen.cs new file mode 100644 index 0000000000..0e6b61d974 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AffinityDomainEXT.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_affinity_domain_ext")] +public enum AffinityDomainEXT : uint +{ + [NativeName("CL_AFFINITY_DOMAIN_L1_CACHE_EXT")] + L1Cache = 1, + + [NativeName("CL_AFFINITY_DOMAIN_L2_CACHE_EXT")] + L2Cache = 2, + + [NativeName("CL_AFFINITY_DOMAIN_L3_CACHE_EXT")] + L3Cache = 3, + + [NativeName("CL_AFFINITY_DOMAIN_L4_CACHE_EXT")] + L4Cache = 4, + + [NativeName("CL_AFFINITY_DOMAIN_NUMA_EXT")] + Numa = 16, + + [NativeName("CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT")] + NextFissionable = 256, +} diff --git a/sources/OpenCL/OpenCL/Enums/AllocationType.gen.cs b/sources/OpenCL/OpenCL/Enums/AllocationType.gen.cs new file mode 100644 index 0000000000..4847bae3ce --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/AllocationType.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("allocation_type")] +public enum AllocationType : uint +{ + [NativeName("CL_MEM_ION_HOST_PTR_QCOM")] + IonHostPtrQCOM = 16552, + + [NativeName("CL_MEM_ANDROID_NATIVE_BUFFER_HOST_PTR_QCOM")] + AndroidNativeBufferHostPtrQCOM = 16582, +} diff --git a/sources/OpenCL/OpenCL/Enums/Bool.gen.cs b/sources/OpenCL/OpenCL/Enums/Bool.gen.cs new file mode 100644 index 0000000000..26577e7423 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/Bool.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_bool")] +public enum Bool : uint +{ + [NativeName("CL_FALSE")] + False = 0, + + [NativeName("CL_TRUE")] + True = 1, + + [NativeName("CL_BLOCKING")] + Blocking = 1, + + [NativeName("CL_NON_BLOCKING")] + NonBlocking = 0, +} diff --git a/sources/OpenCL/OpenCL/Enums/BufferCreateType.gen.cs b/sources/OpenCL/OpenCL/Enums/BufferCreateType.gen.cs new file mode 100644 index 0000000000..8c0ff038fc --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/BufferCreateType.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_buffer_create_type")] +public enum BufferCreateType : uint +{ + [NativeName("CL_BUFFER_CREATE_TYPE_REGION")] + Region = 4640, +} diff --git a/sources/OpenCL/OpenCL/Enums/BuildStatus.gen.cs b/sources/OpenCL/OpenCL/Enums/BuildStatus.gen.cs new file mode 100644 index 0000000000..b98886894d --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/BuildStatus.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_build_status")] +public enum BuildStatus : int +{ + [NativeName("CL_BUILD_SUCCESS")] + Success = 0, + + [NativeName("CL_BUILD_NONE")] + None = -1, + + [NativeName("CL_BUILD_ERROR")] + Error = -2, + + [NativeName("CL_BUILD_IN_PROGRESS")] + InProgress = -3, +} diff --git a/sources/OpenCL/OpenCL/Enums/ChannelOrder.gen.cs b/sources/OpenCL/OpenCL/Enums/ChannelOrder.gen.cs new file mode 100644 index 0000000000..7af07ad76e --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ChannelOrder.gen.cs @@ -0,0 +1,92 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_channel_order")] +public enum ChannelOrder : uint +{ + [NativeName("CL_R")] + R = 4272, + + [NativeName("CL_A")] + A = 4273, + + [NativeName("CL_RG")] + Rg = 4274, + + [NativeName("CL_RA")] + Ra = 4275, + + [NativeName("CL_RGB")] + Rgb = 4276, + + [NativeName("CL_RGBA")] + Rgba = 4277, + + [NativeName("CL_BGRA")] + Bgra = 4278, + + [NativeName("CL_ARGB")] + Argb = 4279, + + [NativeName("CL_INTENSITY")] + Intensity = 4280, + + [NativeName("CL_LUMINANCE")] + Luminance = 4281, + + [NativeName("CL_Rx")] + Rx = 4282, + + [NativeName("CL_RGx")] + RGx = 4283, + + [NativeName("CL_RGBx")] + RGBx = 4284, + + [NativeName("CL_DEPTH")] + Depth = 4285, + + [NativeName("CL_sRGB")] + SRgb = 4287, + + [NativeName("CL_sRGBx")] + SRGBx = 4288, + + [NativeName("CL_sRGBA")] + SRgba = 4289, + + [NativeName("CL_sBGRA")] + SBgra = 4290, + + [NativeName("CL_ABGR")] + Abgr = 4291, + + [NativeName("CL_NV21_IMG")] + Nv21IMG = 16592, + + [NativeName("CL_YV12_IMG")] + Yv12IMG = 16593, + + [NativeName("CL_YUYV_INTEL")] + YuyvINTEL = 16502, + + [NativeName("CL_UYVY_INTEL")] + UyvyINTEL = 16503, + + [NativeName("CL_YVYU_INTEL")] + YvyuINTEL = 16504, + + [NativeName("CL_VYUY_INTEL")] + VyuyINTEL = 16505, + + [NativeName("CL_NV12_INTEL")] + Nv12INTEL = 16654, +} diff --git a/sources/OpenCL/OpenCL/Enums/ChannelType.gen.cs b/sources/OpenCL/OpenCL/Enums/ChannelType.gen.cs new file mode 100644 index 0000000000..fcae68cc0b --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ChannelType.gen.cs @@ -0,0 +1,89 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_channel_type")] +public enum ChannelType : uint +{ + [NativeName("CL_SNORM_INT8")] + SnormInt8 = 4304, + + [NativeName("CL_SNORM_INT16")] + SnormInt16 = 4305, + + [NativeName("CL_UNORM_INT8")] + UnormInt8 = 4306, + + [NativeName("CL_UNORM_INT16")] + UnormInt16 = 4307, + + [NativeName("CL_UNORM_SHORT_565")] + UnormShort565 = 4308, + + [NativeName("CL_UNORM_SHORT_555")] + UnormShort555 = 4309, + + [NativeName("CL_UNORM_INT_101010")] + UnormInt101010 = 4310, + + [NativeName("CL_SIGNED_INT8")] + SignedInt8 = 4311, + + [NativeName("CL_SIGNED_INT16")] + SignedInt16 = 4312, + + [NativeName("CL_SIGNED_INT32")] + SignedInt32 = 4313, + + [NativeName("CL_UNSIGNED_INT8")] + UnsignedInt8 = 4314, + + [NativeName("CL_UNSIGNED_INT16")] + UnsignedInt16 = 4315, + + [NativeName("CL_UNSIGNED_INT32")] + UnsignedInt32 = 4316, + + [NativeName("CL_HALF_FLOAT")] + HalfFloat = 4317, + + [NativeName("CL_FLOAT")] + Float = 4318, + + [NativeName("CL_UNORM_INT_101010_2")] + UnormInt101010x2 = 4320, + + [NativeName("CL_UNSIGNED_INT_RAW10_EXT")] + UnsignedIntRaw10EXT = 4323, + + [NativeName("CL_UNSIGNED_INT_RAW12_EXT")] + UnsignedIntRaw12EXT = 4324, + + [NativeName("CL_UNORM_INT_2_101010_EXT")] + UnormInt2x101010EXT = 4325, + + [NativeName("CL_UNSIGNED_INT10X6_EXT")] + UnsignedInt10x6EXT = 4326, + + [NativeName("CL_UNSIGNED_INT12X4_EXT")] + UnsignedInt12x4EXT = 4327, + + [NativeName("CL_UNSIGNED_INT14X2_EXT")] + UnsignedInt14x2EXT = 4328, + + [NativeName("CL_UNORM_INT10X6_EXT")] + UnormInt10x6EXT = 4321, + + [NativeName("CL_UNORM_INT12X4_EXT")] + UnormInt12x4EXT = 4329, + + [NativeName("CL_UNORM_INT14X2_EXT")] + UnormInt14x2EXT = 4330, +} diff --git a/sources/OpenCL/OpenCL/Enums/CommandBufferFlagsKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/CommandBufferFlagsKHR.gen.cs new file mode 100644 index 0000000000..ded6076328 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CommandBufferFlagsKHR.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_command_buffer_flags_khr")] +[Flags] +public enum CommandBufferFlagsKHR : ulong +{ + None = 0x0, +} diff --git a/sources/OpenCL/OpenCL/Enums/CommandBufferInfoKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/CommandBufferInfoKHR.gen.cs new file mode 100644 index 0000000000..ed4163681a --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CommandBufferInfoKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_command_buffer_info_khr")] +public enum CommandBufferInfoKHR : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/CommandBufferPropertiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/CommandBufferPropertiesKHR.gen.cs new file mode 100644 index 0000000000..55172fe57a --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CommandBufferPropertiesKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_command_buffer_properties_khr")] +public enum CommandBufferPropertiesKHR : ulong { } diff --git a/sources/OpenCL/OpenCL/Enums/CommandBufferStateKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/CommandBufferStateKHR.gen.cs new file mode 100644 index 0000000000..c6be0cebd3 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CommandBufferStateKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_command_buffer_state_khr")] +public enum CommandBufferStateKHR : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/CommandBufferUpdateTypeKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/CommandBufferUpdateTypeKHR.gen.cs new file mode 100644 index 0000000000..f3237426a2 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CommandBufferUpdateTypeKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_command_buffer_update_type_khr")] +public enum CommandBufferUpdateTypeKHR : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/CommandExecutionStatus.gen.cs b/sources/OpenCL/OpenCL/Enums/CommandExecutionStatus.gen.cs new file mode 100644 index 0000000000..67e10cf3af --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CommandExecutionStatus.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("clCommandExecutionStatus")] +public enum CommandExecutionStatus : uint +{ + [NativeName("CL_COMPLETE")] + Complete = 0, + + [NativeName("CL_RUNNING")] + Running = 1, + + [NativeName("CL_SUBMITTED")] + Submitted = 2, + + [NativeName("CL_QUEUED")] + Queued = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/CommandPropertiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/CommandPropertiesKHR.gen.cs new file mode 100644 index 0000000000..b2d9bfd370 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CommandPropertiesKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_command_properties_khr")] +public enum CommandPropertiesKHR : ulong { } diff --git a/sources/OpenCL/OpenCL/Enums/CommandQueueCapabilitiesINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/CommandQueueCapabilitiesINTEL.gen.cs new file mode 100644 index 0000000000..38918e7df0 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CommandQueueCapabilitiesINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_command_queue_capabilities_intel")] +[Flags] +public enum CommandQueueCapabilitiesINTEL : ulong +{ + None = 0x0, + + [NativeName("CL_QUEUE_CAPABILITY_CREATE_SINGLE_QUEUE_EVENTS_INTEL")] + CreateSingleQueueEvents = 0x1, + + [NativeName("CL_QUEUE_CAPABILITY_CREATE_CROSS_QUEUE_EVENTS_INTEL")] + CreateCrossQueueEvents = 0x2, + + [NativeName("CL_QUEUE_CAPABILITY_SINGLE_QUEUE_EVENT_WAIT_LIST_INTEL")] + SingleQueueEventWaitList = 0x4, + + [NativeName("CL_QUEUE_CAPABILITY_CROSS_QUEUE_EVENT_WAIT_LIST_INTEL")] + CrossQueueEventWaitList = 0x8, + + [NativeName("CL_QUEUE_CAPABILITY_TRANSFER_BUFFER_INTEL")] + TransferBuffer = 0x100, + + [NativeName("CL_QUEUE_CAPABILITY_TRANSFER_BUFFER_RECT_INTEL")] + TransferBufferRect = 0x200, + + [NativeName("CL_QUEUE_CAPABILITY_MAP_BUFFER_INTEL")] + MapBuffer = 0x400, + + [NativeName("CL_QUEUE_CAPABILITY_FILL_BUFFER_INTEL")] + FillBuffer = 0x800, + + [NativeName("CL_QUEUE_CAPABILITY_TRANSFER_IMAGE_INTEL")] + TransferImage = 0x1000, + + [NativeName("CL_QUEUE_CAPABILITY_MAP_IMAGE_INTEL")] + MapImage = 0x2000, + + [NativeName("CL_QUEUE_CAPABILITY_FILL_IMAGE_INTEL")] + FillImage = 0x4000, + + [NativeName("CL_QUEUE_CAPABILITY_TRANSFER_BUFFER_IMAGE_INTEL")] + TransferBufferImage = 0x8000, + + [NativeName("CL_QUEUE_CAPABILITY_TRANSFER_IMAGE_BUFFER_INTEL")] + TransferImageBuffer = 0x10000, + + [NativeName("CL_QUEUE_CAPABILITY_MARKER_INTEL")] + Marker = 0x1000000, + + [NativeName("CL_QUEUE_CAPABILITY_BARRIER_INTEL")] + Barrier = 0x2000000, + + [NativeName("CL_QUEUE_CAPABILITY_KERNEL_INTEL")] + Kernel = 0x4000000, +} diff --git a/sources/OpenCL/OpenCL/Enums/CommandQueueInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/CommandQueueInfo.gen.cs new file mode 100644 index 0000000000..4afb3be949 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CommandQueueInfo.gen.cs @@ -0,0 +1,35 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_command_queue_info")] +public enum CommandQueueInfo : uint +{ + [NativeName("CL_QUEUE_CONTEXT")] + Context = 4240, + + [NativeName("CL_QUEUE_DEVICE")] + Device = 4241, + + [NativeName("CL_QUEUE_REFERENCE_COUNT")] + ReferenceCount = 4242, + + [NativeName("CL_QUEUE_PROPERTIES")] + Properties = 4243, + + [NativeName("CL_QUEUE_SIZE")] + Size = 4244, + + [NativeName("CL_QUEUE_DEVICE_DEFAULT")] + DeviceDefault = 4245, + + [NativeName("CL_QUEUE_PROPERTIES_ARRAY")] + PropertiesArray = 4248, +} diff --git a/sources/OpenCL/OpenCL/Enums/CommandQueueProperties.gen.cs b/sources/OpenCL/OpenCL/Enums/CommandQueueProperties.gen.cs new file mode 100644 index 0000000000..4ebc133b67 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CommandQueueProperties.gen.cs @@ -0,0 +1,35 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_command_queue_properties")] +[Flags] +public enum CommandQueueProperties : ulong +{ + None = 0x0, + + [NativeName("CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE")] + OutOfOrderExecModeEnable = 0x1, + + [NativeName("CL_QUEUE_PROFILING_ENABLE")] + ProfilingEnable = 0x2, + + [NativeName("CL_QUEUE_ON_DEVICE")] + OnDevice = 0x4, + + [NativeName("CL_QUEUE_ON_DEVICE_DEFAULT")] + OnDeviceDefault = 0x8, + + [NativeName("CL_QUEUE_THREAD_LOCAL_EXEC_ENABLE_INTEL")] + ThreadLocalExecEnableINTEL = 0x80000000, + + [NativeName("CL_QUEUE_NO_SYNC_OPERATIONS_INTEL")] + NoSyncOperationsINTEL = 0x20000000, +} diff --git a/sources/OpenCL/OpenCL/Enums/CommandTerminationReasonARM.gen.cs b/sources/OpenCL/OpenCL/Enums/CommandTerminationReasonARM.gen.cs new file mode 100644 index 0000000000..67b8ed4b3a --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CommandTerminationReasonARM.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_command_termination_reason_arm")] +public enum CommandTerminationReasonARM : uint +{ + [NativeName("CL_COMMAND_TERMINATION_COMPLETION_ARM")] + Completion = 0, + + [NativeName("CL_COMMAND_TERMINATION_CONTROLLED_SUCCESS_ARM")] + ControlledSuccess = 1, + + [NativeName("CL_COMMAND_TERMINATION_CONTROLLED_FAILURE_ARM")] + ControlledFailure = 2, + + [NativeName("CL_COMMAND_TERMINATION_ERROR_ARM")] + Error = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/CommandType.gen.cs b/sources/OpenCL/OpenCL/Enums/CommandType.gen.cs new file mode 100644 index 0000000000..82cd5eca3b --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CommandType.gen.cs @@ -0,0 +1,158 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_command_type")] +public enum CommandType : uint +{ + [NativeName("CL_COMMAND_NDRANGE_KERNEL")] + NdrangeKernel = 4592, + + [NativeName("CL_COMMAND_TASK")] + Task = 4593, + + [NativeName("CL_COMMAND_NATIVE_KERNEL")] + NativeKernel = 4594, + + [NativeName("CL_COMMAND_READ_BUFFER")] + ReadBuffer = 4595, + + [NativeName("CL_COMMAND_WRITE_BUFFER")] + WriteBuffer = 4596, + + [NativeName("CL_COMMAND_COPY_BUFFER")] + CopyBuffer = 4597, + + [NativeName("CL_COMMAND_READ_IMAGE")] + ReadImage = 4598, + + [NativeName("CL_COMMAND_WRITE_IMAGE")] + WriteImage = 4599, + + [NativeName("CL_COMMAND_COPY_IMAGE")] + CopyImage = 4600, + + [NativeName("CL_COMMAND_COPY_IMAGE_TO_BUFFER")] + CopyImageToBuffer = 4601, + + [NativeName("CL_COMMAND_COPY_BUFFER_TO_IMAGE")] + CopyBufferToImage = 4602, + + [NativeName("CL_COMMAND_MAP_BUFFER")] + MapBuffer = 4603, + + [NativeName("CL_COMMAND_MAP_IMAGE")] + MapImage = 4604, + + [NativeName("CL_COMMAND_UNMAP_MEM_OBJECT")] + UnmapMemObject = 4605, + + [NativeName("CL_COMMAND_MARKER")] + Marker = 4606, + + [NativeName("CL_COMMAND_ACQUIRE_GL_OBJECTS")] + AcquireGlObjects = 4607, + + [NativeName("CL_COMMAND_RELEASE_GL_OBJECTS")] + ReleaseGlObjects = 4608, + + [NativeName("CL_COMMAND_READ_BUFFER_RECT")] + ReadBufferRect = 4609, + + [NativeName("CL_COMMAND_WRITE_BUFFER_RECT")] + WriteBufferRect = 4610, + + [NativeName("CL_COMMAND_COPY_BUFFER_RECT")] + CopyBufferRect = 4611, + + [NativeName("CL_COMMAND_USER")] + User = 4612, + + [NativeName("CL_COMMAND_BARRIER")] + Barrier = 4613, + + [NativeName("CL_COMMAND_MIGRATE_MEM_OBJECTS")] + MigrateMemObjects = 4614, + + [NativeName("CL_COMMAND_FILL_BUFFER")] + FillBuffer = 4615, + + [NativeName("CL_COMMAND_FILL_IMAGE")] + FillImage = 4616, + + [NativeName("CL_COMMAND_SVM_FREE")] + SvmFree = 4617, + + [NativeName("CL_COMMAND_SVM_MEMCPY")] + SvmMemcpy = 4618, + + [NativeName("CL_COMMAND_SVM_MEMFILL")] + SvmMemfill = 4619, + + [NativeName("CL_COMMAND_SVM_MAP")] + SvmMap = 4620, + + [NativeName("CL_COMMAND_SVM_UNMAP")] + SvmUnmap = 4621, + + [NativeName("CL_COMMAND_SVM_MIGRATE_MEM")] + SvmMigrateMem = 4622, + + [NativeName("CL_COMMAND_MIGRATE_MEM_OBJECT_EXT")] + MigrateMemObjectEXT = 16448, + + [NativeName("CL_COMMAND_ACQUIRE_GRALLOC_OBJECTS_IMG")] + AcquireGrallocObjectsIMG = 16594, + + [NativeName("CL_COMMAND_RELEASE_GRALLOC_OBJECTS_IMG")] + ReleaseGrallocObjectsIMG = 16595, + + [NativeName("CL_COMMAND_GENERATE_MIPMAP_IMG")] + GenerateMipmapIMG = 16598, + + [NativeName("CL_COMMAND_ACQUIRE_EXTERNAL_MEM_OBJECTS_KHR")] + AcquireExternalMemObjectsKHR = 8263, + + [NativeName("CL_COMMAND_RELEASE_EXTERNAL_MEM_OBJECTS_KHR")] + ReleaseExternalMemObjectsKHR = 8264, + + [NativeName("CL_COMMAND_SEMAPHORE_WAIT_KHR")] + SemaphoreWaitKHR = 8258, + + [NativeName("CL_COMMAND_SEMAPHORE_SIGNAL_KHR")] + SemaphoreSignalKHR = 8259, + + [NativeName("CL_COMMAND_SVM_FREE_ARM")] + SvmFreeARM = 16570, + + [NativeName("CL_COMMAND_SVM_MEMCPY_ARM")] + SvmMemcpyARM = 16571, + + [NativeName("CL_COMMAND_SVM_MEMFILL_ARM")] + SvmMemfillARM = 16572, + + [NativeName("CL_COMMAND_SVM_MAP_ARM")] + SvmMapARM = 16573, + + [NativeName("CL_COMMAND_SVM_UNMAP_ARM")] + SvmUnmapARM = 16574, + + [NativeName("CL_COMMAND_MEMFILL_INTEL")] + MemfillINTEL = 16900, + + [NativeName("CL_COMMAND_MEMCPY_INTEL")] + MemcpyINTEL = 16901, + + [NativeName("CL_COMMAND_MIGRATEMEM_INTEL")] + MigratememINTEL = 16902, + + [NativeName("CL_COMMAND_MEMADVISE_INTEL")] + MemadviseINTEL = 16903, +} diff --git a/sources/OpenCL/OpenCL/Enums/CompilerModeAltera.gen.cs b/sources/OpenCL/OpenCL/Enums/CompilerModeAltera.gen.cs new file mode 100644 index 0000000000..04c2982d6e --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/CompilerModeAltera.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_compiler_mode_altera")] +public enum CompilerModeAltera : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/ContextInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/ContextInfo.gen.cs new file mode 100644 index 0000000000..abaa579e37 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ContextInfo.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_context_info")] +public enum ContextInfo : uint +{ + [NativeName("CL_CONTEXT_REFERENCE_COUNT")] + ReferenceCount = 4224, + + [NativeName("CL_CONTEXT_DEVICES")] + Devices = 4225, + + [NativeName("CL_CONTEXT_PROPERTIES")] + Properties = 4226, + + [NativeName("CL_CONTEXT_NUM_DEVICES")] + NumDevices = 4227, + + [NativeName("CL_CONTEXT_PERF_HINT_QCOM")] + PerfHintQCOM = 16578, +} diff --git a/sources/OpenCL/OpenCL/Enums/ContextMemoryInitializeKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/ContextMemoryInitializeKHR.gen.cs new file mode 100644 index 0000000000..7316020d7f --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ContextMemoryInitializeKHR.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_context_memory_initialize_khr")] +[Flags] +public enum ContextMemoryInitializeKHR : ulong +{ + None = 0x0, + + [NativeName("CL_CONTEXT_MEMORY_INITIALIZE_LOCAL_KHR")] + Local = 0x1, + + [NativeName("CL_CONTEXT_MEMORY_INITIALIZE_PRIVATE_KHR")] + Private = 0x2, +} diff --git a/sources/OpenCL/OpenCL/Enums/ContextProperties.gen.cs b/sources/OpenCL/OpenCL/Enums/ContextProperties.gen.cs new file mode 100644 index 0000000000..92b24e2adc --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ContextProperties.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_context_properties")] +public enum ContextProperties : long +{ + [NativeName("CL_CONTEXT_PLATFORM")] + ContextPlatform = 4228, + + [NativeName("CL_CONTEXT_INTEROP_USER_SYNC")] + ContextInteropUserSync = 4229, + + [NativeName("CL_CONTEXT_MEMORY_INITIALIZE_KHR")] + ContextMemoryInitializeKHR = 8240, + + [NativeName("CL_CONTEXT_TERMINATE_KHR")] + ContextTerminateKHR = 8242, + + [NativeName("CL_PRINTF_CALLBACK_ARM")] + PrintfCallbackARM = 16560, + + [NativeName("CL_PRINTF_BUFFERSIZE_ARM")] + PrintfBuffersizeARM = 16561, + + [NativeName("CL_CONTEXT_SHOW_DIAGNOSTICS_INTEL")] + ContextShowDiagnosticsINTEL = 16646, + + [NativeName("CL_CONTEXT_SAFETY_PROPERTIES_IMG")] + ContextSafetyPropertiesIMG = 16601, +} diff --git a/sources/OpenCL/OpenCL/Enums/ContextSafetyPropertiesIMG.gen.cs b/sources/OpenCL/OpenCL/Enums/ContextSafetyPropertiesIMG.gen.cs new file mode 100644 index 0000000000..97ac14f77c --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ContextSafetyPropertiesIMG.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_context_safety_properties_img")] +[Flags] +public enum ContextSafetyPropertiesIMG : ulong +{ + None = 0x0, + + [NativeName("CL_CONTEXT_WORKGROUP_PROTECTION_IMG")] + WorkgroupProtection = 0x1, + + [NativeName("CL_CONTEXT_ENHANCED_EVENT_EXECUTION_STATUS_IMG")] + EnhancedEventExecutionStatus = 0x2, +} diff --git a/sources/OpenCL/OpenCL/Enums/D3D10DeviceSetKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/D3D10DeviceSetKHR.gen.cs new file mode 100644 index 0000000000..ff470f0f1b --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/D3D10DeviceSetKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_d3d10_device_set_khr")] +public enum D3D10DeviceSetKHR : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/D3D10DeviceSourceKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/D3D10DeviceSourceKHR.gen.cs new file mode 100644 index 0000000000..635b67fa7f --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/D3D10DeviceSourceKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_d3d10_device_source_khr")] +public enum D3D10DeviceSourceKHR : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/D3D11DeviceSetKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/D3D11DeviceSetKHR.gen.cs new file mode 100644 index 0000000000..4b90233d14 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/D3D11DeviceSetKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_d3d11_device_set_khr")] +public enum D3D11DeviceSetKHR : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/D3D11DeviceSourceKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/D3D11DeviceSourceKHR.gen.cs new file mode 100644 index 0000000000..e7fc08dc4a --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/D3D11DeviceSourceKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_d3d11_device_source_khr")] +public enum D3D11DeviceSourceKHR : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/DeviceAffinityDomain.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceAffinityDomain.gen.cs new file mode 100644 index 0000000000..6a114e61ac --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceAffinityDomain.gen.cs @@ -0,0 +1,35 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_affinity_domain")] +[Flags] +public enum DeviceAffinityDomain : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_AFFINITY_DOMAIN_NUMA")] + Numa = 0x1, + + [NativeName("CL_DEVICE_AFFINITY_DOMAIN_L4_CACHE")] + L4Cache = 0x2, + + [NativeName("CL_DEVICE_AFFINITY_DOMAIN_L3_CACHE")] + L3Cache = 0x4, + + [NativeName("CL_DEVICE_AFFINITY_DOMAIN_L2_CACHE")] + L2Cache = 0x8, + + [NativeName("CL_DEVICE_AFFINITY_DOMAIN_L1_CACHE")] + L1Cache = 0x10, + + [NativeName("CL_DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE")] + NextPartitionable = 0x20, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceAtomicCapabilities.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceAtomicCapabilities.gen.cs new file mode 100644 index 0000000000..9ff7246520 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceAtomicCapabilities.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_atomic_capabilities")] +[Flags] +public enum DeviceAtomicCapabilities : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_ATOMIC_ORDER_RELAXED")] + OrderRelaxed = 0x1, + + [NativeName("CL_DEVICE_ATOMIC_ORDER_ACQ_REL")] + OrderAcqRel = 0x2, + + [NativeName("CL_DEVICE_ATOMIC_ORDER_SEQ_CST")] + OrderSeqCst = 0x4, + + [NativeName("CL_DEVICE_ATOMIC_SCOPE_WORK_ITEM")] + ScopeWorkItem = 0x8, + + [NativeName("CL_DEVICE_ATOMIC_SCOPE_WORK_GROUP")] + ScopeWorkGroup = 0x10, + + [NativeName("CL_DEVICE_ATOMIC_SCOPE_DEVICE")] + ScopeDevice = 0x20, + + [NativeName("CL_DEVICE_ATOMIC_SCOPE_ALL_DEVICES")] + ScopeAllDevices = 0x40, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceCommandBufferCapabilitiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceCommandBufferCapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..f4f3bcde74 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceCommandBufferCapabilitiesKHR.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_command_buffer_capabilities_khr")] +[Flags] +public enum DeviceCommandBufferCapabilitiesKHR : ulong +{ + None = 0x0, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceControlledTerminationCapabilitiesARM.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceControlledTerminationCapabilitiesARM.gen.cs new file mode 100644 index 0000000000..0f383544ef --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceControlledTerminationCapabilitiesARM.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_controlled_termination_capabilities_arm")] +[Flags] +public enum DeviceControlledTerminationCapabilitiesARM : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_CONTROLLED_TERMINATION_SUCCESS_ARM")] + Success = 0x1, + + [NativeName("CL_DEVICE_CONTROLLED_TERMINATION_FAILURE_ARM")] + Failure = 0x2, + + [NativeName("CL_DEVICE_CONTROLLED_TERMINATION_QUERY_ARM")] + Query = 0x4, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceDeviceEnqueueCapabilities.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceDeviceEnqueueCapabilities.gen.cs new file mode 100644 index 0000000000..ad3cfa26e7 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceDeviceEnqueueCapabilities.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_device_enqueue_capabilities")] +[Flags] +public enum DeviceDeviceEnqueueCapabilities : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_QUEUE_SUPPORTED")] + Supported = 0x1, + + [NativeName("CL_DEVICE_QUEUE_REPLACEABLE_DEFAULT")] + ReplaceableDefault = 0x2, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceExecCapabilities.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceExecCapabilities.gen.cs new file mode 100644 index 0000000000..8c968da7f8 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceExecCapabilities.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_exec_capabilities")] +[Flags] +public enum DeviceExecCapabilities : ulong +{ + None = 0x0, + + [NativeName("CL_EXEC_KERNEL")] + Kernel = 0x1, + + [NativeName("CL_EXEC_NATIVE_KERNEL")] + NativeKernel = 0x2, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceFeatureCapabilitiesINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceFeatureCapabilitiesINTEL.gen.cs new file mode 100644 index 0000000000..48599634e8 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceFeatureCapabilitiesINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_feature_capabilities_intel")] +[Flags] +public enum DeviceFeatureCapabilitiesINTEL : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_FEATURE_FLAG_DP4A_INTEL")] + Dp4A = 0x1, + + [NativeName("CL_DEVICE_FEATURE_FLAG_DPAS_INTEL")] + Dpas = 0x2, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceFpAtomicCapabilitiesEXT.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceFpAtomicCapabilitiesEXT.gen.cs new file mode 100644 index 0000000000..128e2f2d30 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceFpAtomicCapabilitiesEXT.gen.cs @@ -0,0 +1,35 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_fp_atomic_capabilities_ext")] +[Flags] +public enum DeviceFpAtomicCapabilitiesEXT : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_GLOBAL_FP_ATOMIC_LOAD_STORE_EXT")] + GlobalFpAtomicLoadStore = 0x1, + + [NativeName("CL_DEVICE_GLOBAL_FP_ATOMIC_ADD_EXT")] + GlobalFpAtomicAdd = 0x2, + + [NativeName("CL_DEVICE_GLOBAL_FP_ATOMIC_MIN_MAX_EXT")] + GlobalFpAtomicMinMax = 0x4, + + [NativeName("CL_DEVICE_LOCAL_FP_ATOMIC_LOAD_STORE_EXT")] + LocalFpAtomicLoadStore = 0x10000, + + [NativeName("CL_DEVICE_LOCAL_FP_ATOMIC_ADD_EXT")] + LocalFpAtomicAdd = 0x20000, + + [NativeName("CL_DEVICE_LOCAL_FP_ATOMIC_MIN_MAX_EXT")] + LocalFpAtomicMinMax = 0x40000, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceFpConfig.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceFpConfig.gen.cs new file mode 100644 index 0000000000..79f2a734d1 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceFpConfig.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_fp_config")] +[Flags] +public enum DeviceFpConfig : ulong +{ + None = 0x0, + + [NativeName("CL_FP_DENORM")] + Denorm = 0x1, + + [NativeName("CL_FP_INF_NAN")] + InfNan = 0x2, + + [NativeName("CL_FP_ROUND_TO_NEAREST")] + RoundToNearest = 0x4, + + [NativeName("CL_FP_ROUND_TO_ZERO")] + RoundToZero = 0x8, + + [NativeName("CL_FP_ROUND_TO_INF")] + RoundToInf = 0x10, + + [NativeName("CL_FP_FMA")] + Fma = 0x20, + + [NativeName("CL_FP_SOFT_FLOAT")] + SoftFloat = 0x40, + + [NativeName("CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT")] + CorrectlyRoundedDivideSqrt = 0x80, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceInfo.gen.cs new file mode 100644 index 0000000000..2cd52793d7 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceInfo.gen.cs @@ -0,0 +1,683 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_info")] +public enum DeviceInfo : uint +{ + [NativeName("CL_DEVICE_TYPE")] + DeviceType = 4096, + + [NativeName("CL_DEVICE_VENDOR_ID")] + DeviceVendorId = 4097, + + [NativeName("CL_DEVICE_MAX_COMPUTE_UNITS")] + DeviceMaxComputeUnits = 4098, + + [NativeName("CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS")] + DeviceMaxWorkItemDimensions = 4099, + + [NativeName("CL_DEVICE_MAX_WORK_GROUP_SIZE")] + DeviceMaxWorkGroupSize = 4100, + + [NativeName("CL_DEVICE_MAX_WORK_ITEM_SIZES")] + DeviceMaxWorkItemSizes = 4101, + + [NativeName("CL_DEVICE_MAX_WORK_GROUP_SIZES")] + DeviceMaxWorkGroupSizes = 4101, + + [NativeName("CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR")] + DevicePreferredVectorWidthChar = 4102, + + [NativeName("CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT")] + DevicePreferredVectorWidthShort = 4103, + + [NativeName("CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT")] + DevicePreferredVectorWidthInt = 4104, + + [NativeName("CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG")] + DevicePreferredVectorWidthLong = 4105, + + [NativeName("CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT")] + DevicePreferredVectorWidthFloat = 4106, + + [NativeName("CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE")] + DevicePreferredVectorWidthDouble = 4107, + + [NativeName("CL_DEVICE_MAX_CLOCK_FREQUENCY")] + DeviceMaxClockFrequency = 4108, + + [NativeName("CL_DEVICE_ADDRESS_BITS")] + DeviceAddressBits = 4109, + + [NativeName("CL_DEVICE_MAX_READ_IMAGE_ARGS")] + DeviceMaxReadImageArgs = 4110, + + [NativeName("CL_DEVICE_MAX_WRITE_IMAGE_ARGS")] + DeviceMaxWriteImageArgs = 4111, + + [NativeName("CL_DEVICE_MAX_MEM_ALLOC_SIZE")] + DeviceMaxMemAllocSize = 4112, + + [NativeName("CL_DEVICE_IMAGE2D_MAX_WIDTH")] + DeviceImage2DMaxWidth = 4113, + + [NativeName("CL_DEVICE_IMAGE2D_MAX_HEIGHT")] + DeviceImage2DMaxHeight = 4114, + + [NativeName("CL_DEVICE_IMAGE3D_MAX_WIDTH")] + DeviceImage3DMaxWidth = 4115, + + [NativeName("CL_DEVICE_IMAGE3D_MAX_HEIGHT")] + DeviceImage3DMaxHeight = 4116, + + [NativeName("CL_DEVICE_IMAGE3D_MAX_DEPTH")] + DeviceImage3DMaxDepth = 4117, + + [NativeName("CL_DEVICE_IMAGE_SUPPORT")] + DeviceImageSupport = 4118, + + [NativeName("CL_DEVICE_MAX_PARAMETER_SIZE")] + DeviceMaxParameterSize = 4119, + + [NativeName("CL_DEVICE_MAX_SAMPLERS")] + DeviceMaxSamplers = 4120, + + [NativeName("CL_DEVICE_MEM_BASE_ADDR_ALIGN")] + DeviceMemBaseAddrAlign = 4121, + + [NativeName("CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE")] + DeviceMinDataTypeAlignSize = 4122, + + [NativeName("CL_DEVICE_SINGLE_FP_CONFIG")] + DeviceSingleFpConfig = 4123, + + [NativeName("CL_DEVICE_GLOBAL_MEM_CACHE_TYPE")] + DeviceGlobalMemCacheType = 4124, + + [NativeName("CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE")] + DeviceGlobalMemCachelineSize = 4125, + + [NativeName("CL_DEVICE_GLOBAL_MEM_CACHE_SIZE")] + DeviceGlobalMemCacheSize = 4126, + + [NativeName("CL_DEVICE_GLOBAL_MEM_SIZE")] + DeviceGlobalMemSize = 4127, + + [NativeName("CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE")] + DeviceMaxConstantBufferSize = 4128, + + [NativeName("CL_DEVICE_MAX_CONSTANT_ARGS")] + DeviceMaxConstantArgs = 4129, + + [NativeName("CL_DEVICE_LOCAL_MEM_TYPE")] + DeviceLocalMemType = 4130, + + [NativeName("CL_DEVICE_LOCAL_MEM_SIZE")] + DeviceLocalMemSize = 4131, + + [NativeName("CL_DEVICE_ERROR_CORRECTION_SUPPORT")] + DeviceErrorCorrectionSupport = 4132, + + [NativeName("CL_DEVICE_PROFILING_TIMER_RESOLUTION")] + DeviceProfilingTimerResolution = 4133, + + [NativeName("CL_DEVICE_ENDIAN_LITTLE")] + DeviceEndianLittle = 4134, + + [NativeName("CL_DEVICE_AVAILABLE")] + DeviceAvailable = 4135, + + [NativeName("CL_DEVICE_COMPILER_AVAILABLE")] + DeviceCompilerAvailable = 4136, + + [NativeName("CL_DEVICE_EXECUTION_CAPABILITIES")] + DeviceExecutionCapabilities = 4137, + + [NativeName("CL_DEVICE_QUEUE_PROPERTIES")] + DeviceQueueProperties = 4138, + + [NativeName("CL_DEVICE_QUEUE_ON_HOST_PROPERTIES")] + DeviceQueueOnHostProperties = 4138, + + [NativeName("CL_DEVICE_NAME")] + DeviceName = 4139, + + [NativeName("CL_DEVICE_VENDOR")] + DeviceVendor = 4140, + + [NativeName("CL_DRIVER_VERSION")] + DriverVersion = 4141, + + [NativeName("CL_DEVICE_PROFILE")] + DeviceProfile = 4142, + + [NativeName("CL_DEVICE_VERSION")] + DeviceVersion = 4143, + + [NativeName("CL_DEVICE_EXTENSIONS")] + DeviceExtensions = 4144, + + [NativeName("CL_DEVICE_PLATFORM")] + DevicePlatform = 4145, + + [NativeName("CL_DEVICE_DOUBLE_FP_CONFIG")] + DeviceDoubleFpConfig = 4146, + + [NativeName("CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF")] + DevicePreferredVectorWidthHalf = 4148, + + [NativeName("CL_DEVICE_HOST_UNIFIED_MEMORY")] + DeviceHostUnifiedMemory = 4149, + + [NativeName("CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR")] + DeviceNativeVectorWidthChar = 4150, + + [NativeName("CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT")] + DeviceNativeVectorWidthShort = 4151, + + [NativeName("CL_DEVICE_NATIVE_VECTOR_WIDTH_INT")] + DeviceNativeVectorWidthInt = 4152, + + [NativeName("CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG")] + DeviceNativeVectorWidthLong = 4153, + + [NativeName("CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT")] + DeviceNativeVectorWidthFloat = 4154, + + [NativeName("CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE")] + DeviceNativeVectorWidthDouble = 4155, + + [NativeName("CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF")] + DeviceNativeVectorWidthHalf = 4156, + + [NativeName("CL_DEVICE_OPENCL_C_VERSION")] + DeviceOpenclCVersion = 4157, + + [NativeName("CL_DEVICE_LINKER_AVAILABLE")] + DeviceLinkerAvailable = 4158, + + [NativeName("CL_DEVICE_BUILT_IN_KERNELS")] + DeviceBuiltInKernels = 4159, + + [NativeName("CL_DEVICE_IMAGE_MAX_BUFFER_SIZE")] + DeviceImageMaxBufferSize = 4160, + + [NativeName("CL_DEVICE_IMAGE_MAX_ARRAY_SIZE")] + DeviceImageMaxArraySize = 4161, + + [NativeName("CL_DEVICE_PARENT_DEVICE")] + DeviceParentDevice = 4162, + + [NativeName("CL_DEVICE_PARTITION_MAX_SUB_DEVICES")] + DevicePartitionMaxSubDevices = 4163, + + [NativeName("CL_DEVICE_PARTITION_PROPERTIES")] + DevicePartitionProperties = 4164, + + [NativeName("CL_DEVICE_PARTITION_AFFINITY_DOMAIN")] + DevicePartitionAffinityDomain = 4165, + + [NativeName("CL_DEVICE_PARTITION_TYPE")] + DevicePartitionType = 4166, + + [NativeName("CL_DEVICE_REFERENCE_COUNT")] + DeviceReferenceCount = 4167, + + [NativeName("CL_DEVICE_PREFERRED_INTEROP_USER_SYNC")] + DevicePreferredInteropUserSync = 4168, + + [NativeName("CL_DEVICE_PRINTF_BUFFER_SIZE")] + DevicePrintfBufferSize = 4169, + + [NativeName("CL_DEVICE_IMAGE_PITCH_ALIGNMENT")] + DeviceImagePitchAlignment = 4170, + + [NativeName("CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT")] + DeviceImageBaseAddressAlignment = 4171, + + [NativeName("CL_DEVICE_MAX_READ_WRITE_IMAGE_ARGS")] + DeviceMaxReadWriteImageArgs = 4172, + + [NativeName("CL_DEVICE_MAX_GLOBAL_VARIABLE_SIZE")] + DeviceMaxGlobalVariableSize = 4173, + + [NativeName("CL_DEVICE_QUEUE_ON_DEVICE_PROPERTIES")] + DeviceQueueOnDeviceProperties = 4174, + + [NativeName("CL_DEVICE_QUEUE_ON_DEVICE_PREFERRED_SIZE")] + DeviceQueueOnDevicePreferredSize = 4175, + + [NativeName("CL_DEVICE_QUEUE_ON_DEVICE_MAX_SIZE")] + DeviceQueueOnDeviceMaxSize = 4176, + + [NativeName("CL_DEVICE_MAX_ON_DEVICE_QUEUES")] + DeviceMaxOnDeviceQueues = 4177, + + [NativeName("CL_DEVICE_MAX_ON_DEVICE_EVENTS")] + DeviceMaxOnDeviceEvents = 4178, + + [NativeName("CL_DEVICE_SVM_CAPABILITIES")] + DeviceSvmCapabilities = 4179, + + [NativeName("CL_DEVICE_GLOBAL_VARIABLE_PREFERRED_TOTAL_SIZE")] + DeviceGlobalVariablePreferredTotalSize = 4180, + + [NativeName("CL_DEVICE_MAX_PIPE_ARGS")] + DeviceMaxPipeArgs = 4181, + + [NativeName("CL_DEVICE_PIPE_MAX_ACTIVE_RESERVATIONS")] + DevicePipeMaxActiveReservations = 4182, + + [NativeName("CL_DEVICE_PIPE_MAX_PACKET_SIZE")] + DevicePipeMaxPacketSize = 4183, + + [NativeName("CL_DEVICE_PREFERRED_PLATFORM_ATOMIC_ALIGNMENT")] + DevicePreferredPlatformAtomicAlignment = 4184, + + [NativeName("CL_DEVICE_PREFERRED_GLOBAL_ATOMIC_ALIGNMENT")] + DevicePreferredGlobalAtomicAlignment = 4185, + + [NativeName("CL_DEVICE_PREFERRED_LOCAL_ATOMIC_ALIGNMENT")] + DevicePreferredLocalAtomicAlignment = 4186, + + [NativeName("CL_DEVICE_IL_VERSION")] + DeviceIlVersion = 4187, + + [NativeName("CL_DEVICE_MAX_NUM_SUB_GROUPS")] + DeviceMaxNumSubGroups = 4188, + + [NativeName("CL_DEVICE_SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS")] + DeviceSubGroupIndependentForwardProgress = 4189, + + [NativeName("CL_DEVICE_NUMERIC_VERSION")] + DeviceNumericVersion = 4190, + + [NativeName("CL_DEVICE_EXTENSIONS_WITH_VERSION")] + DeviceExtensionsWithVersion = 4192, + + [NativeName("CL_DEVICE_ILS_WITH_VERSION")] + DeviceIlsWithVersion = 4193, + + [NativeName("CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION")] + DeviceBuiltInKernelsWithVersion = 4194, + + [NativeName("CL_DEVICE_ATOMIC_MEMORY_CAPABILITIES")] + DeviceAtomicMemoryCapabilities = 4195, + + [NativeName("CL_DEVICE_ATOMIC_FENCE_CAPABILITIES")] + DeviceAtomicFenceCapabilities = 4196, + + [NativeName("CL_DEVICE_NON_UNIFORM_WORK_GROUP_SUPPORT")] + DeviceNonUniformWorkGroupSupport = 4197, + + [NativeName("CL_DEVICE_OPENCL_C_ALL_VERSIONS")] + DeviceOpenclCAllVersions = 4198, + + [NativeName("CL_DEVICE_PREFERRED_WORK_GROUP_SIZE_MULTIPLE")] + DevicePreferredWorkGroupSizeMultiple = 4199, + + [NativeName("CL_DEVICE_WORK_GROUP_COLLECTIVE_FUNCTIONS_SUPPORT")] + DeviceWorkGroupCollectiveFunctionsSupport = 4200, + + [NativeName("CL_DEVICE_GENERIC_ADDRESS_SPACE_SUPPORT")] + DeviceGenericAddressSpaceSupport = 4201, + + [NativeName("CL_DEVICE_UUID")] + DeviceUuid = 4202, + + [NativeName("CL_DRIVER_UUID")] + DriverUuid = 4203, + + [NativeName("CL_DEVICE_LUID_VALID")] + DeviceLuidValid = 4204, + + [NativeName("CL_DEVICE_LUID")] + DeviceLuid = 4205, + + [NativeName("CL_DEVICE_NODE_MASK")] + DeviceNodeMask = 4206, + + [NativeName("CL_DEVICE_OPENCL_C_FEATURES")] + DeviceOpenclCFeatures = 4207, + + [NativeName("CL_DEVICE_DEVICE_ENQUEUE_CAPABILITIES")] + DeviceDeviceEnqueueCapabilities = 4208, + + [NativeName("CL_DEVICE_PIPE_SUPPORT")] + DevicePipeSupport = 4209, + + [NativeName("CL_DEVICE_LATEST_CONFORMANCE_VERSION_PASSED")] + DeviceLatestConformanceVersionPassed = 4210, + + [NativeName("CL_DEVICE_INTEGER_DOT_PRODUCT_CAPABILITIES")] + DeviceIntegerDotProductCapabilities = 4211, + + [NativeName("CL_DEVICE_INTEGER_DOT_PRODUCT_ACCELERATION_PROPERTIES_8BIT")] + DeviceIntegerDotProductAccelerationProperties8Bit = 4212, + + [NativeName("CL_DEVICE_INTEGER_DOT_PRODUCT_ACCELERATION_PROPERTIES_4x8BIT_PACKED")] + DeviceIntegerDotProductAccelerationProperties4x8BitPacked = 4213, + + [NativeName("CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS")] + DeviceSpirvExtendedInstructionSets = 4793, + + [NativeName("CL_DEVICE_SPIRV_EXTENSIONS")] + DeviceSpirvExtensions = 4794, + + [NativeName("CL_DEVICE_SPIRV_CAPABILITIES")] + DeviceSpirvCapabilities = 4795, + + [NativeName("CL_DEVICE_HALF_FP_CONFIG")] + DeviceHalfFpConfig = 4147, + + [NativeName("CL_DEVICE_IL_VERSION_KHR")] + DeviceIlVersionKHR = 4187, + + [NativeName("CL_DEVICE_IMAGE_PITCH_ALIGNMENT_KHR")] + DeviceImagePitchAlignmentKHR = 4170, + + [NativeName("CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT_KHR")] + DeviceImageBaseAddressAlignmentKHR = 4171, + + [NativeName("CL_DEVICE_TERMINATE_CAPABILITY_KHR")] + DeviceTerminateCapabilityKHR = 8241, + + [NativeName("CL_DEVICE_SPIR_VERSIONS")] + DeviceSpirVersions = 16608, + + [NativeName("CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV")] + DeviceComputeCapabilityMajorNV = 16384, + + [NativeName("CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV")] + DeviceComputeCapabilityMinorNV = 16385, + + [NativeName("CL_DEVICE_REGISTERS_PER_BLOCK_NV")] + DeviceRegistersPerBlockNV = 16386, + + [NativeName("CL_DEVICE_WARP_SIZE_NV")] + DeviceWarpSizeNV = 16387, + + [NativeName("CL_DEVICE_GPU_OVERLAP_NV")] + DeviceGpuOverlapNV = 16388, + + [NativeName("CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV")] + DeviceKernelExecTimeoutNV = 16389, + + [NativeName("CL_DEVICE_INTEGRATED_MEMORY_NV")] + DeviceIntegratedMemoryNV = 16390, + + [NativeName("CL_DEVICE_PROFILING_TIMER_OFFSET_AMD")] + DeviceProfilingTimerOffsetAMD = 16438, + + [NativeName("CL_DEVICE_TOPOLOGY_AMD")] + DeviceTopologyAMD = 16439, + + [NativeName("CL_DEVICE_BOARD_NAME_AMD")] + DeviceBoardNameAMD = 16440, + + [NativeName("CL_DEVICE_GLOBAL_FREE_MEMORY_AMD")] + DeviceGlobalFreeMemoryAMD = 16441, + + [NativeName("CL_DEVICE_SIMD_PER_COMPUTE_UNIT_AMD")] + DeviceSimdPerComputeUnitAMD = 16448, + + [NativeName("CL_DEVICE_SIMD_WIDTH_AMD")] + DeviceSimdWidthAMD = 16449, + + [NativeName("CL_DEVICE_SIMD_INSTRUCTION_WIDTH_AMD")] + DeviceSimdInstructionWidthAMD = 16450, + + [NativeName("CL_DEVICE_WAVEFRONT_WIDTH_AMD")] + DeviceWavefrontWidthAMD = 16451, + + [NativeName("CL_DEVICE_GLOBAL_MEM_CHANNELS_AMD")] + DeviceGlobalMemChannelsAMD = 16452, + + [NativeName("CL_DEVICE_GLOBAL_MEM_CHANNEL_BANKS_AMD")] + DeviceGlobalMemChannelBanksAMD = 16453, + + [NativeName("CL_DEVICE_GLOBAL_MEM_CHANNEL_BANK_WIDTH_AMD")] + DeviceGlobalMemChannelBankWidthAMD = 16454, + + [NativeName("CL_DEVICE_LOCAL_MEM_SIZE_PER_COMPUTE_UNIT_AMD")] + DeviceLocalMemSizePerComputeUnitAMD = 16455, + + [NativeName("CL_DEVICE_LOCAL_MEM_BANKS_AMD")] + DeviceLocalMemBanksAMD = 16456, + + [NativeName("CL_DEVICE_THREAD_TRACE_SUPPORTED_AMD")] + DeviceThreadTraceSupportedAMD = 16457, + + [NativeName("CL_DEVICE_GFXIP_MAJOR_AMD")] + DeviceGfxipMajorAMD = 16458, + + [NativeName("CL_DEVICE_GFXIP_MINOR_AMD")] + DeviceGfxipMinorAMD = 16459, + + [NativeName("CL_DEVICE_AVAILABLE_ASYNC_QUEUES_AMD")] + DeviceAvailableAsyncQueuesAMD = 16460, + + [NativeName("CL_DEVICE_PREFERRED_WORK_GROUP_SIZE_AMD")] + DevicePreferredWorkGroupSizeAMD = 16432, + + [NativeName("CL_DEVICE_MAX_WORK_GROUP_SIZE_AMD")] + DeviceMaxWorkGroupSizeAMD = 16433, + + [NativeName("CL_DEVICE_PREFERRED_CONSTANT_BUFFER_SIZE_AMD")] + DevicePreferredConstantBufferSizeAMD = 16435, + + [NativeName("CL_DEVICE_PCIE_ID_AMD")] + DevicePcieIdAMD = 16436, + + [NativeName("CL_DEVICE_PARENT_DEVICE_EXT")] + DeviceParentDeviceEXT = 16468, + + [NativeName("CL_DEVICE_PARTITION_TYPES_EXT")] + DevicePartitionTypesEXT = 16469, + + [NativeName("CL_DEVICE_AFFINITY_DOMAINS_EXT")] + DeviceAffinityDomainsEXT = 16470, + + [NativeName("CL_DEVICE_REFERENCE_COUNT_EXT")] + DeviceReferenceCountEXT = 16471, + + [NativeName("CL_DEVICE_PARTITION_STYLE_EXT")] + DevicePartitionStyleEXT = 16472, + + [NativeName("CL_DEVICE_CXX_FOR_OPENCL_NUMERIC_VERSION_EXT")] + DeviceCxxForOpenclNumericVersionEXT = 16944, + + [NativeName("CL_DEVICE_EXT_MEM_PADDING_IN_BYTES_QCOM")] + DeviceExtMemPaddingInBytesQCOM = 16544, + + [NativeName("CL_DEVICE_PAGE_SIZE_QCOM")] + DevicePageSizeQCOM = 16545, + + [NativeName("CL_DEVICE_MEMORY_CAPABILITIES_IMG")] + DeviceMemoryCapabilitiesIMG = 16600, + + [NativeName("CL_DEVICE_MAX_NAMED_BARRIER_COUNT_KHR")] + DeviceMaxNamedBarrierCountKHR = 8245, + + [NativeName("CL_DEVICE_NUMERIC_VERSION_KHR")] + DeviceNumericVersionKHR = 4190, + + [NativeName("CL_DEVICE_OPENCL_C_NUMERIC_VERSION_KHR")] + DeviceOpenclCNumericVersionKHR = 4191, + + [NativeName("CL_DEVICE_EXTENSIONS_WITH_VERSION_KHR")] + DeviceExtensionsWithVersionKHR = 4192, + + [NativeName("CL_DEVICE_ILS_WITH_VERSION_KHR")] + DeviceIlsWithVersionKHR = 4193, + + [NativeName("CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION_KHR")] + DeviceBuiltInKernelsWithVersionKHR = 4194, + + [NativeName("CL_DEVICE_UUID_KHR")] + DeviceUuidKHR = 4202, + + [NativeName("CL_DRIVER_UUID_KHR")] + DriverUuidKHR = 4203, + + [NativeName("CL_DEVICE_LUID_VALID_KHR")] + DeviceLuidValidKHR = 4204, + + [NativeName("CL_DEVICE_LUID_KHR")] + DeviceLuidKHR = 4205, + + [NativeName("CL_DEVICE_NODE_MASK_KHR")] + DeviceNodeMaskKHR = 4206, + + [NativeName("CL_DEVICE_PCI_BUS_INFO_KHR")] + DevicePciBusInfoKHR = 16655, + + [NativeName("CL_DEVICE_INTEGER_DOT_PRODUCT_CAPABILITIES_KHR")] + DeviceIntegerDotProductCapabilitiesKHR = 4211, + + [NativeName("CL_DEVICE_INTEGER_DOT_PRODUCT_ACCELERATION_PROPERTIES_8BIT_KHR")] + DeviceIntegerDotProductAccelerationProperties8BitKHR = 4212, + + [NativeName("CL_DEVICE_INTEGER_DOT_PRODUCT_ACCELERATION_PROPERTIES_4x8BIT_PACKED_KHR")] + DeviceIntegerDotProductAccelerationProperties4x8BitPackedKHR = 4213, + + [NativeName("CL_DEVICE_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR")] + DeviceExternalMemoryImportHandleTypesKHR = 8271, + + [NativeName("CL_DEVICE_EXTERNAL_MEMORY_IMPORT_ASSUME_LINEAR_IMAGES_HANDLE_TYPES_KHR")] + DeviceExternalMemoryImportAssumeLinearImagesHandleTypesKHR = 8274, + + [NativeName("CL_DEVICE_SEMAPHORE_IMPORT_HANDLE_TYPES_KHR")] + DeviceSemaphoreImportHandleTypesKHR = 8269, + + [NativeName("CL_DEVICE_SEMAPHORE_EXPORT_HANDLE_TYPES_KHR")] + DeviceSemaphoreExportHandleTypesKHR = 8270, + + [NativeName("CL_DEVICE_SEMAPHORE_TYPES_KHR")] + DeviceSemaphoreTypesKHR = 8268, + + [NativeName("CL_DEVICE_SVM_CAPABILITIES_ARM")] + DeviceSvmCapabilitiesARM = 16566, + + [NativeName("CL_DEVICE_COMPUTE_UNITS_BITFIELD_ARM")] + DeviceComputeUnitsBitfieldARM = 16575, + + [NativeName("CL_DEVICE_JOB_SLOTS_ARM")] + DeviceJobSlotsARM = 16864, + + [NativeName("CL_DEVICE_SCHEDULING_CONTROLS_CAPABILITIES_ARM")] + DeviceSchedulingControlsCapabilitiesARM = 16868, + + [NativeName("CL_DEVICE_SUPPORTED_REGISTER_ALLOCATIONS_ARM")] + DeviceSupportedRegisterAllocationsARM = 16875, + + [NativeName("CL_DEVICE_MAX_WARP_COUNT_ARM")] + DeviceMaxWarpCountARM = 16874, + + [NativeName("CL_DEVICE_CONTROLLED_TERMINATION_CAPABILITIES_ARM")] + DeviceControlledTerminationCapabilitiesARM = 16878, + + [NativeName("CL_DEVICE_IP_VERSION_INTEL")] + DeviceIpVersionINTEL = 16976, + + [NativeName("CL_DEVICE_ID_INTEL")] + DeviceIdINTEL = 16977, + + [NativeName("CL_DEVICE_NUM_SLICES_INTEL")] + DeviceNumSlicesINTEL = 16978, + + [NativeName("CL_DEVICE_NUM_SUB_SLICES_PER_SLICE_INTEL")] + DeviceNumSubSlicesPerSliceINTEL = 16979, + + [NativeName("CL_DEVICE_NUM_EUS_PER_SUB_SLICE_INTEL")] + DeviceNumEusPerSubSliceINTEL = 16980, + + [NativeName("CL_DEVICE_NUM_THREADS_PER_EU_INTEL")] + DeviceNumThreadsPerEuINTEL = 16981, + + [NativeName("CL_DEVICE_FEATURE_CAPABILITIES_INTEL")] + DeviceFeatureCapabilitiesINTEL = 16982, + + [NativeName("CL_DEVICE_ME_VERSION_INTEL")] + DeviceMeVersionINTEL = 16510, + + [NativeName("CL_DEVICE_SIMULTANEOUS_INTEROPS_INTEL")] + DeviceSimultaneousInteropsINTEL = 16644, + + [NativeName("CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL")] + DeviceNumSimultaneousInteropsINTEL = 16645, + + [NativeName("CL_DEVICE_SUB_GROUP_SIZES_INTEL")] + DeviceSubGroupSizesINTEL = 16648, + + [NativeName("CL_DEVICE_PLANAR_YUV_MAX_WIDTH_INTEL")] + DevicePlanarYuvMaxWidthINTEL = 16766, + + [NativeName("CL_DEVICE_PLANAR_YUV_MAX_HEIGHT_INTEL")] + DevicePlanarYuvMaxHeightINTEL = 16767, + + [NativeName("CL_DEVICE_AVC_ME_VERSION_INTEL")] + DeviceAvcMeVersionINTEL = 16651, + + [NativeName("CL_DEVICE_AVC_ME_SUPPORTS_TEXTURE_SAMPLER_USE_INTEL")] + DeviceAvcMeSupportsTextureSamplerUseINTEL = 16652, + + [NativeName("CL_DEVICE_AVC_ME_SUPPORTS_PREEMPTION_INTEL")] + DeviceAvcMeSupportsPreemptionINTEL = 16653, + + [NativeName("CL_DEVICE_HOST_MEM_CAPABILITIES_INTEL")] + DeviceHostMemCapabilitiesINTEL = 16784, + + [NativeName("CL_DEVICE_DEVICE_MEM_CAPABILITIES_INTEL")] + DeviceDeviceMemCapabilitiesINTEL = 16785, + + [NativeName("CL_DEVICE_SINGLE_DEVICE_SHARED_MEM_CAPABILITIES_INTEL")] + DeviceSingleDeviceSharedMemCapabilitiesINTEL = 16786, + + [NativeName("CL_DEVICE_CROSS_DEVICE_SHARED_MEM_CAPABILITIES_INTEL")] + DeviceCrossDeviceSharedMemCapabilitiesINTEL = 16787, + + [NativeName("CL_DEVICE_SHARED_SYSTEM_MEM_CAPABILITIES_INTEL")] + DeviceSharedSystemMemCapabilitiesINTEL = 16788, + + [NativeName("CL_DEVICE_QUEUE_FAMILY_PROPERTIES_INTEL")] + DeviceQueueFamilyPropertiesINTEL = 16779, + + [NativeName("CL_DEVICE_SINGLE_FP_ATOMIC_CAPABILITIES_EXT")] + DeviceSingleFpAtomicCapabilitiesEXT = 16945, + + [NativeName("CL_DEVICE_DOUBLE_FP_ATOMIC_CAPABILITIES_EXT")] + DeviceDoubleFpAtomicCapabilitiesEXT = 16946, + + [NativeName("CL_DEVICE_HALF_FP_ATOMIC_CAPABILITIES_EXT")] + DeviceHalfFpAtomicCapabilitiesEXT = 16947, + + [NativeName("CL_DEVICE_KERNEL_CLOCK_CAPABILITIES_KHR")] + DeviceKernelClockCapabilitiesKHR = 4214, + + [NativeName("CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS_KHR")] + DeviceSpirvExtendedInstructionSetsKHR = 4793, + + [NativeName("CL_DEVICE_SPIRV_EXTENSIONS_KHR")] + DeviceSpirvExtensionsKHR = 4794, + + [NativeName("CL_DEVICE_SPIRV_CAPABILITIES_KHR")] + DeviceSpirvCapabilitiesKHR = 4795, + + [NativeName("CL_DEVICE_WORKGROUP_PROTECTION_SVM_CAPABILITIES_IMG")] + DeviceWorkgroupProtectionSvmCapabilitiesIMG = 16602, + + [NativeName("CL_DEVICE_WORKGROUP_PROTECTION_DEVICE_ENQUEUE_CAPABILITIES_IMG")] + DeviceWorkgroupProtectionDeviceEnqueueCapabilitiesIMG = 16603, + + [NativeName("CL_DEVICE_SAFETY_MEM_SIZE_IMG")] + DeviceSafetyMemSizeIMG = 16604, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceIntegerDotProductCapabilities.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceIntegerDotProductCapabilities.gen.cs new file mode 100644 index 0000000000..055a4e89ab --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceIntegerDotProductCapabilities.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_integer_dot_product_capabilities")] +[Flags] +public enum DeviceIntegerDotProductCapabilities : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_INTEGER_DOT_PRODUCT_INPUT_4x8BIT_PACKED")] + BitPacked = 0x1, + + [NativeName("CL_DEVICE_INTEGER_DOT_PRODUCT_INPUT_4x8BIT")] + Bit = 0x2, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceIntegerDotProductCapabilitiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceIntegerDotProductCapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..4e4aca018d --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceIntegerDotProductCapabilitiesKHR.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_integer_dot_product_capabilities_khr")] +[Flags] +public enum DeviceIntegerDotProductCapabilitiesKHR : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_INTEGER_DOT_PRODUCT_INPUT_4x8BIT_PACKED_KHR")] + BitPacked = 0x1, + + [NativeName("CL_DEVICE_INTEGER_DOT_PRODUCT_INPUT_4x8BIT_KHR")] + Bit = 0x2, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceKernelClockCapabilitiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceKernelClockCapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..7c49378326 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceKernelClockCapabilitiesKHR.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_kernel_clock_capabilities_khr")] +[Flags] +public enum DeviceKernelClockCapabilitiesKHR : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_KERNEL_CLOCK_SCOPE_DEVICE_KHR")] + Device = 0x1, + + [NativeName("CL_DEVICE_KERNEL_CLOCK_SCOPE_WORK_GROUP_KHR")] + WorkGroup = 0x2, + + [NativeName("CL_DEVICE_KERNEL_CLOCK_SCOPE_SUB_GROUP_KHR")] + SubGroup = 0x4, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceLocalMemType.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceLocalMemType.gen.cs new file mode 100644 index 0000000000..0151f292ac --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceLocalMemType.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_local_mem_type")] +public enum DeviceLocalMemType : uint +{ + [NativeName("CL_LOCAL")] + Local = 1, + + [NativeName("CL_GLOBAL")] + Global = 2, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceMemCacheType.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceMemCacheType.gen.cs new file mode 100644 index 0000000000..2a6a7555b1 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceMemCacheType.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_mem_cache_type")] +public enum DeviceMemCacheType : uint +{ + [NativeName("CL_NONE")] + None = 0, + + [NativeName("CL_READ_ONLY_CACHE")] + ReadOnlyCache = 1, + + [NativeName("CL_READ_WRITE_CACHE")] + ReadWriteCache = 2, +} diff --git a/sources/OpenCL/OpenCL/Enums/DevicePartitionProperty.gen.cs b/sources/OpenCL/OpenCL/Enums/DevicePartitionProperty.gen.cs new file mode 100644 index 0000000000..7ae604aede --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DevicePartitionProperty.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_partition_property")] +public enum DevicePartitionProperty : long +{ + [NativeName("CL_DEVICE_PARTITION_EQUALLY")] + Equally = 4230, + + [NativeName("CL_DEVICE_PARTITION_BY_COUNTS")] + ByCounts = 4231, + + [NativeName("CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN")] + ByAffinityDomain = 4232, +} diff --git a/sources/OpenCL/OpenCL/Enums/DevicePartitionPropertyEXT.gen.cs b/sources/OpenCL/OpenCL/Enums/DevicePartitionPropertyEXT.gen.cs new file mode 100644 index 0000000000..466259d67a --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DevicePartitionPropertyEXT.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_partition_property_ext")] +public enum DevicePartitionPropertyEXT : ulong +{ + [NativeName("CL_DEVICE_PARTITION_EQUALLY_EXT")] + DevicePartitionEqually = 16464, + + [NativeName("CL_DEVICE_PARTITION_BY_COUNTS_EXT")] + DevicePartitionByCounts = 16465, + + [NativeName("CL_DEVICE_PARTITION_BY_NAMES_EXT")] + DevicePartitionByNames = 16466, + + [NativeName("CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT")] + DevicePartitionByAffinityDomain = 16467, + + [NativeName("CL_AFFINITY_DOMAIN_L1_CACHE_EXT")] + AffinityDomainL1Cache = 1, + + [NativeName("CL_AFFINITY_DOMAIN_L2_CACHE_EXT")] + AffinityDomainL2Cache = 2, + + [NativeName("CL_AFFINITY_DOMAIN_L3_CACHE_EXT")] + AffinityDomainL3Cache = 3, + + [NativeName("CL_AFFINITY_DOMAIN_L4_CACHE_EXT")] + AffinityDomainL4Cache = 4, + + [NativeName("CL_AFFINITY_DOMAIN_NUMA_EXT")] + AffinityDomainNuma = 16, + + [NativeName("CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT")] + AffinityDomainNextFissionable = 256, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSchedulingControlsCapabilitiesARM.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSchedulingControlsCapabilitiesARM.gen.cs new file mode 100644 index 0000000000..ed8448f508 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSchedulingControlsCapabilitiesARM.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_scheduling_controls_capabilities_arm")] +[Flags] +public enum DeviceSchedulingControlsCapabilitiesARM : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_SCHEDULING_KERNEL_BATCHING_ARM")] + KernelBatching = 0x1, + + [NativeName("CL_DEVICE_SCHEDULING_WORKGROUP_BATCH_SIZE_ARM")] + WorkgroupBatchSize = 0x2, + + [NativeName("CL_DEVICE_SCHEDULING_WORKGROUP_BATCH_SIZE_MODIFIER_ARM")] + WorkgroupBatchSizeModifier = 0x4, + + [NativeName("CL_DEVICE_SCHEDULING_DEFERRED_FLUSH_ARM")] + DeferredFlush = 0x8, + + [NativeName("CL_DEVICE_SCHEDULING_REGISTER_ALLOCATION_ARM")] + RegisterAllocation = 0x10, + + [NativeName("CL_DEVICE_SCHEDULING_WARP_THROTTLING_ARM")] + WarpThrottling = 0x20, + + [NativeName("CL_DEVICE_SCHEDULING_COMPUTE_UNIT_BATCH_QUEUE_SIZE_ARM")] + ComputeUnitBatchQueueSize = 0x40, + + [NativeName("CL_DEVICE_SCHEDULING_COMPUTE_UNIT_LIMIT_ARM")] + ComputeUnitLimit = 0x80, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSchedulingControlsCapabilitiesIMG.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSchedulingControlsCapabilitiesIMG.gen.cs new file mode 100644 index 0000000000..a1e6fd578d --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSchedulingControlsCapabilitiesIMG.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_scheduling_controls_capabilities_img")] +[Flags] +public enum DeviceSchedulingControlsCapabilitiesIMG : ulong +{ + None = 0x0, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationAdjustINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationAdjustINTEL.gen.cs new file mode 100644 index 0000000000..0be528d36a --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationAdjustINTEL.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.adjust")] +public enum DeviceSideAvcMotionEstimationAdjustINTEL : uint +{ + [NativeName("CL_AVC_ME_SAD_ADJUST_MODE_NONE_INTEL")] + None = 0, + + [NativeName("CL_AVC_ME_SAD_ADJUST_MODE_HAAR_INTEL")] + Haar = 2, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationBorderINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationBorderINTEL.gen.cs new file mode 100644 index 0000000000..d31ce25bc2 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationBorderINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.border")] +public enum DeviceSideAvcMotionEstimationBorderINTEL : uint +{ + [NativeName("CL_AVC_ME_BORDER_REACHED_LEFT_INTEL")] + Left = 0, + + [NativeName("CL_AVC_ME_BORDER_REACHED_RIGHT_INTEL")] + Right = 2, + + [NativeName("CL_AVC_ME_BORDER_REACHED_TOP_INTEL")] + Top = 4, + + [NativeName("CL_AVC_ME_BORDER_REACHED_BOTTOM_INTEL")] + Bottom = 8, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationCostPrecisionINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationCostPrecisionINTEL.gen.cs new file mode 100644 index 0000000000..e49b1eab0e --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationCostPrecisionINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.cost.precision")] +public enum DeviceSideAvcMotionEstimationCostPrecisionINTEL : uint +{ + [NativeName("CL_AVC_ME_COST_PRECISION_QPEL_INTEL")] + Qpel = 0, + + [NativeName("CL_AVC_ME_COST_PRECISION_HPEL_INTEL")] + Hpel = 1, + + [NativeName("CL_AVC_ME_COST_PRECISION_PEL_INTEL")] + Pel = 2, + + [NativeName("CL_AVC_ME_COST_PRECISION_DPEL_INTEL")] + Dpel = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationFrameDirINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationFrameDirINTEL.gen.cs new file mode 100644 index 0000000000..da515c2c37 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationFrameDirINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.frame.dir")] +public enum DeviceSideAvcMotionEstimationFrameDirINTEL : uint +{ + [NativeName("CL_AVC_ME_FRAME_FORWARD_INTEL")] + Forward = 1, + + [NativeName("CL_AVC_ME_FRAME_BACKWARD_INTEL")] + Backward = 2, + + [NativeName("CL_AVC_ME_FRAME_DUAL_INTEL")] + Dual = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationIntraINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationIntraINTEL.gen.cs new file mode 100644 index 0000000000..27f9ed8386 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationIntraINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.intra")] +public enum DeviceSideAvcMotionEstimationIntraINTEL : uint +{ + [NativeName("CL_AVC_ME_INTRA_16x16_INTEL")] + Intra16x16 = 0, + + [NativeName("CL_AVC_ME_INTRA_8x8_INTEL")] + Intra8x8 = 1, + + [NativeName("CL_AVC_ME_INTRA_4x4_INTEL")] + Intra4x4 = 2, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationIntraLumaINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationIntraLumaINTEL.gen.cs new file mode 100644 index 0000000000..0bf132f669 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationIntraLumaINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.intra.luma")] +public enum DeviceSideAvcMotionEstimationIntraLumaINTEL : uint +{ + [NativeName("CL_AVC_ME_INTRA_LUMA_PARTITION_MASK_16x16_INTEL")] + Mask16x16 = 6, + + [NativeName("CL_AVC_ME_INTRA_LUMA_PARTITION_MASK_8x8_INTEL")] + Mask8x8 = 5, + + [NativeName("CL_AVC_ME_INTRA_LUMA_PARTITION_MASK_4x4_INTEL")] + Mask4x4 = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationIntraNeighborINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationIntraNeighborINTEL.gen.cs new file mode 100644 index 0000000000..9db5234191 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationIntraNeighborINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.intra.neighbor")] +public enum DeviceSideAvcMotionEstimationIntraNeighborINTEL : uint +{ + [NativeName("CL_AVC_ME_INTRA_NEIGHBOR_LEFT_MASK_ENABLE_INTEL")] + LeftMaskEnable = 96, + + [NativeName("CL_AVC_ME_INTRA_NEIGHBOR_UPPER_MASK_ENABLE_INTEL")] + UpperMaskEnable = 16, + + [NativeName("CL_AVC_ME_INTRA_NEIGHBOR_UPPER_RIGHT_MASK_ENABLE_INTEL")] + UpperRightMaskEnable = 8, + + [NativeName("CL_AVC_ME_INTRA_NEIGHBOR_UPPER_LEFT_MASK_ENABLE_INTEL")] + UpperLeftMaskEnable = 4, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationLumaPredictorINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationLumaPredictorINTEL.gen.cs new file mode 100644 index 0000000000..361f12735a --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationLumaPredictorINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.luma.predictor")] +public enum DeviceSideAvcMotionEstimationLumaPredictorINTEL : uint +{ + [NativeName("CL_AVC_ME_LUMA_PREDICTOR_MODE_VERTICAL_INTEL")] + LumaPredictorModeVertical = 0, + + [NativeName("CL_AVC_ME_LUMA_PREDICTOR_MODE_HORIZONTAL_INTEL")] + LumaPredictorModeHorizontal = 1, + + [NativeName("CL_AVC_ME_LUMA_PREDICTOR_MODE_DC_INTEL")] + LumaPredictorModeDc = 2, + + [NativeName("CL_AVC_ME_LUMA_PREDICTOR_MODE_DIAGONAL_DOWN_LEFT_INTEL")] + LumaPredictorModeDiagonalDownLeft = 3, + + [NativeName("CL_AVC_ME_LUMA_PREDICTOR_MODE_DIAGONAL_DOWN_RIGHT_INTEL")] + LumaPredictorModeDiagonalDownRight = 4, + + [NativeName("CL_AVC_ME_LUMA_PREDICTOR_MODE_PLANE_INTEL")] + LumaPredictorModePlane = 4, + + [NativeName("CL_AVC_ME_LUMA_PREDICTOR_MODE_VERTICAL_RIGHT_INTEL")] + LumaPredictorModeVerticalRight = 5, + + [NativeName("CL_AVC_ME_LUMA_PREDICTOR_MODE_HORIZONTAL_DOWN_INTEL")] + LumaPredictorModeHorizontalDown = 6, + + [NativeName("CL_AVC_ME_LUMA_PREDICTOR_MODE_VERTICAL_LEFT_INTEL")] + LumaPredictorModeVerticalLeft = 7, + + [NativeName("CL_AVC_ME_LUMA_PREDICTOR_MODE_HORIZONTAL_UP_INTEL")] + LumaPredictorModeHorizontalUp = 8, + + [NativeName("CL_AVC_ME_CHROMA_PREDICTOR_MODE_DC_INTEL")] + ChromaPredictorModeDc = 0, + + [NativeName("CL_AVC_ME_CHROMA_PREDICTOR_MODE_HORIZONTAL_INTEL")] + ChromaPredictorModeHorizontal = 1, + + [NativeName("CL_AVC_ME_CHROMA_PREDICTOR_MODE_VERTICAL_INTEL")] + ChromaPredictorModeVertical = 2, + + [NativeName("CL_AVC_ME_CHROMA_PREDICTOR_MODE_PLANE_INTEL")] + ChromaPredictorModePlane = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationMajorDirINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationMajorDirINTEL.gen.cs new file mode 100644 index 0000000000..8a4ba780d3 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationMajorDirINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.major.dir")] +public enum DeviceSideAvcMotionEstimationMajorDirINTEL : uint +{ + [NativeName("CL_AVC_ME_MAJOR_FORWARD_INTEL")] + Forward = 0, + + [NativeName("CL_AVC_ME_MAJOR_BACKWARD_INTEL")] + Backward = 1, + + [NativeName("CL_AVC_ME_MAJOR_BIDIRECTIONAL_INTEL")] + Bidirectional = 2, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationMajorINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationMajorINTEL.gen.cs new file mode 100644 index 0000000000..62bbe0e32b --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationMajorINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.major")] +public enum DeviceSideAvcMotionEstimationMajorINTEL : uint +{ + [NativeName("CL_AVC_ME_MAJOR_16x16_INTEL")] + Major16x16 = 0, + + [NativeName("CL_AVC_ME_MAJOR_16x8_INTEL")] + Major16x8 = 1, + + [NativeName("CL_AVC_ME_MAJOR_8x16_INTEL")] + Major8x16 = 2, + + [NativeName("CL_AVC_ME_MAJOR_8x8_INTEL")] + Major8x8 = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationMinorINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationMinorINTEL.gen.cs new file mode 100644 index 0000000000..d5441db962 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationMinorINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.minor")] +public enum DeviceSideAvcMotionEstimationMinorINTEL : uint +{ + [NativeName("CL_AVC_ME_MINOR_8x8_INTEL")] + Minor8x8 = 0, + + [NativeName("CL_AVC_ME_MINOR_8x4_INTEL")] + Minor8x4 = 1, + + [NativeName("CL_AVC_ME_MINOR_4x8_INTEL")] + Minor4x8 = 2, + + [NativeName("CL_AVC_ME_MINOR_4x4_INTEL")] + Minor4x4 = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationPartitionINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationPartitionINTEL.gen.cs new file mode 100644 index 0000000000..080675c059 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationPartitionINTEL.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.partition")] +public enum DeviceSideAvcMotionEstimationPartitionINTEL : uint +{ + [NativeName("CL_AVC_ME_PARTITION_MASK_ALL_INTEL")] + MaskAll = 0, + + [NativeName("CL_AVC_ME_PARTITION_MASK_16x16_INTEL")] + Mask16x16 = 126, + + [NativeName("CL_AVC_ME_PARTITION_MASK_16x8_INTEL")] + Mask16x8 = 125, + + [NativeName("CL_AVC_ME_PARTITION_MASK_8x16_INTEL")] + Mask8x16 = 123, + + [NativeName("CL_AVC_ME_PARTITION_MASK_8x8_INTEL")] + Mask8x8 = 119, + + [NativeName("CL_AVC_ME_PARTITION_MASK_8x4_INTEL")] + Mask8x4 = 111, + + [NativeName("CL_AVC_ME_PARTITION_MASK_4x8_INTEL")] + Mask4x8 = 95, + + [NativeName("CL_AVC_ME_PARTITION_MASK_4x4_INTEL")] + Mask4x4 = 63, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationScanDirINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationScanDirINTEL.gen.cs new file mode 100644 index 0000000000..7d120f6268 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationScanDirINTEL.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.scan.dir")] +public enum DeviceSideAvcMotionEstimationScanDirINTEL : uint +{ + [NativeName("CL_AVC_ME_INTERLACED_SCAN_TOP_FIELD_INTEL")] + TopField = 0, + + [NativeName("CL_AVC_ME_INTERLACED_SCAN_BOTTOM_FIELD_INTEL")] + BottomField = 1, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSkipBlockBasedINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSkipBlockBasedINTEL.gen.cs new file mode 100644 index 0000000000..7c2cea7293 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSkipBlockBasedINTEL.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.skip.block.based")] +public enum DeviceSideAvcMotionEstimationSkipBlockBasedINTEL : uint +{ + [NativeName("CL_AVC_ME_BLOCK_BASED_SKIP_4x4_INTEL")] + Skip4x4 = 0, + + [NativeName("CL_AVC_ME_BLOCK_BASED_SKIP_8x8_INTEL")] + Skip8x8 = 128, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSkipDirINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSkipDirINTEL.gen.cs new file mode 100644 index 0000000000..e6efbe2c7d --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSkipDirINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.skip.dir")] +public enum DeviceSideAvcMotionEstimationSkipDirINTEL : uint +{ + [NativeName("CL_AVC_ME_SKIP_BLOCK_16x16_FORWARD_ENABLE_INTEL")] + Block16x16ForwardEnable = 16777216, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_16x16_BACKWARD_ENABLE_INTEL")] + Block16x16BackwardEnable = 33554432, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_16x16_DUAL_ENABLE_INTEL")] + Block16x16DualEnable = 50331648, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_8x8_FORWARD_ENABLE_INTEL")] + Block8x8ForwardEnable = 1426063360, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_8x8_BACKWARD_ENABLE_INTEL")] + Block8x8BackwardEnable = 2852126720, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_8x8_DUAL_ENABLE_INTEL")] + Block8x8DualEnable = 4278190080, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_8x8_0_FORWARD_ENABLE_INTEL")] + Block8x8x0ForwardEnable = 16777216, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_8x8_0_BACKWARD_ENABLE_INTEL")] + Block8x8x0BackwardEnable = 33554432, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_8x8_1_FORWARD_ENABLE_INTEL")] + Block8x8x1ForwardEnable = 67108864, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_8x8_1_BACKWARD_ENABLE_INTEL")] + Block8x8x1BackwardEnable = 134217728, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_8x8_2_FORWARD_ENABLE_INTEL")] + Block8x8x2ForwardEnable = 268435456, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_8x8_2_BACKWARD_ENABLE_INTEL")] + Block8x8x2BackwardEnable = 536870912, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_8x8_3_FORWARD_ENABLE_INTEL")] + Block8x8x3ForwardEnable = 1073741824, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_8x8_3_BACKWARD_ENABLE_INTEL")] + Block8x8x3BackwardEnable = 2147483648, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSkipINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSkipINTEL.gen.cs new file mode 100644 index 0000000000..5279b34b0d --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSkipINTEL.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.skip")] +public enum DeviceSideAvcMotionEstimationSkipINTEL : uint +{ + [NativeName("CL_AVC_ME_SKIP_BLOCK_PARTITION_16x16_INTEL")] + Partition16x16 = 0, + + [NativeName("CL_AVC_ME_SKIP_BLOCK_PARTITION_8x8_INTEL")] + Partition8x8 = 16384, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSliceINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSliceINTEL.gen.cs new file mode 100644 index 0000000000..1f96d3ccf8 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSliceINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.slice")] +public enum DeviceSideAvcMotionEstimationSliceINTEL : uint +{ + [NativeName("CL_AVC_ME_SLICE_TYPE_PRED_INTEL")] + Pred = 0, + + [NativeName("CL_AVC_ME_SLICE_TYPE_BPRED_INTEL")] + Bpred = 1, + + [NativeName("CL_AVC_ME_SLICE_TYPE_INTRA_INTEL")] + Intra = 2, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSubpixelINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSubpixelINTEL.gen.cs new file mode 100644 index 0000000000..ce761211f9 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationSubpixelINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.subpixel")] +public enum DeviceSideAvcMotionEstimationSubpixelINTEL : uint +{ + [NativeName("CL_AVC_ME_SUBPIXEL_MODE_INTEGER_INTEL")] + Integer = 0, + + [NativeName("CL_AVC_ME_SUBPIXEL_MODE_HPEL_INTEL")] + Hpel = 1, + + [NativeName("CL_AVC_ME_SUBPIXEL_MODE_QPEL_INTEL")] + Qpel = 3, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationVersionINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationVersionINTEL.gen.cs new file mode 100644 index 0000000000..7d852636a1 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationVersionINTEL.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.version")] +public enum DeviceSideAvcMotionEstimationVersionINTEL : uint +{ + [NativeName("CL_AVC_ME_VERSION_0_INTEL")] + Version0 = 0, + + [NativeName("CL_AVC_ME_VERSION_1_INTEL")] + Version1 = 1, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationWeightINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationWeightINTEL.gen.cs new file mode 100644 index 0000000000..2bed9c5c71 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationWeightINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.weight")] +public enum DeviceSideAvcMotionEstimationWeightINTEL : uint +{ + [NativeName("CL_AVC_ME_BIDIR_WEIGHT_QUARTER_INTEL")] + Quarter = 16, + + [NativeName("CL_AVC_ME_BIDIR_WEIGHT_THIRD_INTEL")] + Third = 21, + + [NativeName("CL_AVC_ME_BIDIR_WEIGHT_HALF_INTEL")] + Half = 32, + + [NativeName("CL_AVC_ME_BIDIR_WEIGHT_TWO_THIRD_INTEL")] + TwoThird = 43, + + [NativeName("CL_AVC_ME_BIDIR_WEIGHT_THREE_QUARTER_INTEL")] + ThreeQuarter = 48, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationWindowINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationWindowINTEL.gen.cs new file mode 100644 index 0000000000..78a5001bb4 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSideAvcMotionEstimationWindowINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_intel_device_side_avc_motion_estimation.window")] +public enum DeviceSideAvcMotionEstimationWindowINTEL : uint +{ + [NativeName("CL_AVC_ME_SEARCH_WINDOW_EXHAUSTIVE_INTEL")] + WindowExhaustive = 0, + + [NativeName("CL_AVC_ME_SEARCH_WINDOW_SMALL_INTEL")] + WindowSmall = 1, + + [NativeName("CL_AVC_ME_SEARCH_WINDOW_TINY_INTEL")] + WindowTiny = 2, + + [NativeName("CL_AVC_ME_SEARCH_WINDOW_EXTRA_TINY_INTEL")] + WindowExtraTiny = 3, + + [NativeName("CL_AVC_ME_SEARCH_WINDOW_DIAMOND_INTEL")] + WindowDiamond = 4, + + [NativeName("CL_AVC_ME_SEARCH_WINDOW_LARGE_DIAMOND_INTEL")] + WindowLargeDiamond = 5, + + [NativeName("CL_AVC_ME_SEARCH_WINDOW_RESERVED0_INTEL")] + WindowReserved0 = 6, + + [NativeName("CL_AVC_ME_SEARCH_WINDOW_RESERVED1_INTEL")] + WindowReserved1 = 7, + + [NativeName("CL_AVC_ME_SEARCH_WINDOW_CUSTOM_INTEL")] + WindowCustom = 8, + + [NativeName("CL_AVC_ME_SEARCH_WINDOW_16x12_RADIUS_INTEL")] + Window16x12Radius = 9, + + [NativeName("CL_AVC_ME_SEARCH_WINDOW_4x4_RADIUS_INTEL")] + Window4x4Radius = 2, + + [NativeName("CL_AVC_ME_SEARCH_WINDOW_2x2_RADIUS_INTEL")] + Window2x2Radius = 10, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSvmCapabilities.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSvmCapabilities.gen.cs new file mode 100644 index 0000000000..a6f08a9929 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSvmCapabilities.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_svm_capabilities")] +[Flags] +public enum DeviceSvmCapabilities : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_SVM_COARSE_GRAIN_BUFFER")] + CoarseGrainBuffer = 0x1, + + [NativeName("CL_DEVICE_SVM_FINE_GRAIN_BUFFER")] + FineGrainBuffer = 0x2, + + [NativeName("CL_DEVICE_SVM_FINE_GRAIN_SYSTEM")] + FineGrainSystem = 0x4, + + [NativeName("CL_DEVICE_SVM_ATOMICS")] + Atomics = 0x8, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSvmCapabilitiesARM.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSvmCapabilitiesARM.gen.cs new file mode 100644 index 0000000000..cbbfef95ca --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSvmCapabilitiesARM.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_svm_capabilities_arm")] +[Flags] +public enum DeviceSvmCapabilitiesARM : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_SVM_COARSE_GRAIN_BUFFER_ARM")] + CoarseGrainBuffer = 0x1, + + [NativeName("CL_DEVICE_SVM_FINE_GRAIN_BUFFER_ARM")] + FineGrainBuffer = 0x2, + + [NativeName("CL_DEVICE_SVM_FINE_GRAIN_SYSTEM_ARM")] + FineGrainSystem = 0x4, + + [NativeName("CL_DEVICE_SVM_ATOMICS_ARM")] + Atomics = 0x8, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceSvmCapabilitiesFlagsARM.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceSvmCapabilitiesFlagsARM.gen.cs new file mode 100644 index 0000000000..72c4f5190e --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceSvmCapabilitiesFlagsARM.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_arm_device_svm_capabilities.flags")] +[Flags] +public enum DeviceSvmCapabilitiesFlagsARM : uint +{ + None = 0x0, + + [NativeName("CL_DEVICE_SVM_COARSE_GRAIN_BUFFER_ARM")] + CoarseGrainBuffer = 0x1, + + [NativeName("CL_DEVICE_SVM_FINE_GRAIN_BUFFER_ARM")] + FineGrainBuffer = 0x2, + + [NativeName("CL_DEVICE_SVM_FINE_GRAIN_SYSTEM_ARM")] + FineGrainSystem = 0x4, + + [NativeName("CL_DEVICE_SVM_ATOMICS_ARM")] + Atomics = 0x8, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceTerminateCapabilityKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceTerminateCapabilityKHR.gen.cs new file mode 100644 index 0000000000..6b75601027 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceTerminateCapabilityKHR.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_terminate_capability_khr")] +[Flags] +public enum DeviceTerminateCapabilityKHR : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_TERMINATE_CAPABILITY_CONTEXT_KHR")] + Context = 0x1, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceType.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceType.gen.cs new file mode 100644 index 0000000000..60a28be8bc --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceType.gen.cs @@ -0,0 +1,35 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_type")] +[Flags] +public enum DeviceType : ulong +{ + None = 0x0, + + [NativeName("CL_DEVICE_TYPE_DEFAULT")] + Default = 0x1, + + [NativeName("CL_DEVICE_TYPE_CPU")] + Cpu = 0x2, + + [NativeName("CL_DEVICE_TYPE_GPU")] + Gpu = 0x4, + + [NativeName("CL_DEVICE_TYPE_ACCELERATOR")] + Accelerator = 0x8, + + [NativeName("CL_DEVICE_TYPE_CUSTOM")] + Custom = 0x10, + + [NativeName("CL_DEVICE_TYPE_ALL")] + All = 0xFFFFFFFF, +} diff --git a/sources/OpenCL/OpenCL/Enums/DeviceUnifiedSharedMemoryCapabilitiesINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DeviceUnifiedSharedMemoryCapabilitiesINTEL.gen.cs new file mode 100644 index 0000000000..51696201e0 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DeviceUnifiedSharedMemoryCapabilitiesINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_unified_shared_memory_capabilities_intel")] +[Flags] +public enum DeviceUnifiedSharedMemoryCapabilitiesINTEL : ulong +{ + None = 0x0, + + [NativeName("CL_UNIFIED_SHARED_MEMORY_ACCESS_INTEL")] + Access = 0x1, + + [NativeName("CL_UNIFIED_SHARED_MEMORY_ATOMIC_ACCESS_INTEL")] + AtomicAccess = 0x2, + + [NativeName("CL_UNIFIED_SHARED_MEMORY_CONCURRENT_ACCESS_INTEL")] + ConcurrentAccess = 0x4, + + [NativeName("CL_UNIFIED_SHARED_MEMORY_CONCURRENT_ATOMIC_ACCESS_INTEL")] + ConcurrentAtomicAccess = 0x8, +} diff --git a/sources/OpenCL/OpenCL/Enums/DiagnosticVerboseLevelINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/DiagnosticVerboseLevelINTEL.gen.cs new file mode 100644 index 0000000000..7090932204 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/DiagnosticVerboseLevelINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_diagnostic_verbose_level_intel")] +[Flags] +public enum DiagnosticVerboseLevelINTEL : ulong +{ + None = 0x0, + + [NativeName("CL_CONTEXT_DIAGNOSTICS_LEVEL_ALL_INTEL")] + All = 0xFF, + + [NativeName("CL_CONTEXT_DIAGNOSTICS_LEVEL_GOOD_INTEL")] + Good = 0x1, + + [NativeName("CL_CONTEXT_DIAGNOSTICS_LEVEL_BAD_INTEL")] + Bad = 0x2, + + [NativeName("CL_CONTEXT_DIAGNOSTICS_LEVEL_NEUTRAL_INTEL")] + Neutral = 0x4, +} diff --git a/sources/OpenCL/OpenCL/Enums/Dx9DeviceSetINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/Dx9DeviceSetINTEL.gen.cs new file mode 100644 index 0000000000..46a8660ef6 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/Dx9DeviceSetINTEL.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_dx9_device_set_intel")] +public enum Dx9DeviceSetINTEL : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/Dx9DeviceSourceINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/Dx9DeviceSourceINTEL.gen.cs new file mode 100644 index 0000000000..55d2a647c4 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/Dx9DeviceSourceINTEL.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_dx9_device_source_intel")] +public enum Dx9DeviceSourceINTEL : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/EglImagePropertiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/EglImagePropertiesKHR.gen.cs new file mode 100644 index 0000000000..843a1fadc4 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/EglImagePropertiesKHR.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_egl_image_properties_khr")] +public enum EglImagePropertiesKHR : long +{ + [NativeName("CL_EGL_YUV_PLANE_INTEL")] + YuvPlaneINTEL = 16647, +} diff --git a/sources/OpenCL/OpenCL/Enums/ErrorCodes.gen.cs b/sources/OpenCL/OpenCL/Enums/ErrorCodes.gen.cs new file mode 100644 index 0000000000..c9a63c84aa --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ErrorCodes.gen.cs @@ -0,0 +1,260 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("ErrorCodes")] +public enum ErrorCodes : int +{ + [NativeName("CL_SUCCESS")] + Success = 0, + + [NativeName("CL_DEVICE_NOT_FOUND")] + DeviceNotFound = -1, + + [NativeName("CL_DEVICE_NOT_AVAILABLE")] + DeviceNotAvailable = -2, + + [NativeName("CL_COMPILER_NOT_AVAILABLE")] + CompilerNotAvailable = -3, + + [NativeName("CL_MEM_OBJECT_ALLOCATION_FAILURE")] + MemObjectAllocationFailure = -4, + + [NativeName("CL_OUT_OF_RESOURCES")] + OutOfResources = -5, + + [NativeName("CL_OUT_OF_HOST_MEMORY")] + OutOfHostMemory = -6, + + [NativeName("CL_PROFILING_INFO_NOT_AVAILABLE")] + ProfilingInfoNotAvailable = -7, + + [NativeName("CL_MEM_COPY_OVERLAP")] + MemCopyOverlap = -8, + + [NativeName("CL_IMAGE_FORMAT_MISMATCH")] + ImageFormatMismatch = -9, + + [NativeName("CL_IMAGE_FORMAT_NOT_SUPPORTED")] + ImageFormatNotSupported = -10, + + [NativeName("CL_BUILD_PROGRAM_FAILURE")] + BuildProgramFailure = -11, + + [NativeName("CL_MAP_FAILURE")] + MapFailure = -12, + + [NativeName("CL_MISALIGNED_SUB_BUFFER_OFFSET")] + MisalignedSubBufferOffset = -13, + + [NativeName("CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST")] + ExecStatusErrorForEventsInWaitList = -14, + + [NativeName("CL_COMPILE_PROGRAM_FAILURE")] + CompileProgramFailure = -15, + + [NativeName("CL_LINKER_NOT_AVAILABLE")] + LinkerNotAvailable = -16, + + [NativeName("CL_LINK_PROGRAM_FAILURE")] + LinkProgramFailure = -17, + + [NativeName("CL_DEVICE_PARTITION_FAILED")] + DevicePartitionFailed = -18, + + [NativeName("CL_KERNEL_ARG_INFO_NOT_AVAILABLE")] + KernelArgInfoNotAvailable = -19, + + [NativeName("CL_INVALID_VALUE")] + InvalidValue = -30, + + [NativeName("CL_INVALID_DEVICE_TYPE")] + InvalidDeviceType = -31, + + [NativeName("CL_INVALID_PLATFORM")] + InvalidPlatform = -32, + + [NativeName("CL_INVALID_DEVICE")] + InvalidDevice = -33, + + [NativeName("CL_INVALID_CONTEXT")] + InvalidContext = -34, + + [NativeName("CL_INVALID_QUEUE_PROPERTIES")] + InvalidQueueProperties = -35, + + [NativeName("CL_INVALID_COMMAND_QUEUE")] + InvalidCommandQueue = -36, + + [NativeName("CL_INVALID_HOST_PTR")] + InvalidHostPtr = -37, + + [NativeName("CL_INVALID_MEM_OBJECT")] + InvalidMemObject = -38, + + [NativeName("CL_INVALID_IMAGE_FORMAT_DESCRIPTOR")] + InvalidImageFormatDescriptor = -39, + + [NativeName("CL_INVALID_IMAGE_SIZE")] + InvalidImageSize = -40, + + [NativeName("CL_INVALID_SAMPLER")] + InvalidSampler = -41, + + [NativeName("CL_INVALID_BINARY")] + InvalidBinary = -42, + + [NativeName("CL_INVALID_BUILD_OPTIONS")] + InvalidBuildOptions = -43, + + [NativeName("CL_INVALID_PROGRAM")] + InvalidProgram = -44, + + [NativeName("CL_INVALID_PROGRAM_EXECUTABLE")] + InvalidProgramExecutable = -45, + + [NativeName("CL_INVALID_KERNEL_NAME")] + InvalidKernelName = -46, + + [NativeName("CL_INVALID_KERNEL_DEFINITION")] + InvalidKernelDefinition = -47, + + [NativeName("CL_INVALID_KERNEL")] + InvalidKernel = -48, + + [NativeName("CL_INVALID_ARG_INDEX")] + InvalidArgIndex = -49, + + [NativeName("CL_INVALID_ARG_VALUE")] + InvalidArgValue = -50, + + [NativeName("CL_INVALID_ARG_SIZE")] + InvalidArgSize = -51, + + [NativeName("CL_INVALID_KERNEL_ARGS")] + InvalidKernelArgs = -52, + + [NativeName("CL_INVALID_WORK_DIMENSION")] + InvalidWorkDimension = -53, + + [NativeName("CL_INVALID_WORK_GROUP_SIZE")] + InvalidWorkGroupSize = -54, + + [NativeName("CL_INVALID_WORK_ITEM_SIZE")] + InvalidWorkItemSize = -55, + + [NativeName("CL_INVALID_GLOBAL_OFFSET")] + InvalidGlobalOffset = -56, + + [NativeName("CL_INVALID_EVENT_WAIT_LIST")] + InvalidEventWaitList = -57, + + [NativeName("CL_INVALID_EVENT")] + InvalidEvent = -58, + + [NativeName("CL_INVALID_OPERATION")] + InvalidOperation = -59, + + [NativeName("CL_INVALID_GL_OBJECT")] + InvalidGlObject = -60, + + [NativeName("CL_INVALID_BUFFER_SIZE")] + InvalidBufferSize = -61, + + [NativeName("CL_INVALID_MIP_LEVEL")] + InvalidMipLevel = -62, + + [NativeName("CL_INVALID_GLOBAL_WORK_SIZE")] + InvalidGlobalWorkSize = -63, + + [NativeName("CL_INVALID_PROPERTY")] + InvalidProperty = -64, + + [NativeName("CL_INVALID_IMAGE_DESCRIPTOR")] + InvalidImageDescriptor = -65, + + [NativeName("CL_INVALID_COMPILER_OPTIONS")] + InvalidCompilerOptions = -66, + + [NativeName("CL_INVALID_LINKER_OPTIONS")] + InvalidLinkerOptions = -67, + + [NativeName("CL_INVALID_DEVICE_PARTITION_COUNT")] + InvalidDevicePartitionCount = -68, + + [NativeName("CL_INVALID_PIPE_SIZE")] + InvalidPipeSize = -69, + + [NativeName("CL_INVALID_DEVICE_QUEUE")] + InvalidDeviceQueue = -70, + + [NativeName("CL_INVALID_SPEC_ID")] + InvalidSpecId = -71, + + [NativeName("CL_MAX_SIZE_RESTRICTION_EXCEEDED")] + MaxSizeRestrictionExceeded = -72, + + [NativeName("CL_PLATFORM_NOT_FOUND_KHR")] + PlatformNotFoundKHR = -1001, + + [NativeName("CL_CONTEXT_TERMINATED_KHR")] + ContextTerminatedKHR = -1121, + + [NativeName("CL_DEVICE_PARTITION_FAILED_EXT")] + DevicePartitionFailedEXT = -1057, + + [NativeName("CL_INVALID_PARTITION_COUNT_EXT")] + InvalidPartitionCountEXT = -1058, + + [NativeName("CL_INVALID_PARTITION_NAME_EXT")] + InvalidPartitionNameEXT = -1059, + + [NativeName("CL_GRALLOC_RESOURCE_NOT_ACQUIRED_IMG")] + GrallocResourceNotAcquiredIMG = 16596, + + [NativeName("CL_INVALID_GRALLOC_OBJECT_IMG")] + InvalidGrallocObjectIMG = 16597, + + [NativeName("CL_INVALID_SEMAPHORE_KHR")] + InvalidSemaphoreKHR = -1142, + + [NativeName("CL_COMMAND_TERMINATED_ITSELF_WITH_FAILURE_ARM")] + CommandTerminatedItselfWithFailureARM = -1108, + + [NativeName("CL_INVALID_ACCELERATOR_INTEL")] + InvalidAcceleratorINTEL = -1094, + + [NativeName("CL_INVALID_ACCELERATOR_TYPE_INTEL")] + InvalidAcceleratorTypeINTEL = -1095, + + [NativeName("CL_INVALID_ACCELERATOR_DESCRIPTOR_INTEL")] + InvalidAcceleratorDescriptorINTEL = -1096, + + [NativeName("CL_ACCELERATOR_TYPE_NOT_SUPPORTED_INTEL")] + AcceleratorTypeNotSupportedINTEL = -1097, + + [NativeName("CL_CANCELLED_IMG")] + CancelledIMG = -1126, + + [NativeName("CL_ECC_RECOVERED_IMG")] + EccRecoveredIMG = 16605, + + [NativeName("CL_PAGE_FAULT_IMG")] + PageFaultIMG = -1127, + + [NativeName("CL_SAFETY_FAULT_IMG")] + SafetyFaultIMG = -1128, + + [NativeName("CL_GENERAL_FAULT_IMG")] + GeneralFaultIMG = -1129, + + [NativeName("CL_ECC_UNRECOVERED_IMG")] + EccUnrecoveredIMG = -1130, +} diff --git a/sources/OpenCL/OpenCL/Enums/EventInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/EventInfo.gen.cs new file mode 100644 index 0000000000..98c82cc801 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/EventInfo.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_event_info")] +public enum EventInfo : uint +{ + [NativeName("CL_EVENT_COMMAND_QUEUE")] + CommandQueue = 4560, + + [NativeName("CL_EVENT_COMMAND_TYPE")] + CommandType = 4561, + + [NativeName("CL_EVENT_REFERENCE_COUNT")] + ReferenceCount = 4562, + + [NativeName("CL_EVENT_COMMAND_EXECUTION_STATUS")] + CommandExecutionStatus = 4563, + + [NativeName("CL_EVENT_CONTEXT")] + Context = 4564, + + [NativeName("CL_EVENT_COMMAND_TERMINATION_REASON_ARM")] + CommandTerminationReasonARM = 16877, +} diff --git a/sources/OpenCL/OpenCL/Enums/ExternalMemoryHandleTypeKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/ExternalMemoryHandleTypeKHR.gen.cs new file mode 100644 index 0000000000..99386547ae --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ExternalMemoryHandleTypeKHR.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_external_memory_handle_type_khr")] +public enum ExternalMemoryHandleTypeKHR : uint +{ + [NativeName("CL_EXTERNAL_MEMORY_HANDLE_DMA_BUF_KHR")] + DmaBuf = 8295, + + [NativeName("CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_FD_KHR")] + OpaqueFd = 8288, + + [NativeName("CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KHR")] + OpaqueWin32 = 8289, + + [NativeName("CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KMT_KHR")] + OpaqueWin32Kmt = 8290, + + [NativeName("CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_NAME_KHR")] + OpaqueWin32Name = 8297, +} diff --git a/sources/OpenCL/OpenCL/Enums/ExternalSemaphoreHandleTypeKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/ExternalSemaphoreHandleTypeKHR.gen.cs new file mode 100644 index 0000000000..cfc5d2d76b --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ExternalSemaphoreHandleTypeKHR.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_external_semaphore_handle_type_khr")] +public enum ExternalSemaphoreHandleTypeKHR : uint +{ + [NativeName("CL_SEMAPHORE_HANDLE_OPAQUE_FD_KHR")] + OpaqueFd = 8277, + + [NativeName("CL_SEMAPHORE_HANDLE_SYNC_FD_KHR")] + SyncFd = 8280, +} diff --git a/sources/OpenCL/OpenCL/Enums/FilterMode.gen.cs b/sources/OpenCL/OpenCL/Enums/FilterMode.gen.cs new file mode 100644 index 0000000000..23d1f6c3c8 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/FilterMode.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_filter_mode")] +public enum FilterMode : uint +{ + [NativeName("CL_FILTER_NEAREST")] + Nearest = 4416, + + [NativeName("CL_FILTER_LINEAR")] + Linear = 4417, +} diff --git a/sources/OpenCL/OpenCL/Enums/GlContextInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/GlContextInfo.gen.cs new file mode 100644 index 0000000000..0c4a3b0795 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/GlContextInfo.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_gl_context_info")] +public enum GlContextInfo : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/GlObjectType.gen.cs b/sources/OpenCL/OpenCL/Enums/GlObjectType.gen.cs new file mode 100644 index 0000000000..5ccf8bbfb4 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/GlObjectType.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_gl_object_type")] +public enum GlObjectType : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/GlTextureInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/GlTextureInfo.gen.cs new file mode 100644 index 0000000000..b9695a8708 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/GlTextureInfo.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_gl_texture_info")] +public enum GlTextureInfo : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/HostCachePolicy.gen.cs b/sources/OpenCL/OpenCL/Enums/HostCachePolicy.gen.cs new file mode 100644 index 0000000000..bc16f670c2 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/HostCachePolicy.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("host_cache_policy")] +public enum HostCachePolicy : uint +{ + [NativeName("CL_MEM_HOST_UNCACHED_QCOM")] + UncachedQCOM = 16548, + + [NativeName("CL_MEM_HOST_WRITEBACK_QCOM")] + WritebackQCOM = 16549, + + [NativeName("CL_MEM_HOST_WRITETHROUGH_QCOM")] + WritethroughQCOM = 16550, + + [NativeName("CL_MEM_HOST_WRITE_COMBINING_QCOM")] + WriteCombiningQCOM = 16551, + + [NativeName("CL_MEM_HOST_IOCOHERENT_QCOM")] + IocoherentQCOM = 16553, +} diff --git a/sources/OpenCL/OpenCL/Enums/IcdlInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/IcdlInfo.gen.cs new file mode 100644 index 0000000000..0544e6b9af --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/IcdlInfo.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_icdl_info")] +public enum IcdlInfo : uint +{ + [NativeName("CL_ICDL_OCL_VERSION")] + OclVersion = 1, + + [NativeName("CL_ICDL_VERSION")] + Version = 2, + + [NativeName("CL_ICDL_NAME")] + Name = 3, + + [NativeName("CL_ICDL_VENDOR")] + Vendor = 4, +} diff --git a/sources/OpenCL/OpenCL/Enums/ImageInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/ImageInfo.gen.cs new file mode 100644 index 0000000000..5379452234 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ImageInfo.gen.cs @@ -0,0 +1,47 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_image_info")] +public enum ImageInfo : uint +{ + [NativeName("CL_IMAGE_FORMAT")] + Format = 4368, + + [NativeName("CL_IMAGE_ELEMENT_SIZE")] + ElementSize = 4369, + + [NativeName("CL_IMAGE_ROW_PITCH")] + RowPitch = 4370, + + [NativeName("CL_IMAGE_SLICE_PITCH")] + SlicePitch = 4371, + + [NativeName("CL_IMAGE_WIDTH")] + Width = 4372, + + [NativeName("CL_IMAGE_HEIGHT")] + Height = 4373, + + [NativeName("CL_IMAGE_DEPTH")] + Depth = 4374, + + [NativeName("CL_IMAGE_ARRAY_SIZE")] + ArraySize = 4375, + + [NativeName("CL_IMAGE_BUFFER")] + Buffer = 4376, + + [NativeName("CL_IMAGE_NUM_MIP_LEVELS")] + NumMipLevels = 4377, + + [NativeName("CL_IMAGE_NUM_SAMPLES")] + NumSamples = 4378, +} diff --git a/sources/OpenCL/OpenCL/Enums/ImagePitchInfoQCOM.gen.cs b/sources/OpenCL/OpenCL/Enums/ImagePitchInfoQCOM.gen.cs new file mode 100644 index 0000000000..405d8dbd20 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ImagePitchInfoQCOM.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_image_pitch_info_qcom")] +public enum ImagePitchInfoQCOM : uint +{ + [NativeName("CL_IMAGE_ROW_ALIGNMENT_QCOM")] + RowAlignment = 16546, + + [NativeName("CL_IMAGE_SLICE_ALIGNMENT_QCOM")] + SliceAlignment = 16547, +} diff --git a/sources/OpenCL/OpenCL/Enums/ImageRequirementsInfoEXT.gen.cs b/sources/OpenCL/OpenCL/Enums/ImageRequirementsInfoEXT.gen.cs new file mode 100644 index 0000000000..50b1640cba --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ImageRequirementsInfoEXT.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_image_requirements_info_ext")] +public enum ImageRequirementsInfoEXT : uint +{ + [NativeName("CL_IMAGE_REQUIREMENTS_BASE_ADDRESS_ALIGNMENT_EXT")] + BaseAddressAlignment = 4754, + + [NativeName("CL_IMAGE_REQUIREMENTS_ROW_PITCH_ALIGNMENT_EXT")] + RowPitchAlignment = 4752, + + [NativeName("CL_IMAGE_REQUIREMENTS_SIZE_EXT")] + Size = 4786, + + [NativeName("CL_IMAGE_REQUIREMENTS_MAX_WIDTH_EXT")] + MaxWidth = 4787, + + [NativeName("CL_IMAGE_REQUIREMENTS_MAX_HEIGHT_EXT")] + MaxHeight = 4788, + + [NativeName("CL_IMAGE_REQUIREMENTS_MAX_DEPTH_EXT")] + MaxDepth = 4789, + + [NativeName("CL_IMAGE_REQUIREMENTS_MAX_ARRAY_SIZE_EXT")] + MaxArraySize = 4790, + + [NativeName("CL_IMAGE_REQUIREMENTS_SLICE_PITCH_ALIGNMENT_EXT")] + SlicePitchAlignment = 4753, +} diff --git a/sources/OpenCL/OpenCL/Enums/ImportPropertiesARM.gen.cs b/sources/OpenCL/OpenCL/Enums/ImportPropertiesARM.gen.cs new file mode 100644 index 0000000000..0d821d78e2 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ImportPropertiesARM.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_import_properties_arm")] +public enum ImportPropertiesARM : long +{ + [NativeName("CL_IMPORT_TYPE_ARM")] + Type = 16562, + + [NativeName("CL_IMPORT_TYPE_HOST_ARM")] + TypeHost = 16563, + + [NativeName("CL_IMPORT_TYPE_DMA_BUF_ARM")] + TypeDmaBuf = 16564, + + [NativeName("CL_IMPORT_TYPE_PROTECTED_ARM")] + TypeProtected = 16565, + + [NativeName("CL_IMPORT_TYPE_ANDROID_HARDWARE_BUFFER_ARM")] + TypeAndroidHardwareBuffer = 16866, + + [NativeName("CL_IMPORT_DMA_BUF_DATA_CONSISTENCY_WITH_HOST_ARM")] + DmaBufDataConsistencyWithHost = 16867, + + [NativeName("CL_IMPORT_ANDROID_HARDWARE_BUFFER_PLANE_INDEX_ARM")] + AndroidHardwareBufferPlaneIndex = 16879, + + [NativeName("CL_IMPORT_ANDROID_HARDWARE_BUFFER_LAYER_INDEX_ARM")] + AndroidHardwareBufferLayerIndex = 16880, +} diff --git a/sources/OpenCL/OpenCL/Enums/KernelArgAccessQualifier.gen.cs b/sources/OpenCL/OpenCL/Enums/KernelArgAccessQualifier.gen.cs new file mode 100644 index 0000000000..6a6b8459dd --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/KernelArgAccessQualifier.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_kernel_arg_access_qualifier")] +public enum KernelArgAccessQualifier : uint +{ + [NativeName("CL_KERNEL_ARG_ACCESS_READ_ONLY")] + ReadOnly = 4512, + + [NativeName("CL_KERNEL_ARG_ACCESS_WRITE_ONLY")] + WriteOnly = 4513, + + [NativeName("CL_KERNEL_ARG_ACCESS_READ_WRITE")] + ReadWrite = 4514, + + [NativeName("CL_KERNEL_ARG_ACCESS_NONE")] + None = 4515, +} diff --git a/sources/OpenCL/OpenCL/Enums/KernelArgAddressQualifier.gen.cs b/sources/OpenCL/OpenCL/Enums/KernelArgAddressQualifier.gen.cs new file mode 100644 index 0000000000..dba81b684c --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/KernelArgAddressQualifier.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_kernel_arg_address_qualifier")] +public enum KernelArgAddressQualifier : uint +{ + [NativeName("CL_KERNEL_ARG_ADDRESS_GLOBAL")] + Global = 4507, + + [NativeName("CL_KERNEL_ARG_ADDRESS_LOCAL")] + Local = 4508, + + [NativeName("CL_KERNEL_ARG_ADDRESS_CONSTANT")] + Constant = 4509, + + [NativeName("CL_KERNEL_ARG_ADDRESS_PRIVATE")] + Private = 4510, +} diff --git a/sources/OpenCL/OpenCL/Enums/KernelArgInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/KernelArgInfo.gen.cs new file mode 100644 index 0000000000..b48f606265 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/KernelArgInfo.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_kernel_arg_info")] +public enum KernelArgInfo : uint +{ + [NativeName("CL_KERNEL_ARG_ADDRESS_QUALIFIER")] + AddressQualifier = 4502, + + [NativeName("CL_KERNEL_ARG_ACCESS_QUALIFIER")] + AccessQualifier = 4503, + + [NativeName("CL_KERNEL_ARG_TYPE_NAME")] + TypeName = 4504, + + [NativeName("CL_KERNEL_ARG_TYPE_QUALIFIER")] + TypeQualifier = 4505, + + [NativeName("CL_KERNEL_ARG_NAME")] + Name = 4506, +} diff --git a/sources/OpenCL/OpenCL/Enums/KernelArgTypeQualifier.gen.cs b/sources/OpenCL/OpenCL/Enums/KernelArgTypeQualifier.gen.cs new file mode 100644 index 0000000000..5f2a422399 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/KernelArgTypeQualifier.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_kernel_arg_type_qualifier")] +[Flags] +public enum KernelArgTypeQualifier : ulong +{ + [NativeName("CL_KERNEL_ARG_TYPE_NONE")] + None = 0x0, + + [NativeName("CL_KERNEL_ARG_TYPE_CONST")] + Const = 0x1, + + [NativeName("CL_KERNEL_ARG_TYPE_RESTRICT")] + Restrict = 0x2, + + [NativeName("CL_KERNEL_ARG_TYPE_VOLATILE")] + Volatile = 0x4, + + [NativeName("CL_KERNEL_ARG_TYPE_PIPE")] + Pipe = 0x8, +} diff --git a/sources/OpenCL/OpenCL/Enums/KernelExecInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/KernelExecInfo.gen.cs new file mode 100644 index 0000000000..2ff9c6a52d --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/KernelExecInfo.gen.cs @@ -0,0 +1,47 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_kernel_exec_info")] +public enum KernelExecInfo : uint +{ + [NativeName("CL_KERNEL_EXEC_INFO_SVM_PTRS")] + SvmPtrs = 4534, + + [NativeName("CL_KERNEL_EXEC_INFO_SVM_FINE_GRAIN_SYSTEM")] + SvmFineGrainSystem = 4535, + + [NativeName("CL_KERNEL_EXEC_INFO_WORKGROUP_BATCH_SIZE_ARM")] + WorkgroupBatchSizeARM = 16869, + + [NativeName("CL_KERNEL_EXEC_INFO_WORKGROUP_BATCH_SIZE_MODIFIER_ARM")] + WorkgroupBatchSizeModifierARM = 16870, + + [NativeName("CL_KERNEL_EXEC_INFO_WARP_COUNT_LIMIT_ARM")] + WarpCountLimitARM = 16872, + + [NativeName("CL_KERNEL_EXEC_INFO_COMPUTE_UNIT_MAX_QUEUED_BATCHES_ARM")] + ComputeUnitMaxQueuedBatchesARM = 16881, + + [NativeName("CL_KERNEL_EXEC_INFO_INDIRECT_HOST_ACCESS_INTEL")] + IndirectHostAccessINTEL = 16896, + + [NativeName("CL_KERNEL_EXEC_INFO_INDIRECT_DEVICE_ACCESS_INTEL")] + IndirectDeviceAccessINTEL = 16897, + + [NativeName("CL_KERNEL_EXEC_INFO_INDIRECT_SHARED_ACCESS_INTEL")] + IndirectSharedAccessINTEL = 16898, + + [NativeName("CL_KERNEL_EXEC_INFO_USM_PTRS_INTEL")] + UsmPtrsINTEL = 16899, + + [NativeName("CL_KERNEL_EXEC_INFO_DEVICE_PTRS_EXT")] + DevicePtrsEXT = 20482, +} diff --git a/sources/OpenCL/OpenCL/Enums/KernelExecInfoARM.gen.cs b/sources/OpenCL/OpenCL/Enums/KernelExecInfoARM.gen.cs new file mode 100644 index 0000000000..521fb8f241 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/KernelExecInfoARM.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_kernel_exec_info_arm")] +public enum KernelExecInfoARM : uint +{ + [NativeName("CL_KERNEL_EXEC_INFO_SVM_PTRS_ARM")] + Ptrs = 16568, + + [NativeName("CL_KERNEL_EXEC_INFO_SVM_FINE_GRAIN_SYSTEM_ARM")] + FineGrainSystem = 16569, +} diff --git a/sources/OpenCL/OpenCL/Enums/KernelInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/KernelInfo.gen.cs new file mode 100644 index 0000000000..ddba28493a --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/KernelInfo.gen.cs @@ -0,0 +1,35 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_kernel_info")] +public enum KernelInfo : uint +{ + [NativeName("CL_KERNEL_FUNCTION_NAME")] + FunctionName = 4496, + + [NativeName("CL_KERNEL_NUM_ARGS")] + NumArgs = 4497, + + [NativeName("CL_KERNEL_REFERENCE_COUNT")] + ReferenceCount = 4498, + + [NativeName("CL_KERNEL_CONTEXT")] + Context = 4499, + + [NativeName("CL_KERNEL_PROGRAM")] + Program = 4500, + + [NativeName("CL_KERNEL_ATTRIBUTES")] + Attributes = 4501, + + [NativeName("CL_KERNEL_MAX_WARP_COUNT_ARM")] + MaxWarpCountARM = 16873, +} diff --git a/sources/OpenCL/OpenCL/Enums/KernelSubGroupInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/KernelSubGroupInfo.gen.cs new file mode 100644 index 0000000000..fe742d74fd --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/KernelSubGroupInfo.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_kernel_sub_group_info")] +public enum KernelSubGroupInfo : uint +{ + [NativeName("CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE")] + MaxSubGroupSizeForNdrange = 8243, + + [NativeName("CL_KERNEL_SUB_GROUP_COUNT_FOR_NDRANGE")] + SubGroupCountForNdrange = 8244, + + [NativeName("CL_KERNEL_LOCAL_SIZE_FOR_SUB_GROUP_COUNT")] + LocalSizeForSubGroupCount = 4536, + + [NativeName("CL_KERNEL_MAX_NUM_SUB_GROUPS")] + MaxNumSubGroups = 4537, + + [NativeName("CL_KERNEL_COMPILE_NUM_SUB_GROUPS")] + CompileNumSubGroups = 4538, + + [NativeName("CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE_KHR")] + MaxSubGroupSizeForNdrangeKHR = 8243, + + [NativeName("CL_KERNEL_SUB_GROUP_COUNT_FOR_NDRANGE_KHR")] + SubGroupCountForNdrangeKHR = 8244, + + [NativeName("CL_KERNEL_COMPILE_SUB_GROUP_SIZE_INTEL")] + CompileSubGroupSizeINTEL = 16650, +} diff --git a/sources/OpenCL/OpenCL/Enums/KernelWorkGroupInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/KernelWorkGroupInfo.gen.cs new file mode 100644 index 0000000000..892cd69c34 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/KernelWorkGroupInfo.gen.cs @@ -0,0 +1,35 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_kernel_work_group_info")] +public enum KernelWorkGroupInfo : uint +{ + [NativeName("CL_KERNEL_WORK_GROUP_SIZE")] + WorkGroupSize = 4528, + + [NativeName("CL_KERNEL_COMPILE_WORK_GROUP_SIZE")] + CompileWorkGroupSize = 4529, + + [NativeName("CL_KERNEL_LOCAL_MEM_SIZE")] + LocalMemSize = 4530, + + [NativeName("CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE")] + PreferredWorkGroupSizeMultiple = 4531, + + [NativeName("CL_KERNEL_PRIVATE_MEM_SIZE")] + PrivateMemSize = 4532, + + [NativeName("CL_KERNEL_GLOBAL_WORK_SIZE")] + GlobalWorkSize = 4533, + + [NativeName("CL_KERNEL_SPILL_MEM_SIZE_INTEL")] + SpillMemSizeINTEL = 16649, +} diff --git a/sources/OpenCL/OpenCL/Enums/KernelWorkgroupInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/KernelWorkgroupInfo.gen.cs new file mode 100644 index 0000000000..af5b6016db --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/KernelWorkgroupInfo.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_kernel_workgroup_info")] +public enum KernelWorkgroupInfo : uint +{ + [NativeName("CL_KERNEL_ALLOCATIONS_INFO_INTEL")] + AllocationsInfoINTEL = 16986, +} diff --git a/sources/OpenCL/OpenCL/Enums/KhronosVendorId.gen.cs b/sources/OpenCL/OpenCL/Enums/KhronosVendorId.gen.cs new file mode 100644 index 0000000000..678904a42d --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/KhronosVendorId.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_khronos_vendor_id")] +public enum KhronosVendorId : uint +{ + [NativeName("CL_KHRONOS_VENDOR_ID_CODEPLAY")] + Codeplay = 65540, +} diff --git a/sources/OpenCL/OpenCL/Enums/LayerInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/LayerInfo.gen.cs new file mode 100644 index 0000000000..221f69a956 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/LayerInfo.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_layer_info")] +public enum LayerInfo : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/LayerProperties.gen.cs b/sources/OpenCL/OpenCL/Enums/LayerProperties.gen.cs new file mode 100644 index 0000000000..65b3707a23 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/LayerProperties.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_layer_properties")] +public enum LayerProperties : ulong { } diff --git a/sources/OpenCL/OpenCL/Enums/MapFlags.gen.cs b/sources/OpenCL/OpenCL/Enums/MapFlags.gen.cs new file mode 100644 index 0000000000..42fc591039 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MapFlags.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_map_flags")] +[Flags] +public enum MapFlags : ulong +{ + None = 0x0, + + [NativeName("CL_MAP_READ")] + Read = 0x1, + + [NativeName("CL_MAP_WRITE")] + Write = 0x2, + + [NativeName("CL_MAP_WRITE_INVALIDATE_REGION")] + WriteInvalidateRegion = 0x4, +} diff --git a/sources/OpenCL/OpenCL/Enums/MediaAdapterSetKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/MediaAdapterSetKHR.gen.cs new file mode 100644 index 0000000000..e22c3ee147 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MediaAdapterSetKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_media_adapter_set_khr")] +public enum MediaAdapterSetKHR : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/MediaAdapterTypeKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/MediaAdapterTypeKHR.gen.cs new file mode 100644 index 0000000000..f2ef8ecdad --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MediaAdapterTypeKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_media_adapter_type_khr")] +public enum MediaAdapterTypeKHR : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/MemAllocFlagsIMG.gen.cs b/sources/OpenCL/OpenCL/Enums/MemAllocFlagsIMG.gen.cs new file mode 100644 index 0000000000..c287bcf1c6 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MemAllocFlagsIMG.gen.cs @@ -0,0 +1,35 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mem_alloc_flags_img")] +[Flags] +public enum MemAllocFlagsIMG : ulong +{ + None = 0x0, + + [NativeName("CL_MEM_ALLOC_RELAX_REQUIREMENTS_IMG")] + RelaxRequirements = 0x1, + + [NativeName("CL_MEM_ALLOC_GPU_WRITE_COMBINE_IMG")] + GpuWriteCombine = 0x2, + + [NativeName("CL_MEM_ALLOC_GPU_CACHED_IMG")] + GpuCached = 0x4, + + [NativeName("CL_MEM_ALLOC_CPU_LOCAL_IMG")] + CpuLocal = 0x8, + + [NativeName("CL_MEM_ALLOC_GPU_LOCAL_IMG")] + GpuLocal = 0x10, + + [NativeName("CL_MEM_ALLOC_GPU_PRIVATE_IMG")] + GpuPrivate = 0x20, +} diff --git a/sources/OpenCL/OpenCL/Enums/MemAllocFlagsINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/MemAllocFlagsINTEL.gen.cs new file mode 100644 index 0000000000..5304ecf18b --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MemAllocFlagsINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mem_alloc_flags_intel")] +[Flags] +public enum MemAllocFlagsINTEL : ulong +{ + None = 0x0, + + [NativeName("CL_MEM_ALLOC_WRITE_COMBINED_INTEL")] + WriteCombined = 0x1, + + [NativeName("CL_MEM_ALLOC_INITIAL_PLACEMENT_DEVICE_INTEL")] + InitialPlacementDevice = 0x2, + + [NativeName("CL_MEM_ALLOC_INITIAL_PLACEMENT_HOST_INTEL")] + InitialPlacementHost = 0x4, +} diff --git a/sources/OpenCL/OpenCL/Enums/MemAllocInfoINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/MemAllocInfoINTEL.gen.cs new file mode 100644 index 0000000000..89b3940c32 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MemAllocInfoINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mem_alloc_info_intel")] +public enum MemAllocInfoINTEL : uint +{ + [NativeName("CL_MEM_ALLOC_TYPE_INTEL")] + Type = 16794, + + [NativeName("CL_MEM_ALLOC_BASE_PTR_INTEL")] + BasePtr = 16795, + + [NativeName("CL_MEM_ALLOC_SIZE_INTEL")] + Size = 16796, + + [NativeName("CL_MEM_ALLOC_DEVICE_INTEL")] + Device = 16797, + + [NativeName("CL_MEM_ALLOC_BUFFER_LOCATION_INTEL")] + BufferLocation = 16798, +} diff --git a/sources/OpenCL/OpenCL/Enums/MemFlags.gen.cs b/sources/OpenCL/OpenCL/Enums/MemFlags.gen.cs new file mode 100644 index 0000000000..8f7db9228b --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MemFlags.gen.cs @@ -0,0 +1,80 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mem_flags")] +[Flags] +public enum MemFlags : ulong +{ + None = 0x0, + + [NativeName("CL_MEM_READ_WRITE")] + ReadWrite = 0x1, + + [NativeName("CL_MEM_WRITE_ONLY")] + WriteOnly = 0x2, + + [NativeName("CL_MEM_READ_ONLY")] + ReadOnly = 0x4, + + [NativeName("CL_MEM_USE_HOST_PTR")] + UseHostPtr = 0x8, + + [NativeName("CL_MEM_ALLOC_HOST_PTR")] + AllocHostPtr = 0x10, + + [NativeName("CL_MEM_COPY_HOST_PTR")] + CopyHostPtr = 0x20, + + [NativeName("CL_MEM_HOST_WRITE_ONLY")] + HostWriteOnly = 0x80, + + [NativeName("CL_MEM_HOST_READ_ONLY")] + HostReadOnly = 0x100, + + [NativeName("CL_MEM_HOST_NO_ACCESS")] + HostNoAccess = 0x200, + + [NativeName("CL_MEM_SVM_FINE_GRAIN_BUFFER")] + SvmFineGrainBuffer = 0x400, + + [NativeName("CL_MEM_SVM_ATOMICS")] + SvmAtomics = 0x800, + + [NativeName("CL_MEM_KERNEL_READ_AND_WRITE")] + KernelReadAndWrite = 0x1000, + + [NativeName("CL_MEM_EXT_HOST_PTR_QCOM")] + ExtHostPtrQCOM = 0x20000000, + + [NativeName("CL_MEM_USE_UNCACHED_CPU_MEMORY_IMG")] + UseUncachedCpuMemoryIMG = 0x4000000, + + [NativeName("CL_MEM_USE_CACHED_CPU_MEMORY_IMG")] + UseCachedCpuMemoryIMG = 0x8000000, + + [NativeName("CL_MEM_USE_GRALLOC_PTR_IMG")] + UseGrallocPtrIMG = 0x10000000, + + [NativeName("CL_MEM_PROTECTED_ALLOC_ARM")] + ProtectedAllocARM = 0x1000000000, + + [NativeName("CL_MEM_NO_ACCESS_INTEL")] + NoAccessINTEL = 0x1000000, + + [NativeName("CL_MEM_ACCESS_FLAGS_UNRESTRICTED_INTEL")] + AccessFlagsUnrestrictedINTEL = 0x2000000, + + [NativeName("CL_MEM_FORCE_HOST_MEMORY_INTEL")] + ForceHostMemoryINTEL = 0x100000, + + [NativeName("CL_MEM_IMMUTABLE_EXT")] + ImmutableEXT = 0x40, +} diff --git a/sources/OpenCL/OpenCL/Enums/MemInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/MemInfo.gen.cs new file mode 100644 index 0000000000..b52816ae7c --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MemInfo.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mem_info")] +public enum MemInfo : uint +{ + [NativeName("CL_MEM_TYPE")] + Type = 4352, + + [NativeName("CL_MEM_FLAGS")] + Flags = 4353, + + [NativeName("CL_MEM_SIZE")] + Size = 4354, + + [NativeName("CL_MEM_HOST_PTR")] + HostPtr = 4355, + + [NativeName("CL_MEM_MAP_COUNT")] + MapCount = 4356, + + [NativeName("CL_MEM_REFERENCE_COUNT")] + ReferenceCount = 4357, + + [NativeName("CL_MEM_CONTEXT")] + Context = 4358, + + [NativeName("CL_MEM_ASSOCIATED_MEMOBJECT")] + AssociatedMemobject = 4359, + + [NativeName("CL_MEM_OFFSET")] + Offset = 4360, + + [NativeName("CL_MEM_USES_SVM_POINTER")] + UsesSvmPointer = 4361, + + [NativeName("CL_MEM_PROPERTIES")] + Properties = 4362, + + [NativeName("CL_MEM_USES_SVM_POINTER_ARM")] + UsesSvmPointerARM = 16567, + + [NativeName("CL_MEM_DEVICE_ADDRESS_EXT")] + DeviceAddressEXT = 20481, +} diff --git a/sources/OpenCL/OpenCL/Enums/MemMigrationFlags.gen.cs b/sources/OpenCL/OpenCL/Enums/MemMigrationFlags.gen.cs new file mode 100644 index 0000000000..0301d8c6f9 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MemMigrationFlags.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mem_migration_flags")] +[Flags] +public enum MemMigrationFlags : ulong +{ + None = 0x0, + + [NativeName("CL_MIGRATE_MEM_OBJECT_HOST")] + Host = 0x1, + + [NativeName("CL_MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED")] + ContentUndefined = 0x2, + + [NativeName("CL_MIGRATE_MEM_OBJECT_HOST_EXT")] + HostEXT = 0x1, +} diff --git a/sources/OpenCL/OpenCL/Enums/MemMigrationFlagsEXT.gen.cs b/sources/OpenCL/OpenCL/Enums/MemMigrationFlagsEXT.gen.cs new file mode 100644 index 0000000000..863c49dfd8 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MemMigrationFlagsEXT.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mem_migration_flags_ext")] +[Flags] +public enum MemMigrationFlagsEXT : ulong +{ + None = 0x0, + + [NativeName("CL_MIGRATE_MEM_OBJECT_HOST_EXT")] + MigrateMemObjectHost = 0x1, +} diff --git a/sources/OpenCL/OpenCL/Enums/MemObjectType.gen.cs b/sources/OpenCL/OpenCL/Enums/MemObjectType.gen.cs new file mode 100644 index 0000000000..9af92474f7 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MemObjectType.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mem_object_type")] +public enum MemObjectType : uint +{ + [NativeName("CL_MEM_OBJECT_BUFFER")] + Buffer = 4336, + + [NativeName("CL_MEM_OBJECT_IMAGE2D")] + Image2D = 4337, + + [NativeName("CL_MEM_OBJECT_IMAGE3D")] + Image3D = 4338, + + [NativeName("CL_MEM_OBJECT_IMAGE2D_ARRAY")] + Image2DArray = 4339, + + [NativeName("CL_MEM_OBJECT_IMAGE1D")] + Image1D = 4340, + + [NativeName("CL_MEM_OBJECT_IMAGE1D_ARRAY")] + Image1DArray = 4341, + + [NativeName("CL_MEM_OBJECT_IMAGE1D_BUFFER")] + Image1DBuffer = 4342, + + [NativeName("CL_MEM_OBJECT_PIPE")] + Pipe = 4343, +} diff --git a/sources/OpenCL/OpenCL/Enums/MemProperties.gen.cs b/sources/OpenCL/OpenCL/Enums/MemProperties.gen.cs new file mode 100644 index 0000000000..1bb223153e --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MemProperties.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mem_properties")] +public enum MemProperties : ulong +{ + [NativeName("CL_MEM_ALLOC_FLAGS_IMG")] + AllocFlagsIMG = 16599, + + [NativeName("CL_MEM_DEVICE_HANDLE_LIST_KHR")] + DeviceHandleListKHR = 8273, + + [NativeName("CL_MEM_LOCALLY_UNCACHED_RESOURCE_INTEL")] + LocallyUncachedResourceINTEL = 16920, + + [NativeName("CL_MEM_DEVICE_ID_INTEL")] + DeviceIdINTEL = 16921, + + [NativeName("CL_MEM_DEVICE_PRIVATE_ADDRESS_EXT")] + DevicePrivateAddressEXT = 20480, +} diff --git a/sources/OpenCL/OpenCL/Enums/MemPropertiesINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/MemPropertiesINTEL.gen.cs new file mode 100644 index 0000000000..aeede23527 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MemPropertiesINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mem_properties_intel")] +public enum MemPropertiesINTEL : ulong +{ + [NativeName("CL_MEM_ALLOC_FLAGS_INTEL")] + AllocFlags = 16789, + + [NativeName("CL_MEM_ALLOC_BUFFER_LOCATION_INTEL")] + AllocBufferLocation = 16798, + + [NativeName("CL_MEM_CHANNEL_INTEL")] + Channel = 16915, +} diff --git a/sources/OpenCL/OpenCL/Enums/MipmapFilterModeIMG.gen.cs b/sources/OpenCL/OpenCL/Enums/MipmapFilterModeIMG.gen.cs new file mode 100644 index 0000000000..251c791acf --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MipmapFilterModeIMG.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mipmap_filter_mode_img")] +public enum MipmapFilterModeIMG : uint +{ + [NativeName("CL_MIPMAP_FILTER_ANY_IMG")] + Any = 0, + + [NativeName("CL_MIPMAP_FILTER_BOX_IMG")] + Box = 1, +} diff --git a/sources/OpenCL/OpenCL/Enums/MotionEstimationDescMbBlockTypeINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/MotionEstimationDescMbBlockTypeINTEL.gen.cs new file mode 100644 index 0000000000..a979b4545f --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MotionEstimationDescMbBlockTypeINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_motion_estimation_desc_intel.mb_block_type")] +[Flags] +public enum MotionEstimationDescMbBlockTypeINTEL : uint +{ + [NativeName("CL_ME_MB_TYPE_16x16_INTEL")] + Type16x16 = 0x0, + + [NativeName("CL_ME_MB_TYPE_8x8_INTEL")] + Type8x8 = 0x1, + + [NativeName("CL_ME_MB_TYPE_4x4_INTEL")] + Type4x4 = 0x2, +} diff --git a/sources/OpenCL/OpenCL/Enums/MotionEstimationDescSadAdjustModeINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/MotionEstimationDescSadAdjustModeINTEL.gen.cs new file mode 100644 index 0000000000..f5cbc2a9ae --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MotionEstimationDescSadAdjustModeINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_motion_estimation_desc_intel.sad_adjust_mode")] +[Flags] +public enum MotionEstimationDescSadAdjustModeINTEL : uint +{ + [NativeName("CL_ME_SAD_ADJUST_MODE_NONE_INTEL")] + None = 0x0, + + [NativeName("CL_ME_SAD_ADJUST_MODE_HAAR_INTEL")] + Haar = 0x1, +} diff --git a/sources/OpenCL/OpenCL/Enums/MotionEstimationDescSearchPathTypeINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/MotionEstimationDescSearchPathTypeINTEL.gen.cs new file mode 100644 index 0000000000..2f79ec7080 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MotionEstimationDescSearchPathTypeINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_motion_estimation_desc_intel.search_path_type")] +[Flags] +public enum MotionEstimationDescSearchPathTypeINTEL : uint +{ + [NativeName("CL_ME_SEARCH_PATH_RADIUS_2_2_INTEL")] + Radius2x2 = 0x0, + + [NativeName("CL_ME_SEARCH_PATH_RADIUS_4_4_INTEL")] + Radius4x4 = 0x1, + + [NativeName("CL_ME_SEARCH_PATH_RADIUS_16_12_INTEL")] + Radius16x12 = 0x5, +} diff --git a/sources/OpenCL/OpenCL/Enums/MotionEstimationDescSubpixelModeINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/MotionEstimationDescSubpixelModeINTEL.gen.cs new file mode 100644 index 0000000000..e3783bb456 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MotionEstimationDescSubpixelModeINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_motion_estimation_desc_intel.subpixel_mode")] +[Flags] +public enum MotionEstimationDescSubpixelModeINTEL : uint +{ + [NativeName("CL_ME_SUBPIXEL_MODE_INTEGER_INTEL")] + Integer = 0x0, + + [NativeName("CL_ME_SUBPIXEL_MODE_HPEL_INTEL")] + Hpel = 0x1, + + [NativeName("CL_ME_SUBPIXEL_MODE_QPEL_INTEL")] + Qpel = 0x2, +} diff --git a/sources/OpenCL/OpenCL/Enums/MutableCommandInfoKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/MutableCommandInfoKHR.gen.cs new file mode 100644 index 0000000000..a345be5648 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MutableCommandInfoKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mutable_command_info_khr")] +public enum MutableCommandInfoKHR : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/MutableDispatchAssertsKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/MutableDispatchAssertsKHR.gen.cs new file mode 100644 index 0000000000..579c32e0a6 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MutableDispatchAssertsKHR.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mutable_dispatch_asserts_khr")] +[Flags] +public enum MutableDispatchAssertsKHR : ulong +{ + None = 0x0, +} diff --git a/sources/OpenCL/OpenCL/Enums/MutableDispatchFieldsKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/MutableDispatchFieldsKHR.gen.cs new file mode 100644 index 0000000000..cd0d570235 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/MutableDispatchFieldsKHR.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mutable_dispatch_fields_khr")] +[Flags] +public enum MutableDispatchFieldsKHR : ulong +{ + None = 0x0, +} diff --git a/sources/OpenCL/OpenCL/Enums/PerfHintQCOM.gen.cs b/sources/OpenCL/OpenCL/Enums/PerfHintQCOM.gen.cs new file mode 100644 index 0000000000..df81d95ec8 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/PerfHintQCOM.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_perf_hint_qcom")] +public enum PerfHintQCOM : uint +{ + [NativeName("CL_PERF_HINT_HIGH_QCOM")] + High = 16579, + + [NativeName("CL_PERF_HINT_NORMAL_QCOM")] + Normal = 16580, + + [NativeName("CL_PERF_HINT_LOW_QCOM")] + Low = 16581, +} diff --git a/sources/OpenCL/OpenCL/Enums/PipeInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/PipeInfo.gen.cs new file mode 100644 index 0000000000..99406d7215 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/PipeInfo.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_pipe_info")] +public enum PipeInfo : uint +{ + [NativeName("CL_PIPE_PACKET_SIZE")] + PacketSize = 4384, + + [NativeName("CL_PIPE_MAX_PACKETS")] + MaxPackets = 4385, + + [NativeName("CL_PIPE_PROPERTIES")] + Properties = 4386, +} diff --git a/sources/OpenCL/OpenCL/Enums/PlatformCommandBufferCapabilitiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/PlatformCommandBufferCapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..1576a89b0b --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/PlatformCommandBufferCapabilitiesKHR.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_platform_command_buffer_capabilities_khr")] +[Flags] +public enum PlatformCommandBufferCapabilitiesKHR : ulong +{ + None = 0x0, +} diff --git a/sources/OpenCL/OpenCL/Enums/PlatformInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/PlatformInfo.gen.cs new file mode 100644 index 0000000000..65e6fc595f --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/PlatformInfo.gen.cs @@ -0,0 +1,62 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_platform_info")] +public enum PlatformInfo : uint +{ + [NativeName("CL_PLATFORM_PROFILE")] + Profile = 2304, + + [NativeName("CL_PLATFORM_VERSION")] + Version = 2305, + + [NativeName("CL_PLATFORM_NAME")] + Name = 2306, + + [NativeName("CL_PLATFORM_VENDOR")] + Vendor = 2307, + + [NativeName("CL_PLATFORM_EXTENSIONS")] + Extensions = 2308, + + [NativeName("CL_PLATFORM_HOST_TIMER_RESOLUTION")] + HostTimerResolution = 2309, + + [NativeName("CL_PLATFORM_NUMERIC_VERSION")] + NumericVersion = 2310, + + [NativeName("CL_PLATFORM_EXTENSIONS_WITH_VERSION")] + ExtensionsWithVersion = 2311, + + [NativeName("CL_PLATFORM_ICD_SUFFIX_KHR")] + IcdSuffixKHR = 2336, + + [NativeName("CL_PLATFORM_UNLOADABLE_KHR")] + UnloadableKHR = 2337, + + [NativeName("CL_PLATFORM_NUMERIC_VERSION_KHR")] + NumericVersionKHR = 2310, + + [NativeName("CL_PLATFORM_EXTENSIONS_WITH_VERSION_KHR")] + ExtensionsWithVersionKHR = 2311, + + [NativeName("CL_PLATFORM_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR")] + ExternalMemoryImportHandleTypesKHR = 8260, + + [NativeName("CL_PLATFORM_SEMAPHORE_IMPORT_HANDLE_TYPES_KHR")] + SemaphoreImportHandleTypesKHR = 8247, + + [NativeName("CL_PLATFORM_SEMAPHORE_EXPORT_HANDLE_TYPES_KHR")] + SemaphoreExportHandleTypesKHR = 8248, + + [NativeName("CL_PLATFORM_SEMAPHORE_TYPES_KHR")] + SemaphoreTypesKHR = 8246, +} diff --git a/sources/OpenCL/OpenCL/Enums/ProfilingInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/ProfilingInfo.gen.cs new file mode 100644 index 0000000000..5d04e6c928 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ProfilingInfo.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_profiling_info")] +public enum ProfilingInfo : uint +{ + [NativeName("CL_PROFILING_COMMAND_QUEUED")] + Queued = 4736, + + [NativeName("CL_PROFILING_COMMAND_SUBMIT")] + Submit = 4737, + + [NativeName("CL_PROFILING_COMMAND_START")] + Start = 4738, + + [NativeName("CL_PROFILING_COMMAND_END")] + End = 4739, + + [NativeName("CL_PROFILING_COMMAND_COMPLETE")] + Complete = 4740, +} diff --git a/sources/OpenCL/OpenCL/Enums/ProgramBinaryType.gen.cs b/sources/OpenCL/OpenCL/Enums/ProgramBinaryType.gen.cs new file mode 100644 index 0000000000..c8e571f56b --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ProgramBinaryType.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_program_binary_type")] +public enum ProgramBinaryType : uint +{ + [NativeName("CL_PROGRAM_BINARY_TYPE_NONE")] + None = 0, + + [NativeName("CL_PROGRAM_BINARY_TYPE_COMPILED_OBJECT")] + CompiledObject = 1, + + [NativeName("CL_PROGRAM_BINARY_TYPE_LIBRARY")] + Library = 2, + + [NativeName("CL_PROGRAM_BINARY_TYPE_EXECUTABLE")] + Executable = 4, + + [NativeName("CL_PROGRAM_BINARY_TYPE_INTERMEDIATE")] + Intermediate = 16609, +} diff --git a/sources/OpenCL/OpenCL/Enums/ProgramBuildInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/ProgramBuildInfo.gen.cs new file mode 100644 index 0000000000..622ab82b8d --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ProgramBuildInfo.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_program_build_info")] +public enum ProgramBuildInfo : uint +{ + [NativeName("CL_PROGRAM_BUILD_STATUS")] + BuildStatus = 4481, + + [NativeName("CL_PROGRAM_BUILD_OPTIONS")] + BuildOptions = 4482, + + [NativeName("CL_PROGRAM_BUILD_LOG")] + BuildLog = 4483, + + [NativeName("CL_PROGRAM_BINARY_TYPE")] + BinaryType = 4484, + + [NativeName("CL_PROGRAM_BUILD_GLOBAL_VARIABLE_TOTAL_SIZE")] + BuildGlobalVariableTotalSize = 4485, +} diff --git a/sources/OpenCL/OpenCL/Enums/ProgramInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/ProgramInfo.gen.cs new file mode 100644 index 0000000000..cdae3c4981 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/ProgramInfo.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_program_info")] +public enum ProgramInfo : uint +{ + [NativeName("CL_PROGRAM_REFERENCE_COUNT")] + ReferenceCount = 4448, + + [NativeName("CL_PROGRAM_CONTEXT")] + Context = 4449, + + [NativeName("CL_PROGRAM_NUM_DEVICES")] + NumDevices = 4450, + + [NativeName("CL_PROGRAM_DEVICES")] + Devices = 4451, + + [NativeName("CL_PROGRAM_SOURCE")] + Source = 4452, + + [NativeName("CL_PROGRAM_BINARY_SIZES")] + BinarySizes = 4453, + + [NativeName("CL_PROGRAM_BINARIES")] + Binaries = 4454, + + [NativeName("CL_PROGRAM_NUM_KERNELS")] + NumKernels = 4455, + + [NativeName("CL_PROGRAM_KERNEL_NAMES")] + KernelNames = 4456, + + [NativeName("CL_PROGRAM_IL")] + Il = 4457, + + [NativeName("CL_PROGRAM_SCOPE_GLOBAL_CTORS_PRESENT")] + ScopeGlobalCtorsPresent = 4458, + + [NativeName("CL_PROGRAM_SCOPE_GLOBAL_DTORS_PRESENT")] + ScopeGlobalDtorsPresent = 4459, + + [NativeName("CL_PROGRAM_IL_KHR")] + IlKHR = 4457, +} diff --git a/sources/OpenCL/OpenCL/Enums/QueuePriorityKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/QueuePriorityKHR.gen.cs new file mode 100644 index 0000000000..5399b89368 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/QueuePriorityKHR.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_queue_priority_khr")] +[Flags] +public enum QueuePriorityKHR : uint +{ + None = 0x0, + + [NativeName("CL_QUEUE_PRIORITY_HIGH_KHR")] + High = 0x1, + + [NativeName("CL_QUEUE_PRIORITY_MED_KHR")] + Med = 0x2, + + [NativeName("CL_QUEUE_PRIORITY_LOW_KHR")] + Low = 0x4, +} diff --git a/sources/OpenCL/OpenCL/Enums/QueueProperties.gen.cs b/sources/OpenCL/OpenCL/Enums/QueueProperties.gen.cs new file mode 100644 index 0000000000..20e4fdf181 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/QueueProperties.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_queue_properties")] +public enum QueueProperties : ulong +{ + [NativeName("CL_QUEUE_PRIORITY_KHR")] + PriorityKHR = 4246, + + [NativeName("CL_QUEUE_THROTTLE_KHR")] + ThrottleKHR = 4247, + + [NativeName("CL_QUEUE_JOB_SLOT_ARM")] + JobSlotARM = 16865, + + [NativeName("CL_QUEUE_KERNEL_BATCHING_ARM")] + KernelBatchingARM = 16871, + + [NativeName("CL_QUEUE_DEFERRED_FLUSH_ARM")] + DeferredFlushARM = 16876, + + [NativeName("CL_QUEUE_COMPUTE_UNIT_LIMIT_ARM")] + ComputeUnitLimitARM = 16883, + + [NativeName("CL_QUEUE_FAMILY_INTEL")] + FamilyINTEL = 16780, + + [NativeName("CL_QUEUE_INDEX_INTEL")] + IndexINTEL = 16781, +} diff --git a/sources/OpenCL/OpenCL/Enums/QueuePropertiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/QueuePropertiesKHR.gen.cs new file mode 100644 index 0000000000..4e2804de34 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/QueuePropertiesKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_queue_properties_khr")] +public enum QueuePropertiesKHR : ulong { } diff --git a/sources/OpenCL/OpenCL/Enums/QueueThrottleKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/QueueThrottleKHR.gen.cs new file mode 100644 index 0000000000..e2daddd52a --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/QueueThrottleKHR.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_queue_throttle_khr")] +[Flags] +public enum QueueThrottleKHR : uint +{ + None = 0x0, + + [NativeName("CL_QUEUE_THROTTLE_HIGH_KHR")] + High = 0x1, + + [NativeName("CL_QUEUE_THROTTLE_MED_KHR")] + Med = 0x2, + + [NativeName("CL_QUEUE_THROTTLE_LOW_KHR")] + Low = 0x4, +} diff --git a/sources/OpenCL/OpenCL/Enums/SamplerInfo.gen.cs b/sources/OpenCL/OpenCL/Enums/SamplerInfo.gen.cs new file mode 100644 index 0000000000..d514072829 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SamplerInfo.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_sampler_info")] +public enum SamplerInfo : uint +{ + [NativeName("CL_SAMPLER_REFERENCE_COUNT")] + ReferenceCount = 4432, + + [NativeName("CL_SAMPLER_CONTEXT")] + Context = 4433, + + [NativeName("CL_SAMPLER_NORMALIZED_COORDS")] + NormalizedCoords = 4434, + + [NativeName("CL_SAMPLER_ADDRESSING_MODE")] + AddressingMode = 4435, + + [NativeName("CL_SAMPLER_FILTER_MODE")] + FilterMode = 4436, + + [NativeName("CL_SAMPLER_MIP_FILTER_MODE")] + MipFilterMode = 4437, + + [NativeName("CL_SAMPLER_LOD_MIN")] + LodMin = 4438, + + [NativeName("CL_SAMPLER_LOD_MAX")] + LodMax = 4439, + + [NativeName("CL_SAMPLER_PROPERTIES")] + Properties = 4440, +} diff --git a/sources/OpenCL/OpenCL/Enums/SamplerProperties.gen.cs b/sources/OpenCL/OpenCL/Enums/SamplerProperties.gen.cs new file mode 100644 index 0000000000..499e7bb6c5 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SamplerProperties.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_sampler_properties")] +public enum SamplerProperties : ulong +{ + [NativeName("CL_SAMPLER_MIP_FILTER_MODE_KHR")] + MipFilterModeKHR = 4437, + + [NativeName("CL_SAMPLER_LOD_MIN_KHR")] + LodMinKHR = 4438, + + [NativeName("CL_SAMPLER_LOD_MAX_KHR")] + LodMaxKHR = 4439, +} diff --git a/sources/OpenCL/OpenCL/Enums/SemaphoreInfoKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/SemaphoreInfoKHR.gen.cs new file mode 100644 index 0000000000..184f27e583 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SemaphoreInfoKHR.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_semaphore_info_khr")] +public enum SemaphoreInfoKHR : uint +{ + [NativeName("CL_SEMAPHORE_EXPORTABLE_KHR")] + Exportable = 8276, + + [NativeName("CL_SEMAPHORE_CONTEXT_KHR")] + Context = 8249, + + [NativeName("CL_SEMAPHORE_REFERENCE_COUNT_KHR")] + ReferenceCount = 8250, + + [NativeName("CL_SEMAPHORE_PROPERTIES_KHR")] + Properties = 8251, + + [NativeName("CL_SEMAPHORE_PAYLOAD_KHR")] + Payload = 8252, +} diff --git a/sources/OpenCL/OpenCL/Enums/SemaphorePropertiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/SemaphorePropertiesKHR.gen.cs new file mode 100644 index 0000000000..2f8c4f8033 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SemaphorePropertiesKHR.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_semaphore_properties_khr")] +public enum SemaphorePropertiesKHR : ulong +{ + [NativeName("CL_SEMAPHORE_EXPORT_HANDLE_TYPES_KHR")] + ExportHandleTypes = 8255, +} diff --git a/sources/OpenCL/OpenCL/Enums/SemaphoreReimportPropertiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/SemaphoreReimportPropertiesKHR.gen.cs new file mode 100644 index 0000000000..5ee4f38f37 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SemaphoreReimportPropertiesKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_semaphore_reimport_properties_khr")] +public enum SemaphoreReimportPropertiesKHR : ulong { } diff --git a/sources/OpenCL/OpenCL/Enums/SemaphoreType.gen.cs b/sources/OpenCL/OpenCL/Enums/SemaphoreType.gen.cs new file mode 100644 index 0000000000..d1ff3ed58f --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SemaphoreType.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_semaphore_type")] +public enum SemaphoreType : uint +{ + [NativeName("CL_SEMAPHORE_TYPE_BINARY_KHR")] + BinaryKHR = 1, +} diff --git a/sources/OpenCL/OpenCL/Enums/SemaphoreTypeKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/SemaphoreTypeKHR.gen.cs new file mode 100644 index 0000000000..d0c564bcb4 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SemaphoreTypeKHR.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_semaphore_type_khr")] +public enum SemaphoreTypeKHR : uint +{ + [NativeName("CL_SEMAPHORE_TYPE_BINARY_KHR")] + Binary = 1, +} diff --git a/sources/OpenCL/OpenCL/Enums/SvmAllocAccessFlagsKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/SvmAllocAccessFlagsKHR.gen.cs new file mode 100644 index 0000000000..e3ecda5cf7 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SvmAllocAccessFlagsKHR.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_svm_alloc_access_flags_khr")] +[Flags] +public enum SvmAllocAccessFlagsKHR : ulong +{ + None = 0x0, +} diff --git a/sources/OpenCL/OpenCL/Enums/SvmAllocFlagsARM.gen.cs b/sources/OpenCL/OpenCL/Enums/SvmAllocFlagsARM.gen.cs new file mode 100644 index 0000000000..523f175107 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SvmAllocFlagsARM.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_arm_svm_alloc.flags")] +[Flags] +public enum SvmAllocFlagsARM : uint +{ + None = 0x0, + + [NativeName("CL_MEM_SVM_FINE_GRAIN_BUFFER_ARM")] + FineGrainBuffer = 0x400, + + [NativeName("CL_MEM_SVM_ATOMICS_ARM")] + Atomics = 0x800, +} diff --git a/sources/OpenCL/OpenCL/Enums/SvmAllocPropertiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/SvmAllocPropertiesKHR.gen.cs new file mode 100644 index 0000000000..0e0eb3a4ec --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SvmAllocPropertiesKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_svm_alloc_properties_khr")] +public enum SvmAllocPropertiesKHR : ulong { } diff --git a/sources/OpenCL/OpenCL/Enums/SvmCapabilitiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/SvmCapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..9a505c8c4c --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SvmCapabilitiesKHR.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_svm_capabilities_khr")] +[Flags] +public enum SvmCapabilitiesKHR : ulong +{ + None = 0x0, +} diff --git a/sources/OpenCL/OpenCL/Enums/SvmFreeFlagsKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/SvmFreeFlagsKHR.gen.cs new file mode 100644 index 0000000000..218d16c232 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SvmFreeFlagsKHR.gen.cs @@ -0,0 +1,17 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_svm_free_flags_khr")] +[Flags] +public enum SvmFreeFlagsKHR : ulong +{ + None = 0x0, +} diff --git a/sources/OpenCL/OpenCL/Enums/SvmFreePropertiesKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/SvmFreePropertiesKHR.gen.cs new file mode 100644 index 0000000000..46ceab45b3 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SvmFreePropertiesKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_svm_free_properties_khr")] +public enum SvmFreePropertiesKHR : ulong { } diff --git a/sources/OpenCL/OpenCL/Enums/SvmMemFlags.gen.cs b/sources/OpenCL/OpenCL/Enums/SvmMemFlags.gen.cs new file mode 100644 index 0000000000..5c76703e77 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SvmMemFlags.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_svm_mem_flags")] +[Flags] +public enum SvmMemFlags : ulong +{ + None = 0x0, + + [NativeName("CL_MEM_READ_WRITE")] + ReadWrite = 0x1, + + [NativeName("CL_MEM_WRITE_ONLY")] + WriteOnly = 0x2, + + [NativeName("CL_MEM_READ_ONLY")] + ReadOnly = 0x4, + + [NativeName("CL_MEM_USE_HOST_PTR")] + UseHostPtr = 0x8, + + [NativeName("CL_MEM_ALLOC_HOST_PTR")] + AllocHostPtr = 0x10, + + [NativeName("CL_MEM_COPY_HOST_PTR")] + CopyHostPtr = 0x20, + + [NativeName("CL_MEM_HOST_WRITE_ONLY")] + HostWriteOnly = 0x80, + + [NativeName("CL_MEM_HOST_READ_ONLY")] + HostReadOnly = 0x100, + + [NativeName("CL_MEM_HOST_NO_ACCESS")] + HostNoAccess = 0x200, + + [NativeName("CL_MEM_SVM_FINE_GRAIN_BUFFER")] + SvmFineGrainBuffer = 0x400, + + [NativeName("CL_MEM_SVM_ATOMICS")] + SvmAtomics = 0x800, + + [NativeName("CL_MEM_KERNEL_READ_AND_WRITE")] + KernelReadAndWrite = 0x1000, +} diff --git a/sources/OpenCL/OpenCL/Enums/SvmMemFlagsARM.gen.cs b/sources/OpenCL/OpenCL/Enums/SvmMemFlagsARM.gen.cs new file mode 100644 index 0000000000..61019dcccd --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SvmMemFlagsARM.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_svm_mem_flags_arm")] +[Flags] +public enum SvmMemFlagsARM : ulong +{ + None = 0x0, + + [NativeName("CL_MEM_SVM_FINE_GRAIN_BUFFER_ARM")] + FineGrainBuffer = 0x400, + + [NativeName("CL_MEM_SVM_ATOMICS_ARM")] + Atomics = 0x800, +} diff --git a/sources/OpenCL/OpenCL/Enums/SvmPointerInfoKHR.gen.cs b/sources/OpenCL/OpenCL/Enums/SvmPointerInfoKHR.gen.cs new file mode 100644 index 0000000000..904424331e --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/SvmPointerInfoKHR.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_svm_pointer_info_khr")] +public enum SvmPointerInfoKHR : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/UnifiedSharedMemoryCapabilitiesINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/UnifiedSharedMemoryCapabilitiesINTEL.gen.cs new file mode 100644 index 0000000000..6241ed2123 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/UnifiedSharedMemoryCapabilitiesINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_unified_shared_memory_capabilities_intel")] +[Flags] +public enum UnifiedSharedMemoryCapabilitiesINTEL : uint +{ + None = 0x0, + + [NativeName("CL_UNIFIED_SHARED_MEMORY_ACCESS_INTEL")] + Access = 0x1, + + [NativeName("CL_UNIFIED_SHARED_MEMORY_ATOMIC_ACCESS_INTEL")] + AtomicAccess = 0x2, + + [NativeName("CL_UNIFIED_SHARED_MEMORY_CONCURRENT_ACCESS_INTEL")] + ConcurrentAccess = 0x4, + + [NativeName("CL_UNIFIED_SHARED_MEMORY_CONCURRENT_ATOMIC_ACCESS_INTEL")] + ConcurrentAtomicAccess = 0x8, +} diff --git a/sources/OpenCL/OpenCL/Enums/UnifiedSharedMemoryTypeINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/UnifiedSharedMemoryTypeINTEL.gen.cs new file mode 100644 index 0000000000..bb8b263f19 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/UnifiedSharedMemoryTypeINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_unified_shared_memory_type_intel")] +public enum UnifiedSharedMemoryTypeINTEL : uint +{ + [NativeName("CL_MEM_TYPE_UNKNOWN_INTEL")] + Unknown = 16790, + + [NativeName("CL_MEM_TYPE_HOST_INTEL")] + Host = 16791, + + [NativeName("CL_MEM_TYPE_DEVICE_INTEL")] + Device = 16792, + + [NativeName("CL_MEM_TYPE_SHARED_INTEL")] + Shared = 16793, +} diff --git a/sources/OpenCL/OpenCL/Enums/VaApiDeviceSetINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/VaApiDeviceSetINTEL.gen.cs new file mode 100644 index 0000000000..510b9f7e06 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/VaApiDeviceSetINTEL.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_va_api_device_set_intel")] +public enum VaApiDeviceSetINTEL : uint { } diff --git a/sources/OpenCL/OpenCL/Enums/VaApiDeviceSourceINTEL.gen.cs b/sources/OpenCL/OpenCL/Enums/VaApiDeviceSourceINTEL.gen.cs new file mode 100644 index 0000000000..3eddcddc11 --- /dev/null +++ b/sources/OpenCL/OpenCL/Enums/VaApiDeviceSourceINTEL.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_va_api_device_source_intel")] +public enum VaApiDeviceSourceINTEL : uint { } diff --git a/sources/OpenCL/OpenCL/Handles/AcceleratorHandleINTEL.gen.cs b/sources/OpenCL/OpenCL/Handles/AcceleratorHandleINTEL.gen.cs new file mode 100644 index 0000000000..9ea846dde0 --- /dev/null +++ b/sources/OpenCL/OpenCL/Handles/AcceleratorHandleINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("_cl_accelerator_intel")] +public readonly unsafe partial struct AcceleratorHandleINTEL : IEquatable +{ + public readonly void* Handle; + + public AcceleratorHandleINTEL(void* handle) + { + Handle = handle; + } + + public bool Equals(AcceleratorHandleINTEL other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is AcceleratorHandleINTEL other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(AcceleratorHandleINTEL left, AcceleratorHandleINTEL right) => + left.Equals(right); + + public static bool operator !=(AcceleratorHandleINTEL left, AcceleratorHandleINTEL right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(AcceleratorHandleINTEL left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(AcceleratorHandleINTEL left, NullPtr right) => + !left.Equals(right); + + public static implicit operator AcceleratorHandleINTEL(NullPtr _) => default; +} diff --git a/sources/OpenCL/OpenCL/Handles/CommandQueueHandle.gen.cs b/sources/OpenCL/OpenCL/Handles/CommandQueueHandle.gen.cs new file mode 100644 index 0000000000..c3c40c7d32 --- /dev/null +++ b/sources/OpenCL/OpenCL/Handles/CommandQueueHandle.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_command_queue")] +public readonly unsafe partial struct CommandQueueHandle : IEquatable +{ + public readonly void* Handle; + + public CommandQueueHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(CommandQueueHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is CommandQueueHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(CommandQueueHandle left, CommandQueueHandle right) => + left.Equals(right); + + public static bool operator !=(CommandQueueHandle left, CommandQueueHandle right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(CommandQueueHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(CommandQueueHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator CommandQueueHandle(NullPtr _) => default; +} diff --git a/sources/OpenCL/OpenCL/Handles/ContextHandle.gen.cs b/sources/OpenCL/OpenCL/Handles/ContextHandle.gen.cs new file mode 100644 index 0000000000..af1a66425e --- /dev/null +++ b/sources/OpenCL/OpenCL/Handles/ContextHandle.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_context")] +public readonly unsafe partial struct ContextHandle : IEquatable +{ + public readonly void* Handle; + + public ContextHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(ContextHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is ContextHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(ContextHandle left, ContextHandle right) => left.Equals(right); + + public static bool operator !=(ContextHandle left, ContextHandle right) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(ContextHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(ContextHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator ContextHandle(NullPtr _) => default; +} diff --git a/sources/OpenCL/OpenCL/Handles/DeviceIdHandle.gen.cs b/sources/OpenCL/OpenCL/Handles/DeviceIdHandle.gen.cs new file mode 100644 index 0000000000..853674f7fc --- /dev/null +++ b/sources/OpenCL/OpenCL/Handles/DeviceIdHandle.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_device_id")] +public readonly unsafe partial struct DeviceIdHandle : IEquatable +{ + public readonly void* Handle; + + public DeviceIdHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(DeviceIdHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is DeviceIdHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(DeviceIdHandle left, DeviceIdHandle right) => left.Equals(right); + + public static bool operator !=(DeviceIdHandle left, DeviceIdHandle right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(DeviceIdHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(DeviceIdHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator DeviceIdHandle(NullPtr _) => default; +} diff --git a/sources/OpenCL/OpenCL/Handles/EventHandle.gen.cs b/sources/OpenCL/OpenCL/Handles/EventHandle.gen.cs new file mode 100644 index 0000000000..db342b172f --- /dev/null +++ b/sources/OpenCL/OpenCL/Handles/EventHandle.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_event")] +public readonly unsafe partial struct EventHandle : IEquatable +{ + public readonly void* Handle; + + public EventHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(EventHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is EventHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(EventHandle left, EventHandle right) => left.Equals(right); + + public static bool operator !=(EventHandle left, EventHandle right) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(EventHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(EventHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator EventHandle(NullPtr _) => default; +} diff --git a/sources/OpenCL/OpenCL/Handles/KernelHandle.gen.cs b/sources/OpenCL/OpenCL/Handles/KernelHandle.gen.cs new file mode 100644 index 0000000000..b378db5b1f --- /dev/null +++ b/sources/OpenCL/OpenCL/Handles/KernelHandle.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_kernel")] +public readonly unsafe partial struct KernelHandle : IEquatable +{ + public readonly void* Handle; + + public KernelHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(KernelHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is KernelHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(KernelHandle left, KernelHandle right) => left.Equals(right); + + public static bool operator !=(KernelHandle left, KernelHandle right) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(KernelHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(KernelHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator KernelHandle(NullPtr _) => default; +} diff --git a/sources/OpenCL/OpenCL/Handles/MemHandle.gen.cs b/sources/OpenCL/OpenCL/Handles/MemHandle.gen.cs new file mode 100644 index 0000000000..ff8de95f18 --- /dev/null +++ b/sources/OpenCL/OpenCL/Handles/MemHandle.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_mem")] +public readonly unsafe partial struct MemHandle : IEquatable +{ + public readonly void* Handle; + + public MemHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(MemHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is MemHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(MemHandle left, MemHandle right) => left.Equals(right); + + public static bool operator !=(MemHandle left, MemHandle right) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(MemHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(MemHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator MemHandle(NullPtr _) => default; +} diff --git a/sources/OpenCL/OpenCL/Handles/PlatformIdHandle.gen.cs b/sources/OpenCL/OpenCL/Handles/PlatformIdHandle.gen.cs new file mode 100644 index 0000000000..5a4d7cef87 --- /dev/null +++ b/sources/OpenCL/OpenCL/Handles/PlatformIdHandle.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_platform_id")] +public readonly unsafe partial struct PlatformIdHandle : IEquatable +{ + public readonly void* Handle; + + public PlatformIdHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(PlatformIdHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is PlatformIdHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(PlatformIdHandle left, PlatformIdHandle right) => + left.Equals(right); + + public static bool operator !=(PlatformIdHandle left, PlatformIdHandle right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(PlatformIdHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(PlatformIdHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator PlatformIdHandle(NullPtr _) => default; +} diff --git a/sources/OpenCL/OpenCL/Handles/ProgramHandle.gen.cs b/sources/OpenCL/OpenCL/Handles/ProgramHandle.gen.cs new file mode 100644 index 0000000000..6e136110ba --- /dev/null +++ b/sources/OpenCL/OpenCL/Handles/ProgramHandle.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_program")] +public readonly unsafe partial struct ProgramHandle : IEquatable +{ + public readonly void* Handle; + + public ProgramHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(ProgramHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is ProgramHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(ProgramHandle left, ProgramHandle right) => left.Equals(right); + + public static bool operator !=(ProgramHandle left, ProgramHandle right) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(ProgramHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(ProgramHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator ProgramHandle(NullPtr _) => default; +} diff --git a/sources/OpenCL/OpenCL/Handles/SamplerHandle.gen.cs b/sources/OpenCL/OpenCL/Handles/SamplerHandle.gen.cs new file mode 100644 index 0000000000..3ad61da800 --- /dev/null +++ b/sources/OpenCL/OpenCL/Handles/SamplerHandle.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("cl_sampler")] +public readonly unsafe partial struct SamplerHandle : IEquatable +{ + public readonly void* Handle; + + public SamplerHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(SamplerHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is SamplerHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(SamplerHandle left, SamplerHandle right) => left.Equals(right); + + public static bool operator !=(SamplerHandle left, SamplerHandle right) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SamplerHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(SamplerHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator SamplerHandle(NullPtr _) => default; +} diff --git a/sources/OpenCL/OpenCL/Handles/SemaphoreHandleKHR.gen.cs b/sources/OpenCL/OpenCL/Handles/SemaphoreHandleKHR.gen.cs new file mode 100644 index 0000000000..1690faf235 --- /dev/null +++ b/sources/OpenCL/OpenCL/Handles/SemaphoreHandleKHR.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("_cl_semaphore_khr")] +public readonly unsafe partial struct SemaphoreHandleKHR : IEquatable +{ + public readonly void* Handle; + + public SemaphoreHandleKHR(void* handle) + { + Handle = handle; + } + + public bool Equals(SemaphoreHandleKHR other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is SemaphoreHandleKHR other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(SemaphoreHandleKHR left, SemaphoreHandleKHR right) => + left.Equals(right); + + public static bool operator !=(SemaphoreHandleKHR left, SemaphoreHandleKHR right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SemaphoreHandleKHR left, NullPtr right) => left.Equals(right); + + public static bool operator !=(SemaphoreHandleKHR left, NullPtr right) => !left.Equals(right); + + public static implicit operator SemaphoreHandleKHR(NullPtr _) => default; +} diff --git a/sources/OpenCL/OpenCL/OpenCL/BufferRegion.gen.cs b/sources/OpenCL/OpenCL/OpenCL/BufferRegion.gen.cs new file mode 100644 index 0000000000..28d8d7434c --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/BufferRegion.gen.cs @@ -0,0 +1,15 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +namespace Silk.NET.OpenCL; + +[NativeName("_cl_buffer_region")] +public partial struct BufferRegion +{ + [NativeName("origin")] + public nuint Origin; + + [NativeName("size")] + public nuint Size; +} diff --git a/sources/OpenCL/OpenCL/OpenCL/Cl.gen.cs b/sources/OpenCL/OpenCL/OpenCL/Cl.gen.cs new file mode 100644 index 0000000000..34b8b549be --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/Cl.gen.cs @@ -0,0 +1,46148 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +public unsafe partial class Cl : ICl, ICl.Static +{ + public partial class DllImport : ICl.Static + { + [NativeName("clBuildProgram")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int BuildProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int BuildProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (sbyte* __dsl_options = options) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (int)BuildProgram( + program, + num_devices, + __dsl_device_list, + __dsl_options, + pfn_notify, + __dsl_user_data + ); + } + } + + [NativeName("clCancelCommandsIMG")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + public static extern int CancelCommandsIMG( + EventHandle* event_list, + nuint num_events_in_list + ); + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CancelCommandsIMG(Ref event_list, nuint num_events_in_list) + { + fixed (EventHandle* __dsl_event_list = event_list) + { + return (int)CancelCommandsIMG(__dsl_event_list, num_events_in_list); + } + } + + [NativeName("clCloneKernel")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + public static extern KernelHandle CloneKernel(KernelHandle source_kernel, int* errcode_ret); + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static KernelHandle CloneKernel(KernelHandle source_kernel, Ref errcode_ret) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + { + return (KernelHandle)CloneKernel(source_kernel, __dsl_errcode_ret); + } + } + + [NativeName("clCompileProgram")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern int CompileProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_headers, + ProgramHandle* input_headers, + sbyte** header_include_names, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CompileProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_headers, + Ref input_headers, + Ref2D header_include_names, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (sbyte** __dsl_header_include_names = header_include_names) + fixed (ProgramHandle* __dsl_input_headers = input_headers) + fixed (sbyte* __dsl_options = options) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (int)CompileProgram( + program, + num_devices, + __dsl_device_list, + __dsl_options, + num_input_headers, + __dsl_input_headers, + __dsl_header_include_names, + pfn_notify, + __dsl_user_data + ); + } + } + + [NativeName("clCreateAcceleratorINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + public static extern AcceleratorHandleINTEL CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + void* descriptor, + int* errcode_ret + ); + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static AcceleratorHandleINTEL CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + Ref descriptor, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_descriptor = descriptor) + { + return (AcceleratorHandleINTEL)CreateAcceleratorINTEL( + context, + accelerator_type, + descriptor_size, + __dsl_descriptor, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateBuffer")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern MemHandle CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + { + return (MemHandle)CreateBuffer( + context, + flags, + size, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateBufferWithProperties")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + public static extern MemHandle CreateBufferWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateBufferWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ulong* __dsl_properties = properties) + { + return (MemHandle)CreateBufferWithProperties( + context, + __dsl_properties, + flags, + size, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clCreateBufferWithPropertiesINTEL" + )] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + public static extern MemHandle CreateBufferWithPropertiesINTEL( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateBufferWithPropertiesINTEL( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ulong* __dsl_properties = properties) + { + return (MemHandle)CreateBufferWithPropertiesINTEL( + context, + __dsl_properties, + flags, + size, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateCommandQueue")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern CommandQueueHandle CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + int* errcode_ret + ); + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static CommandQueueHandle CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + { + return (CommandQueueHandle)CreateCommandQueue( + context, + device, + properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateCommandQueueWithProperties")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clCreateCommandQueueWithProperties" + )] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern CommandQueueHandle CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ); + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static CommandQueueHandle CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (CommandQueueHandle)CreateCommandQueueWithProperties( + context, + device, + __dsl_properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clCreateCommandQueueWithPropertiesKHR" + )] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + public static extern CommandQueueHandle CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ); + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static CommandQueueHandle CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (CommandQueueHandle)CreateCommandQueueWithPropertiesKHR( + context, + device, + __dsl_properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateContext")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern ContextHandle CreateContext( + nint* properties, + uint num_devices, + DeviceIdHandle* devices, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ); + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ContextHandle CreateContext( + Ref properties, + uint num_devices, + Ref devices, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_user_data = user_data) + fixed (DeviceIdHandle* __dsl_devices = devices) + fixed (nint* __dsl_properties = properties) + { + return (ContextHandle)CreateContext( + __dsl_properties, + num_devices, + __dsl_devices, + pfn_notify, + __dsl_user_data, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateContextFromType")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern ContextHandle CreateContextFromType( + nint* properties, + ulong device_type, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ); + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ContextHandle CreateContextFromType( + Ref properties, + ulong device_type, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_user_data = user_data) + fixed (nint* __dsl_properties = properties) + { + return (ContextHandle)CreateContextFromType( + __dsl_properties, + device_type, + pfn_notify, + __dsl_user_data, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateImage")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern MemHandle CreateImage( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateImage( + ContextHandle context, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ImageDesc* __dsl_image_desc = image_desc) + fixed (ImageFormat* __dsl_image_format = image_format) + { + return (MemHandle)CreateImage( + context, + flags, + __dsl_image_format, + __dsl_image_desc, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateImage2D")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern MemHandle CreateImage2D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateImage2D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ImageFormat* __dsl_image_format = image_format) + { + return (MemHandle)CreateImage2D( + context, + flags, + __dsl_image_format, + image_width, + image_height, + image_row_pitch, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateImage3D")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern MemHandle CreateImage3D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateImage3D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ImageFormat* __dsl_image_format = image_format) + { + return (MemHandle)CreateImage3D( + context, + flags, + __dsl_image_format, + image_width, + image_height, + image_depth, + image_row_pitch, + image_slice_pitch, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateImageWithProperties")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + public static extern MemHandle CreateImageWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateImageWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ImageDesc* __dsl_image_desc = image_desc) + fixed (ImageFormat* __dsl_image_format = image_format) + fixed (ulong* __dsl_properties = properties) + { + return (MemHandle)CreateImageWithProperties( + context, + __dsl_properties, + flags, + __dsl_image_format, + __dsl_image_desc, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateKernel")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern KernelHandle CreateKernel( + ProgramHandle program, + sbyte* kernel_name, + int* errcode_ret + ); + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static KernelHandle CreateKernel( + ProgramHandle program, + Ref kernel_name, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (sbyte* __dsl_kernel_name = kernel_name) + { + return (KernelHandle)CreateKernel(program, __dsl_kernel_name, __dsl_errcode_ret); + } + } + + [NativeName("clCreateKernelsInProgram")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + KernelHandle* kernels, + uint* num_kernels_ret + ); + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + Ref kernels, + Ref num_kernels_ret + ) + { + fixed (uint* __dsl_num_kernels_ret = num_kernels_ret) + fixed (KernelHandle* __dsl_kernels = kernels) + { + return (int)CreateKernelsInProgram( + program, + num_kernels, + __dsl_kernels, + __dsl_num_kernels_ret + ); + } + } + + [NativeName("clCreatePipe")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreatePipe")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern MemHandle CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + nint* properties, + int* errcode_ret + ); + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + Ref properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (nint* __dsl_properties = properties) + { + return (MemHandle)CreatePipe( + context, + flags, + pipe_packet_size, + pipe_max_packets, + __dsl_properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithBinary")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern ProgramHandle CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + nuint* lengths, + byte** binaries, + int* binary_status, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref lengths, + Ref2D binaries, + Ref binary_status, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (int* __dsl_binary_status = binary_status) + fixed (byte** __dsl_binaries = binaries) + fixed (nuint* __dsl_lengths = lengths) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (ProgramHandle)CreateProgramWithBinary( + context, + num_devices, + __dsl_device_list, + __dsl_lengths, + __dsl_binaries, + __dsl_binary_status, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithBuiltInKernels")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clCreateProgramWithBuiltInKernels" + )] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern ProgramHandle CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* kernel_names, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref kernel_names, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (sbyte* __dsl_kernel_names = kernel_names) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (ProgramHandle)CreateProgramWithBuiltInKernels( + context, + num_devices, + __dsl_device_list, + __dsl_kernel_names, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithIL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + public static extern ProgramHandle CreateProgramWithIL( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithIL( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_il = il) + { + return (ProgramHandle)CreateProgramWithIL( + context, + __dsl_il, + length, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithILKHR")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + public static extern ProgramHandle CreateProgramWithILKHR( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithILKHR( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_il = il) + { + return (ProgramHandle)CreateProgramWithILKHR( + context, + __dsl_il, + length, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithSource")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern ProgramHandle CreateProgramWithSource( + ContextHandle context, + uint count, + sbyte** strings, + nuint* lengths, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithSource( + ContextHandle context, + uint count, + Ref2D strings, + Ref lengths, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (nuint* __dsl_lengths = lengths) + fixed (sbyte** __dsl_strings = strings) + { + return (ProgramHandle)CreateProgramWithSource( + context, + count, + __dsl_strings, + __dsl_lengths, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSampler")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern SamplerHandle CreateSampler( + ContextHandle context, + uint normalized_coords, + uint addressing_mode, + uint filter_mode, + int* errcode_ret + ); + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static SamplerHandle CreateSampler( + ContextHandle context, + MaybeBool normalized_coords, + uint addressing_mode, + uint filter_mode, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + { + return (SamplerHandle)CreateSampler( + context, + (uint)normalized_coords, + addressing_mode, + filter_mode, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSamplerWithProperties")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern SamplerHandle CreateSamplerWithProperties( + ContextHandle context, + ulong* sampler_properties, + int* errcode_ret + ); + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static SamplerHandle CreateSamplerWithProperties( + ContextHandle context, + Ref sampler_properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_sampler_properties = sampler_properties) + { + return (SamplerHandle)CreateSamplerWithProperties( + context, + __dsl_sampler_properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clCreateSemaphoreWithPropertiesKHR" + )] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + public static extern SemaphoreHandleKHR CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + ulong* sema_props, + int* errcode_ret + ); + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static SemaphoreHandleKHR CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + Ref sema_props, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_sema_props = sema_props) + { + return (SemaphoreHandleKHR)CreateSemaphoreWithPropertiesKHR( + context, + __dsl_sema_props, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSubBuffer")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + public static extern MemHandle CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + void* buffer_create_info, + int* errcode_ret + ); + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + Ref buffer_create_info, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_buffer_create_info = buffer_create_info) + { + return (MemHandle)CreateSubBuffer( + buffer, + flags, + buffer_create_type, + __dsl_buffer_create_info, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSubDevices")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern int CreateSubDevices( + DeviceIdHandle in_device, + nint* properties, + uint num_devices, + DeviceIdHandle* out_devices, + uint* num_devices_ret + ); + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CreateSubDevices( + DeviceIdHandle in_device, + Ref properties, + uint num_devices, + Ref out_devices, + Ref num_devices_ret + ) + { + fixed (uint* __dsl_num_devices_ret = num_devices_ret) + fixed (DeviceIdHandle* __dsl_out_devices = out_devices) + fixed (nint* __dsl_properties = properties) + { + return (int)CreateSubDevices( + in_device, + __dsl_properties, + num_devices, + __dsl_out_devices, + __dsl_num_devices_ret + ); + } + } + + [NativeName("clCreateSubDevicesEXT")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + public static extern int CreateSubDevicesEXT( + DeviceIdHandle in_device, + ulong* properties, + uint num_entries, + DeviceIdHandle* out_devices, + uint* num_devices + ); + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CreateSubDevicesEXT( + DeviceIdHandle in_device, + Ref properties, + uint num_entries, + Ref out_devices, + Ref num_devices + ) + { + fixed (uint* __dsl_num_devices = num_devices) + fixed (DeviceIdHandle* __dsl_out_devices = out_devices) + fixed (ulong* __dsl_properties = properties) + { + return (int)CreateSubDevicesEXT( + in_device, + __dsl_properties, + num_entries, + __dsl_out_devices, + __dsl_num_devices + ); + } + } + + [NativeName("clCreateUserEvent")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + public static extern EventHandle CreateUserEvent(ContextHandle context, int* errcode_ret); + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static EventHandle CreateUserEvent(ContextHandle context, Ref errcode_ret) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + { + return (EventHandle)CreateUserEvent(context, __dsl_errcode_ret); + } + } + + [NativeName("clDeviceMemAllocINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + public static extern void* DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ); + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (void*)DeviceMemAllocINTEL( + context, + device, + __dsl_properties, + size, + alignment, + __dsl_errcode_ret + ); + } + } + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR" + )] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + public static extern int EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int)EnqueueAcquireExternalMemObjectsKHR( + command_queue, + num_mem_objects, + __dsl_mem_objects, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clEnqueueAcquireGrallocObjectsIMG" + )] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + public static extern int EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int)EnqueueAcquireGrallocObjectsIMG( + command_queue, + num_objects, + __dsl_mem_objects, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueBarrier")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueBarrier")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueBarrier(CommandQueueHandle command_queue); + + [NativeName("clEnqueueBarrierWithWaitList")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern int EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (int)EnqueueBarrierWithWaitList( + command_queue, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyBuffer")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (int)EnqueueCopyBuffer( + command_queue, + src_buffer, + dst_buffer, + src_offset, + dst_offset, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyBufferRect")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + public static extern int EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + Ref src_origin, + Ref dst_origin, + Ref region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_dst_origin = dst_origin) + fixed (nuint* __dsl_src_origin = src_origin) + { + return (int)EnqueueCopyBufferRect( + command_queue, + src_buffer, + dst_buffer, + __dsl_src_origin, + __dsl_dst_origin, + __dsl_region, + src_row_pitch, + src_slice_pitch, + dst_row_pitch, + dst_slice_pitch, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyBufferToImage")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_dst_origin = dst_origin) + { + return (int)EnqueueCopyBufferToImage( + command_queue, + src_buffer, + dst_image, + src_offset, + __dsl_dst_origin, + __dsl_region, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyImage")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + Ref src_origin, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_dst_origin = dst_origin) + fixed (nuint* __dsl_src_origin = src_origin) + { + return (int)EnqueueCopyImage( + command_queue, + src_image, + dst_image, + __dsl_src_origin, + __dsl_dst_origin, + __dsl_region, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyImageToBuffer")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + nuint* src_origin, + nuint* region, + nuint dst_offset, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + Ref src_origin, + Ref region, + nuint dst_offset, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_src_origin = src_origin) + { + return (int)EnqueueCopyImageToBuffer( + command_queue, + src_image, + dst_buffer, + __dsl_src_origin, + __dsl_region, + dst_offset, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueFillBuffer")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern int EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + void* pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + Ref pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_pattern = pattern) + { + return (int)EnqueueFillBuffer( + command_queue, + buffer, + __dsl_pattern, + pattern_size, + offset, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueFillImage")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern int EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + void* fill_color, + nuint* origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + Ref fill_color, + Ref origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_origin = origin) + fixed (void* __dsl_fill_color = fill_color) + { + return (int)EnqueueFillImage( + command_queue, + image, + __dsl_fill_color, + __dsl_origin, + __dsl_region, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueGenerateMipmapIMG")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + public static extern int EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + nuint* array_region, + nuint* mip_region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + Ref array_region, + Ref mip_region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_mip_region = mip_region) + fixed (nuint* __dsl_array_region = array_region) + { + return (int)EnqueueGenerateMipmapIMG( + command_queue, + src_image, + dst_image, + mipmap_filter_mode, + __dsl_array_region, + __dsl_mip_region, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMapBuffer")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern void* EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ); + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (void*)EnqueueMapBuffer( + command_queue, + buffer, + (uint)blocking_map, + map_flags, + offset, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event, + __dsl_errcode_ret + ); + } + } + + [NativeName("clEnqueueMapImage")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern void* EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_map, + ulong map_flags, + nuint* origin, + nuint* region, + nuint* image_row_pitch, + nuint* image_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ); + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_map, + ulong map_flags, + Ref origin, + Ref region, + Ref image_row_pitch, + Ref image_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_image_slice_pitch = image_slice_pitch) + fixed (nuint* __dsl_image_row_pitch = image_row_pitch) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_origin = origin) + { + return (void*)EnqueueMapImage( + command_queue, + image, + (uint)blocking_map, + map_flags, + __dsl_origin, + __dsl_region, + __dsl_image_row_pitch, + __dsl_image_slice_pitch, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event, + __dsl_errcode_ret + ); + } + } + + [NativeName("clEnqueueMarker")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueMarker( + CommandQueueHandle command_queue, + EventHandle* @event + ); + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMarker(CommandQueueHandle command_queue, Ref @event) + { + fixed (EventHandle* __dsl_event = @event) + { + return (int)EnqueueMarker(command_queue, __dsl_event); + } + } + + [NativeName("clEnqueueMarkerWithWaitList")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern int EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (int)EnqueueMarkerWithWaitList( + command_queue, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMemAdviseINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + public static extern int EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + { + return (int)EnqueueMemAdviseINTEL( + command_queue, + __dsl_ptr, + size, + advice, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMemcpyINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + public static extern int EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + uint blocking, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + MaybeBool blocking, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_src_ptr = src_ptr) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int)EnqueueMemcpyINTEL( + command_queue, + (uint)blocking, + __dsl_dst_ptr, + __dsl_src_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMemFillINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + public static extern int EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_pattern = pattern) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int)EnqueueMemFillINTEL( + command_queue, + __dsl_dst_ptr, + __dsl_pattern, + pattern_size, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMemsetINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + public static extern int EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int)EnqueueMemsetINTEL( + command_queue, + __dsl_dst_ptr, + value, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMigrateMemINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + public static extern int EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + { + return (int)EnqueueMigrateMemINTEL( + command_queue, + __dsl_ptr, + size, + flags, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + public static extern int EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int)EnqueueMigrateMemObjectEXT( + command_queue, + num_mem_objects, + __dsl_mem_objects, + flags, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMigrateMemObjects")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern int EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int)EnqueueMigrateMemObjects( + command_queue, + num_mem_objects, + __dsl_mem_objects, + flags, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueNativeKernel")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + void* args, + nuint cb_args, + uint num_mem_objects, + MemHandle* mem_list, + void** args_mem_loc, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + Ref args, + nuint cb_args, + uint num_mem_objects, + Ref mem_list, + Ref2D args_mem_loc, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void** __dsl_args_mem_loc = args_mem_loc) + fixed (MemHandle* __dsl_mem_list = mem_list) + fixed (void* __dsl_args = args) + { + return (int)EnqueueNativeKernel( + command_queue, + user_func, + __dsl_args, + cb_args, + num_mem_objects, + __dsl_mem_list, + __dsl_args_mem_loc, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueNDRangeKernel")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* local_work_size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref local_work_size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_local_work_size = local_work_size) + fixed (nuint* __dsl_global_work_size = global_work_size) + fixed (nuint* __dsl_global_work_offset = global_work_offset) + { + return (int)EnqueueNDRangeKernel( + command_queue, + kernel, + work_dim, + __dsl_global_work_offset, + __dsl_global_work_size, + __dsl_local_work_size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReadBuffer")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + { + return (int)EnqueueReadBuffer( + command_queue, + buffer, + (uint)blocking_read, + offset, + size, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReadBufferRect")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + public static extern int EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_host_origin = host_origin) + fixed (nuint* __dsl_buffer_origin = buffer_origin) + { + return (int)EnqueueReadBufferRect( + command_queue, + buffer, + (uint)blocking_read, + __dsl_buffer_origin, + __dsl_host_origin, + __dsl_region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReadHostPipeINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + public static extern int EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_read, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_read, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (sbyte* __dsl_pipe_symbol = pipe_symbol) + { + return (int)EnqueueReadHostPipeINTEL( + command_queue, + program, + __dsl_pipe_symbol, + (uint)blocking_read, + __dsl_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReadImage")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_read, + nuint* origin, + nuint* region, + nuint row_pitch, + nuint slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_read, + Ref origin, + Ref region, + nuint row_pitch, + nuint slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_origin = origin) + { + return (int)EnqueueReadImage( + command_queue, + image, + (uint)blocking_read, + __dsl_origin, + __dsl_region, + row_pitch, + slice_pitch, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR" + )] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + public static extern int EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int)EnqueueReleaseExternalMemObjectsKHR( + command_queue, + num_mem_objects, + __dsl_mem_objects, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clEnqueueReleaseGrallocObjectsIMG" + )] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + public static extern int EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int)EnqueueReleaseGrallocObjectsIMG( + command_queue, + num_objects, + __dsl_mem_objects, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + public static extern int EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (ulong* __dsl_sema_payload_list = sema_payload_list) + fixed (SemaphoreHandleKHR* __dsl_sema_objects = sema_objects) + { + return (int)EnqueueSignalSemaphoresKHR( + command_queue, + num_sema_objects, + __dsl_sema_objects, + __dsl_sema_payload_list, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMFree")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern int EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_user_data = user_data) + fixed (void** __dsl_svm_pointers = svm_pointers) + { + return (int)EnqueueSvmFree( + command_queue, + num_svm_pointers, + __dsl_svm_pointers, + pfn_free_func, + __dsl_user_data, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMFreeARM")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + public static extern int EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_user_data = user_data) + fixed (void** __dsl_svm_pointers = svm_pointers) + { + return (int)EnqueueSvmFreeARM( + command_queue, + num_svm_pointers, + __dsl_svm_pointers, + pfn_free_func, + __dsl_user_data, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMap")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern int EnqueueSvmMap( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMap( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int)EnqueueSvmMap( + command_queue, + (uint)blocking_map, + flags, + __dsl_svm_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMapARM")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + public static extern int EnqueueSvmMapARM( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMapARM( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int)EnqueueSvmMapARM( + command_queue, + (uint)blocking_map, + flags, + __dsl_svm_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMemcpy")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern int EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_src_ptr = src_ptr) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int)EnqueueSvmMemcpy( + command_queue, + (uint)blocking_copy, + __dsl_dst_ptr, + __dsl_src_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMemcpyARM")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + public static extern int EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_src_ptr = src_ptr) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int)EnqueueSvmMemcpyARM( + command_queue, + (uint)blocking_copy, + __dsl_dst_ptr, + __dsl_src_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMemFill")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern int EnqueueSvmMemFill( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMemFill( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_pattern = pattern) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int)EnqueueSvmMemFill( + command_queue, + __dsl_svm_ptr, + __dsl_pattern, + pattern_size, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMemFillARM")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + public static extern int EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_pattern = pattern) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int)EnqueueSvmMemFillARM( + command_queue, + __dsl_svm_ptr, + __dsl_pattern, + pattern_size, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMigrateMem")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + public static extern int EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + nuint* sizes, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + Ref sizes, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_sizes = sizes) + fixed (void** __dsl_svm_pointers = svm_pointers) + { + return (int)EnqueueSvmMigrateMem( + command_queue, + num_svm_pointers, + __dsl_svm_pointers, + __dsl_sizes, + flags, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMUnmap")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern int EnqueueSvmUnmap( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmUnmap( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int)EnqueueSvmUnmap( + command_queue, + __dsl_svm_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMUnmapARM")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + public static extern int EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int)EnqueueSvmUnmapARM( + command_queue, + __dsl_svm_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueTask")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (int)EnqueueTask( + command_queue, + kernel, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueUnmapMemObject")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + void* mapped_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + Ref mapped_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_mapped_ptr = mapped_ptr) + { + return (int)EnqueueUnmapMemObject( + command_queue, + memobj, + __dsl_mapped_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWaitForEvents")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + EventHandle* event_list + ); + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + Ref event_list + ) + { + fixed (EventHandle* __dsl_event_list = event_list) + { + return (int)EnqueueWaitForEvents(command_queue, num_events, __dsl_event_list); + } + } + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + public static extern int EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (ulong* __dsl_sema_payload_list = sema_payload_list) + fixed (SemaphoreHandleKHR* __dsl_sema_objects = sema_objects) + { + return (int)EnqueueWaitSemaphoresKHR( + command_queue, + num_sema_objects, + __dsl_sema_objects, + __dsl_sema_payload_list, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWriteBuffer")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + { + return (int)EnqueueWriteBuffer( + command_queue, + buffer, + (uint)blocking_write, + offset, + size, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWriteBufferRect")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + public static extern int EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_host_origin = host_origin) + fixed (nuint* __dsl_buffer_origin = buffer_origin) + { + return (int)EnqueueWriteBufferRect( + command_queue, + buffer, + (uint)blocking_write, + __dsl_buffer_origin, + __dsl_host_origin, + __dsl_region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + public static extern int EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_write, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_write, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (sbyte* __dsl_pipe_symbol = pipe_symbol) + { + return (int)EnqueueWriteHostPipeINTEL( + command_queue, + program, + __dsl_pipe_symbol, + (uint)blocking_write, + __dsl_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWriteImage")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_write, + nuint* origin, + nuint* region, + nuint input_row_pitch, + nuint input_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_write, + Ref origin, + Ref region, + nuint input_row_pitch, + nuint input_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_origin = origin) + { + return (int)EnqueueWriteImage( + command_queue, + image, + (uint)blocking_write, + __dsl_origin, + __dsl_region, + input_row_pitch, + input_slice_pitch, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clFinish")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clFinish")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int Finish(CommandQueueHandle command_queue); + + [NativeName("clFlush")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clFlush")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int Flush(CommandQueueHandle command_queue); + + [NativeName("clGetAcceleratorInfoINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + public static extern int GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetAcceleratorInfoINTEL( + accelerator, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetCommandQueueInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetCommandQueueInfo( + command_queue, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetContextInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetContextInfo( + context, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetDeviceAndHostTimer")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + public static extern int GetDeviceAndHostTimer( + DeviceIdHandle device, + ulong* device_timestamp, + ulong* host_timestamp + ); + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetDeviceAndHostTimer( + DeviceIdHandle device, + Ref device_timestamp, + Ref host_timestamp + ) + { + fixed (ulong* __dsl_host_timestamp = host_timestamp) + fixed (ulong* __dsl_device_timestamp = device_timestamp) + { + return (int)GetDeviceAndHostTimer( + device, + __dsl_device_timestamp, + __dsl_host_timestamp + ); + } + } + + [NativeName("clGetDeviceIDs")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + DeviceIdHandle* devices, + uint* num_devices + ); + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + Ref devices, + Ref num_devices + ) + { + fixed (uint* __dsl_num_devices = num_devices) + fixed (DeviceIdHandle* __dsl_devices = devices) + { + return (int)GetDeviceIDs( + platform, + device_type, + num_entries, + __dsl_devices, + __dsl_num_devices + ); + } + } + + [NativeName("clGetDeviceImageInfoQCOM")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + public static extern int GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + ImageFormat* image_format, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + Ref image_format, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (ImageFormat* __dsl_image_format = image_format) + { + return (int)GetDeviceImageInfoQCOM( + device, + image_width, + image_height, + __dsl_image_format, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetDeviceInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetDeviceInfo( + device, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetEventInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetEventInfo( + @event, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetEventProfilingInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetEventProfilingInfo( + @event, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetExtensionFunctionAddress")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern void* GetExtensionFunctionAddress(sbyte* func_name); + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetExtensionFunctionAddress(Ref func_name) + { + fixed (sbyte* __dsl_func_name = func_name) + { + return (void*)GetExtensionFunctionAddress(__dsl_func_name); + } + } + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clGetExtensionFunctionAddressForPlatform" + )] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern void* GetExtensionFunctionAddressForPlatform( + PlatformIdHandle platform, + sbyte* func_name + ); + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetExtensionFunctionAddressForPlatform( + PlatformIdHandle platform, + Ref func_name + ) + { + fixed (sbyte* __dsl_func_name = func_name) + { + return (void*)GetExtensionFunctionAddressForPlatform(platform, __dsl_func_name); + } + } + + [NativeName("clGetHostTimer")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + public static extern int GetHostTimer(DeviceIdHandle device, ulong* host_timestamp); + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetHostTimer(DeviceIdHandle device, Ref host_timestamp) + { + fixed (ulong* __dsl_host_timestamp = host_timestamp) + { + return (int)GetHostTimer(device, __dsl_host_timestamp); + } + } + + [NativeName("clGetICDLoaderInfoOCLICD")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + public static extern int GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetIcdLoaderInfoOclicd( + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetImageInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetImageInfo( + image, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetImageRequirementsInfoEXT")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + public static extern int GetImageRequirementsInfoEXT( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetImageRequirementsInfoEXT( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (ImageDesc* __dsl_image_desc = image_desc) + fixed (ImageFormat* __dsl_image_format = image_format) + fixed (ulong* __dsl_properties = properties) + { + return (int)GetImageRequirementsInfoEXT( + context, + __dsl_properties, + flags, + __dsl_image_format, + __dsl_image_desc, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelArgInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern int GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetKernelArgInfo( + kernel, + arg_indx, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetKernelInfo( + kernel, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelSubGroupInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + public static extern int GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (void* __dsl_input_value = input_value) + { + return (int)GetKernelSubGroupInfo( + kernel, + device, + param_name, + input_value_size, + __dsl_input_value, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelSubGroupInfoKHR")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + public static extern int GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (void* __dsl_input_value = input_value) + { + return (int)GetKernelSubGroupInfoKHR( + in_kernel, + in_device, + param_name, + input_value_size, + __dsl_input_value, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clGetKernelSuggestedLocalWorkSize" + )] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + public static extern int GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ) + { + fixed (nuint* __dsl_suggested_local_work_size = suggested_local_work_size) + fixed (nuint* __dsl_global_work_size = global_work_size) + fixed (nuint* __dsl_global_work_offset = global_work_offset) + { + return (int)GetKernelSuggestedLocalWorkSize( + command_queue, + kernel, + work_dim, + __dsl_global_work_offset, + __dsl_global_work_size, + __dsl_suggested_local_work_size + ); + } + } + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR" + )] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + public static extern int GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ) + { + fixed (nuint* __dsl_suggested_local_work_size = suggested_local_work_size) + fixed (nuint* __dsl_global_work_size = global_work_size) + fixed (nuint* __dsl_global_work_offset = global_work_offset) + { + return (int)GetKernelSuggestedLocalWorkSizeKHR( + command_queue, + kernel, + work_dim, + __dsl_global_work_offset, + __dsl_global_work_size, + __dsl_suggested_local_work_size + ); + } + } + + [NativeName("clGetKernelWorkGroupInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetKernelWorkGroupInfo( + kernel, + device, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetMemAllocInfoINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + public static extern int GetMemAllocInfoINTEL( + ContextHandle context, + void* ptr, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetMemAllocInfoINTEL( + ContextHandle context, + Ref ptr, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (void* __dsl_ptr = ptr) + { + return (int)GetMemAllocInfoINTEL( + context, + __dsl_ptr, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetMemObjectInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetMemObjectInfo( + memobj, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetPipeInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern int GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetPipeInfo( + pipe, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetPlatformIDs")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetPlatformIDs( + uint num_entries, + PlatformIdHandle* platforms, + uint* num_platforms + ); + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetPlatformIDs( + uint num_entries, + Ref platforms, + Ref num_platforms + ) + { + fixed (uint* __dsl_num_platforms = num_platforms) + fixed (PlatformIdHandle* __dsl_platforms = platforms) + { + return (int)GetPlatformIDs(num_entries, __dsl_platforms, __dsl_num_platforms); + } + } + + [NativeName("clGetPlatformInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetPlatformInfo( + platform, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetProgramBuildInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetProgramBuildInfo( + program, + device, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetProgramInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetProgramInfo( + program, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetSamplerInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetSamplerInfo( + sampler, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + public static extern int GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + void* handle_ptr, + nuint* handle_size_ret + ); + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + Ref handle_ptr, + Ref handle_size_ret + ) + { + fixed (nuint* __dsl_handle_size_ret = handle_size_ret) + fixed (void* __dsl_handle_ptr = handle_ptr) + { + return (int)GetSemaphoreHandleForTypeKHR( + sema_object, + device, + handle_type, + handle_size, + __dsl_handle_ptr, + __dsl_handle_size_ret + ); + } + } + + [NativeName("clGetSemaphoreInfoKHR")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + public static extern int GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetSemaphoreInfoKHR( + sema_object, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetSupportedImageFormats")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + ImageFormat* image_formats, + uint* num_image_formats + ); + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + Ref image_formats, + Ref num_image_formats + ) + { + fixed (uint* __dsl_num_image_formats = num_image_formats) + fixed (ImageFormat* __dsl_image_formats = image_formats) + { + return (int)GetSupportedImageFormats( + context, + flags, + image_type, + num_entries, + __dsl_image_formats, + __dsl_num_image_formats + ); + } + } + + [NativeName("clHostMemAllocINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + public static extern void* HostMemAllocINTEL( + ContextHandle context, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ); + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr HostMemAllocINTEL( + ContextHandle context, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (void*)HostMemAllocINTEL( + context, + __dsl_properties, + size, + alignment, + __dsl_errcode_ret + ); + } + } + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clIcdGetFunctionAddressForPlatformKHR" + )] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + public static extern void* IcdGetFunctionAddressForPlatformKHR( + PlatformIdHandle platform, + sbyte* func_name + ); + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr IcdGetFunctionAddressForPlatformKHR( + PlatformIdHandle platform, + Ref func_name + ) + { + fixed (sbyte* __dsl_func_name = func_name) + { + return (void*)IcdGetFunctionAddressForPlatformKHR(platform, __dsl_func_name); + } + } + + [NativeName("clIcdGetPlatformIDsKHR")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + public static extern int IcdGetPlatformIDsKHR( + uint num_entries, + PlatformIdHandle* platforms, + uint* num_platforms + ); + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int IcdGetPlatformIDsKHR( + uint num_entries, + Ref platforms, + Ref num_platforms + ) + { + fixed (uint* __dsl_num_platforms = num_platforms) + fixed (PlatformIdHandle* __dsl_platforms = platforms) + { + return (int)IcdGetPlatformIDsKHR(num_entries, __dsl_platforms, __dsl_num_platforms); + } + } + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + public static extern int IcdSetPlatformDispatchDataKHR( + PlatformIdHandle platform, + void* dispatch_data + ); + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int IcdSetPlatformDispatchDataKHR( + PlatformIdHandle platform, + Ref dispatch_data + ) + { + fixed (void* __dsl_dispatch_data = dispatch_data) + { + return (int)IcdSetPlatformDispatchDataKHR(platform, __dsl_dispatch_data); + } + } + + [NativeName("clImportMemoryARM")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + public static extern MemHandle ImportMemoryARM( + ContextHandle context, + ulong flags, + nint* properties, + void* memory, + nuint size, + int* errcode_ret + ); + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle ImportMemoryARM( + ContextHandle context, + ulong flags, + Ref properties, + Ref memory, + nuint size, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_memory = memory) + fixed (nint* __dsl_properties = properties) + { + return (MemHandle)ImportMemoryARM( + context, + flags, + __dsl_properties, + __dsl_memory, + size, + __dsl_errcode_ret + ); + } + } + + [NativeName("clLinkProgram")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern ProgramHandle LinkProgram( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_programs, + ProgramHandle* input_programs, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ); + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle LinkProgram( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_programs, + Ref input_programs, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_user_data = user_data) + fixed (ProgramHandle* __dsl_input_programs = input_programs) + fixed (sbyte* __dsl_options = options) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (ProgramHandle)LinkProgram( + context, + num_devices, + __dsl_device_list, + __dsl_options, + num_input_programs, + __dsl_input_programs, + pfn_notify, + __dsl_user_data, + __dsl_errcode_ret + ); + } + } + + [NativeName("clLogMessagesToStderrAPPLE")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + public static extern void LogMessagesToStderrAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ); + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void LogMessagesToStderrAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (void* __dsl_private_info = private_info) + fixed (sbyte* __dsl_errstr = errstr) + { + LogMessagesToStderrAPPLE(__dsl_errstr, __dsl_private_info, cb, __dsl_user_data); + } + } + + [NativeName("clLogMessagesToStdoutAPPLE")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + public static extern void LogMessagesToStdoutAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ); + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void LogMessagesToStdoutAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (void* __dsl_private_info = private_info) + fixed (sbyte* __dsl_errstr = errstr) + { + LogMessagesToStdoutAPPLE(__dsl_errstr, __dsl_private_info, cb, __dsl_user_data); + } + } + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + public static extern void LogMessagesToSystemLogAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ); + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void LogMessagesToSystemLogAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (void* __dsl_private_info = private_info) + fixed (sbyte* __dsl_errstr = errstr) + { + LogMessagesToSystemLogAPPLE(__dsl_errstr, __dsl_private_info, cb, __dsl_user_data); + } + } + + [NativeName("clMemBlockingFreeINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + public static extern int MemBlockingFreeINTEL(ContextHandle context, void* ptr); + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int MemBlockingFreeINTEL(ContextHandle context, Ref ptr) + { + fixed (void* __dsl_ptr = ptr) + { + return (int)MemBlockingFreeINTEL(context, __dsl_ptr); + } + } + + [NativeName("clMemFreeINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + public static extern int MemFreeINTEL(ContextHandle context, void* ptr); + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int MemFreeINTEL(ContextHandle context, Ref ptr) + { + fixed (void* __dsl_ptr = ptr) + { + return (int)MemFreeINTEL(context, __dsl_ptr); + } + } + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + public static extern int ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + ulong* reimport_props, + int fd + ); + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + Ref reimport_props, + int fd + ) + { + fixed (ulong* __dsl_reimport_props = reimport_props) + { + return (int)ReImportSemaphoreSyncFdKHR(sema_object, __dsl_reimport_props, fd); + } + } + + [NativeName("clReleaseAcceleratorINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clReleaseAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + public static extern int ReleaseAcceleratorINTEL(AcceleratorHandleINTEL accelerator); + + [NativeName("clReleaseCommandQueue")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clReleaseCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int ReleaseCommandQueue(CommandQueueHandle command_queue); + + [NativeName("clReleaseContext")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clReleaseContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int ReleaseContext(ContextHandle context); + + [NativeName("clReleaseDevice")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clReleaseDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern int ReleaseDevice(DeviceIdHandle device); + + [NativeName("clReleaseDeviceEXT")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clReleaseDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + public static extern int ReleaseDeviceEXT(DeviceIdHandle device); + + [NativeName("clReleaseEvent")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clReleaseEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int ReleaseEvent(EventHandle @event); + + [NativeName("clReleaseKernel")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clReleaseKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int ReleaseKernel(KernelHandle kernel); + + [NativeName("clReleaseMemObject")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clReleaseMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int ReleaseMemObject(MemHandle memobj); + + [NativeName("clReleaseProgram")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clReleaseProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int ReleaseProgram(ProgramHandle program); + + [NativeName("clReleaseSampler")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clReleaseSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int ReleaseSampler(SamplerHandle sampler); + + [NativeName("clReleaseSemaphoreKHR")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clReleaseSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + public static extern int ReleaseSemaphoreKHR(SemaphoreHandleKHR sema_object); + + [NativeName("clRetainAcceleratorINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clRetainAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + public static extern int RetainAcceleratorINTEL(AcceleratorHandleINTEL accelerator); + + [NativeName("clRetainCommandQueue")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clRetainCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int RetainCommandQueue(CommandQueueHandle command_queue); + + [NativeName("clRetainContext")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clRetainContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int RetainContext(ContextHandle context); + + [NativeName("clRetainDevice")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clRetainDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern int RetainDevice(DeviceIdHandle device); + + [NativeName("clRetainDeviceEXT")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clRetainDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + public static extern int RetainDeviceEXT(DeviceIdHandle device); + + [NativeName("clRetainEvent")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clRetainEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int RetainEvent(EventHandle @event); + + [NativeName("clRetainKernel")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clRetainKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int RetainKernel(KernelHandle kernel); + + [NativeName("clRetainMemObject")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clRetainMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int RetainMemObject(MemHandle memobj); + + [NativeName("clRetainProgram")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clRetainProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int RetainProgram(ProgramHandle program); + + [NativeName("clRetainSampler")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clRetainSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int RetainSampler(SamplerHandle sampler); + + [NativeName("clRetainSemaphoreKHR")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clRetainSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + public static extern int RetainSemaphoreKHR(SemaphoreHandleKHR sema_object); + + [NativeName("clSetContentSizeBufferPoCL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetContentSizeBufferPoCL")] + [SupportedApiProfile("opencl", ["cl_pocl_content_size"])] + public static extern int SetContentSizeBufferPOCL( + MemHandle buffer, + MemHandle content_size_buffer + ); + + [NativeName("clSetContextDestructorCallback")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + public static extern int SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int)SetContextDestructorCallback(context, pfn_notify, __dsl_user_data); + } + } + + [NativeName("clSetDefaultDeviceCommandQueue")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetDefaultDeviceCommandQueue")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + public static extern int SetDefaultDeviceCommandQueue( + ContextHandle context, + DeviceIdHandle device, + CommandQueueHandle command_queue + ); + + [NativeName("clSetEventCallback")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + public static extern int SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int)SetEventCallback( + @event, + command_exec_callback_type, + pfn_notify, + __dsl_user_data + ); + } + } + + [NativeName("clSetKernelArg")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int SetKernelArg( + KernelHandle kernel, + uint arg_index, + nuint arg_size, + void* arg_value + ); + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArg( + KernelHandle kernel, + uint arg_index, + nuint arg_size, + Ref arg_value + ) + { + fixed (void* __dsl_arg_value = arg_value) + { + return (int)SetKernelArg(kernel, arg_index, arg_size, __dsl_arg_value); + } + } + + [NativeName("clSetKernelArgDevicePointerEXT")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetKernelArgDevicePointerEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_buffer_device_address"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + public static extern int SetKernelArgDevicePointerEXT( + KernelHandle kernel, + uint arg_index, + ulong arg_value + ); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + public static extern int SetKernelArgMemPointerINTEL( + KernelHandle kernel, + uint arg_index, + void* arg_value + ); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArgMemPointerINTEL( + KernelHandle kernel, + uint arg_index, + Ref arg_value + ) + { + fixed (void* __dsl_arg_value = arg_value) + { + return (int)SetKernelArgMemPointerINTEL(kernel, arg_index, __dsl_arg_value); + } + } + + [NativeName("clSetKernelArgSVMPointer")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern int SetKernelArgSvmPointer( + KernelHandle kernel, + uint arg_index, + void* arg_value + ); + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArgSvmPointer(KernelHandle kernel, uint arg_index, Ref arg_value) + { + fixed (void* __dsl_arg_value = arg_value) + { + return (int)SetKernelArgSvmPointer(kernel, arg_index, __dsl_arg_value); + } + } + + [NativeName("clSetKernelArgSVMPointerARM")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + public static extern int SetKernelArgSvmPointerARM( + KernelHandle kernel, + uint arg_index, + void* arg_value + ); + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArgSvmPointerARM( + KernelHandle kernel, + uint arg_index, + Ref arg_value + ) + { + fixed (void* __dsl_arg_value = arg_value) + { + return (int)SetKernelArgSvmPointerARM(kernel, arg_index, __dsl_arg_value); + } + } + + [NativeName("clSetKernelExecInfo")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern int SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ); + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ) + { + fixed (void* __dsl_param_value = param_value) + { + return (int)SetKernelExecInfo( + kernel, + param_name, + param_value_size, + __dsl_param_value + ); + } + } + + [NativeName("clSetKernelExecInfoARM")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + public static extern int SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ); + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ) + { + fixed (void* __dsl_param_value = param_value) + { + return (int)SetKernelExecInfoARM( + kernel, + param_name, + param_value_size, + __dsl_param_value + ); + } + } + + [NativeName("clSetMemObjectDestructorAPPLE")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + public static extern int SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int)SetMemObjectDestructorAPPLE(memobj, pfn_notify, __dsl_user_data); + } + } + + [NativeName("clSetMemObjectDestructorCallback")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + public static extern int SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int)SetMemObjectDestructorCallback(memobj, pfn_notify, __dsl_user_data); + } + } + + [NativeName("clSetPerfHintQCOM")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetPerfHintQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_perf_hint"])] + public static extern int SetPerfHintQCOM(ContextHandle context, uint perf_hint); + + [NativeName("clSetProgramReleaseCallback")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + public static extern int SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int)SetProgramReleaseCallback(program, pfn_notify, __dsl_user_data); + } + } + + [NativeName("clSetProgramSpecializationConstant")] + [DllImport( + "opencl", + ExactSpelling = true, + EntryPoint = "clSetProgramSpecializationConstant" + )] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + public static extern int SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + void* spec_value + ); + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + Ref spec_value + ) + { + fixed (void* __dsl_spec_value = spec_value) + { + return (int)SetProgramSpecializationConstant( + program, + spec_id, + spec_size, + __dsl_spec_value + ); + } + } + + [NativeName("clSetUserEventStatus")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSetUserEventStatus")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + public static extern int SetUserEventStatus(EventHandle @event, int execution_status); + + [NativeName("clSharedMemAllocINTEL")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + public static extern void* SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ); + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (void*)SharedMemAllocINTEL( + context, + device, + __dsl_properties, + size, + alignment, + __dsl_errcode_ret + ); + } + } + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr SvmAlloc( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ) => (void*)SvmAllocRaw(context, flags, size, alignment); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr SvmAllocARM( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ) => (void*)SvmAllocRawARM(context, flags, size, alignment); + + [NativeName("clSVMAllocARM")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + public static extern void* SvmAllocRawARM( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ); + + [NativeName("clSVMAlloc")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSVMAlloc")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern void* SvmAllocRaw( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ); + + [NativeName("clSVMFree")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + public static extern void SvmFree(ContextHandle context, void* svm_pointer); + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SvmFree(ContextHandle context, Ref svm_pointer) + { + fixed (void* __dsl_svm_pointer = svm_pointer) + { + SvmFree(context, __dsl_svm_pointer); + } + } + + [NativeName("clSVMFreeARM")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + public static extern void SvmFreeARM(ContextHandle context, void* svm_pointer); + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SvmFreeARM(ContextHandle context, Ref svm_pointer) + { + fixed (void* __dsl_svm_pointer = svm_pointer) + { + SvmFreeARM(context, __dsl_svm_pointer); + } + } + + [NativeName("clTerminateContextKHR")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clTerminateContextKHR")] + [SupportedApiProfile("opencl", ["cl_khr_terminate_context"])] + public static extern int TerminateContextKHR(ContextHandle context); + + [NativeName("clUnloadCompiler")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clUnloadCompiler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int UnloadCompiler(); + + [NativeName("clUnloadPlatformCompiler")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clUnloadPlatformCompiler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public static extern int UnloadPlatformCompiler(PlatformIdHandle platform); + + [NativeName("clWaitForEvents")] + [DllImport("opencl", ExactSpelling = true, EntryPoint = "clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + public static extern int WaitForEvents(uint num_events, EventHandle* event_list); + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int WaitForEvents(uint num_events, Ref event_list) + { + fixed (EventHandle* __dsl_event_list = event_list) + { + return (int)WaitForEvents(num_events, __dsl_event_list); + } + } + } + + public partial class StaticWrapper : ICl + where T : ICl.Static + { + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int BuildProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + delegate* unmanaged pfn_notify, + void* user_data + ) => T.BuildProgram(program, num_devices, device_list, options, pfn_notify, user_data); + + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int BuildProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + delegate* unmanaged pfn_notify, + Ref user_data + ) => T.BuildProgram(program, num_devices, device_list, options, pfn_notify, user_data); + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int CancelCommandsIMG(EventHandle* event_list, nuint num_events_in_list) => + T.CancelCommandsIMG(event_list, num_events_in_list); + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int CancelCommandsIMG(Ref event_list, nuint num_events_in_list) => + T.CancelCommandsIMG(event_list, num_events_in_list); + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public KernelHandle CloneKernel(KernelHandle source_kernel, int* errcode_ret) => + T.CloneKernel(source_kernel, errcode_ret); + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public KernelHandle CloneKernel(KernelHandle source_kernel, Ref errcode_ret) => + T.CloneKernel(source_kernel, errcode_ret); + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int CompileProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_headers, + ProgramHandle* input_headers, + sbyte** header_include_names, + delegate* unmanaged pfn_notify, + void* user_data + ) => + T.CompileProgram( + program, + num_devices, + device_list, + options, + num_input_headers, + input_headers, + header_include_names, + pfn_notify, + user_data + ); + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int CompileProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_headers, + Ref input_headers, + Ref2D header_include_names, + delegate* unmanaged pfn_notify, + Ref user_data + ) => + T.CompileProgram( + program, + num_devices, + device_list, + options, + num_input_headers, + input_headers, + header_include_names, + pfn_notify, + user_data + ); + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public AcceleratorHandleINTEL CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + void* descriptor, + int* errcode_ret + ) => + T.CreateAcceleratorINTEL( + context, + accelerator_type, + descriptor_size, + descriptor, + errcode_ret + ); + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public AcceleratorHandleINTEL CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + Ref descriptor, + Ref errcode_ret + ) => + T.CreateAcceleratorINTEL( + context, + accelerator_type, + descriptor_size, + descriptor, + errcode_ret + ); + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ) => T.CreateBuffer(context, flags, size, host_ptr, errcode_ret); + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) => T.CreateBuffer(context, flags, size, host_ptr, errcode_ret); + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateBufferWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ) => T.CreateBufferWithProperties(context, properties, flags, size, host_ptr, errcode_ret); + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateBufferWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) => T.CreateBufferWithProperties(context, properties, flags, size, host_ptr, errcode_ret); + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateBufferWithPropertiesINTEL( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ) => + T.CreateBufferWithPropertiesINTEL( + context, + properties, + flags, + size, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateBufferWithPropertiesINTEL( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) => + T.CreateBufferWithPropertiesINTEL( + context, + properties, + flags, + size, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public CommandQueueHandle CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + int* errcode_ret + ) => T.CreateCommandQueue(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public CommandQueueHandle CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + Ref errcode_ret + ) => T.CreateCommandQueue(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public CommandQueueHandle CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ) => T.CreateCommandQueueWithProperties(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public CommandQueueHandle CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ) => T.CreateCommandQueueWithProperties(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public CommandQueueHandle CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ) => T.CreateCommandQueueWithPropertiesKHR(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public CommandQueueHandle CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ) => T.CreateCommandQueueWithPropertiesKHR(context, device, properties, errcode_ret); + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ContextHandle CreateContext( + nint* properties, + uint num_devices, + DeviceIdHandle* devices, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ) => T.CreateContext(properties, num_devices, devices, pfn_notify, user_data, errcode_ret); + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ContextHandle CreateContext( + Ref properties, + uint num_devices, + Ref devices, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) => T.CreateContext(properties, num_devices, devices, pfn_notify, user_data, errcode_ret); + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ContextHandle CreateContextFromType( + nint* properties, + ulong device_type, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ) => T.CreateContextFromType(properties, device_type, pfn_notify, user_data, errcode_ret); + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ContextHandle CreateContextFromType( + Ref properties, + ulong device_type, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) => T.CreateContextFromType(properties, device_type, pfn_notify, user_data, errcode_ret); + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateImage( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ) => T.CreateImage(context, flags, image_format, image_desc, host_ptr, errcode_ret); + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateImage( + ContextHandle context, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ) => T.CreateImage(context, flags, image_format, image_desc, host_ptr, errcode_ret); + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateImage2D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + void* host_ptr, + int* errcode_ret + ) => + T.CreateImage2D( + context, + flags, + image_format, + image_width, + image_height, + image_row_pitch, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateImage2D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + Ref host_ptr, + Ref errcode_ret + ) => + T.CreateImage2D( + context, + flags, + image_format, + image_width, + image_height, + image_row_pitch, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateImage3D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + void* host_ptr, + int* errcode_ret + ) => + T.CreateImage3D( + context, + flags, + image_format, + image_width, + image_height, + image_depth, + image_row_pitch, + image_slice_pitch, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateImage3D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + Ref host_ptr, + Ref errcode_ret + ) => + T.CreateImage3D( + context, + flags, + image_format, + image_width, + image_height, + image_depth, + image_row_pitch, + image_slice_pitch, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateImageWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ) => + T.CreateImageWithProperties( + context, + properties, + flags, + image_format, + image_desc, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateImageWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ) => + T.CreateImageWithProperties( + context, + properties, + flags, + image_format, + image_desc, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public KernelHandle CreateKernel( + ProgramHandle program, + sbyte* kernel_name, + int* errcode_ret + ) => T.CreateKernel(program, kernel_name, errcode_ret); + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public KernelHandle CreateKernel( + ProgramHandle program, + Ref kernel_name, + Ref errcode_ret + ) => T.CreateKernel(program, kernel_name, errcode_ret); + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + KernelHandle* kernels, + uint* num_kernels_ret + ) => T.CreateKernelsInProgram(program, num_kernels, kernels, num_kernels_ret); + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + Ref kernels, + Ref num_kernels_ret + ) => T.CreateKernelsInProgram(program, num_kernels, kernels, num_kernels_ret); + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + nint* properties, + int* errcode_ret + ) => + T.CreatePipe( + context, + flags, + pipe_packet_size, + pipe_max_packets, + properties, + errcode_ret + ); + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + Ref properties, + Ref errcode_ret + ) => + T.CreatePipe( + context, + flags, + pipe_packet_size, + pipe_max_packets, + properties, + errcode_ret + ); + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ProgramHandle CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + nuint* lengths, + byte** binaries, + int* binary_status, + int* errcode_ret + ) => + T.CreateProgramWithBinary( + context, + num_devices, + device_list, + lengths, + binaries, + binary_status, + errcode_ret + ); + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ProgramHandle CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref lengths, + Ref2D binaries, + Ref binary_status, + Ref errcode_ret + ) => + T.CreateProgramWithBinary( + context, + num_devices, + device_list, + lengths, + binaries, + binary_status, + errcode_ret + ); + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ProgramHandle CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* kernel_names, + int* errcode_ret + ) => + T.CreateProgramWithBuiltInKernels( + context, + num_devices, + device_list, + kernel_names, + errcode_ret + ); + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ProgramHandle CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref kernel_names, + Ref errcode_ret + ) => + T.CreateProgramWithBuiltInKernels( + context, + num_devices, + device_list, + kernel_names, + errcode_ret + ); + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ProgramHandle CreateProgramWithIL( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ) => T.CreateProgramWithIL(context, il, length, errcode_ret); + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ProgramHandle CreateProgramWithIL( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ) => T.CreateProgramWithIL(context, il, length, errcode_ret); + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ProgramHandle CreateProgramWithILKHR( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ) => T.CreateProgramWithILKHR(context, il, length, errcode_ret); + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ProgramHandle CreateProgramWithILKHR( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ) => T.CreateProgramWithILKHR(context, il, length, errcode_ret); + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ProgramHandle CreateProgramWithSource( + ContextHandle context, + uint count, + sbyte** strings, + nuint* lengths, + int* errcode_ret + ) => T.CreateProgramWithSource(context, count, strings, lengths, errcode_ret); + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ProgramHandle CreateProgramWithSource( + ContextHandle context, + uint count, + Ref2D strings, + Ref lengths, + Ref errcode_ret + ) => T.CreateProgramWithSource(context, count, strings, lengths, errcode_ret); + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public SamplerHandle CreateSampler( + ContextHandle context, + uint normalized_coords, + uint addressing_mode, + uint filter_mode, + int* errcode_ret + ) => T.CreateSampler(context, normalized_coords, addressing_mode, filter_mode, errcode_ret); + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public SamplerHandle CreateSampler( + ContextHandle context, + MaybeBool normalized_coords, + uint addressing_mode, + uint filter_mode, + Ref errcode_ret + ) => T.CreateSampler(context, normalized_coords, addressing_mode, filter_mode, errcode_ret); + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public SamplerHandle CreateSamplerWithProperties( + ContextHandle context, + ulong* sampler_properties, + int* errcode_ret + ) => T.CreateSamplerWithProperties(context, sampler_properties, errcode_ret); + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public SamplerHandle CreateSamplerWithProperties( + ContextHandle context, + Ref sampler_properties, + Ref errcode_ret + ) => T.CreateSamplerWithProperties(context, sampler_properties, errcode_ret); + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public SemaphoreHandleKHR CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + ulong* sema_props, + int* errcode_ret + ) => T.CreateSemaphoreWithPropertiesKHR(context, sema_props, errcode_ret); + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public SemaphoreHandleKHR CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + Ref sema_props, + Ref errcode_ret + ) => T.CreateSemaphoreWithPropertiesKHR(context, sema_props, errcode_ret); + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + void* buffer_create_info, + int* errcode_ret + ) => T.CreateSubBuffer(buffer, flags, buffer_create_type, buffer_create_info, errcode_ret); + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + Ref buffer_create_info, + Ref errcode_ret + ) => T.CreateSubBuffer(buffer, flags, buffer_create_type, buffer_create_info, errcode_ret); + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int CreateSubDevices( + DeviceIdHandle in_device, + nint* properties, + uint num_devices, + DeviceIdHandle* out_devices, + uint* num_devices_ret + ) => T.CreateSubDevices(in_device, properties, num_devices, out_devices, num_devices_ret); + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int CreateSubDevices( + DeviceIdHandle in_device, + Ref properties, + uint num_devices, + Ref out_devices, + Ref num_devices_ret + ) => T.CreateSubDevices(in_device, properties, num_devices, out_devices, num_devices_ret); + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int CreateSubDevicesEXT( + DeviceIdHandle in_device, + ulong* properties, + uint num_entries, + DeviceIdHandle* out_devices, + uint* num_devices + ) => T.CreateSubDevicesEXT(in_device, properties, num_entries, out_devices, num_devices); + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int CreateSubDevicesEXT( + DeviceIdHandle in_device, + Ref properties, + uint num_entries, + Ref out_devices, + Ref num_devices + ) => T.CreateSubDevicesEXT(in_device, properties, num_entries, out_devices, num_devices); + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public EventHandle CreateUserEvent(ContextHandle context, int* errcode_ret) => + T.CreateUserEvent(context, errcode_ret); + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public EventHandle CreateUserEvent(ContextHandle context, Ref errcode_ret) => + T.CreateUserEvent(context, errcode_ret); + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ) => T.DeviceMemAllocINTEL(context, device, properties, size, alignment, errcode_ret); + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) => T.DeviceMemAllocINTEL(context, device, properties, size, alignment, errcode_ret); + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueAcquireExternalMemObjectsKHR( + command_queue, + num_mem_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueAcquireExternalMemObjectsKHR( + command_queue, + num_mem_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueAcquireGrallocObjectsIMG( + command_queue, + num_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueAcquireGrallocObjectsIMG( + command_queue, + num_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueBarrier")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrier")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueBarrier(CommandQueueHandle command_queue) => + T.EnqueueBarrier(command_queue); + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueBarrierWithWaitList( + command_queue, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueBarrierWithWaitList( + command_queue, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueCopyBuffer( + command_queue, + src_buffer, + dst_buffer, + src_offset, + dst_offset, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueCopyBuffer( + command_queue, + src_buffer, + dst_buffer, + src_offset, + dst_offset, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueCopyBufferRect( + command_queue, + src_buffer, + dst_buffer, + src_origin, + dst_origin, + region, + src_row_pitch, + src_slice_pitch, + dst_row_pitch, + dst_slice_pitch, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + Ref src_origin, + Ref dst_origin, + Ref region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueCopyBufferRect( + command_queue, + src_buffer, + dst_buffer, + src_origin, + dst_origin, + region, + src_row_pitch, + src_slice_pitch, + dst_row_pitch, + dst_slice_pitch, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueCopyBufferToImage( + command_queue, + src_buffer, + dst_image, + src_offset, + dst_origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueCopyBufferToImage( + command_queue, + src_buffer, + dst_image, + src_offset, + dst_origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueCopyImage( + command_queue, + src_image, + dst_image, + src_origin, + dst_origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + Ref src_origin, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueCopyImage( + command_queue, + src_image, + dst_image, + src_origin, + dst_origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + nuint* src_origin, + nuint* region, + nuint dst_offset, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueCopyImageToBuffer( + command_queue, + src_image, + dst_buffer, + src_origin, + region, + dst_offset, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + Ref src_origin, + Ref region, + nuint dst_offset, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueCopyImageToBuffer( + command_queue, + src_image, + dst_buffer, + src_origin, + region, + dst_offset, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + void* pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueFillBuffer( + command_queue, + buffer, + pattern, + pattern_size, + offset, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + Ref pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueFillBuffer( + command_queue, + buffer, + pattern, + pattern_size, + offset, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + void* fill_color, + nuint* origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueFillImage( + command_queue, + image, + fill_color, + origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + Ref fill_color, + Ref origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueFillImage( + command_queue, + image, + fill_color, + origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + nuint* array_region, + nuint* mip_region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueGenerateMipmapIMG( + command_queue, + src_image, + dst_image, + mipmap_filter_mode, + array_region, + mip_region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + Ref array_region, + Ref mip_region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueGenerateMipmapIMG( + command_queue, + src_image, + dst_image, + mipmap_filter_mode, + array_region, + mip_region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ) => + T.EnqueueMapBuffer( + command_queue, + buffer, + blocking_map, + map_flags, + offset, + size, + num_events_in_wait_list, + event_wait_list, + @event, + errcode_ret + ); + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ) => + T.EnqueueMapBuffer( + command_queue, + buffer, + blocking_map, + map_flags, + offset, + size, + num_events_in_wait_list, + event_wait_list, + @event, + errcode_ret + ); + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_map, + ulong map_flags, + nuint* origin, + nuint* region, + nuint* image_row_pitch, + nuint* image_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ) => + T.EnqueueMapImage( + command_queue, + image, + blocking_map, + map_flags, + origin, + region, + image_row_pitch, + image_slice_pitch, + num_events_in_wait_list, + event_wait_list, + @event, + errcode_ret + ); + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_map, + ulong map_flags, + Ref origin, + Ref region, + Ref image_row_pitch, + Ref image_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ) => + T.EnqueueMapImage( + command_queue, + image, + blocking_map, + map_flags, + origin, + region, + image_row_pitch, + image_slice_pitch, + num_events_in_wait_list, + event_wait_list, + @event, + errcode_ret + ); + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMarker(CommandQueueHandle command_queue, EventHandle* @event) => + T.EnqueueMarker(command_queue, @event); + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMarker(CommandQueueHandle command_queue, Ref @event) => + T.EnqueueMarker(command_queue, @event); + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueMarkerWithWaitList( + command_queue, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueMarkerWithWaitList( + command_queue, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueMemAdviseINTEL( + command_queue, + ptr, + size, + advice, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueMemAdviseINTEL( + command_queue, + ptr, + size, + advice, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + uint blocking, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueMemcpyINTEL( + command_queue, + blocking, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + MaybeBool blocking, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueMemcpyINTEL( + command_queue, + blocking, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueMemFillINTEL( + command_queue, + dst_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueMemFillINTEL( + command_queue, + dst_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueMemsetINTEL( + command_queue, + dst_ptr, + value, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueMemsetINTEL( + command_queue, + dst_ptr, + value, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueMigrateMemINTEL( + command_queue, + ptr, + size, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueMigrateMemINTEL( + command_queue, + ptr, + size, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueMigrateMemObjectEXT( + command_queue, + num_mem_objects, + mem_objects, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueMigrateMemObjectEXT( + command_queue, + num_mem_objects, + mem_objects, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueMigrateMemObjects( + command_queue, + num_mem_objects, + mem_objects, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueMigrateMemObjects( + command_queue, + num_mem_objects, + mem_objects, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + void* args, + nuint cb_args, + uint num_mem_objects, + MemHandle* mem_list, + void** args_mem_loc, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueNativeKernel( + command_queue, + user_func, + args, + cb_args, + num_mem_objects, + mem_list, + args_mem_loc, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + Ref args, + nuint cb_args, + uint num_mem_objects, + Ref mem_list, + Ref2D args_mem_loc, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueNativeKernel( + command_queue, + user_func, + args, + cb_args, + num_mem_objects, + mem_list, + args_mem_loc, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* local_work_size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueNDRangeKernel( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + local_work_size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref local_work_size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueNDRangeKernel( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + local_work_size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueReadBuffer( + command_queue, + buffer, + blocking_read, + offset, + size, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueReadBuffer( + command_queue, + buffer, + blocking_read, + offset, + size, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueReadBufferRect( + command_queue, + buffer, + blocking_read, + buffer_origin, + host_origin, + region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueReadBufferRect( + command_queue, + buffer, + blocking_read, + buffer_origin, + host_origin, + region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_read, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueReadHostPipeINTEL( + command_queue, + program, + pipe_symbol, + blocking_read, + ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_read, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueReadHostPipeINTEL( + command_queue, + program, + pipe_symbol, + blocking_read, + ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_read, + nuint* origin, + nuint* region, + nuint row_pitch, + nuint slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueReadImage( + command_queue, + image, + blocking_read, + origin, + region, + row_pitch, + slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_read, + Ref origin, + Ref region, + nuint row_pitch, + nuint slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueReadImage( + command_queue, + image, + blocking_read, + origin, + region, + row_pitch, + slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueReleaseExternalMemObjectsKHR( + command_queue, + num_mem_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueReleaseExternalMemObjectsKHR( + command_queue, + num_mem_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueReleaseGrallocObjectsIMG( + command_queue, + num_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueReleaseGrallocObjectsIMG( + command_queue, + num_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueSignalSemaphoresKHR( + command_queue, + num_sema_objects, + sema_objects, + sema_payload_list, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueSignalSemaphoresKHR( + command_queue, + num_sema_objects, + sema_objects, + sema_payload_list, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueSvmFree( + command_queue, + num_svm_pointers, + svm_pointers, + pfn_free_func, + user_data, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueSvmFree( + command_queue, + num_svm_pointers, + svm_pointers, + pfn_free_func, + user_data, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueSvmFreeARM( + command_queue, + num_svm_pointers, + svm_pointers, + pfn_free_func, + user_data, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueSvmFreeARM( + command_queue, + num_svm_pointers, + svm_pointers, + pfn_free_func, + user_data, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMap( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueSvmMap( + command_queue, + blocking_map, + flags, + svm_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMap( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueSvmMap( + command_queue, + blocking_map, + flags, + svm_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMapARM( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueSvmMapARM( + command_queue, + blocking_map, + flags, + svm_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMapARM( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueSvmMapARM( + command_queue, + blocking_map, + flags, + svm_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueSvmMemcpy( + command_queue, + blocking_copy, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueSvmMemcpy( + command_queue, + blocking_copy, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueSvmMemcpyARM( + command_queue, + blocking_copy, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueSvmMemcpyARM( + command_queue, + blocking_copy, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMemFill( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueSvmMemFill( + command_queue, + svm_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMemFill( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueSvmMemFill( + command_queue, + svm_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueSvmMemFillARM( + command_queue, + svm_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueSvmMemFillARM( + command_queue, + svm_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + nuint* sizes, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueSvmMigrateMem( + command_queue, + num_svm_pointers, + svm_pointers, + sizes, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + Ref sizes, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueSvmMigrateMem( + command_queue, + num_svm_pointers, + svm_pointers, + sizes, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmUnmap( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueSvmUnmap( + command_queue, + svm_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmUnmap( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueSvmUnmap( + command_queue, + svm_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueSvmUnmapARM( + command_queue, + svm_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueSvmUnmapARM( + command_queue, + svm_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => T.EnqueueTask(command_queue, kernel, num_events_in_wait_list, event_wait_list, @event); + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => T.EnqueueTask(command_queue, kernel, num_events_in_wait_list, event_wait_list, @event); + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + void* mapped_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueUnmapMemObject( + command_queue, + memobj, + mapped_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + Ref mapped_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueUnmapMemObject( + command_queue, + memobj, + mapped_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + EventHandle* event_list + ) => T.EnqueueWaitForEvents(command_queue, num_events, event_list); + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + Ref event_list + ) => T.EnqueueWaitForEvents(command_queue, num_events, event_list); + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueWaitSemaphoresKHR( + command_queue, + num_sema_objects, + sema_objects, + sema_payload_list, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueWaitSemaphoresKHR( + command_queue, + num_sema_objects, + sema_objects, + sema_payload_list, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueWriteBuffer( + command_queue, + buffer, + blocking_write, + offset, + size, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueWriteBuffer( + command_queue, + buffer, + blocking_write, + offset, + size, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueWriteBufferRect( + command_queue, + buffer, + blocking_write, + buffer_origin, + host_origin, + region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueWriteBufferRect( + command_queue, + buffer, + blocking_write, + buffer_origin, + host_origin, + region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_write, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueWriteHostPipeINTEL( + command_queue, + program, + pipe_symbol, + blocking_write, + ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_write, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueWriteHostPipeINTEL( + command_queue, + program, + pipe_symbol, + blocking_write, + ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_write, + nuint* origin, + nuint* region, + nuint input_row_pitch, + nuint input_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + T.EnqueueWriteImage( + command_queue, + image, + blocking_write, + origin, + region, + input_row_pitch, + input_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_write, + Ref origin, + Ref region, + nuint input_row_pitch, + nuint input_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + T.EnqueueWriteImage( + command_queue, + image, + blocking_write, + origin, + region, + input_row_pitch, + input_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clFinish")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clFinish")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int Finish(CommandQueueHandle command_queue) => T.Finish(command_queue); + + [NativeName("clFlush")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clFlush")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int Flush(CommandQueueHandle command_queue) => T.Flush(command_queue); + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetAcceleratorInfoINTEL( + accelerator, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetAcceleratorInfoINTEL( + accelerator, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetCommandQueueInfo( + command_queue, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetCommandQueueInfo( + command_queue, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetContextInfo( + context, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetContextInfo( + context, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetDeviceAndHostTimer( + DeviceIdHandle device, + ulong* device_timestamp, + ulong* host_timestamp + ) => T.GetDeviceAndHostTimer(device, device_timestamp, host_timestamp); + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetDeviceAndHostTimer( + DeviceIdHandle device, + Ref device_timestamp, + Ref host_timestamp + ) => T.GetDeviceAndHostTimer(device, device_timestamp, host_timestamp); + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + DeviceIdHandle* devices, + uint* num_devices + ) => T.GetDeviceIDs(platform, device_type, num_entries, devices, num_devices); + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + Ref devices, + Ref num_devices + ) => T.GetDeviceIDs(platform, device_type, num_entries, devices, num_devices); + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + ImageFormat* image_format, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetDeviceImageInfoQCOM( + device, + image_width, + image_height, + image_format, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + Ref image_format, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetDeviceImageInfoQCOM( + device, + image_width, + image_height, + image_format, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetDeviceInfo( + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetDeviceInfo( + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetEventInfo(@event, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetEventInfo(@event, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetEventProfilingInfo( + @event, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetEventProfilingInfo( + @event, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* GetExtensionFunctionAddress(sbyte* func_name) => + T.GetExtensionFunctionAddress(func_name); + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetExtensionFunctionAddress(Ref func_name) => + T.GetExtensionFunctionAddress(func_name); + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* GetExtensionFunctionAddressForPlatform( + PlatformIdHandle platform, + sbyte* func_name + ) => T.GetExtensionFunctionAddressForPlatform(platform, func_name); + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetExtensionFunctionAddressForPlatform( + PlatformIdHandle platform, + Ref func_name + ) => T.GetExtensionFunctionAddressForPlatform(platform, func_name); + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetHostTimer(DeviceIdHandle device, ulong* host_timestamp) => + T.GetHostTimer(device, host_timestamp); + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetHostTimer(DeviceIdHandle device, Ref host_timestamp) => + T.GetHostTimer(device, host_timestamp); + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetIcdLoaderInfoOclicd( + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetIcdLoaderInfoOclicd( + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => T.GetImageInfo(image, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => T.GetImageInfo(image, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetImageRequirementsInfoEXT( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetImageRequirementsInfoEXT( + context, + properties, + flags, + image_format, + image_desc, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetImageRequirementsInfoEXT( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetImageRequirementsInfoEXT( + context, + properties, + flags, + image_format, + image_desc, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetKernelArgInfo( + kernel, + arg_indx, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetKernelArgInfo( + kernel, + arg_indx, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetKernelInfo( + kernel, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetKernelInfo( + kernel, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetKernelSubGroupInfo( + kernel, + device, + param_name, + input_value_size, + input_value, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetKernelSubGroupInfo( + kernel, + device, + param_name, + input_value_size, + input_value, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetKernelSubGroupInfoKHR( + in_kernel, + in_device, + param_name, + input_value_size, + input_value, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetKernelSubGroupInfoKHR( + in_kernel, + in_device, + param_name, + input_value_size, + input_value, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ) => + T.GetKernelSuggestedLocalWorkSize( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ) => + T.GetKernelSuggestedLocalWorkSize( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ) => + T.GetKernelSuggestedLocalWorkSizeKHR( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ) => + T.GetKernelSuggestedLocalWorkSizeKHR( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + suggested_local_work_size + ); + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetKernelWorkGroupInfo( + kernel, + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetKernelWorkGroupInfo( + kernel, + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetMemAllocInfoINTEL( + ContextHandle context, + void* ptr, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetMemAllocInfoINTEL( + context, + ptr, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetMemAllocInfoINTEL( + ContextHandle context, + Ref ptr, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetMemAllocInfoINTEL( + context, + ptr, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetMemObjectInfo( + memobj, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetMemObjectInfo( + memobj, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => T.GetPipeInfo(pipe, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => T.GetPipeInfo(pipe, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetPlatformIDs( + uint num_entries, + PlatformIdHandle* platforms, + uint* num_platforms + ) => T.GetPlatformIDs(num_entries, platforms, num_platforms); + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetPlatformIDs( + uint num_entries, + Ref platforms, + Ref num_platforms + ) => T.GetPlatformIDs(num_entries, platforms, num_platforms); + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetPlatformInfo( + platform, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetPlatformInfo( + platform, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetProgramBuildInfo( + program, + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetProgramBuildInfo( + program, + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetProgramInfo( + program, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetProgramInfo( + program, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetSamplerInfo( + sampler, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetSamplerInfo( + sampler, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + void* handle_ptr, + nuint* handle_size_ret + ) => + T.GetSemaphoreHandleForTypeKHR( + sema_object, + device, + handle_type, + handle_size, + handle_ptr, + handle_size_ret + ); + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + Ref handle_ptr, + Ref handle_size_ret + ) => + T.GetSemaphoreHandleForTypeKHR( + sema_object, + device, + handle_type, + handle_size, + handle_ptr, + handle_size_ret + ); + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + T.GetSemaphoreInfoKHR( + sema_object, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + T.GetSemaphoreInfoKHR( + sema_object, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + ImageFormat* image_formats, + uint* num_image_formats + ) => + T.GetSupportedImageFormats( + context, + flags, + image_type, + num_entries, + image_formats, + num_image_formats + ); + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + Ref image_formats, + Ref num_image_formats + ) => + T.GetSupportedImageFormats( + context, + flags, + image_type, + num_entries, + image_formats, + num_image_formats + ); + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* HostMemAllocINTEL( + ContextHandle context, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ) => T.HostMemAllocINTEL(context, properties, size, alignment, errcode_ret); + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr HostMemAllocINTEL( + ContextHandle context, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) => T.HostMemAllocINTEL(context, properties, size, alignment, errcode_ret); + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* IcdGetFunctionAddressForPlatformKHR( + PlatformIdHandle platform, + sbyte* func_name + ) => T.IcdGetFunctionAddressForPlatformKHR(platform, func_name); + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr IcdGetFunctionAddressForPlatformKHR( + PlatformIdHandle platform, + Ref func_name + ) => T.IcdGetFunctionAddressForPlatformKHR(platform, func_name); + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int IcdGetPlatformIDsKHR( + uint num_entries, + PlatformIdHandle* platforms, + uint* num_platforms + ) => T.IcdGetPlatformIDsKHR(num_entries, platforms, num_platforms); + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int IcdGetPlatformIDsKHR( + uint num_entries, + Ref platforms, + Ref num_platforms + ) => T.IcdGetPlatformIDsKHR(num_entries, platforms, num_platforms); + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int IcdSetPlatformDispatchDataKHR(PlatformIdHandle platform, void* dispatch_data) => + T.IcdSetPlatformDispatchDataKHR(platform, dispatch_data); + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int IcdSetPlatformDispatchDataKHR(PlatformIdHandle platform, Ref dispatch_data) => + T.IcdSetPlatformDispatchDataKHR(platform, dispatch_data); + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle ImportMemoryARM( + ContextHandle context, + ulong flags, + nint* properties, + void* memory, + nuint size, + int* errcode_ret + ) => T.ImportMemoryARM(context, flags, properties, memory, size, errcode_ret); + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MemHandle ImportMemoryARM( + ContextHandle context, + ulong flags, + Ref properties, + Ref memory, + nuint size, + Ref errcode_ret + ) => T.ImportMemoryARM(context, flags, properties, memory, size, errcode_ret); + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ProgramHandle LinkProgram( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_programs, + ProgramHandle* input_programs, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ) => + T.LinkProgram( + context, + num_devices, + device_list, + options, + num_input_programs, + input_programs, + pfn_notify, + user_data, + errcode_ret + ); + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ProgramHandle LinkProgram( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_programs, + Ref input_programs, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) => + T.LinkProgram( + context, + num_devices, + device_list, + options, + num_input_programs, + input_programs, + pfn_notify, + user_data, + errcode_ret + ); + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void LogMessagesToStderrAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ) => T.LogMessagesToStderrAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void LogMessagesToStderrAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) => T.LogMessagesToStderrAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void LogMessagesToStdoutAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ) => T.LogMessagesToStdoutAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void LogMessagesToStdoutAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) => T.LogMessagesToStdoutAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void LogMessagesToSystemLogAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ) => T.LogMessagesToSystemLogAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void LogMessagesToSystemLogAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) => T.LogMessagesToSystemLogAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int MemBlockingFreeINTEL(ContextHandle context, void* ptr) => + T.MemBlockingFreeINTEL(context, ptr); + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int MemBlockingFreeINTEL(ContextHandle context, Ref ptr) => + T.MemBlockingFreeINTEL(context, ptr); + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int MemFreeINTEL(ContextHandle context, void* ptr) => T.MemFreeINTEL(context, ptr); + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int MemFreeINTEL(ContextHandle context, Ref ptr) => T.MemFreeINTEL(context, ptr); + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + ulong* reimport_props, + int fd + ) => T.ReImportSemaphoreSyncFdKHR(sema_object, reimport_props, fd); + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + Ref reimport_props, + int fd + ) => T.ReImportSemaphoreSyncFdKHR(sema_object, reimport_props, fd); + + [NativeName("clReleaseAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clReleaseAcceleratorINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReleaseAcceleratorINTEL(AcceleratorHandleINTEL accelerator) => + T.ReleaseAcceleratorINTEL(accelerator); + + [NativeName("clReleaseCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseCommandQueue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReleaseCommandQueue(CommandQueueHandle command_queue) => + T.ReleaseCommandQueue(command_queue); + + [NativeName("clReleaseContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReleaseContext(ContextHandle context) => T.ReleaseContext(context); + + [NativeName("clReleaseDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReleaseDevice(DeviceIdHandle device) => T.ReleaseDevice(device); + + [NativeName("clReleaseDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clReleaseDeviceEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReleaseDeviceEXT(DeviceIdHandle device) => T.ReleaseDeviceEXT(device); + + [NativeName("clReleaseEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReleaseEvent(EventHandle @event) => T.ReleaseEvent(@event); + + [NativeName("clReleaseKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReleaseKernel(KernelHandle kernel) => T.ReleaseKernel(kernel); + + [NativeName("clReleaseMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseMemObject")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReleaseMemObject(MemHandle memobj) => T.ReleaseMemObject(memobj); + + [NativeName("clReleaseProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReleaseProgram(ProgramHandle program) => T.ReleaseProgram(program); + + [NativeName("clReleaseSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseSampler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReleaseSampler(SamplerHandle sampler) => T.ReleaseSampler(sampler); + + [NativeName("clReleaseSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clReleaseSemaphoreKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int ReleaseSemaphoreKHR(SemaphoreHandleKHR sema_object) => + T.ReleaseSemaphoreKHR(sema_object); + + [NativeName("clRetainAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clRetainAcceleratorINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int RetainAcceleratorINTEL(AcceleratorHandleINTEL accelerator) => + T.RetainAcceleratorINTEL(accelerator); + + [NativeName("clRetainCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainCommandQueue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int RetainCommandQueue(CommandQueueHandle command_queue) => + T.RetainCommandQueue(command_queue); + + [NativeName("clRetainContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int RetainContext(ContextHandle context) => T.RetainContext(context); + + [NativeName("clRetainDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clRetainDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int RetainDevice(DeviceIdHandle device) => T.RetainDevice(device); + + [NativeName("clRetainDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clRetainDeviceEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int RetainDeviceEXT(DeviceIdHandle device) => T.RetainDeviceEXT(device); + + [NativeName("clRetainEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int RetainEvent(EventHandle @event) => T.RetainEvent(@event); + + [NativeName("clRetainKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int RetainKernel(KernelHandle kernel) => T.RetainKernel(kernel); + + [NativeName("clRetainMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainMemObject")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int RetainMemObject(MemHandle memobj) => T.RetainMemObject(memobj); + + [NativeName("clRetainProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int RetainProgram(ProgramHandle program) => T.RetainProgram(program); + + [NativeName("clRetainSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainSampler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int RetainSampler(SamplerHandle sampler) => T.RetainSampler(sampler); + + [NativeName("clRetainSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clRetainSemaphoreKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int RetainSemaphoreKHR(SemaphoreHandleKHR sema_object) => + T.RetainSemaphoreKHR(sema_object); + + [NativeName("clSetContentSizeBufferPoCL")] + [SupportedApiProfile("opencl", ["cl_pocl_content_size"])] + [NativeFunction("opencl", EntryPoint = "clSetContentSizeBufferPoCL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetContentSizeBufferPOCL(MemHandle buffer, MemHandle content_size_buffer) => + T.SetContentSizeBufferPOCL(buffer, content_size_buffer); + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + void* user_data + ) => T.SetContextDestructorCallback(context, pfn_notify, user_data); + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + Ref user_data + ) => T.SetContextDestructorCallback(context, pfn_notify, user_data); + + [NativeName("clSetDefaultDeviceCommandQueue")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetDefaultDeviceCommandQueue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetDefaultDeviceCommandQueue( + ContextHandle context, + DeviceIdHandle device, + CommandQueueHandle command_queue + ) => T.SetDefaultDeviceCommandQueue(context, device, command_queue); + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + void* user_data + ) => T.SetEventCallback(@event, command_exec_callback_type, pfn_notify, user_data); + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + Ref user_data + ) => T.SetEventCallback(@event, command_exec_callback_type, pfn_notify, user_data); + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelArg( + KernelHandle kernel, + uint arg_index, + nuint arg_size, + void* arg_value + ) => T.SetKernelArg(kernel, arg_index, arg_size, arg_value); + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelArg( + KernelHandle kernel, + uint arg_index, + nuint arg_size, + Ref arg_value + ) => T.SetKernelArg(kernel, arg_index, arg_size, arg_value); + + [NativeName("clSetKernelArgDevicePointerEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_buffer_device_address"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgDevicePointerEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelArgDevicePointerEXT( + KernelHandle kernel, + uint arg_index, + ulong arg_value + ) => T.SetKernelArgDevicePointerEXT(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelArgMemPointerINTEL( + KernelHandle kernel, + uint arg_index, + void* arg_value + ) => T.SetKernelArgMemPointerINTEL(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelArgMemPointerINTEL( + KernelHandle kernel, + uint arg_index, + Ref arg_value + ) => T.SetKernelArgMemPointerINTEL(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelArgSvmPointer(KernelHandle kernel, uint arg_index, void* arg_value) => + T.SetKernelArgSvmPointer(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelArgSvmPointer(KernelHandle kernel, uint arg_index, Ref arg_value) => + T.SetKernelArgSvmPointer(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelArgSvmPointerARM( + KernelHandle kernel, + uint arg_index, + void* arg_value + ) => T.SetKernelArgSvmPointerARM(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelArgSvmPointerARM(KernelHandle kernel, uint arg_index, Ref arg_value) => + T.SetKernelArgSvmPointerARM(kernel, arg_index, arg_value); + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ) => T.SetKernelExecInfo(kernel, param_name, param_value_size, param_value); + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ) => T.SetKernelExecInfo(kernel, param_name, param_value_size, param_value); + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ) => T.SetKernelExecInfoARM(kernel, param_name, param_value_size, param_value); + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ) => T.SetKernelExecInfoARM(kernel, param_name, param_value_size, param_value); + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ) => T.SetMemObjectDestructorAPPLE(memobj, pfn_notify, user_data); + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ) => T.SetMemObjectDestructorAPPLE(memobj, pfn_notify, user_data); + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ) => T.SetMemObjectDestructorCallback(memobj, pfn_notify, user_data); + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ) => T.SetMemObjectDestructorCallback(memobj, pfn_notify, user_data); + + [NativeName("clSetPerfHintQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_perf_hint"])] + [NativeFunction("opencl", EntryPoint = "clSetPerfHintQCOM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetPerfHintQCOM(ContextHandle context, uint perf_hint) => + T.SetPerfHintQCOM(context, perf_hint); + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + void* user_data + ) => T.SetProgramReleaseCallback(program, pfn_notify, user_data); + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + Ref user_data + ) => T.SetProgramReleaseCallback(program, pfn_notify, user_data); + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + void* spec_value + ) => T.SetProgramSpecializationConstant(program, spec_id, spec_size, spec_value); + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + Ref spec_value + ) => T.SetProgramSpecializationConstant(program, spec_id, spec_size, spec_value); + + [NativeName("clSetUserEventStatus")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetUserEventStatus")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int SetUserEventStatus(EventHandle @event, int execution_status) => + T.SetUserEventStatus(@event, execution_status); + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ) => T.SharedMemAllocINTEL(context, device, properties, size, alignment, errcode_ret); + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) => T.SharedMemAllocINTEL(context, device, properties, size, alignment, errcode_ret); + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr SvmAlloc(ContextHandle context, ulong flags, nuint size, uint alignment) => + T.SvmAlloc(context, flags, size, alignment); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr SvmAllocARM(ContextHandle context, ulong flags, nuint size, uint alignment) => + T.SvmAllocARM(context, flags, size, alignment); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* SvmAllocRawARM( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ) => T.SvmAllocRawARM(context, flags, size, alignment); + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* SvmAllocRaw(ContextHandle context, ulong flags, nuint size, uint alignment) => + T.SvmAllocRaw(context, flags, size, alignment); + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SvmFree(ContextHandle context, void* svm_pointer) => + T.SvmFree(context, svm_pointer); + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SvmFree(ContextHandle context, Ref svm_pointer) => + T.SvmFree(context, svm_pointer); + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SvmFreeARM(ContextHandle context, void* svm_pointer) => + T.SvmFreeARM(context, svm_pointer); + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SvmFreeARM(ContextHandle context, Ref svm_pointer) => + T.SvmFreeARM(context, svm_pointer); + + [NativeName("clTerminateContextKHR")] + [SupportedApiProfile("opencl", ["cl_khr_terminate_context"])] + [NativeFunction("opencl", EntryPoint = "clTerminateContextKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int TerminateContextKHR(ContextHandle context) => T.TerminateContextKHR(context); + + [NativeName("clUnloadCompiler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clUnloadCompiler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int UnloadCompiler() => T.UnloadCompiler(); + + [NativeName("clUnloadPlatformCompiler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clUnloadPlatformCompiler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int UnloadPlatformCompiler(PlatformIdHandle platform) => + T.UnloadPlatformCompiler(platform); + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int WaitForEvents(uint num_events, EventHandle* event_list) => + T.WaitForEvents(num_events, event_list); + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int WaitForEvents(uint num_events, Ref event_list) => + T.WaitForEvents(num_events, event_list); + } + + public partial class ThisThread + { + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int BuildProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + delegate* unmanaged pfn_notify, + void* user_data + ) => + Underlying.Value!.BuildProgram( + program, + num_devices, + device_list, + options, + pfn_notify, + user_data + ); + + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int BuildProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (sbyte* __dsl_options = options) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (int)BuildProgram( + program, + num_devices, + __dsl_device_list, + __dsl_options, + pfn_notify, + __dsl_user_data + ); + } + } + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CancelCommandsIMG(EventHandle* event_list, nuint num_events_in_list) => + Underlying.Value!.CancelCommandsIMG(event_list, num_events_in_list); + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CancelCommandsIMG(Ref event_list, nuint num_events_in_list) + { + fixed (EventHandle* __dsl_event_list = event_list) + { + return (int)CancelCommandsIMG(__dsl_event_list, num_events_in_list); + } + } + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static KernelHandle CloneKernel(KernelHandle source_kernel, int* errcode_ret) => + Underlying.Value!.CloneKernel(source_kernel, errcode_ret); + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static KernelHandle CloneKernel(KernelHandle source_kernel, Ref errcode_ret) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + { + return (KernelHandle)CloneKernel(source_kernel, __dsl_errcode_ret); + } + } + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CompileProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_headers, + ProgramHandle* input_headers, + sbyte** header_include_names, + delegate* unmanaged pfn_notify, + void* user_data + ) => + Underlying.Value!.CompileProgram( + program, + num_devices, + device_list, + options, + num_input_headers, + input_headers, + header_include_names, + pfn_notify, + user_data + ); + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CompileProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_headers, + Ref input_headers, + Ref2D header_include_names, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (sbyte** __dsl_header_include_names = header_include_names) + fixed (ProgramHandle* __dsl_input_headers = input_headers) + fixed (sbyte* __dsl_options = options) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (int)CompileProgram( + program, + num_devices, + __dsl_device_list, + __dsl_options, + num_input_headers, + __dsl_input_headers, + __dsl_header_include_names, + pfn_notify, + __dsl_user_data + ); + } + } + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static AcceleratorHandleINTEL CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + void* descriptor, + int* errcode_ret + ) => + Underlying.Value!.CreateAcceleratorINTEL( + context, + accelerator_type, + descriptor_size, + descriptor, + errcode_ret + ); + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static AcceleratorHandleINTEL CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + Ref descriptor, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_descriptor = descriptor) + { + return (AcceleratorHandleINTEL)CreateAcceleratorINTEL( + context, + accelerator_type, + descriptor_size, + __dsl_descriptor, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ) => Underlying.Value!.CreateBuffer(context, flags, size, host_ptr, errcode_ret); + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + { + return (MemHandle)CreateBuffer( + context, + flags, + size, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateBufferWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ) => + Underlying.Value!.CreateBufferWithProperties( + context, + properties, + flags, + size, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateBufferWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ulong* __dsl_properties = properties) + { + return (MemHandle)CreateBufferWithProperties( + context, + __dsl_properties, + flags, + size, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateBufferWithPropertiesINTEL( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ) => + Underlying.Value!.CreateBufferWithPropertiesINTEL( + context, + properties, + flags, + size, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateBufferWithPropertiesINTEL( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ulong* __dsl_properties = properties) + { + return (MemHandle)CreateBufferWithPropertiesINTEL( + context, + __dsl_properties, + flags, + size, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static CommandQueueHandle CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + int* errcode_ret + ) => Underlying.Value!.CreateCommandQueue(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static CommandQueueHandle CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + { + return (CommandQueueHandle)CreateCommandQueue( + context, + device, + properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static CommandQueueHandle CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ) => + Underlying.Value!.CreateCommandQueueWithProperties( + context, + device, + properties, + errcode_ret + ); + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static CommandQueueHandle CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (CommandQueueHandle)CreateCommandQueueWithProperties( + context, + device, + __dsl_properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static CommandQueueHandle CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ) => + Underlying.Value!.CreateCommandQueueWithPropertiesKHR( + context, + device, + properties, + errcode_ret + ); + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static CommandQueueHandle CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (CommandQueueHandle)CreateCommandQueueWithPropertiesKHR( + context, + device, + __dsl_properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ContextHandle CreateContext( + nint* properties, + uint num_devices, + DeviceIdHandle* devices, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ) => + Underlying.Value!.CreateContext( + properties, + num_devices, + devices, + pfn_notify, + user_data, + errcode_ret + ); + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ContextHandle CreateContext( + Ref properties, + uint num_devices, + Ref devices, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_user_data = user_data) + fixed (DeviceIdHandle* __dsl_devices = devices) + fixed (nint* __dsl_properties = properties) + { + return (ContextHandle)CreateContext( + __dsl_properties, + num_devices, + __dsl_devices, + pfn_notify, + __dsl_user_data, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ContextHandle CreateContextFromType( + nint* properties, + ulong device_type, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ) => + Underlying.Value!.CreateContextFromType( + properties, + device_type, + pfn_notify, + user_data, + errcode_ret + ); + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ContextHandle CreateContextFromType( + Ref properties, + ulong device_type, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_user_data = user_data) + fixed (nint* __dsl_properties = properties) + { + return (ContextHandle)CreateContextFromType( + __dsl_properties, + device_type, + pfn_notify, + __dsl_user_data, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateImage( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ) => + Underlying.Value!.CreateImage( + context, + flags, + image_format, + image_desc, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateImage( + ContextHandle context, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ImageDesc* __dsl_image_desc = image_desc) + fixed (ImageFormat* __dsl_image_format = image_format) + { + return (MemHandle)CreateImage( + context, + flags, + __dsl_image_format, + __dsl_image_desc, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateImage2D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + void* host_ptr, + int* errcode_ret + ) => + Underlying.Value!.CreateImage2D( + context, + flags, + image_format, + image_width, + image_height, + image_row_pitch, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateImage2D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ImageFormat* __dsl_image_format = image_format) + { + return (MemHandle)CreateImage2D( + context, + flags, + __dsl_image_format, + image_width, + image_height, + image_row_pitch, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateImage3D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + void* host_ptr, + int* errcode_ret + ) => + Underlying.Value!.CreateImage3D( + context, + flags, + image_format, + image_width, + image_height, + image_depth, + image_row_pitch, + image_slice_pitch, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateImage3D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ImageFormat* __dsl_image_format = image_format) + { + return (MemHandle)CreateImage3D( + context, + flags, + __dsl_image_format, + image_width, + image_height, + image_depth, + image_row_pitch, + image_slice_pitch, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateImageWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ) => + Underlying.Value!.CreateImageWithProperties( + context, + properties, + flags, + image_format, + image_desc, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateImageWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ImageDesc* __dsl_image_desc = image_desc) + fixed (ImageFormat* __dsl_image_format = image_format) + fixed (ulong* __dsl_properties = properties) + { + return (MemHandle)CreateImageWithProperties( + context, + __dsl_properties, + flags, + __dsl_image_format, + __dsl_image_desc, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static KernelHandle CreateKernel( + ProgramHandle program, + sbyte* kernel_name, + int* errcode_ret + ) => Underlying.Value!.CreateKernel(program, kernel_name, errcode_ret); + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static KernelHandle CreateKernel( + ProgramHandle program, + Ref kernel_name, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (sbyte* __dsl_kernel_name = kernel_name) + { + return (KernelHandle)CreateKernel(program, __dsl_kernel_name, __dsl_errcode_ret); + } + } + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + KernelHandle* kernels, + uint* num_kernels_ret + ) => + Underlying.Value!.CreateKernelsInProgram( + program, + num_kernels, + kernels, + num_kernels_ret + ); + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + Ref kernels, + Ref num_kernels_ret + ) + { + fixed (uint* __dsl_num_kernels_ret = num_kernels_ret) + fixed (KernelHandle* __dsl_kernels = kernels) + { + return (int)CreateKernelsInProgram( + program, + num_kernels, + __dsl_kernels, + __dsl_num_kernels_ret + ); + } + } + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + nint* properties, + int* errcode_ret + ) => + Underlying.Value!.CreatePipe( + context, + flags, + pipe_packet_size, + pipe_max_packets, + properties, + errcode_ret + ); + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + Ref properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (nint* __dsl_properties = properties) + { + return (MemHandle)CreatePipe( + context, + flags, + pipe_packet_size, + pipe_max_packets, + __dsl_properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + nuint* lengths, + byte** binaries, + int* binary_status, + int* errcode_ret + ) => + Underlying.Value!.CreateProgramWithBinary( + context, + num_devices, + device_list, + lengths, + binaries, + binary_status, + errcode_ret + ); + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref lengths, + Ref2D binaries, + Ref binary_status, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (int* __dsl_binary_status = binary_status) + fixed (byte** __dsl_binaries = binaries) + fixed (nuint* __dsl_lengths = lengths) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (ProgramHandle)CreateProgramWithBinary( + context, + num_devices, + __dsl_device_list, + __dsl_lengths, + __dsl_binaries, + __dsl_binary_status, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* kernel_names, + int* errcode_ret + ) => + Underlying.Value!.CreateProgramWithBuiltInKernels( + context, + num_devices, + device_list, + kernel_names, + errcode_ret + ); + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref kernel_names, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (sbyte* __dsl_kernel_names = kernel_names) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (ProgramHandle)CreateProgramWithBuiltInKernels( + context, + num_devices, + __dsl_device_list, + __dsl_kernel_names, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithIL( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ) => Underlying.Value!.CreateProgramWithIL(context, il, length, errcode_ret); + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithIL( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_il = il) + { + return (ProgramHandle)CreateProgramWithIL( + context, + __dsl_il, + length, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithILKHR( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ) => Underlying.Value!.CreateProgramWithILKHR(context, il, length, errcode_ret); + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithILKHR( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_il = il) + { + return (ProgramHandle)CreateProgramWithILKHR( + context, + __dsl_il, + length, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithSource( + ContextHandle context, + uint count, + sbyte** strings, + nuint* lengths, + int* errcode_ret + ) => + Underlying.Value!.CreateProgramWithSource( + context, + count, + strings, + lengths, + errcode_ret + ); + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle CreateProgramWithSource( + ContextHandle context, + uint count, + Ref2D strings, + Ref lengths, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (nuint* __dsl_lengths = lengths) + fixed (sbyte** __dsl_strings = strings) + { + return (ProgramHandle)CreateProgramWithSource( + context, + count, + __dsl_strings, + __dsl_lengths, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static SamplerHandle CreateSampler( + ContextHandle context, + uint normalized_coords, + uint addressing_mode, + uint filter_mode, + int* errcode_ret + ) => + Underlying.Value!.CreateSampler( + context, + normalized_coords, + addressing_mode, + filter_mode, + errcode_ret + ); + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static SamplerHandle CreateSampler( + ContextHandle context, + MaybeBool normalized_coords, + uint addressing_mode, + uint filter_mode, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + { + return (SamplerHandle)CreateSampler( + context, + (uint)normalized_coords, + addressing_mode, + filter_mode, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static SamplerHandle CreateSamplerWithProperties( + ContextHandle context, + ulong* sampler_properties, + int* errcode_ret + ) => + Underlying.Value!.CreateSamplerWithProperties(context, sampler_properties, errcode_ret); + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static SamplerHandle CreateSamplerWithProperties( + ContextHandle context, + Ref sampler_properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_sampler_properties = sampler_properties) + { + return (SamplerHandle)CreateSamplerWithProperties( + context, + __dsl_sampler_properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static SemaphoreHandleKHR CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + ulong* sema_props, + int* errcode_ret + ) => Underlying.Value!.CreateSemaphoreWithPropertiesKHR(context, sema_props, errcode_ret); + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static SemaphoreHandleKHR CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + Ref sema_props, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_sema_props = sema_props) + { + return (SemaphoreHandleKHR)CreateSemaphoreWithPropertiesKHR( + context, + __dsl_sema_props, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + void* buffer_create_info, + int* errcode_ret + ) => + Underlying.Value!.CreateSubBuffer( + buffer, + flags, + buffer_create_type, + buffer_create_info, + errcode_ret + ); + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + Ref buffer_create_info, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_buffer_create_info = buffer_create_info) + { + return (MemHandle)CreateSubBuffer( + buffer, + flags, + buffer_create_type, + __dsl_buffer_create_info, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CreateSubDevices( + DeviceIdHandle in_device, + nint* properties, + uint num_devices, + DeviceIdHandle* out_devices, + uint* num_devices_ret + ) => + Underlying.Value!.CreateSubDevices( + in_device, + properties, + num_devices, + out_devices, + num_devices_ret + ); + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CreateSubDevices( + DeviceIdHandle in_device, + Ref properties, + uint num_devices, + Ref out_devices, + Ref num_devices_ret + ) + { + fixed (uint* __dsl_num_devices_ret = num_devices_ret) + fixed (DeviceIdHandle* __dsl_out_devices = out_devices) + fixed (nint* __dsl_properties = properties) + { + return (int)CreateSubDevices( + in_device, + __dsl_properties, + num_devices, + __dsl_out_devices, + __dsl_num_devices_ret + ); + } + } + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CreateSubDevicesEXT( + DeviceIdHandle in_device, + ulong* properties, + uint num_entries, + DeviceIdHandle* out_devices, + uint* num_devices + ) => + Underlying.Value!.CreateSubDevicesEXT( + in_device, + properties, + num_entries, + out_devices, + num_devices + ); + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int CreateSubDevicesEXT( + DeviceIdHandle in_device, + Ref properties, + uint num_entries, + Ref out_devices, + Ref num_devices + ) + { + fixed (uint* __dsl_num_devices = num_devices) + fixed (DeviceIdHandle* __dsl_out_devices = out_devices) + fixed (ulong* __dsl_properties = properties) + { + return (int)CreateSubDevicesEXT( + in_device, + __dsl_properties, + num_entries, + __dsl_out_devices, + __dsl_num_devices + ); + } + } + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static EventHandle CreateUserEvent(ContextHandle context, int* errcode_ret) => + Underlying.Value!.CreateUserEvent(context, errcode_ret); + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static EventHandle CreateUserEvent(ContextHandle context, Ref errcode_ret) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + { + return (EventHandle)CreateUserEvent(context, __dsl_errcode_ret); + } + } + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ) => + Underlying.Value!.DeviceMemAllocINTEL( + context, + device, + properties, + size, + alignment, + errcode_ret + ); + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (void*)DeviceMemAllocINTEL( + context, + device, + __dsl_properties, + size, + alignment, + __dsl_errcode_ret + ); + } + } + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueAcquireExternalMemObjectsKHR( + command_queue, + num_mem_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int)EnqueueAcquireExternalMemObjectsKHR( + command_queue, + num_mem_objects, + __dsl_mem_objects, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueAcquireGrallocObjectsIMG( + command_queue, + num_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int)EnqueueAcquireGrallocObjectsIMG( + command_queue, + num_objects, + __dsl_mem_objects, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueBarrier")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrier")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueBarrier(CommandQueueHandle command_queue) => + Underlying.Value!.EnqueueBarrier(command_queue); + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueBarrierWithWaitList( + command_queue, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (int)EnqueueBarrierWithWaitList( + command_queue, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueCopyBuffer( + command_queue, + src_buffer, + dst_buffer, + src_offset, + dst_offset, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (int)EnqueueCopyBuffer( + command_queue, + src_buffer, + dst_buffer, + src_offset, + dst_offset, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueCopyBufferRect( + command_queue, + src_buffer, + dst_buffer, + src_origin, + dst_origin, + region, + src_row_pitch, + src_slice_pitch, + dst_row_pitch, + dst_slice_pitch, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + Ref src_origin, + Ref dst_origin, + Ref region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_dst_origin = dst_origin) + fixed (nuint* __dsl_src_origin = src_origin) + { + return (int)EnqueueCopyBufferRect( + command_queue, + src_buffer, + dst_buffer, + __dsl_src_origin, + __dsl_dst_origin, + __dsl_region, + src_row_pitch, + src_slice_pitch, + dst_row_pitch, + dst_slice_pitch, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueCopyBufferToImage( + command_queue, + src_buffer, + dst_image, + src_offset, + dst_origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_dst_origin = dst_origin) + { + return (int)EnqueueCopyBufferToImage( + command_queue, + src_buffer, + dst_image, + src_offset, + __dsl_dst_origin, + __dsl_region, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueCopyImage( + command_queue, + src_image, + dst_image, + src_origin, + dst_origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + Ref src_origin, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_dst_origin = dst_origin) + fixed (nuint* __dsl_src_origin = src_origin) + { + return (int)EnqueueCopyImage( + command_queue, + src_image, + dst_image, + __dsl_src_origin, + __dsl_dst_origin, + __dsl_region, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + nuint* src_origin, + nuint* region, + nuint dst_offset, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueCopyImageToBuffer( + command_queue, + src_image, + dst_buffer, + src_origin, + region, + dst_offset, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + Ref src_origin, + Ref region, + nuint dst_offset, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_src_origin = src_origin) + { + return (int)EnqueueCopyImageToBuffer( + command_queue, + src_image, + dst_buffer, + __dsl_src_origin, + __dsl_region, + dst_offset, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + void* pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueFillBuffer( + command_queue, + buffer, + pattern, + pattern_size, + offset, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + Ref pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_pattern = pattern) + { + return (int)EnqueueFillBuffer( + command_queue, + buffer, + __dsl_pattern, + pattern_size, + offset, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + void* fill_color, + nuint* origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueFillImage( + command_queue, + image, + fill_color, + origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + Ref fill_color, + Ref origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_origin = origin) + fixed (void* __dsl_fill_color = fill_color) + { + return (int)EnqueueFillImage( + command_queue, + image, + __dsl_fill_color, + __dsl_origin, + __dsl_region, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + nuint* array_region, + nuint* mip_region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueGenerateMipmapIMG( + command_queue, + src_image, + dst_image, + mipmap_filter_mode, + array_region, + mip_region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + Ref array_region, + Ref mip_region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_mip_region = mip_region) + fixed (nuint* __dsl_array_region = array_region) + { + return (int)EnqueueGenerateMipmapIMG( + command_queue, + src_image, + dst_image, + mipmap_filter_mode, + __dsl_array_region, + __dsl_mip_region, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ) => + Underlying.Value!.EnqueueMapBuffer( + command_queue, + buffer, + blocking_map, + map_flags, + offset, + size, + num_events_in_wait_list, + event_wait_list, + @event, + errcode_ret + ); + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (void*)EnqueueMapBuffer( + command_queue, + buffer, + (uint)blocking_map, + map_flags, + offset, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event, + __dsl_errcode_ret + ); + } + } + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_map, + ulong map_flags, + nuint* origin, + nuint* region, + nuint* image_row_pitch, + nuint* image_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ) => + Underlying.Value!.EnqueueMapImage( + command_queue, + image, + blocking_map, + map_flags, + origin, + region, + image_row_pitch, + image_slice_pitch, + num_events_in_wait_list, + event_wait_list, + @event, + errcode_ret + ); + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_map, + ulong map_flags, + Ref origin, + Ref region, + Ref image_row_pitch, + Ref image_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_image_slice_pitch = image_slice_pitch) + fixed (nuint* __dsl_image_row_pitch = image_row_pitch) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_origin = origin) + { + return (void*)EnqueueMapImage( + command_queue, + image, + (uint)blocking_map, + map_flags, + __dsl_origin, + __dsl_region, + __dsl_image_row_pitch, + __dsl_image_slice_pitch, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event, + __dsl_errcode_ret + ); + } + } + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMarker(CommandQueueHandle command_queue, EventHandle* @event) => + Underlying.Value!.EnqueueMarker(command_queue, @event); + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMarker(CommandQueueHandle command_queue, Ref @event) + { + fixed (EventHandle* __dsl_event = @event) + { + return (int)EnqueueMarker(command_queue, __dsl_event); + } + } + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueMarkerWithWaitList( + command_queue, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (int)EnqueueMarkerWithWaitList( + command_queue, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueMemAdviseINTEL( + command_queue, + ptr, + size, + advice, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + { + return (int)EnqueueMemAdviseINTEL( + command_queue, + __dsl_ptr, + size, + advice, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + uint blocking, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueMemcpyINTEL( + command_queue, + blocking, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + MaybeBool blocking, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_src_ptr = src_ptr) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int)EnqueueMemcpyINTEL( + command_queue, + (uint)blocking, + __dsl_dst_ptr, + __dsl_src_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueMemFillINTEL( + command_queue, + dst_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_pattern = pattern) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int)EnqueueMemFillINTEL( + command_queue, + __dsl_dst_ptr, + __dsl_pattern, + pattern_size, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueMemsetINTEL( + command_queue, + dst_ptr, + value, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int)EnqueueMemsetINTEL( + command_queue, + __dsl_dst_ptr, + value, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueMigrateMemINTEL( + command_queue, + ptr, + size, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + { + return (int)EnqueueMigrateMemINTEL( + command_queue, + __dsl_ptr, + size, + flags, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueMigrateMemObjectEXT( + command_queue, + num_mem_objects, + mem_objects, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int)EnqueueMigrateMemObjectEXT( + command_queue, + num_mem_objects, + __dsl_mem_objects, + flags, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueMigrateMemObjects( + command_queue, + num_mem_objects, + mem_objects, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int)EnqueueMigrateMemObjects( + command_queue, + num_mem_objects, + __dsl_mem_objects, + flags, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + void* args, + nuint cb_args, + uint num_mem_objects, + MemHandle* mem_list, + void** args_mem_loc, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueNativeKernel( + command_queue, + user_func, + args, + cb_args, + num_mem_objects, + mem_list, + args_mem_loc, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + Ref args, + nuint cb_args, + uint num_mem_objects, + Ref mem_list, + Ref2D args_mem_loc, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void** __dsl_args_mem_loc = args_mem_loc) + fixed (MemHandle* __dsl_mem_list = mem_list) + fixed (void* __dsl_args = args) + { + return (int)EnqueueNativeKernel( + command_queue, + user_func, + __dsl_args, + cb_args, + num_mem_objects, + __dsl_mem_list, + __dsl_args_mem_loc, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* local_work_size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueNDRangeKernel( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + local_work_size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref local_work_size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_local_work_size = local_work_size) + fixed (nuint* __dsl_global_work_size = global_work_size) + fixed (nuint* __dsl_global_work_offset = global_work_offset) + { + return (int)EnqueueNDRangeKernel( + command_queue, + kernel, + work_dim, + __dsl_global_work_offset, + __dsl_global_work_size, + __dsl_local_work_size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueReadBuffer( + command_queue, + buffer, + blocking_read, + offset, + size, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + { + return (int)EnqueueReadBuffer( + command_queue, + buffer, + (uint)blocking_read, + offset, + size, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueReadBufferRect( + command_queue, + buffer, + blocking_read, + buffer_origin, + host_origin, + region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_host_origin = host_origin) + fixed (nuint* __dsl_buffer_origin = buffer_origin) + { + return (int)EnqueueReadBufferRect( + command_queue, + buffer, + (uint)blocking_read, + __dsl_buffer_origin, + __dsl_host_origin, + __dsl_region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_read, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueReadHostPipeINTEL( + command_queue, + program, + pipe_symbol, + blocking_read, + ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_read, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (sbyte* __dsl_pipe_symbol = pipe_symbol) + { + return (int)EnqueueReadHostPipeINTEL( + command_queue, + program, + __dsl_pipe_symbol, + (uint)blocking_read, + __dsl_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_read, + nuint* origin, + nuint* region, + nuint row_pitch, + nuint slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueReadImage( + command_queue, + image, + blocking_read, + origin, + region, + row_pitch, + slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_read, + Ref origin, + Ref region, + nuint row_pitch, + nuint slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_origin = origin) + { + return (int)EnqueueReadImage( + command_queue, + image, + (uint)blocking_read, + __dsl_origin, + __dsl_region, + row_pitch, + slice_pitch, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueReleaseExternalMemObjectsKHR( + command_queue, + num_mem_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int)EnqueueReleaseExternalMemObjectsKHR( + command_queue, + num_mem_objects, + __dsl_mem_objects, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueReleaseGrallocObjectsIMG( + command_queue, + num_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int)EnqueueReleaseGrallocObjectsIMG( + command_queue, + num_objects, + __dsl_mem_objects, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueSignalSemaphoresKHR( + command_queue, + num_sema_objects, + sema_objects, + sema_payload_list, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (ulong* __dsl_sema_payload_list = sema_payload_list) + fixed (SemaphoreHandleKHR* __dsl_sema_objects = sema_objects) + { + return (int)EnqueueSignalSemaphoresKHR( + command_queue, + num_sema_objects, + __dsl_sema_objects, + __dsl_sema_payload_list, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueSvmFree( + command_queue, + num_svm_pointers, + svm_pointers, + pfn_free_func, + user_data, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_user_data = user_data) + fixed (void** __dsl_svm_pointers = svm_pointers) + { + return (int)EnqueueSvmFree( + command_queue, + num_svm_pointers, + __dsl_svm_pointers, + pfn_free_func, + __dsl_user_data, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueSvmFreeARM( + command_queue, + num_svm_pointers, + svm_pointers, + pfn_free_func, + user_data, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_user_data = user_data) + fixed (void** __dsl_svm_pointers = svm_pointers) + { + return (int)EnqueueSvmFreeARM( + command_queue, + num_svm_pointers, + __dsl_svm_pointers, + pfn_free_func, + __dsl_user_data, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMap( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueSvmMap( + command_queue, + blocking_map, + flags, + svm_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMap( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int)EnqueueSvmMap( + command_queue, + (uint)blocking_map, + flags, + __dsl_svm_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMapARM( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueSvmMapARM( + command_queue, + blocking_map, + flags, + svm_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMapARM( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int)EnqueueSvmMapARM( + command_queue, + (uint)blocking_map, + flags, + __dsl_svm_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueSvmMemcpy( + command_queue, + blocking_copy, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_src_ptr = src_ptr) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int)EnqueueSvmMemcpy( + command_queue, + (uint)blocking_copy, + __dsl_dst_ptr, + __dsl_src_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueSvmMemcpyARM( + command_queue, + blocking_copy, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_src_ptr = src_ptr) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int)EnqueueSvmMemcpyARM( + command_queue, + (uint)blocking_copy, + __dsl_dst_ptr, + __dsl_src_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMemFill( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueSvmMemFill( + command_queue, + svm_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMemFill( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_pattern = pattern) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int)EnqueueSvmMemFill( + command_queue, + __dsl_svm_ptr, + __dsl_pattern, + pattern_size, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueSvmMemFillARM( + command_queue, + svm_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_pattern = pattern) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int)EnqueueSvmMemFillARM( + command_queue, + __dsl_svm_ptr, + __dsl_pattern, + pattern_size, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + nuint* sizes, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueSvmMigrateMem( + command_queue, + num_svm_pointers, + svm_pointers, + sizes, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + Ref sizes, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_sizes = sizes) + fixed (void** __dsl_svm_pointers = svm_pointers) + { + return (int)EnqueueSvmMigrateMem( + command_queue, + num_svm_pointers, + __dsl_svm_pointers, + __dsl_sizes, + flags, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmUnmap( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueSvmUnmap( + command_queue, + svm_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmUnmap( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int)EnqueueSvmUnmap( + command_queue, + __dsl_svm_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueSvmUnmapARM( + command_queue, + svm_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int)EnqueueSvmUnmapARM( + command_queue, + __dsl_svm_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueTask( + command_queue, + kernel, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (int)EnqueueTask( + command_queue, + kernel, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + void* mapped_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueUnmapMemObject( + command_queue, + memobj, + mapped_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + Ref mapped_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_mapped_ptr = mapped_ptr) + { + return (int)EnqueueUnmapMemObject( + command_queue, + memobj, + __dsl_mapped_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + EventHandle* event_list + ) => Underlying.Value!.EnqueueWaitForEvents(command_queue, num_events, event_list); + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + Ref event_list + ) + { + fixed (EventHandle* __dsl_event_list = event_list) + { + return (int)EnqueueWaitForEvents(command_queue, num_events, __dsl_event_list); + } + } + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueWaitSemaphoresKHR( + command_queue, + num_sema_objects, + sema_objects, + sema_payload_list, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (ulong* __dsl_sema_payload_list = sema_payload_list) + fixed (SemaphoreHandleKHR* __dsl_sema_objects = sema_objects) + { + return (int)EnqueueWaitSemaphoresKHR( + command_queue, + num_sema_objects, + __dsl_sema_objects, + __dsl_sema_payload_list, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueWriteBuffer( + command_queue, + buffer, + blocking_write, + offset, + size, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + { + return (int)EnqueueWriteBuffer( + command_queue, + buffer, + (uint)blocking_write, + offset, + size, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueWriteBufferRect( + command_queue, + buffer, + blocking_write, + buffer_origin, + host_origin, + region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_host_origin = host_origin) + fixed (nuint* __dsl_buffer_origin = buffer_origin) + { + return (int)EnqueueWriteBufferRect( + command_queue, + buffer, + (uint)blocking_write, + __dsl_buffer_origin, + __dsl_host_origin, + __dsl_region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_write, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueWriteHostPipeINTEL( + command_queue, + program, + pipe_symbol, + blocking_write, + ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_write, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (sbyte* __dsl_pipe_symbol = pipe_symbol) + { + return (int)EnqueueWriteHostPipeINTEL( + command_queue, + program, + __dsl_pipe_symbol, + (uint)blocking_write, + __dsl_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_write, + nuint* origin, + nuint* region, + nuint input_row_pitch, + nuint input_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + Underlying.Value!.EnqueueWriteImage( + command_queue, + image, + blocking_write, + origin, + region, + input_row_pitch, + input_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_write, + Ref origin, + Ref region, + nuint input_row_pitch, + nuint input_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_origin = origin) + { + return (int)EnqueueWriteImage( + command_queue, + image, + (uint)blocking_write, + __dsl_origin, + __dsl_region, + input_row_pitch, + input_slice_pitch, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clFinish")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clFinish")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int Finish(CommandQueueHandle command_queue) => + Underlying.Value!.Finish(command_queue); + + [NativeName("clFlush")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clFlush")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int Flush(CommandQueueHandle command_queue) => + Underlying.Value!.Flush(command_queue); + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetAcceleratorInfoINTEL( + accelerator, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetAcceleratorInfoINTEL( + accelerator, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetCommandQueueInfo( + command_queue, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetCommandQueueInfo( + command_queue, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetContextInfo( + context, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetContextInfo( + context, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetDeviceAndHostTimer( + DeviceIdHandle device, + ulong* device_timestamp, + ulong* host_timestamp + ) => Underlying.Value!.GetDeviceAndHostTimer(device, device_timestamp, host_timestamp); + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetDeviceAndHostTimer( + DeviceIdHandle device, + Ref device_timestamp, + Ref host_timestamp + ) + { + fixed (ulong* __dsl_host_timestamp = host_timestamp) + fixed (ulong* __dsl_device_timestamp = device_timestamp) + { + return (int)GetDeviceAndHostTimer( + device, + __dsl_device_timestamp, + __dsl_host_timestamp + ); + } + } + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + DeviceIdHandle* devices, + uint* num_devices + ) => + Underlying.Value!.GetDeviceIDs( + platform, + device_type, + num_entries, + devices, + num_devices + ); + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + Ref devices, + Ref num_devices + ) + { + fixed (uint* __dsl_num_devices = num_devices) + fixed (DeviceIdHandle* __dsl_devices = devices) + { + return (int)GetDeviceIDs( + platform, + device_type, + num_entries, + __dsl_devices, + __dsl_num_devices + ); + } + } + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + ImageFormat* image_format, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetDeviceImageInfoQCOM( + device, + image_width, + image_height, + image_format, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + Ref image_format, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (ImageFormat* __dsl_image_format = image_format) + { + return (int)GetDeviceImageInfoQCOM( + device, + image_width, + image_height, + __dsl_image_format, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetDeviceInfo( + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetDeviceInfo( + device, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetEventInfo( + @event, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetEventInfo( + @event, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetEventProfilingInfo( + @event, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetEventProfilingInfo( + @event, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* GetExtensionFunctionAddress(sbyte* func_name) => + Underlying.Value!.GetExtensionFunctionAddress(func_name); + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetExtensionFunctionAddress(Ref func_name) + { + fixed (sbyte* __dsl_func_name = func_name) + { + return (void*)GetExtensionFunctionAddress(__dsl_func_name); + } + } + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* GetExtensionFunctionAddressForPlatform( + PlatformIdHandle platform, + sbyte* func_name + ) => Underlying.Value!.GetExtensionFunctionAddressForPlatform(platform, func_name); + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetExtensionFunctionAddressForPlatform( + PlatformIdHandle platform, + Ref func_name + ) + { + fixed (sbyte* __dsl_func_name = func_name) + { + return (void*)GetExtensionFunctionAddressForPlatform(platform, __dsl_func_name); + } + } + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetHostTimer(DeviceIdHandle device, ulong* host_timestamp) => + Underlying.Value!.GetHostTimer(device, host_timestamp); + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetHostTimer(DeviceIdHandle device, Ref host_timestamp) + { + fixed (ulong* __dsl_host_timestamp = host_timestamp) + { + return (int)GetHostTimer(device, __dsl_host_timestamp); + } + } + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetIcdLoaderInfoOclicd( + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetIcdLoaderInfoOclicd( + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetImageInfo( + image, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetImageInfo( + image, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetImageRequirementsInfoEXT( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetImageRequirementsInfoEXT( + context, + properties, + flags, + image_format, + image_desc, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetImageRequirementsInfoEXT( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (ImageDesc* __dsl_image_desc = image_desc) + fixed (ImageFormat* __dsl_image_format = image_format) + fixed (ulong* __dsl_properties = properties) + { + return (int)GetImageRequirementsInfoEXT( + context, + __dsl_properties, + flags, + __dsl_image_format, + __dsl_image_desc, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetKernelArgInfo( + kernel, + arg_indx, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetKernelArgInfo( + kernel, + arg_indx, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetKernelInfo( + kernel, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetKernelInfo( + kernel, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetKernelSubGroupInfo( + kernel, + device, + param_name, + input_value_size, + input_value, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (void* __dsl_input_value = input_value) + { + return (int)GetKernelSubGroupInfo( + kernel, + device, + param_name, + input_value_size, + __dsl_input_value, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetKernelSubGroupInfoKHR( + in_kernel, + in_device, + param_name, + input_value_size, + input_value, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (void* __dsl_input_value = input_value) + { + return (int)GetKernelSubGroupInfoKHR( + in_kernel, + in_device, + param_name, + input_value_size, + __dsl_input_value, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ) => + Underlying.Value!.GetKernelSuggestedLocalWorkSize( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ) + { + fixed (nuint* __dsl_suggested_local_work_size = suggested_local_work_size) + fixed (nuint* __dsl_global_work_size = global_work_size) + fixed (nuint* __dsl_global_work_offset = global_work_offset) + { + return (int)GetKernelSuggestedLocalWorkSize( + command_queue, + kernel, + work_dim, + __dsl_global_work_offset, + __dsl_global_work_size, + __dsl_suggested_local_work_size + ); + } + } + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ) => + Underlying.Value!.GetKernelSuggestedLocalWorkSizeKHR( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ) + { + fixed (nuint* __dsl_suggested_local_work_size = suggested_local_work_size) + fixed (nuint* __dsl_global_work_size = global_work_size) + fixed (nuint* __dsl_global_work_offset = global_work_offset) + { + return (int)GetKernelSuggestedLocalWorkSizeKHR( + command_queue, + kernel, + work_dim, + __dsl_global_work_offset, + __dsl_global_work_size, + __dsl_suggested_local_work_size + ); + } + } + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetKernelWorkGroupInfo( + kernel, + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetKernelWorkGroupInfo( + kernel, + device, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetMemAllocInfoINTEL( + ContextHandle context, + void* ptr, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetMemAllocInfoINTEL( + context, + ptr, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetMemAllocInfoINTEL( + ContextHandle context, + Ref ptr, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (void* __dsl_ptr = ptr) + { + return (int)GetMemAllocInfoINTEL( + context, + __dsl_ptr, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetMemObjectInfo( + memobj, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetMemObjectInfo( + memobj, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetPipeInfo( + pipe, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetPipeInfo( + pipe, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetPlatformIDs( + uint num_entries, + PlatformIdHandle* platforms, + uint* num_platforms + ) => Underlying.Value!.GetPlatformIDs(num_entries, platforms, num_platforms); + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetPlatformIDs( + uint num_entries, + Ref platforms, + Ref num_platforms + ) + { + fixed (uint* __dsl_num_platforms = num_platforms) + fixed (PlatformIdHandle* __dsl_platforms = platforms) + { + return (int)GetPlatformIDs(num_entries, __dsl_platforms, __dsl_num_platforms); + } + } + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetPlatformInfo( + platform, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetPlatformInfo( + platform, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetProgramBuildInfo( + program, + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetProgramBuildInfo( + program, + device, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetProgramInfo( + program, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetProgramInfo( + program, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetSamplerInfo( + sampler, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetSamplerInfo( + sampler, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + void* handle_ptr, + nuint* handle_size_ret + ) => + Underlying.Value!.GetSemaphoreHandleForTypeKHR( + sema_object, + device, + handle_type, + handle_size, + handle_ptr, + handle_size_ret + ); + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + Ref handle_ptr, + Ref handle_size_ret + ) + { + fixed (nuint* __dsl_handle_size_ret = handle_size_ret) + fixed (void* __dsl_handle_ptr = handle_ptr) + { + return (int)GetSemaphoreHandleForTypeKHR( + sema_object, + device, + handle_type, + handle_size, + __dsl_handle_ptr, + __dsl_handle_size_ret + ); + } + } + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + Underlying.Value!.GetSemaphoreInfoKHR( + sema_object, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int)GetSemaphoreInfoKHR( + sema_object, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + ImageFormat* image_formats, + uint* num_image_formats + ) => + Underlying.Value!.GetSupportedImageFormats( + context, + flags, + image_type, + num_entries, + image_formats, + num_image_formats + ); + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + Ref image_formats, + Ref num_image_formats + ) + { + fixed (uint* __dsl_num_image_formats = num_image_formats) + fixed (ImageFormat* __dsl_image_formats = image_formats) + { + return (int)GetSupportedImageFormats( + context, + flags, + image_type, + num_entries, + __dsl_image_formats, + __dsl_num_image_formats + ); + } + } + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* HostMemAllocINTEL( + ContextHandle context, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ) => Underlying.Value!.HostMemAllocINTEL(context, properties, size, alignment, errcode_ret); + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr HostMemAllocINTEL( + ContextHandle context, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (void*)HostMemAllocINTEL( + context, + __dsl_properties, + size, + alignment, + __dsl_errcode_ret + ); + } + } + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* IcdGetFunctionAddressForPlatformKHR( + PlatformIdHandle platform, + sbyte* func_name + ) => Underlying.Value!.IcdGetFunctionAddressForPlatformKHR(platform, func_name); + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr IcdGetFunctionAddressForPlatformKHR( + PlatformIdHandle platform, + Ref func_name + ) + { + fixed (sbyte* __dsl_func_name = func_name) + { + return (void*)IcdGetFunctionAddressForPlatformKHR(platform, __dsl_func_name); + } + } + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int IcdGetPlatformIDsKHR( + uint num_entries, + PlatformIdHandle* platforms, + uint* num_platforms + ) => Underlying.Value!.IcdGetPlatformIDsKHR(num_entries, platforms, num_platforms); + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int IcdGetPlatformIDsKHR( + uint num_entries, + Ref platforms, + Ref num_platforms + ) + { + fixed (uint* __dsl_num_platforms = num_platforms) + fixed (PlatformIdHandle* __dsl_platforms = platforms) + { + return (int)IcdGetPlatformIDsKHR(num_entries, __dsl_platforms, __dsl_num_platforms); + } + } + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int IcdSetPlatformDispatchDataKHR( + PlatformIdHandle platform, + void* dispatch_data + ) => Underlying.Value!.IcdSetPlatformDispatchDataKHR(platform, dispatch_data); + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int IcdSetPlatformDispatchDataKHR( + PlatformIdHandle platform, + Ref dispatch_data + ) + { + fixed (void* __dsl_dispatch_data = dispatch_data) + { + return (int)IcdSetPlatformDispatchDataKHR(platform, __dsl_dispatch_data); + } + } + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle ImportMemoryARM( + ContextHandle context, + ulong flags, + nint* properties, + void* memory, + nuint size, + int* errcode_ret + ) => + Underlying.Value!.ImportMemoryARM( + context, + flags, + properties, + memory, + size, + errcode_ret + ); + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MemHandle ImportMemoryARM( + ContextHandle context, + ulong flags, + Ref properties, + Ref memory, + nuint size, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_memory = memory) + fixed (nint* __dsl_properties = properties) + { + return (MemHandle)ImportMemoryARM( + context, + flags, + __dsl_properties, + __dsl_memory, + size, + __dsl_errcode_ret + ); + } + } + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle LinkProgram( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_programs, + ProgramHandle* input_programs, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ) => + Underlying.Value!.LinkProgram( + context, + num_devices, + device_list, + options, + num_input_programs, + input_programs, + pfn_notify, + user_data, + errcode_ret + ); + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ProgramHandle LinkProgram( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_programs, + Ref input_programs, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_user_data = user_data) + fixed (ProgramHandle* __dsl_input_programs = input_programs) + fixed (sbyte* __dsl_options = options) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (ProgramHandle)LinkProgram( + context, + num_devices, + __dsl_device_list, + __dsl_options, + num_input_programs, + __dsl_input_programs, + pfn_notify, + __dsl_user_data, + __dsl_errcode_ret + ); + } + } + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void LogMessagesToStderrAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ) => Underlying.Value!.LogMessagesToStderrAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void LogMessagesToStderrAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (void* __dsl_private_info = private_info) + fixed (sbyte* __dsl_errstr = errstr) + { + LogMessagesToStderrAPPLE(__dsl_errstr, __dsl_private_info, cb, __dsl_user_data); + } + } + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void LogMessagesToStdoutAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ) => Underlying.Value!.LogMessagesToStdoutAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void LogMessagesToStdoutAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (void* __dsl_private_info = private_info) + fixed (sbyte* __dsl_errstr = errstr) + { + LogMessagesToStdoutAPPLE(__dsl_errstr, __dsl_private_info, cb, __dsl_user_data); + } + } + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void LogMessagesToSystemLogAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ) => Underlying.Value!.LogMessagesToSystemLogAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void LogMessagesToSystemLogAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (void* __dsl_private_info = private_info) + fixed (sbyte* __dsl_errstr = errstr) + { + LogMessagesToSystemLogAPPLE(__dsl_errstr, __dsl_private_info, cb, __dsl_user_data); + } + } + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int MemBlockingFreeINTEL(ContextHandle context, void* ptr) => + Underlying.Value!.MemBlockingFreeINTEL(context, ptr); + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int MemBlockingFreeINTEL(ContextHandle context, Ref ptr) + { + fixed (void* __dsl_ptr = ptr) + { + return (int)MemBlockingFreeINTEL(context, __dsl_ptr); + } + } + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int MemFreeINTEL(ContextHandle context, void* ptr) => + Underlying.Value!.MemFreeINTEL(context, ptr); + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int MemFreeINTEL(ContextHandle context, Ref ptr) + { + fixed (void* __dsl_ptr = ptr) + { + return (int)MemFreeINTEL(context, __dsl_ptr); + } + } + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + ulong* reimport_props, + int fd + ) => Underlying.Value!.ReImportSemaphoreSyncFdKHR(sema_object, reimport_props, fd); + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + Ref reimport_props, + int fd + ) + { + fixed (ulong* __dsl_reimport_props = reimport_props) + { + return (int)ReImportSemaphoreSyncFdKHR(sema_object, __dsl_reimport_props, fd); + } + } + + [NativeName("clReleaseAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clReleaseAcceleratorINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReleaseAcceleratorINTEL(AcceleratorHandleINTEL accelerator) => + Underlying.Value!.ReleaseAcceleratorINTEL(accelerator); + + [NativeName("clReleaseCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseCommandQueue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReleaseCommandQueue(CommandQueueHandle command_queue) => + Underlying.Value!.ReleaseCommandQueue(command_queue); + + [NativeName("clReleaseContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReleaseContext(ContextHandle context) => + Underlying.Value!.ReleaseContext(context); + + [NativeName("clReleaseDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReleaseDevice(DeviceIdHandle device) => + Underlying.Value!.ReleaseDevice(device); + + [NativeName("clReleaseDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clReleaseDeviceEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReleaseDeviceEXT(DeviceIdHandle device) => + Underlying.Value!.ReleaseDeviceEXT(device); + + [NativeName("clReleaseEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReleaseEvent(EventHandle @event) => + Underlying.Value!.ReleaseEvent(@event); + + [NativeName("clReleaseKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReleaseKernel(KernelHandle kernel) => + Underlying.Value!.ReleaseKernel(kernel); + + [NativeName("clReleaseMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseMemObject")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReleaseMemObject(MemHandle memobj) => + Underlying.Value!.ReleaseMemObject(memobj); + + [NativeName("clReleaseProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReleaseProgram(ProgramHandle program) => + Underlying.Value!.ReleaseProgram(program); + + [NativeName("clReleaseSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseSampler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReleaseSampler(SamplerHandle sampler) => + Underlying.Value!.ReleaseSampler(sampler); + + [NativeName("clReleaseSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clReleaseSemaphoreKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int ReleaseSemaphoreKHR(SemaphoreHandleKHR sema_object) => + Underlying.Value!.ReleaseSemaphoreKHR(sema_object); + + [NativeName("clRetainAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clRetainAcceleratorINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int RetainAcceleratorINTEL(AcceleratorHandleINTEL accelerator) => + Underlying.Value!.RetainAcceleratorINTEL(accelerator); + + [NativeName("clRetainCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainCommandQueue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int RetainCommandQueue(CommandQueueHandle command_queue) => + Underlying.Value!.RetainCommandQueue(command_queue); + + [NativeName("clRetainContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int RetainContext(ContextHandle context) => + Underlying.Value!.RetainContext(context); + + [NativeName("clRetainDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clRetainDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int RetainDevice(DeviceIdHandle device) => + Underlying.Value!.RetainDevice(device); + + [NativeName("clRetainDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clRetainDeviceEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int RetainDeviceEXT(DeviceIdHandle device) => + Underlying.Value!.RetainDeviceEXT(device); + + [NativeName("clRetainEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int RetainEvent(EventHandle @event) => Underlying.Value!.RetainEvent(@event); + + [NativeName("clRetainKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainKernel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int RetainKernel(KernelHandle kernel) => + Underlying.Value!.RetainKernel(kernel); + + [NativeName("clRetainMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainMemObject")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int RetainMemObject(MemHandle memobj) => + Underlying.Value!.RetainMemObject(memobj); + + [NativeName("clRetainProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainProgram")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int RetainProgram(ProgramHandle program) => + Underlying.Value!.RetainProgram(program); + + [NativeName("clRetainSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainSampler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int RetainSampler(SamplerHandle sampler) => + Underlying.Value!.RetainSampler(sampler); + + [NativeName("clRetainSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clRetainSemaphoreKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int RetainSemaphoreKHR(SemaphoreHandleKHR sema_object) => + Underlying.Value!.RetainSemaphoreKHR(sema_object); + + [NativeName("clSetContentSizeBufferPoCL")] + [SupportedApiProfile("opencl", ["cl_pocl_content_size"])] + [NativeFunction("opencl", EntryPoint = "clSetContentSizeBufferPoCL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetContentSizeBufferPOCL( + MemHandle buffer, + MemHandle content_size_buffer + ) => Underlying.Value!.SetContentSizeBufferPOCL(buffer, content_size_buffer); + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + void* user_data + ) => Underlying.Value!.SetContextDestructorCallback(context, pfn_notify, user_data); + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int)SetContextDestructorCallback(context, pfn_notify, __dsl_user_data); + } + } + + [NativeName("clSetDefaultDeviceCommandQueue")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetDefaultDeviceCommandQueue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetDefaultDeviceCommandQueue( + ContextHandle context, + DeviceIdHandle device, + CommandQueueHandle command_queue + ) => Underlying.Value!.SetDefaultDeviceCommandQueue(context, device, command_queue); + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + void* user_data + ) => + Underlying.Value!.SetEventCallback( + @event, + command_exec_callback_type, + pfn_notify, + user_data + ); + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int)SetEventCallback( + @event, + command_exec_callback_type, + pfn_notify, + __dsl_user_data + ); + } + } + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArg( + KernelHandle kernel, + uint arg_index, + nuint arg_size, + void* arg_value + ) => Underlying.Value!.SetKernelArg(kernel, arg_index, arg_size, arg_value); + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArg( + KernelHandle kernel, + uint arg_index, + nuint arg_size, + Ref arg_value + ) + { + fixed (void* __dsl_arg_value = arg_value) + { + return (int)SetKernelArg(kernel, arg_index, arg_size, __dsl_arg_value); + } + } + + [NativeName("clSetKernelArgDevicePointerEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_buffer_device_address"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgDevicePointerEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArgDevicePointerEXT( + KernelHandle kernel, + uint arg_index, + ulong arg_value + ) => Underlying.Value!.SetKernelArgDevicePointerEXT(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArgMemPointerINTEL( + KernelHandle kernel, + uint arg_index, + void* arg_value + ) => Underlying.Value!.SetKernelArgMemPointerINTEL(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArgMemPointerINTEL( + KernelHandle kernel, + uint arg_index, + Ref arg_value + ) + { + fixed (void* __dsl_arg_value = arg_value) + { + return (int)SetKernelArgMemPointerINTEL(kernel, arg_index, __dsl_arg_value); + } + } + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArgSvmPointer( + KernelHandle kernel, + uint arg_index, + void* arg_value + ) => Underlying.Value!.SetKernelArgSvmPointer(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArgSvmPointer(KernelHandle kernel, uint arg_index, Ref arg_value) + { + fixed (void* __dsl_arg_value = arg_value) + { + return (int)SetKernelArgSvmPointer(kernel, arg_index, __dsl_arg_value); + } + } + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArgSvmPointerARM( + KernelHandle kernel, + uint arg_index, + void* arg_value + ) => Underlying.Value!.SetKernelArgSvmPointerARM(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelArgSvmPointerARM( + KernelHandle kernel, + uint arg_index, + Ref arg_value + ) + { + fixed (void* __dsl_arg_value = arg_value) + { + return (int)SetKernelArgSvmPointerARM(kernel, arg_index, __dsl_arg_value); + } + } + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ) => Underlying.Value!.SetKernelExecInfo(kernel, param_name, param_value_size, param_value); + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ) + { + fixed (void* __dsl_param_value = param_value) + { + return (int)SetKernelExecInfo( + kernel, + param_name, + param_value_size, + __dsl_param_value + ); + } + } + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ) => + Underlying.Value!.SetKernelExecInfoARM( + kernel, + param_name, + param_value_size, + param_value + ); + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ) + { + fixed (void* __dsl_param_value = param_value) + { + return (int)SetKernelExecInfoARM( + kernel, + param_name, + param_value_size, + __dsl_param_value + ); + } + } + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ) => Underlying.Value!.SetMemObjectDestructorAPPLE(memobj, pfn_notify, user_data); + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int)SetMemObjectDestructorAPPLE(memobj, pfn_notify, __dsl_user_data); + } + } + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ) => Underlying.Value!.SetMemObjectDestructorCallback(memobj, pfn_notify, user_data); + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int)SetMemObjectDestructorCallback(memobj, pfn_notify, __dsl_user_data); + } + } + + [NativeName("clSetPerfHintQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_perf_hint"])] + [NativeFunction("opencl", EntryPoint = "clSetPerfHintQCOM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetPerfHintQCOM(ContextHandle context, uint perf_hint) => + Underlying.Value!.SetPerfHintQCOM(context, perf_hint); + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + void* user_data + ) => Underlying.Value!.SetProgramReleaseCallback(program, pfn_notify, user_data); + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int)SetProgramReleaseCallback(program, pfn_notify, __dsl_user_data); + } + } + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + void* spec_value + ) => + Underlying.Value!.SetProgramSpecializationConstant( + program, + spec_id, + spec_size, + spec_value + ); + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + Ref spec_value + ) + { + fixed (void* __dsl_spec_value = spec_value) + { + return (int)SetProgramSpecializationConstant( + program, + spec_id, + spec_size, + __dsl_spec_value + ); + } + } + + [NativeName("clSetUserEventStatus")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetUserEventStatus")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int SetUserEventStatus(EventHandle @event, int execution_status) => + Underlying.Value!.SetUserEventStatus(@event, execution_status); + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ) => + Underlying.Value!.SharedMemAllocINTEL( + context, + device, + properties, + size, + alignment, + errcode_ret + ); + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (void*)SharedMemAllocINTEL( + context, + device, + __dsl_properties, + size, + alignment, + __dsl_errcode_ret + ); + } + } + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr SvmAlloc( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ) => Underlying.Value!.SvmAlloc(context, flags, size, alignment); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr SvmAllocARM( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ) => Underlying.Value!.SvmAllocARM(context, flags, size, alignment); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* SvmAllocRawARM( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ) => Underlying.Value!.SvmAllocRawARM(context, flags, size, alignment); + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* SvmAllocRaw( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ) => Underlying.Value!.SvmAllocRaw(context, flags, size, alignment); + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SvmFree(ContextHandle context, void* svm_pointer) => + Underlying.Value!.SvmFree(context, svm_pointer); + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SvmFree(ContextHandle context, Ref svm_pointer) + { + fixed (void* __dsl_svm_pointer = svm_pointer) + { + SvmFree(context, __dsl_svm_pointer); + } + } + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SvmFreeARM(ContextHandle context, void* svm_pointer) => + Underlying.Value!.SvmFreeARM(context, svm_pointer); + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SvmFreeARM(ContextHandle context, Ref svm_pointer) + { + fixed (void* __dsl_svm_pointer = svm_pointer) + { + SvmFreeARM(context, __dsl_svm_pointer); + } + } + + [NativeName("clTerminateContextKHR")] + [SupportedApiProfile("opencl", ["cl_khr_terminate_context"])] + [NativeFunction("opencl", EntryPoint = "clTerminateContextKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int TerminateContextKHR(ContextHandle context) => + Underlying.Value!.TerminateContextKHR(context); + + [NativeName("clUnloadCompiler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clUnloadCompiler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int UnloadCompiler() => Underlying.Value!.UnloadCompiler(); + + [NativeName("clUnloadPlatformCompiler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clUnloadPlatformCompiler")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int UnloadPlatformCompiler(PlatformIdHandle platform) => + Underlying.Value!.UnloadPlatformCompiler(platform); + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int WaitForEvents(uint num_events, EventHandle* event_list) => + Underlying.Value!.WaitForEvents(num_events, event_list); + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int WaitForEvents(uint num_events, Ref event_list) + { + fixed (EventHandle* __dsl_event_list = event_list) + { + return (int)WaitForEvents(num_events, __dsl_event_list); + } + } + } + + [NativeName("CL_NAME_VERSION_MAX_NAME_SIZE")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + public const int NameVersionMaxNameSize = 64; + + [NativeName("CL_DEVICE_PARTITION_BY_COUNTS_LIST_END")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + public const int DevicePartitionByCountsListEnd = 0x0; + + [NativeName("CL_VERSION_MAJOR_BITS")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + public const int VersionMajorBits = (10); + + [NativeName("CL_VERSION_MINOR_BITS")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + public const int VersionMinorBits = (10); + + [NativeName("CL_VERSION_PATCH_BITS")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + public const int VersionPatchBits = (12); + + [NativeName("CL_VERSION_MAJOR_MASK")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + public const int VersionMajorMask = ((1 << (10)) - 1); + + [NativeName("CL_VERSION_MINOR_MASK")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + public const int VersionMinorMask = ((1 << (10)) - 1); + + [NativeName("CL_VERSION_PATCH_MASK")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + public const int VersionPatchMask = ((1 << (12)) - 1); + + [NativeName("CL_UUID_SIZE")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + public const int UuidSize = 16; + + [NativeName("CL_LUID_SIZE")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + public const int LuidSize = 8; + + [NativeName("CL_KHR_FP64_EXTENSION_NAME")] + public static ReadOnlySpan KhrFp64ExtensionName => "cl_khr_fp64"u8; + + [NativeName("CL_KHR_FP64_EXTENSION_VERSION")] + public const int KhrFp64ExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_FP16_EXTENSION_NAME")] + public static ReadOnlySpan KhrFp16ExtensionName => "cl_khr_fp16"u8; + + [NativeName("CL_KHR_FP16_EXTENSION_VERSION")] + public const int KhrFp16ExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_APPLE_SETMEMOBJECTDESTRUCTOR_EXTENSION_NAME")] + public static ReadOnlySpan AppleSetmemobjectdestructorExtensionName => + "cl_APPLE_SetMemObjectDestructor"u8; + + [NativeName("CL_APPLE_SETMEMOBJECTDESTRUCTOR_EXTENSION_VERSION")] + public const int AppleSetmemobjectdestructorExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_APPLE_CONTEXTLOGGINGFUNCTIONS_EXTENSION_NAME")] + public static ReadOnlySpan AppleContextloggingfunctionsExtensionName => + "cl_APPLE_ContextLoggingFunctions"u8; + + [NativeName("CL_APPLE_CONTEXTLOGGINGFUNCTIONS_EXTENSION_VERSION")] + public const int AppleContextloggingfunctionsExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_ICD_EXTENSION_NAME")] + public static ReadOnlySpan KhrIcdExtensionName => "cl_khr_icd"u8; + + [NativeName("CL_KHR_ICD_EXTENSION_VERSION")] + public const int KhrIcdExtensionVersion = ( + (((2) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((1) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_ICD2_TAG_KHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + public const nint Icd2TagKHR = unchecked((nint)(0x4F50454E434C3331)); + + [NativeName("CL_KHR_ICD_UNLOADABLE_EXTENSION_NAME")] + public static ReadOnlySpan KhrIcdUnloadableExtensionName => "cl_khr_icd_unloadable"u8; + + [NativeName("CL_KHR_ICD_UNLOADABLE_EXTENSION_VERSION")] + public const int KhrIcdUnloadableExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_IL_PROGRAM_EXTENSION_NAME")] + public static ReadOnlySpan KhrIlProgramExtensionName => "cl_khr_il_program"u8; + + [NativeName("CL_KHR_IL_PROGRAM_EXTENSION_VERSION")] + public const int KhrIlProgramExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_IMAGE2D_FROM_BUFFER_EXTENSION_NAME")] + public static ReadOnlySpan KhrImage2DFromBufferExtensionName => + "cl_khr_image2d_from_buffer"u8; + + [NativeName("CL_KHR_IMAGE2D_FROM_BUFFER_EXTENSION_VERSION")] + public const int KhrImage2DFromBufferExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_INITIALIZE_MEMORY_EXTENSION_NAME")] + public static ReadOnlySpan KhrInitializeMemoryExtensionName => + "cl_khr_initialize_memory"u8; + + [NativeName("CL_KHR_INITIALIZE_MEMORY_EXTENSION_VERSION")] + public const int KhrInitializeMemoryExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_TERMINATE_CONTEXT_EXTENSION_NAME")] + public static ReadOnlySpan KhrTerminateContextExtensionName => + "cl_khr_terminate_context"u8; + + [NativeName("CL_KHR_TERMINATE_CONTEXT_EXTENSION_VERSION")] + public const int KhrTerminateContextExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SPIR_EXTENSION_NAME")] + public static ReadOnlySpan KhrSpirExtensionName => "cl_khr_spir"u8; + + [NativeName("CL_KHR_SPIR_EXTENSION_VERSION")] + public const int KhrSpirExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_CREATE_COMMAND_QUEUE_EXTENSION_NAME")] + public static ReadOnlySpan KhrCreateCommandQueueExtensionName => + "cl_khr_create_command_queue"u8; + + [NativeName("CL_KHR_CREATE_COMMAND_QUEUE_EXTENSION_VERSION")] + public const int KhrCreateCommandQueueExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_NV_DEVICE_ATTRIBUTE_QUERY_EXTENSION_NAME")] + public static ReadOnlySpan NvDeviceAttributeQueryExtensionName => + "cl_nv_device_attribute_query"u8; + + [NativeName("CL_NV_DEVICE_ATTRIBUTE_QUERY_EXTENSION_VERSION")] + public const int NvDeviceAttributeQueryExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_AMD_DEVICE_ATTRIBUTE_QUERY_EXTENSION_NAME")] + public static ReadOnlySpan AmdDeviceAttributeQueryExtensionName => + "cl_amd_device_attribute_query"u8; + + [NativeName("CL_AMD_DEVICE_ATTRIBUTE_QUERY_EXTENSION_VERSION")] + public const int AmdDeviceAttributeQueryExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_ARM_PRINTF_EXTENSION_NAME")] + public static ReadOnlySpan ArmPrintfExtensionName => "cl_arm_printf"u8; + + [NativeName("CL_ARM_PRINTF_EXTENSION_VERSION")] + public const int ArmPrintfExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_EXT_DEVICE_FISSION_EXTENSION_NAME")] + public static ReadOnlySpan ExtDeviceFissionExtensionName => "cl_ext_device_fission"u8; + + [NativeName("CL_EXT_DEVICE_FISSION_EXTENSION_VERSION")] + public const int ExtDeviceFissionExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_PROPERTIES_LIST_END_EXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + public const ulong PropertiesListEndEXT = ((ulong)(0)); + + [NativeName("CL_PARTITION_BY_COUNTS_LIST_END_EXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + public const ulong PartitionByCountsListEndEXT = ((ulong)(0)); + + [NativeName("CL_PARTITION_BY_NAMES_LIST_END_EXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + public const ulong PartitionByNamesListEndEXT = unchecked((ulong)(0) - 1); + + [NativeName("CL_EXT_MIGRATE_MEMOBJECT_EXTENSION_NAME")] + public static ReadOnlySpan ExtMigrateMemobjectExtensionName => + "cl_ext_migrate_memobject"u8; + + [NativeName("CL_EXT_MIGRATE_MEMOBJECT_EXTENSION_VERSION")] + public const int ExtMigrateMemobjectExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_EXT_CXX_FOR_OPENCL_EXTENSION_NAME")] + public static ReadOnlySpan ExtCxxForOpenclExtensionName => "cl_ext_cxx_for_opencl"u8; + + [NativeName("CL_EXT_CXX_FOR_OPENCL_EXTENSION_VERSION")] + public const int ExtCxxForOpenclExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_QCOM_EXT_HOST_PTR_EXTENSION_NAME")] + public static ReadOnlySpan QcomExtHostPtrExtensionName => "cl_qcom_ext_host_ptr"u8; + + [NativeName("CL_QCOM_EXT_HOST_PTR_EXTENSION_VERSION")] + public const int QcomExtHostPtrExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_QCOM_EXT_HOST_PTR_IOCOHERENT_EXTENSION_NAME")] + public static ReadOnlySpan QcomExtHostPtrIocoherentExtensionName => + "cl_qcom_ext_host_ptr_iocoherent"u8; + + [NativeName("CL_QCOM_EXT_HOST_PTR_IOCOHERENT_EXTENSION_VERSION")] + public const int QcomExtHostPtrIocoherentExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_QCOM_ION_HOST_PTR_EXTENSION_NAME")] + public static ReadOnlySpan QcomIonHostPtrExtensionName => "cl_qcom_ion_host_ptr"u8; + + [NativeName("CL_QCOM_ION_HOST_PTR_EXTENSION_VERSION")] + public const int QcomIonHostPtrExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_QCOM_ANDROID_NATIVE_BUFFER_HOST_PTR_EXTENSION_NAME")] + public static ReadOnlySpan QcomAndroidNativeBufferHostPtrExtensionName => + "cl_qcom_android_native_buffer_host_ptr"u8; + + [NativeName("CL_QCOM_ANDROID_NATIVE_BUFFER_HOST_PTR_EXTENSION_VERSION")] + public const int QcomAndroidNativeBufferHostPtrExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_IMG_YUV_IMAGE_EXTENSION_NAME")] + public static ReadOnlySpan ImgYuvImageExtensionName => "cl_img_yuv_image"u8; + + [NativeName("CL_IMG_YUV_IMAGE_EXTENSION_VERSION")] + public const int ImgYuvImageExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_IMG_CACHED_ALLOCATIONS_EXTENSION_NAME")] + public static ReadOnlySpan ImgCachedAllocationsExtensionName => + "cl_img_cached_allocations"u8; + + [NativeName("CL_IMG_CACHED_ALLOCATIONS_EXTENSION_VERSION")] + public const int ImgCachedAllocationsExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_IMG_USE_GRALLOC_PTR_EXTENSION_NAME")] + public static ReadOnlySpan ImgUseGrallocPtrExtensionName => "cl_img_use_gralloc_ptr"u8; + + [NativeName("CL_IMG_USE_GRALLOC_PTR_EXTENSION_VERSION")] + public const int ImgUseGrallocPtrExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_IMG_GENERATE_MIPMAP_EXTENSION_NAME")] + public static ReadOnlySpan ImgGenerateMipmapExtensionName => "cl_img_generate_mipmap"u8; + + [NativeName("CL_IMG_GENERATE_MIPMAP_EXTENSION_VERSION")] + public const int ImgGenerateMipmapExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_IMG_MEM_PROPERTIES_EXTENSION_NAME")] + public static ReadOnlySpan ImgMemPropertiesExtensionName => "cl_img_mem_properties"u8; + + [NativeName("CL_IMG_MEM_PROPERTIES_EXTENSION_VERSION")] + public const int ImgMemPropertiesExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SUBGROUPS_EXTENSION_NAME")] + public static ReadOnlySpan KhrSubgroupsExtensionName => "cl_khr_subgroups"u8; + + [NativeName("CL_KHR_SUBGROUPS_EXTENSION_VERSION")] + public const int KhrSubgroupsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_MIPMAP_IMAGE_EXTENSION_NAME")] + public static ReadOnlySpan KhrMipmapImageExtensionName => "cl_khr_mipmap_image"u8; + + [NativeName("CL_KHR_MIPMAP_IMAGE_EXTENSION_VERSION")] + public const int KhrMipmapImageExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_PRIORITY_HINTS_EXTENSION_NAME")] + public static ReadOnlySpan KhrPriorityHintsExtensionName => "cl_khr_priority_hints"u8; + + [NativeName("CL_KHR_PRIORITY_HINTS_EXTENSION_VERSION")] + public const int KhrPriorityHintsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_THROTTLE_HINTS_EXTENSION_NAME")] + public static ReadOnlySpan KhrThrottleHintsExtensionName => "cl_khr_throttle_hints"u8; + + [NativeName("CL_KHR_THROTTLE_HINTS_EXTENSION_VERSION")] + public const int KhrThrottleHintsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SUBGROUP_NAMED_BARRIER_EXTENSION_NAME")] + public static ReadOnlySpan KhrSubgroupNamedBarrierExtensionName => + "cl_khr_subgroup_named_barrier"u8; + + [NativeName("CL_KHR_SUBGROUP_NAMED_BARRIER_EXTENSION_VERSION")] + public const int KhrSubgroupNamedBarrierExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_EXTENDED_VERSIONING_EXTENSION_NAME")] + public static ReadOnlySpan KhrExtendedVersioningExtensionName => + "cl_khr_extended_versioning"u8; + + [NativeName("CL_KHR_EXTENDED_VERSIONING_EXTENSION_VERSION")] + public const int KhrExtendedVersioningExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_VERSION_MAJOR_BITS_KHR")] + [SupportedApiProfile("opencl", ["cl_khr_extended_versioning"])] + public const int VersionMajorBitsKHR = 10; + + [NativeName("CL_VERSION_MINOR_BITS_KHR")] + [SupportedApiProfile("opencl", ["cl_khr_extended_versioning"])] + public const int VersionMinorBitsKHR = 10; + + [NativeName("CL_VERSION_PATCH_BITS_KHR")] + [SupportedApiProfile("opencl", ["cl_khr_extended_versioning"])] + public const int VersionPatchBitsKHR = 12; + + [NativeName("CL_VERSION_MAJOR_MASK_KHR")] + [SupportedApiProfile("opencl", ["cl_khr_extended_versioning"])] + public const int VersionMajorMaskKHR = ((1 << 10) - 1); + + [NativeName("CL_VERSION_MINOR_MASK_KHR")] + [SupportedApiProfile("opencl", ["cl_khr_extended_versioning"])] + public const int VersionMinorMaskKHR = ((1 << 10) - 1); + + [NativeName("CL_VERSION_PATCH_MASK_KHR")] + [SupportedApiProfile("opencl", ["cl_khr_extended_versioning"])] + public const int VersionPatchMaskKHR = ((1 << 12) - 1); + + [NativeName("CL_NAME_VERSION_MAX_NAME_SIZE_KHR")] + [SupportedApiProfile("opencl", ["cl_khr_extended_versioning"])] + public const int NameVersionMaxNameSizeKHR = 64; + + [NativeName("CL_KHR_DEVICE_UUID_EXTENSION_NAME")] + public static ReadOnlySpan KhrDeviceUuidExtensionName => "cl_khr_device_uuid"u8; + + [NativeName("CL_KHR_DEVICE_UUID_EXTENSION_VERSION")] + public const int KhrDeviceUuidExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_UUID_SIZE_KHR")] + [SupportedApiProfile("opencl", ["cl_khr_device_uuid"])] + public const int UuidSizeKHR = 16; + + [NativeName("CL_LUID_SIZE_KHR")] + [SupportedApiProfile("opencl", ["cl_khr_device_uuid"])] + public const int LuidSizeKHR = 8; + + [NativeName("CL_KHR_PCI_BUS_INFO_EXTENSION_NAME")] + public static ReadOnlySpan KhrPciBusInfoExtensionName => "cl_khr_pci_bus_info"u8; + + [NativeName("CL_KHR_PCI_BUS_INFO_EXTENSION_VERSION")] + public const int KhrPciBusInfoExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SUGGESTED_LOCAL_WORK_SIZE_EXTENSION_NAME")] + public static ReadOnlySpan KhrSuggestedLocalWorkSizeExtensionName => + "cl_khr_suggested_local_work_size"u8; + + [NativeName("CL_KHR_SUGGESTED_LOCAL_WORK_SIZE_EXTENSION_VERSION")] + public const int KhrSuggestedLocalWorkSizeExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_INTEGER_DOT_PRODUCT_EXTENSION_NAME")] + public static ReadOnlySpan KhrIntegerDotProductExtensionName => + "cl_khr_integer_dot_product"u8; + + [NativeName("CL_KHR_INTEGER_DOT_PRODUCT_EXTENSION_VERSION")] + public const int KhrIntegerDotProductExtensionVersion = ( + (((2) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_EXTERNAL_MEMORY_EXTENSION_NAME")] + public static ReadOnlySpan KhrExternalMemoryExtensionName => "cl_khr_external_memory"u8; + + [NativeName("CL_KHR_EXTERNAL_MEMORY_EXTENSION_VERSION")] + public const int KhrExternalMemoryExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((1) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_MEM_DEVICE_HANDLE_LIST_END_KHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + public const int MemDeviceHandleListEndKHR = 0; + + [NativeName("CL_KHR_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_NAME")] + public static ReadOnlySpan KhrExternalMemoryDmaBufExtensionName => + "cl_khr_external_memory_dma_buf"u8; + + [NativeName("CL_KHR_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_VERSION")] + public const int KhrExternalMemoryDmaBufExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_EXTERNAL_MEMORY_OPAQUE_FD_EXTENSION_NAME")] + public static ReadOnlySpan KhrExternalMemoryOpaqueFdExtensionName => + "cl_khr_external_memory_opaque_fd"u8; + + [NativeName("CL_KHR_EXTERNAL_MEMORY_OPAQUE_FD_EXTENSION_VERSION")] + public const int KhrExternalMemoryOpaqueFdExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME")] + public static ReadOnlySpan KhrExternalMemoryWin32ExtensionName => + "cl_khr_external_memory_win32"u8; + + [NativeName("CL_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_VERSION")] + public const int KhrExternalMemoryWin32ExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((1) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_EXTERNAL_SEMAPHORE_EXTENSION_NAME")] + public static ReadOnlySpan KhrExternalSemaphoreExtensionName => + "cl_khr_external_semaphore"u8; + + [NativeName("CL_KHR_EXTERNAL_SEMAPHORE_EXTENSION_VERSION")] + public const int KhrExternalSemaphoreExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((1) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_SEMAPHORE_EXPORT_HANDLE_TYPES_LIST_END_KHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + public const int SemaphoreExportHandleTypesListEndKHR = 0; + + [NativeName("CL_KHR_EXTERNAL_SEMAPHORE_OPAQUE_FD_EXTENSION_NAME")] + public static ReadOnlySpan KhrExternalSemaphoreOpaqueFdExtensionName => + "cl_khr_external_semaphore_opaque_fd"u8; + + [NativeName("CL_KHR_EXTERNAL_SEMAPHORE_OPAQUE_FD_EXTENSION_VERSION")] + public const int KhrExternalSemaphoreOpaqueFdExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_EXTERNAL_SEMAPHORE_SYNC_FD_EXTENSION_NAME")] + public static ReadOnlySpan KhrExternalSemaphoreSyncFdExtensionName => + "cl_khr_external_semaphore_sync_fd"u8; + + [NativeName("CL_KHR_EXTERNAL_SEMAPHORE_SYNC_FD_EXTENSION_VERSION")] + public const int KhrExternalSemaphoreSyncFdExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SEMAPHORE_EXTENSION_NAME")] + public static ReadOnlySpan KhrSemaphoreExtensionName => "cl_khr_semaphore"u8; + + [NativeName("CL_KHR_SEMAPHORE_EXTENSION_VERSION")] + public const int KhrSemaphoreExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_SEMAPHORE_DEVICE_HANDLE_LIST_END_KHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + public const int SemaphoreDeviceHandleListEndKHR = 0; + + [NativeName("CL_ARM_IMPORT_MEMORY_EXTENSION_NAME")] + public static ReadOnlySpan ArmImportMemoryExtensionName => "cl_arm_import_memory"u8; + + [NativeName("CL_ARM_IMPORT_MEMORY_EXTENSION_VERSION")] + public const int ArmImportMemoryExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_IMPORT_MEMORY_WHOLE_ALLOCATION_ARM")] + [SupportedApiProfile( + "opencl", + ["cl_arm_import_memory_android_hardware_buffer"], + ImpliesSets = ["cl_arm_import_memory"] + )] + public const nuint ImportMemoryWholeAllocationARM = (18446744073709551615U); + + [NativeName("CL_ARM_SHARED_VIRTUAL_MEMORY_EXTENSION_NAME")] + public static ReadOnlySpan ArmSharedVirtualMemoryExtensionName => + "cl_arm_shared_virtual_memory"u8; + + [NativeName("CL_ARM_SHARED_VIRTUAL_MEMORY_EXTENSION_VERSION")] + public const int ArmSharedVirtualMemoryExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("cl_arm_get_core_id")] + public const int ArmGetCoreId = 1; + + [NativeName("CL_ARM_GET_CORE_ID_EXTENSION_NAME")] + public static ReadOnlySpan ArmGetCoreIdExtensionName => "cl_arm_get_core_id"u8; + + [NativeName("CL_ARM_GET_CORE_ID_EXTENSION_VERSION")] + public const int ArmGetCoreIdExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_ARM_JOB_SLOT_SELECTION_EXTENSION_NAME")] + public static ReadOnlySpan ArmJobSlotSelectionExtensionName => + "cl_arm_job_slot_selection"u8; + + [NativeName("CL_ARM_JOB_SLOT_SELECTION_EXTENSION_VERSION")] + public const int ArmJobSlotSelectionExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_ARM_SCHEDULING_CONTROLS_EXTENSION_NAME")] + public static ReadOnlySpan ArmSchedulingControlsExtensionName => + "cl_arm_scheduling_controls"u8; + + [NativeName("CL_ARM_SCHEDULING_CONTROLS_EXTENSION_VERSION")] + public const int ArmSchedulingControlsExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_ARM_CONTROLLED_KERNEL_TERMINATION_EXTENSION_NAME")] + public static ReadOnlySpan ArmControlledKernelTerminationExtensionName => + "cl_arm_controlled_kernel_termination"u8; + + [NativeName("CL_ARM_CONTROLLED_KERNEL_TERMINATION_EXTENSION_VERSION")] + public const int ArmControlledKernelTerminationExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_ARM_PROTECTED_MEMORY_ALLOCATION_EXTENSION_NAME")] + public static ReadOnlySpan ArmProtectedMemoryAllocationExtensionName => + "cl_arm_protected_memory_allocation"u8; + + [NativeName("CL_ARM_PROTECTED_MEMORY_ALLOCATION_EXTENSION_VERSION")] + public const int ArmProtectedMemoryAllocationExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_EXEC_BY_LOCAL_THREAD_EXTENSION_NAME")] + public static ReadOnlySpan IntelExecByLocalThreadExtensionName => + "cl_intel_exec_by_local_thread"u8; + + [NativeName("CL_INTEL_EXEC_BY_LOCAL_THREAD_EXTENSION_VERSION")] + public const int IntelExecByLocalThreadExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_DEVICE_ATTRIBUTE_QUERY_EXTENSION_NAME")] + public static ReadOnlySpan IntelDeviceAttributeQueryExtensionName => + "cl_intel_device_attribute_query"u8; + + [NativeName("CL_INTEL_DEVICE_ATTRIBUTE_QUERY_EXTENSION_VERSION")] + public const int IntelDeviceAttributeQueryExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_DEVICE_PARTITION_BY_NAMES_EXTENSION_NAME")] + public static ReadOnlySpan IntelDevicePartitionByNamesExtensionName => + "cl_intel_device_partition_by_names"u8; + + [NativeName("CL_INTEL_DEVICE_PARTITION_BY_NAMES_EXTENSION_VERSION")] + public const int IntelDevicePartitionByNamesExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_PARTITION_BY_NAMES_LIST_END_INTEL")] + [SupportedApiProfile("opencl", ["cl_intel_device_partition_by_names"])] + public const int PartitionByNamesListEndINTEL = -1; + + [NativeName("CL_INTEL_ACCELERATOR_EXTENSION_NAME")] + public static ReadOnlySpan IntelAcceleratorExtensionName => "cl_intel_accelerator"u8; + + [NativeName("CL_INTEL_ACCELERATOR_EXTENSION_VERSION")] + public const int IntelAcceleratorExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_MOTION_ESTIMATION_EXTENSION_NAME")] + public static ReadOnlySpan IntelMotionEstimationExtensionName => + "cl_intel_motion_estimation"u8; + + [NativeName("CL_INTEL_MOTION_ESTIMATION_EXTENSION_VERSION")] + public const int IntelMotionEstimationExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_ADVANCED_MOTION_ESTIMATION_EXTENSION_NAME")] + public static ReadOnlySpan IntelAdvancedMotionEstimationExtensionName => + "cl_intel_advanced_motion_estimation"u8; + + [NativeName("CL_INTEL_ADVANCED_MOTION_ESTIMATION_EXTENSION_VERSION")] + public const int IntelAdvancedMotionEstimationExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_SIMULTANEOUS_SHARING_EXTENSION_NAME")] + public static ReadOnlySpan IntelSimultaneousSharingExtensionName => + "cl_intel_simultaneous_sharing"u8; + + [NativeName("CL_INTEL_SIMULTANEOUS_SHARING_EXTENSION_VERSION")] + public const int IntelSimultaneousSharingExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_EGL_IMAGE_YUV_EXTENSION_NAME")] + public static ReadOnlySpan IntelEglImageYuvExtensionName => "cl_intel_egl_image_yuv"u8; + + [NativeName("CL_INTEL_EGL_IMAGE_YUV_EXTENSION_VERSION")] + public const int IntelEglImageYuvExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_PACKED_YUV_EXTENSION_NAME")] + public static ReadOnlySpan IntelPackedYuvExtensionName => "cl_intel_packed_yuv"u8; + + [NativeName("CL_INTEL_PACKED_YUV_EXTENSION_VERSION")] + public const int IntelPackedYuvExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_REQUIRED_SUBGROUP_SIZE_EXTENSION_NAME")] + public static ReadOnlySpan IntelRequiredSubgroupSizeExtensionName => + "cl_intel_required_subgroup_size"u8; + + [NativeName("CL_INTEL_REQUIRED_SUBGROUP_SIZE_EXTENSION_VERSION")] + public const int IntelRequiredSubgroupSizeExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_DRIVER_DIAGNOSTICS_EXTENSION_NAME")] + public static ReadOnlySpan IntelDriverDiagnosticsExtensionName => + "cl_intel_driver_diagnostics"u8; + + [NativeName("CL_INTEL_DRIVER_DIAGNOSTICS_EXTENSION_VERSION")] + public const int IntelDriverDiagnosticsExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_PLANAR_YUV_EXTENSION_NAME")] + public static ReadOnlySpan IntelPlanarYuvExtensionName => "cl_intel_planar_yuv"u8; + + [NativeName("CL_INTEL_PLANAR_YUV_EXTENSION_VERSION")] + public const int IntelPlanarYuvExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_DEVICE_SIDE_AVC_MOTION_ESTIMATION_EXTENSION_NAME")] + public static ReadOnlySpan IntelDeviceSideAvcMotionEstimationExtensionName => + "cl_intel_device_side_avc_motion_estimation"u8; + + [NativeName("CL_INTEL_DEVICE_SIDE_AVC_MOTION_ESTIMATION_EXTENSION_VERSION")] + public const int IntelDeviceSideAvcMotionEstimationExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_UNIFIED_SHARED_MEMORY_EXTENSION_NAME")] + public static ReadOnlySpan IntelUnifiedSharedMemoryExtensionName => + "cl_intel_unified_shared_memory"u8; + + [NativeName("CL_INTEL_UNIFIED_SHARED_MEMORY_EXTENSION_VERSION")] + public const int IntelUnifiedSharedMemoryExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((1) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_MEM_ALLOC_BUFFER_LOCATION_EXTENSION_NAME")] + public static ReadOnlySpan IntelMemAllocBufferLocationExtensionName => + "cl_intel_mem_alloc_buffer_location"u8; + + [NativeName("CL_INTEL_MEM_ALLOC_BUFFER_LOCATION_EXTENSION_VERSION")] + public const int IntelMemAllocBufferLocationExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_CREATE_BUFFER_WITH_PROPERTIES_EXTENSION_NAME")] + public static ReadOnlySpan IntelCreateBufferWithPropertiesExtensionName => + "cl_intel_create_buffer_with_properties"u8; + + [NativeName("CL_INTEL_CREATE_BUFFER_WITH_PROPERTIES_EXTENSION_VERSION")] + public const int IntelCreateBufferWithPropertiesExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_PROGRAM_SCOPE_HOST_PIPE_EXTENSION_NAME")] + public static ReadOnlySpan IntelProgramScopeHostPipeExtensionName => + "cl_intel_program_scope_host_pipe"u8; + + [NativeName("CL_INTEL_PROGRAM_SCOPE_HOST_PIPE_EXTENSION_VERSION")] + public const int IntelProgramScopeHostPipeExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_MEM_CHANNEL_PROPERTY_EXTENSION_NAME")] + public static ReadOnlySpan IntelMemChannelPropertyExtensionName => + "cl_intel_mem_channel_property"u8; + + [NativeName("CL_INTEL_MEM_CHANNEL_PROPERTY_EXTENSION_VERSION")] + public const int IntelMemChannelPropertyExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_MEM_FORCE_HOST_MEMORY_EXTENSION_NAME")] + public static ReadOnlySpan IntelMemForceHostMemoryExtensionName => + "cl_intel_mem_force_host_memory"u8; + + [NativeName("CL_INTEL_MEM_FORCE_HOST_MEMORY_EXTENSION_VERSION")] + public const int IntelMemForceHostMemoryExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_COMMAND_QUEUE_FAMILIES_EXTENSION_NAME")] + public static ReadOnlySpan IntelCommandQueueFamiliesExtensionName => + "cl_intel_command_queue_families"u8; + + [NativeName("CL_INTEL_COMMAND_QUEUE_FAMILIES_EXTENSION_VERSION")] + public const int IntelCommandQueueFamiliesExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_QUEUE_FAMILY_MAX_NAME_SIZE_INTEL")] + [SupportedApiProfile("opencl", ["cl_intel_command_queue_families"])] + public const int QueueFamilyMaxNameSizeINTEL = 64; + + [NativeName("CL_QUEUE_DEFAULT_CAPABILITIES_INTEL")] + [SupportedApiProfile("opencl", ["cl_intel_command_queue_families"])] + public const int QueueDefaultCapabilitiesINTEL = 0; + + [NativeName("CL_INTEL_QUEUE_NO_SYNC_OPERATIONS_EXTENSION_NAME")] + public static ReadOnlySpan IntelQueueNoSyncOperationsExtensionName => + "cl_intel_queue_no_sync_operations"u8; + + [NativeName("CL_INTEL_QUEUE_NO_SYNC_OPERATIONS_EXTENSION_VERSION")] + public const int IntelQueueNoSyncOperationsExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_SHARING_FORMAT_QUERY_EXTENSION_NAME")] + public static ReadOnlySpan IntelSharingFormatQueryExtensionName => + "cl_intel_sharing_format_query"u8; + + [NativeName("CL_INTEL_SHARING_FORMAT_QUERY_EXTENSION_VERSION")] + public const int IntelSharingFormatQueryExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_EXT_IMAGE_REQUIREMENTS_INFO_EXTENSION_NAME")] + public static ReadOnlySpan ExtImageRequirementsInfoExtensionName => + "cl_ext_image_requirements_info"u8; + + [NativeName("CL_EXT_IMAGE_REQUIREMENTS_INFO_EXTENSION_VERSION")] + public const int ExtImageRequirementsInfoExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((5) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_EXT_IMAGE_FROM_BUFFER_EXTENSION_NAME")] + public static ReadOnlySpan ExtImageFromBufferExtensionName => + "cl_ext_image_from_buffer"u8; + + [NativeName("CL_EXT_IMAGE_FROM_BUFFER_EXTENSION_VERSION")] + public const int ExtImageFromBufferExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_LOADER_INFO_EXTENSION_NAME")] + public static ReadOnlySpan LoaderInfoExtensionName => "cl_loader_info"u8; + + [NativeName("CL_LOADER_INFO_EXTENSION_VERSION")] + public const int LoaderInfoExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_DEPTH_IMAGES_EXTENSION_NAME")] + public static ReadOnlySpan KhrDepthImagesExtensionName => "cl_khr_depth_images"u8; + + [NativeName("CL_KHR_DEPTH_IMAGES_EXTENSION_VERSION")] + public const int KhrDepthImagesExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_EXT_FLOAT_ATOMICS_EXTENSION_NAME")] + public static ReadOnlySpan ExtFloatAtomicsExtensionName => "cl_ext_float_atomics"u8; + + [NativeName("CL_EXT_FLOAT_ATOMICS_EXTENSION_VERSION")] + public const int ExtFloatAtomicsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_CREATE_MEM_OBJECT_PROPERTIES_EXTENSION_NAME")] + public static ReadOnlySpan IntelCreateMemObjectPropertiesExtensionName => + "cl_intel_create_mem_object_properties"u8; + + [NativeName("CL_INTEL_CREATE_MEM_OBJECT_PROPERTIES_EXTENSION_VERSION")] + public const int IntelCreateMemObjectPropertiesExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_POCL_CONTENT_SIZE_EXTENSION_NAME")] + public static ReadOnlySpan PoclContentSizeExtensionName => "cl_pocl_content_size"u8; + + [NativeName("CL_POCL_CONTENT_SIZE_EXTENSION_VERSION")] + public const int PoclContentSizeExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_EXT_IMAGE_RAW10_RAW12_EXTENSION_NAME")] + public static ReadOnlySpan ExtImageRaw10Raw12ExtensionName => + "cl_ext_image_raw10_raw12"u8; + + [NativeName("CL_EXT_IMAGE_RAW10_RAW12_EXTENSION_VERSION")] + public const int ExtImageRaw10Raw12ExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_3D_IMAGE_WRITES_EXTENSION_NAME")] + public static ReadOnlySpan Khr3DImageWritesExtensionName => "cl_khr_3d_image_writes"u8; + + [NativeName("CL_KHR_3D_IMAGE_WRITES_EXTENSION_VERSION")] + public const int Khr3DImageWritesExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_ASYNC_WORK_GROUP_COPY_FENCE_EXTENSION_NAME")] + public static ReadOnlySpan KhrAsyncWorkGroupCopyFenceExtensionName => + "cl_khr_async_work_group_copy_fence"u8; + + [NativeName("CL_KHR_ASYNC_WORK_GROUP_COPY_FENCE_EXTENSION_VERSION")] + public const int KhrAsyncWorkGroupCopyFenceExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_BYTE_ADDRESSABLE_STORE_EXTENSION_NAME")] + public static ReadOnlySpan KhrByteAddressableStoreExtensionName => + "cl_khr_byte_addressable_store"u8; + + [NativeName("CL_KHR_BYTE_ADDRESSABLE_STORE_EXTENSION_VERSION")] + public const int KhrByteAddressableStoreExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_DEVICE_ENQUEUE_LOCAL_ARG_TYPES_EXTENSION_NAME")] + public static ReadOnlySpan KhrDeviceEnqueueLocalArgTypesExtensionName => + "cl_khr_device_enqueue_local_arg_types"u8; + + [NativeName("CL_KHR_DEVICE_ENQUEUE_LOCAL_ARG_TYPES_EXTENSION_VERSION")] + public const int KhrDeviceEnqueueLocalArgTypesExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_EXPECT_ASSUME_EXTENSION_NAME")] + public static ReadOnlySpan KhrExpectAssumeExtensionName => "cl_khr_expect_assume"u8; + + [NativeName("CL_KHR_EXPECT_ASSUME_EXTENSION_VERSION")] + public const int KhrExpectAssumeExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_EXTENDED_ASYNC_COPIES_EXTENSION_NAME")] + public static ReadOnlySpan KhrExtendedAsyncCopiesExtensionName => + "cl_khr_extended_async_copies"u8; + + [NativeName("CL_KHR_EXTENDED_ASYNC_COPIES_EXTENSION_VERSION")] + public const int KhrExtendedAsyncCopiesExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_EXTENDED_BIT_OPS_EXTENSION_NAME")] + public static ReadOnlySpan KhrExtendedBitOpsExtensionName => "cl_khr_extended_bit_ops"u8; + + [NativeName("CL_KHR_EXTENDED_BIT_OPS_EXTENSION_VERSION")] + public const int KhrExtendedBitOpsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_GLOBAL_INT32_BASE_ATOMICS_EXTENSION_NAME")] + public static ReadOnlySpan KhrGlobalInt32BaseAtomicsExtensionName => + "cl_khr_global_int32_base_atomics"u8; + + [NativeName("CL_KHR_GLOBAL_INT32_BASE_ATOMICS_EXTENSION_VERSION")] + public const int KhrGlobalInt32BaseAtomicsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_GLOBAL_INT32_EXTENDED_ATOMICS_EXTENSION_NAME")] + public static ReadOnlySpan KhrGlobalInt32ExtendedAtomicsExtensionName => + "cl_khr_global_int32_extended_atomics"u8; + + [NativeName("CL_KHR_GLOBAL_INT32_EXTENDED_ATOMICS_EXTENSION_VERSION")] + public const int KhrGlobalInt32ExtendedAtomicsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_INT64_BASE_ATOMICS_EXTENSION_NAME")] + public static ReadOnlySpan KhrInt64BaseAtomicsExtensionName => + "cl_khr_int64_base_atomics"u8; + + [NativeName("CL_KHR_INT64_BASE_ATOMICS_EXTENSION_VERSION")] + public const int KhrInt64BaseAtomicsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_INT64_EXTENDED_ATOMICS_EXTENSION_NAME")] + public static ReadOnlySpan KhrInt64ExtendedAtomicsExtensionName => + "cl_khr_int64_extended_atomics"u8; + + [NativeName("CL_KHR_INT64_EXTENDED_ATOMICS_EXTENSION_VERSION")] + public const int KhrInt64ExtendedAtomicsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_KERNEL_CLOCK_EXTENSION_NAME")] + public static ReadOnlySpan KhrKernelClockExtensionName => "cl_khr_kernel_clock"u8; + + [NativeName("CL_KHR_KERNEL_CLOCK_EXTENSION_VERSION")] + public const int KhrKernelClockExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_LOCAL_INT32_BASE_ATOMICS_EXTENSION_NAME")] + public static ReadOnlySpan KhrLocalInt32BaseAtomicsExtensionName => + "cl_khr_local_int32_base_atomics"u8; + + [NativeName("CL_KHR_LOCAL_INT32_BASE_ATOMICS_EXTENSION_VERSION")] + public const int KhrLocalInt32BaseAtomicsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_LOCAL_INT32_EXTENDED_ATOMICS_EXTENSION_NAME")] + public static ReadOnlySpan KhrLocalInt32ExtendedAtomicsExtensionName => + "cl_khr_local_int32_extended_atomics"u8; + + [NativeName("CL_KHR_LOCAL_INT32_EXTENDED_ATOMICS_EXTENSION_VERSION")] + public const int KhrLocalInt32ExtendedAtomicsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_MIPMAP_IMAGE_WRITES_EXTENSION_NAME")] + public static ReadOnlySpan KhrMipmapImageWritesExtensionName => + "cl_khr_mipmap_image_writes"u8; + + [NativeName("CL_KHR_MIPMAP_IMAGE_WRITES_EXTENSION_VERSION")] + public const int KhrMipmapImageWritesExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SELECT_FPROUNDING_MODE_EXTENSION_NAME")] + public static ReadOnlySpan KhrSelectFproundingModeExtensionName => + "cl_khr_select_fprounding_mode"u8; + + [NativeName("CL_KHR_SELECT_FPROUNDING_MODE_EXTENSION_VERSION")] + public const int KhrSelectFproundingModeExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SPIRV_EXTENDED_DEBUG_INFO_EXTENSION_NAME")] + public static ReadOnlySpan KhrSpirvExtendedDebugInfoExtensionName => + "cl_khr_spirv_extended_debug_info"u8; + + [NativeName("CL_KHR_SPIRV_EXTENDED_DEBUG_INFO_EXTENSION_VERSION")] + public const int KhrSpirvExtendedDebugInfoExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SPIRV_LINKONCE_ODR_EXTENSION_NAME")] + public static ReadOnlySpan KhrSpirvLinkonceOdrExtensionName => + "cl_khr_spirv_linkonce_odr"u8; + + [NativeName("CL_KHR_SPIRV_LINKONCE_ODR_EXTENSION_VERSION")] + public const int KhrSpirvLinkonceOdrExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SPIRV_NO_INTEGER_WRAP_DECORATION_EXTENSION_NAME")] + public static ReadOnlySpan KhrSpirvNoIntegerWrapDecorationExtensionName => + "cl_khr_spirv_no_integer_wrap_decoration"u8; + + [NativeName("CL_KHR_SPIRV_NO_INTEGER_WRAP_DECORATION_EXTENSION_VERSION")] + public const int KhrSpirvNoIntegerWrapDecorationExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SPIRV_QUERIES_EXTENSION_NAME")] + public static ReadOnlySpan KhrSpirvQueriesExtensionName => "cl_khr_spirv_queries"u8; + + [NativeName("CL_KHR_SPIRV_QUERIES_EXTENSION_VERSION")] + public const int KhrSpirvQueriesExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SRGB_IMAGE_WRITES_EXTENSION_NAME")] + public static ReadOnlySpan KhrSrgbImageWritesExtensionName => + "cl_khr_srgb_image_writes"u8; + + [NativeName("CL_KHR_SRGB_IMAGE_WRITES_EXTENSION_VERSION")] + public const int KhrSrgbImageWritesExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SUBGROUP_BALLOT_EXTENSION_NAME")] + public static ReadOnlySpan KhrSubgroupBallotExtensionName => "cl_khr_subgroup_ballot"u8; + + [NativeName("CL_KHR_SUBGROUP_BALLOT_EXTENSION_VERSION")] + public const int KhrSubgroupBallotExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SUBGROUP_CLUSTERED_REDUCE_EXTENSION_NAME")] + public static ReadOnlySpan KhrSubgroupClusteredReduceExtensionName => + "cl_khr_subgroup_clustered_reduce"u8; + + [NativeName("CL_KHR_SUBGROUP_CLUSTERED_REDUCE_EXTENSION_VERSION")] + public const int KhrSubgroupClusteredReduceExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SUBGROUP_EXTENDED_TYPES_EXTENSION_NAME")] + public static ReadOnlySpan KhrSubgroupExtendedTypesExtensionName => + "cl_khr_subgroup_extended_types"u8; + + [NativeName("CL_KHR_SUBGROUP_EXTENDED_TYPES_EXTENSION_VERSION")] + public const int KhrSubgroupExtendedTypesExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SUBGROUP_NON_UNIFORM_ARITHMETIC_EXTENSION_NAME")] + public static ReadOnlySpan KhrSubgroupNonUniformArithmeticExtensionName => + "cl_khr_subgroup_non_uniform_arithmetic"u8; + + [NativeName("CL_KHR_SUBGROUP_NON_UNIFORM_ARITHMETIC_EXTENSION_VERSION")] + public const int KhrSubgroupNonUniformArithmeticExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SUBGROUP_NON_UNIFORM_VOTE_EXTENSION_NAME")] + public static ReadOnlySpan KhrSubgroupNonUniformVoteExtensionName => + "cl_khr_subgroup_non_uniform_vote"u8; + + [NativeName("CL_KHR_SUBGROUP_NON_UNIFORM_VOTE_EXTENSION_VERSION")] + public const int KhrSubgroupNonUniformVoteExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SUBGROUP_ROTATE_EXTENSION_NAME")] + public static ReadOnlySpan KhrSubgroupRotateExtensionName => "cl_khr_subgroup_rotate"u8; + + [NativeName("CL_KHR_SUBGROUP_ROTATE_EXTENSION_VERSION")] + public const int KhrSubgroupRotateExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SUBGROUP_SHUFFLE_EXTENSION_NAME")] + public static ReadOnlySpan KhrSubgroupShuffleExtensionName => "cl_khr_subgroup_shuffle"u8; + + [NativeName("CL_KHR_SUBGROUP_SHUFFLE_EXTENSION_VERSION")] + public const int KhrSubgroupShuffleExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_SUBGROUP_SHUFFLE_RELATIVE_EXTENSION_NAME")] + public static ReadOnlySpan KhrSubgroupShuffleRelativeExtensionName => + "cl_khr_subgroup_shuffle_relative"u8; + + [NativeName("CL_KHR_SUBGROUP_SHUFFLE_RELATIVE_EXTENSION_VERSION")] + public const int KhrSubgroupShuffleRelativeExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_KHR_WORK_GROUP_UNIFORM_ARITHMETIC_EXTENSION_NAME")] + public static ReadOnlySpan KhrWorkGroupUniformArithmeticExtensionName => + "cl_khr_work_group_uniform_arithmetic"u8; + + [NativeName("CL_KHR_WORK_GROUP_UNIFORM_ARITHMETIC_EXTENSION_VERSION")] + public const int KhrWorkGroupUniformArithmeticExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME")] + public static ReadOnlySpan ExtBufferDeviceAddressExtensionName => + "cl_ext_buffer_device_address"u8; + + [NativeName("CL_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_VERSION")] + public const int ExtBufferDeviceAddressExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((2) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_EXT_IMAGE_UNORM_INT_2_101010_EXTENSION_NAME")] + public static ReadOnlySpan ExtImageUnormInt2x101010ExtensionName => + "cl_ext_image_unorm_int_2_101010"u8; + + [NativeName("CL_EXT_IMAGE_UNORM_INT_2_101010_EXTENSION_VERSION")] + public const int ExtImageUnormInt2x101010ExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_EXT_IMAGE_UNSIGNED_10X6_12X4_14X2_EXTENSION_NAME")] + public static ReadOnlySpan ExtImageUnsigned10x6x12x4x14x2ExtensionName => + "cl_ext_image_unsigned_10x6_12x4_14x2"u8; + + [NativeName("CL_EXT_IMAGE_UNSIGNED_10X6_12X4_14X2_EXTENSION_VERSION")] + public const int ExtImageUnsigned10x6x12x4x14x2ExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_EXT_IMMUTABLE_MEMORY_OBJECTS_EXTENSION_NAME")] + public static ReadOnlySpan ExtImmutableMemoryObjectsExtensionName => + "cl_ext_immutable_memory_objects"u8; + + [NativeName("CL_EXT_IMMUTABLE_MEMORY_OBJECTS_EXTENSION_VERSION")] + public const int ExtImmutableMemoryObjectsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_IMG_CANCEL_COMMAND_EXTENSION_NAME")] + public static ReadOnlySpan ImgCancelCommandExtensionName => "cl_img_cancel_command"u8; + + [NativeName("CL_IMG_CANCEL_COMMAND_EXTENSION_VERSION")] + public const int ImgCancelCommandExtensionVersion = ( + (((0) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_IMG_SAFETY_MECHANISMS_EXTENSION_NAME")] + public static ReadOnlySpan ImgSafetyMechanismsExtensionName => + "cl_img_safety_mechanisms"u8; + + [NativeName("CL_IMG_SAFETY_MECHANISMS_EXTENSION_VERSION")] + public const int ImgSafetyMechanismsExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_INTEL_KERNEL_ALLOCATIONS_INFO_EXTENSION_NAME")] + public static ReadOnlySpan IntelKernelAllocationsInfoExtensionName => + "cl_intel_kernel_allocations_info"u8; + + [NativeName("CL_INTEL_KERNEL_ALLOCATIONS_INFO_EXTENSION_VERSION")] + public const int IntelKernelAllocationsInfoExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((0) & ((1 << (12)) - 1)) + ); + + [NativeName("CL_QCOM_PERF_HINT_EXTENSION_NAME")] + public static ReadOnlySpan QcomPerfHintExtensionName => "cl_qcom_perf_hint"u8; + + [NativeName("CL_QCOM_PERF_HINT_EXTENSION_VERSION")] + public const int QcomPerfHintExtensionVersion = ( + (((1) & ((1 << (10)) - 1)) << ((10) + (12))) + | (((0) & ((1 << (10)) - 1)) << (12)) + | ((5) & ((1 << (12)) - 1)) + ); + + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.BuildProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + delegate* unmanaged pfn_notify, + void* user_data + ) => + ( + (delegate* unmanaged< + ProgramHandle, + uint, + DeviceIdHandle*, + sbyte*, + delegate* unmanaged, + void*, + int>)( + _slots[0] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[0] = nativeContext.LoadFunction("clBuildProgram", "opencl") + ) + )(program, num_devices, device_list, options, pfn_notify, user_data); + + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int BuildProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + delegate* unmanaged pfn_notify, + void* user_data + ) => ThisThread.BuildProgram(program, num_devices, device_list, options, pfn_notify, user_data); + + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.BuildProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (sbyte* __dsl_options = options) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (int) + ((ICl)this).BuildProgram( + program, + num_devices, + __dsl_device_list, + __dsl_options, + pfn_notify, + __dsl_user_data + ); + } + } + + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int BuildProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + delegate* unmanaged pfn_notify, + Ref user_data + ) => ThisThread.BuildProgram(program, num_devices, device_list, options, pfn_notify, user_data); + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.CancelCommandsIMG(EventHandle* event_list, nuint num_events_in_list) => + ( + (delegate* unmanaged)( + _slots[1] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[1] = nativeContext.LoadFunction("clCancelCommandsIMG", "opencl") + ) + )(event_list, num_events_in_list); + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int CancelCommandsIMG(EventHandle* event_list, nuint num_events_in_list) => + ThisThread.CancelCommandsIMG(event_list, num_events_in_list); + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.CancelCommandsIMG(Ref event_list, nuint num_events_in_list) + { + fixed (EventHandle* __dsl_event_list = event_list) + { + return (int)((ICl)this).CancelCommandsIMG(__dsl_event_list, num_events_in_list); + } + } + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int CancelCommandsIMG(Ref event_list, nuint num_events_in_list) => + ThisThread.CancelCommandsIMG(event_list, num_events_in_list); + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + KernelHandle ICl.CloneKernel(KernelHandle source_kernel, int* errcode_ret) => + ( + (delegate* unmanaged)( + _slots[2] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[2] = nativeContext.LoadFunction("clCloneKernel", "opencl") + ) + )(source_kernel, errcode_ret); + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static KernelHandle CloneKernel(KernelHandle source_kernel, int* errcode_ret) => + ThisThread.CloneKernel(source_kernel, errcode_ret); + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + KernelHandle ICl.CloneKernel(KernelHandle source_kernel, Ref errcode_ret) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + { + return (KernelHandle)((ICl)this).CloneKernel(source_kernel, __dsl_errcode_ret); + } + } + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static KernelHandle CloneKernel(KernelHandle source_kernel, Ref errcode_ret) => + ThisThread.CloneKernel(source_kernel, errcode_ret); + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.CompileProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_headers, + ProgramHandle* input_headers, + sbyte** header_include_names, + delegate* unmanaged pfn_notify, + void* user_data + ) => + ( + (delegate* unmanaged< + ProgramHandle, + uint, + DeviceIdHandle*, + sbyte*, + uint, + ProgramHandle*, + sbyte**, + delegate* unmanaged, + void*, + int>)( + _slots[3] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[3] = nativeContext.LoadFunction("clCompileProgram", "opencl") + ) + )( + program, + num_devices, + device_list, + options, + num_input_headers, + input_headers, + header_include_names, + pfn_notify, + user_data + ); + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int CompileProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_headers, + ProgramHandle* input_headers, + sbyte** header_include_names, + delegate* unmanaged pfn_notify, + void* user_data + ) => + ThisThread.CompileProgram( + program, + num_devices, + device_list, + options, + num_input_headers, + input_headers, + header_include_names, + pfn_notify, + user_data + ); + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.CompileProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_headers, + Ref input_headers, + Ref2D header_include_names, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (sbyte** __dsl_header_include_names = header_include_names) + fixed (ProgramHandle* __dsl_input_headers = input_headers) + fixed (sbyte* __dsl_options = options) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (int) + ((ICl)this).CompileProgram( + program, + num_devices, + __dsl_device_list, + __dsl_options, + num_input_headers, + __dsl_input_headers, + __dsl_header_include_names, + pfn_notify, + __dsl_user_data + ); + } + } + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int CompileProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_headers, + Ref input_headers, + Ref2D header_include_names, + delegate* unmanaged pfn_notify, + Ref user_data + ) => + ThisThread.CompileProgram( + program, + num_devices, + device_list, + options, + num_input_headers, + input_headers, + header_include_names, + pfn_notify, + user_data + ); + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + AcceleratorHandleINTEL ICl.CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + void* descriptor, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[4] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[4] = nativeContext.LoadFunction("clCreateAcceleratorINTEL", "opencl") + ) + )(context, accelerator_type, descriptor_size, descriptor, errcode_ret); + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static AcceleratorHandleINTEL CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + void* descriptor, + int* errcode_ret + ) => + ThisThread.CreateAcceleratorINTEL( + context, + accelerator_type, + descriptor_size, + descriptor, + errcode_ret + ); + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + AcceleratorHandleINTEL ICl.CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + Ref descriptor, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_descriptor = descriptor) + { + return (AcceleratorHandleINTEL) + ((ICl)this).CreateAcceleratorINTEL( + context, + accelerator_type, + descriptor_size, + __dsl_descriptor, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static AcceleratorHandleINTEL CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + Ref descriptor, + Ref errcode_ret + ) => + ThisThread.CreateAcceleratorINTEL( + context, + accelerator_type, + descriptor_size, + descriptor, + errcode_ret + ); + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[5] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[5] = nativeContext.LoadFunction("clCreateBuffer", "opencl") + ) + )(context, flags, size, host_ptr, errcode_ret); + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ) => ThisThread.CreateBuffer(context, flags, size, host_ptr, errcode_ret); + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + { + return (MemHandle) + ((ICl)this).CreateBuffer(context, flags, size, __dsl_host_ptr, __dsl_errcode_ret); + } + } + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) => ThisThread.CreateBuffer(context, flags, size, host_ptr, errcode_ret); + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateBufferWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[6] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[6] = nativeContext.LoadFunction( + "clCreateBufferWithProperties", + "opencl" + ) + ) + )(context, properties, flags, size, host_ptr, errcode_ret); + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateBufferWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ) => + ThisThread.CreateBufferWithProperties( + context, + properties, + flags, + size, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateBufferWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ulong* __dsl_properties = properties) + { + return (MemHandle) + ((ICl)this).CreateBufferWithProperties( + context, + __dsl_properties, + flags, + size, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateBufferWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) => + ThisThread.CreateBufferWithProperties( + context, + properties, + flags, + size, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateBufferWithPropertiesINTEL( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[7] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[7] = nativeContext.LoadFunction( + "clCreateBufferWithPropertiesINTEL", + "opencl" + ) + ) + )(context, properties, flags, size, host_ptr, errcode_ret); + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateBufferWithPropertiesINTEL( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ) => + ThisThread.CreateBufferWithPropertiesINTEL( + context, + properties, + flags, + size, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateBufferWithPropertiesINTEL( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ulong* __dsl_properties = properties) + { + return (MemHandle) + ((ICl)this).CreateBufferWithPropertiesINTEL( + context, + __dsl_properties, + flags, + size, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateBufferWithPropertiesINTEL( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ) => + ThisThread.CreateBufferWithPropertiesINTEL( + context, + properties, + flags, + size, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + CommandQueueHandle ICl.CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[8] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[8] = nativeContext.LoadFunction("clCreateCommandQueue", "opencl") + ) + )(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static CommandQueueHandle CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + int* errcode_ret + ) => ThisThread.CreateCommandQueue(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + CommandQueueHandle ICl.CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + { + return (CommandQueueHandle) + ((ICl)this).CreateCommandQueue(context, device, properties, __dsl_errcode_ret); + } + } + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static CommandQueueHandle CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + Ref errcode_ret + ) => ThisThread.CreateCommandQueue(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + CommandQueueHandle ICl.CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[9] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[9] = nativeContext.LoadFunction( + "clCreateCommandQueueWithProperties", + "opencl" + ) + ) + )(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static CommandQueueHandle CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ) => ThisThread.CreateCommandQueueWithProperties(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + CommandQueueHandle ICl.CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (CommandQueueHandle) + ((ICl)this).CreateCommandQueueWithProperties( + context, + device, + __dsl_properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static CommandQueueHandle CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ) => ThisThread.CreateCommandQueueWithProperties(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + CommandQueueHandle ICl.CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[10] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[10] = nativeContext.LoadFunction( + "clCreateCommandQueueWithPropertiesKHR", + "opencl" + ) + ) + )(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static CommandQueueHandle CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ) => ThisThread.CreateCommandQueueWithPropertiesKHR(context, device, properties, errcode_ret); + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + CommandQueueHandle ICl.CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (CommandQueueHandle) + ((ICl)this).CreateCommandQueueWithPropertiesKHR( + context, + device, + __dsl_properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static CommandQueueHandle CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ) => ThisThread.CreateCommandQueueWithPropertiesKHR(context, device, properties, errcode_ret); + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ContextHandle ICl.CreateContext( + nint* properties, + uint num_devices, + DeviceIdHandle* devices, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ) => + ( + (delegate* unmanaged< + nint*, + uint, + DeviceIdHandle*, + delegate* unmanaged, + void*, + int*, + ContextHandle>)( + _slots[11] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[11] = nativeContext.LoadFunction("clCreateContext", "opencl") + ) + )(properties, num_devices, devices, pfn_notify, user_data, errcode_ret); + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ContextHandle CreateContext( + nint* properties, + uint num_devices, + DeviceIdHandle* devices, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ) => + ThisThread.CreateContext( + properties, + num_devices, + devices, + pfn_notify, + user_data, + errcode_ret + ); + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ContextHandle ICl.CreateContext( + Ref properties, + uint num_devices, + Ref devices, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_user_data = user_data) + fixed (DeviceIdHandle* __dsl_devices = devices) + fixed (nint* __dsl_properties = properties) + { + return (ContextHandle) + ((ICl)this).CreateContext( + __dsl_properties, + num_devices, + __dsl_devices, + pfn_notify, + __dsl_user_data, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ContextHandle CreateContext( + Ref properties, + uint num_devices, + Ref devices, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) => + ThisThread.CreateContext( + properties, + num_devices, + devices, + pfn_notify, + user_data, + errcode_ret + ); + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ContextHandle ICl.CreateContextFromType( + nint* properties, + ulong device_type, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ) => + ( + (delegate* unmanaged< + nint*, + ulong, + delegate* unmanaged, + void*, + int*, + ContextHandle>)( + _slots[12] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[12] = nativeContext.LoadFunction("clCreateContextFromType", "opencl") + ) + )(properties, device_type, pfn_notify, user_data, errcode_ret); + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ContextHandle CreateContextFromType( + nint* properties, + ulong device_type, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ) => + ThisThread.CreateContextFromType( + properties, + device_type, + pfn_notify, + user_data, + errcode_ret + ); + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ContextHandle ICl.CreateContextFromType( + Ref properties, + ulong device_type, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_user_data = user_data) + fixed (nint* __dsl_properties = properties) + { + return (ContextHandle) + ((ICl)this).CreateContextFromType( + __dsl_properties, + device_type, + pfn_notify, + __dsl_user_data, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ContextHandle CreateContextFromType( + Ref properties, + ulong device_type, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) => + ThisThread.CreateContextFromType( + properties, + device_type, + pfn_notify, + user_data, + errcode_ret + ); + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateImage( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ) => + ( + (delegate* unmanaged< + ContextHandle, + ulong, + ImageFormat*, + ImageDesc*, + void*, + int*, + MemHandle>)( + _slots[13] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[13] = nativeContext.LoadFunction("clCreateImage", "opencl") + ) + )(context, flags, image_format, image_desc, host_ptr, errcode_ret); + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateImage( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ) => ThisThread.CreateImage(context, flags, image_format, image_desc, host_ptr, errcode_ret); + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateImage( + ContextHandle context, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ImageDesc* __dsl_image_desc = image_desc) + fixed (ImageFormat* __dsl_image_format = image_format) + { + return (MemHandle) + ((ICl)this).CreateImage( + context, + flags, + __dsl_image_format, + __dsl_image_desc, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateImage( + ContextHandle context, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ) => ThisThread.CreateImage(context, flags, image_format, image_desc, host_ptr, errcode_ret); + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateImage2D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + void* host_ptr, + int* errcode_ret + ) => + ( + (delegate* unmanaged< + ContextHandle, + ulong, + ImageFormat*, + nuint, + nuint, + nuint, + void*, + int*, + MemHandle>)( + _slots[14] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[14] = nativeContext.LoadFunction("clCreateImage2D", "opencl") + ) + )( + context, + flags, + image_format, + image_width, + image_height, + image_row_pitch, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateImage2D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + void* host_ptr, + int* errcode_ret + ) => + ThisThread.CreateImage2D( + context, + flags, + image_format, + image_width, + image_height, + image_row_pitch, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateImage2D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ImageFormat* __dsl_image_format = image_format) + { + return (MemHandle) + ((ICl)this).CreateImage2D( + context, + flags, + __dsl_image_format, + image_width, + image_height, + image_row_pitch, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateImage2D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + Ref host_ptr, + Ref errcode_ret + ) => + ThisThread.CreateImage2D( + context, + flags, + image_format, + image_width, + image_height, + image_row_pitch, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateImage3D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + void* host_ptr, + int* errcode_ret + ) => + ( + (delegate* unmanaged< + ContextHandle, + ulong, + ImageFormat*, + nuint, + nuint, + nuint, + nuint, + nuint, + void*, + int*, + MemHandle>)( + _slots[15] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[15] = nativeContext.LoadFunction("clCreateImage3D", "opencl") + ) + )( + context, + flags, + image_format, + image_width, + image_height, + image_depth, + image_row_pitch, + image_slice_pitch, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateImage3D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + void* host_ptr, + int* errcode_ret + ) => + ThisThread.CreateImage3D( + context, + flags, + image_format, + image_width, + image_height, + image_depth, + image_row_pitch, + image_slice_pitch, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateImage3D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ImageFormat* __dsl_image_format = image_format) + { + return (MemHandle) + ((ICl)this).CreateImage3D( + context, + flags, + __dsl_image_format, + image_width, + image_height, + image_depth, + image_row_pitch, + image_slice_pitch, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateImage3D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + Ref host_ptr, + Ref errcode_ret + ) => + ThisThread.CreateImage3D( + context, + flags, + image_format, + image_width, + image_height, + image_depth, + image_row_pitch, + image_slice_pitch, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateImageWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ) => + ( + (delegate* unmanaged< + ContextHandle, + ulong*, + ulong, + ImageFormat*, + ImageDesc*, + void*, + int*, + MemHandle>)( + _slots[16] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[16] = nativeContext.LoadFunction( + "clCreateImageWithProperties", + "opencl" + ) + ) + )(context, properties, flags, image_format, image_desc, host_ptr, errcode_ret); + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateImageWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ) => + ThisThread.CreateImageWithProperties( + context, + properties, + flags, + image_format, + image_desc, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateImageWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_host_ptr = host_ptr) + fixed (ImageDesc* __dsl_image_desc = image_desc) + fixed (ImageFormat* __dsl_image_format = image_format) + fixed (ulong* __dsl_properties = properties) + { + return (MemHandle) + ((ICl)this).CreateImageWithProperties( + context, + __dsl_properties, + flags, + __dsl_image_format, + __dsl_image_desc, + __dsl_host_ptr, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateImageWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ) => + ThisThread.CreateImageWithProperties( + context, + properties, + flags, + image_format, + image_desc, + host_ptr, + errcode_ret + ); + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + KernelHandle ICl.CreateKernel(ProgramHandle program, sbyte* kernel_name, int* errcode_ret) => + ( + (delegate* unmanaged)( + _slots[17] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[17] = nativeContext.LoadFunction("clCreateKernel", "opencl") + ) + )(program, kernel_name, errcode_ret); + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static KernelHandle CreateKernel( + ProgramHandle program, + sbyte* kernel_name, + int* errcode_ret + ) => ThisThread.CreateKernel(program, kernel_name, errcode_ret); + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + KernelHandle ICl.CreateKernel( + ProgramHandle program, + Ref kernel_name, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (sbyte* __dsl_kernel_name = kernel_name) + { + return (KernelHandle) + ((ICl)this).CreateKernel(program, __dsl_kernel_name, __dsl_errcode_ret); + } + } + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static KernelHandle CreateKernel( + ProgramHandle program, + Ref kernel_name, + Ref errcode_ret + ) => ThisThread.CreateKernel(program, kernel_name, errcode_ret); + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + KernelHandle* kernels, + uint* num_kernels_ret + ) => + ( + (delegate* unmanaged)( + _slots[18] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[18] = nativeContext.LoadFunction("clCreateKernelsInProgram", "opencl") + ) + )(program, num_kernels, kernels, num_kernels_ret); + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + KernelHandle* kernels, + uint* num_kernels_ret + ) => ThisThread.CreateKernelsInProgram(program, num_kernels, kernels, num_kernels_ret); + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + Ref kernels, + Ref num_kernels_ret + ) + { + fixed (uint* __dsl_num_kernels_ret = num_kernels_ret) + fixed (KernelHandle* __dsl_kernels = kernels) + { + return (int) + ((ICl)this).CreateKernelsInProgram( + program, + num_kernels, + __dsl_kernels, + __dsl_num_kernels_ret + ); + } + } + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + Ref kernels, + Ref num_kernels_ret + ) => ThisThread.CreateKernelsInProgram(program, num_kernels, kernels, num_kernels_ret); + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + nint* properties, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[19] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[19] = nativeContext.LoadFunction("clCreatePipe", "opencl") + ) + )(context, flags, pipe_packet_size, pipe_max_packets, properties, errcode_ret); + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + nint* properties, + int* errcode_ret + ) => + ThisThread.CreatePipe( + context, + flags, + pipe_packet_size, + pipe_max_packets, + properties, + errcode_ret + ); + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + Ref properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (nint* __dsl_properties = properties) + { + return (MemHandle) + ((ICl)this).CreatePipe( + context, + flags, + pipe_packet_size, + pipe_max_packets, + __dsl_properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + Ref properties, + Ref errcode_ret + ) => + ThisThread.CreatePipe( + context, + flags, + pipe_packet_size, + pipe_max_packets, + properties, + errcode_ret + ); + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ProgramHandle ICl.CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + nuint* lengths, + byte** binaries, + int* binary_status, + int* errcode_ret + ) => + ( + (delegate* unmanaged< + ContextHandle, + uint, + DeviceIdHandle*, + nuint*, + byte**, + int*, + int*, + ProgramHandle>)( + _slots[20] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[20] = nativeContext.LoadFunction("clCreateProgramWithBinary", "opencl") + ) + )(context, num_devices, device_list, lengths, binaries, binary_status, errcode_ret); + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ProgramHandle CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + nuint* lengths, + byte** binaries, + int* binary_status, + int* errcode_ret + ) => + ThisThread.CreateProgramWithBinary( + context, + num_devices, + device_list, + lengths, + binaries, + binary_status, + errcode_ret + ); + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ProgramHandle ICl.CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref lengths, + Ref2D binaries, + Ref binary_status, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (int* __dsl_binary_status = binary_status) + fixed (byte** __dsl_binaries = binaries) + fixed (nuint* __dsl_lengths = lengths) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (ProgramHandle) + ((ICl)this).CreateProgramWithBinary( + context, + num_devices, + __dsl_device_list, + __dsl_lengths, + __dsl_binaries, + __dsl_binary_status, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ProgramHandle CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref lengths, + Ref2D binaries, + Ref binary_status, + Ref errcode_ret + ) => + ThisThread.CreateProgramWithBinary( + context, + num_devices, + device_list, + lengths, + binaries, + binary_status, + errcode_ret + ); + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ProgramHandle ICl.CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* kernel_names, + int* errcode_ret + ) => + ( + (delegate* unmanaged< + ContextHandle, + uint, + DeviceIdHandle*, + sbyte*, + int*, + ProgramHandle>)( + _slots[21] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[21] = nativeContext.LoadFunction( + "clCreateProgramWithBuiltInKernels", + "opencl" + ) + ) + )(context, num_devices, device_list, kernel_names, errcode_ret); + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ProgramHandle CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* kernel_names, + int* errcode_ret + ) => + ThisThread.CreateProgramWithBuiltInKernels( + context, + num_devices, + device_list, + kernel_names, + errcode_ret + ); + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ProgramHandle ICl.CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref kernel_names, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (sbyte* __dsl_kernel_names = kernel_names) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (ProgramHandle) + ((ICl)this).CreateProgramWithBuiltInKernels( + context, + num_devices, + __dsl_device_list, + __dsl_kernel_names, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ProgramHandle CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref kernel_names, + Ref errcode_ret + ) => + ThisThread.CreateProgramWithBuiltInKernels( + context, + num_devices, + device_list, + kernel_names, + errcode_ret + ); + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ProgramHandle ICl.CreateProgramWithIL( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[22] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[22] = nativeContext.LoadFunction("clCreateProgramWithIL", "opencl") + ) + )(context, il, length, errcode_ret); + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ProgramHandle CreateProgramWithIL( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ) => ThisThread.CreateProgramWithIL(context, il, length, errcode_ret); + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ProgramHandle ICl.CreateProgramWithIL( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_il = il) + { + return (ProgramHandle) + ((ICl)this).CreateProgramWithIL(context, __dsl_il, length, __dsl_errcode_ret); + } + } + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ProgramHandle CreateProgramWithIL( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ) => ThisThread.CreateProgramWithIL(context, il, length, errcode_ret); + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ProgramHandle ICl.CreateProgramWithILKHR( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[23] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[23] = nativeContext.LoadFunction("clCreateProgramWithILKHR", "opencl") + ) + )(context, il, length, errcode_ret); + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ProgramHandle CreateProgramWithILKHR( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ) => ThisThread.CreateProgramWithILKHR(context, il, length, errcode_ret); + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ProgramHandle ICl.CreateProgramWithILKHR( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_il = il) + { + return (ProgramHandle) + ((ICl)this).CreateProgramWithILKHR(context, __dsl_il, length, __dsl_errcode_ret); + } + } + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ProgramHandle CreateProgramWithILKHR( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ) => ThisThread.CreateProgramWithILKHR(context, il, length, errcode_ret); + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ProgramHandle ICl.CreateProgramWithSource( + ContextHandle context, + uint count, + sbyte** strings, + nuint* lengths, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[24] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[24] = nativeContext.LoadFunction("clCreateProgramWithSource", "opencl") + ) + )(context, count, strings, lengths, errcode_ret); + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ProgramHandle CreateProgramWithSource( + ContextHandle context, + uint count, + sbyte** strings, + nuint* lengths, + int* errcode_ret + ) => ThisThread.CreateProgramWithSource(context, count, strings, lengths, errcode_ret); + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ProgramHandle ICl.CreateProgramWithSource( + ContextHandle context, + uint count, + Ref2D strings, + Ref lengths, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (nuint* __dsl_lengths = lengths) + fixed (sbyte** __dsl_strings = strings) + { + return (ProgramHandle) + ((ICl)this).CreateProgramWithSource( + context, + count, + __dsl_strings, + __dsl_lengths, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ProgramHandle CreateProgramWithSource( + ContextHandle context, + uint count, + Ref2D strings, + Ref lengths, + Ref errcode_ret + ) => ThisThread.CreateProgramWithSource(context, count, strings, lengths, errcode_ret); + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + SamplerHandle ICl.CreateSampler( + ContextHandle context, + uint normalized_coords, + uint addressing_mode, + uint filter_mode, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[25] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[25] = nativeContext.LoadFunction("clCreateSampler", "opencl") + ) + )(context, normalized_coords, addressing_mode, filter_mode, errcode_ret); + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static SamplerHandle CreateSampler( + ContextHandle context, + uint normalized_coords, + uint addressing_mode, + uint filter_mode, + int* errcode_ret + ) => + ThisThread.CreateSampler( + context, + normalized_coords, + addressing_mode, + filter_mode, + errcode_ret + ); + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + SamplerHandle ICl.CreateSampler( + ContextHandle context, + MaybeBool normalized_coords, + uint addressing_mode, + uint filter_mode, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + { + return (SamplerHandle) + ((ICl)this).CreateSampler( + context, + (uint)normalized_coords, + addressing_mode, + filter_mode, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static SamplerHandle CreateSampler( + ContextHandle context, + MaybeBool normalized_coords, + uint addressing_mode, + uint filter_mode, + Ref errcode_ret + ) => + ThisThread.CreateSampler( + context, + normalized_coords, + addressing_mode, + filter_mode, + errcode_ret + ); + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + SamplerHandle ICl.CreateSamplerWithProperties( + ContextHandle context, + ulong* sampler_properties, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[26] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[26] = nativeContext.LoadFunction( + "clCreateSamplerWithProperties", + "opencl" + ) + ) + )(context, sampler_properties, errcode_ret); + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static SamplerHandle CreateSamplerWithProperties( + ContextHandle context, + ulong* sampler_properties, + int* errcode_ret + ) => ThisThread.CreateSamplerWithProperties(context, sampler_properties, errcode_ret); + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + SamplerHandle ICl.CreateSamplerWithProperties( + ContextHandle context, + Ref sampler_properties, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_sampler_properties = sampler_properties) + { + return (SamplerHandle) + ((ICl)this).CreateSamplerWithProperties( + context, + __dsl_sampler_properties, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static SamplerHandle CreateSamplerWithProperties( + ContextHandle context, + Ref sampler_properties, + Ref errcode_ret + ) => ThisThread.CreateSamplerWithProperties(context, sampler_properties, errcode_ret); + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + SemaphoreHandleKHR ICl.CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + ulong* sema_props, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[27] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[27] = nativeContext.LoadFunction( + "clCreateSemaphoreWithPropertiesKHR", + "opencl" + ) + ) + )(context, sema_props, errcode_ret); + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static SemaphoreHandleKHR CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + ulong* sema_props, + int* errcode_ret + ) => ThisThread.CreateSemaphoreWithPropertiesKHR(context, sema_props, errcode_ret); + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + SemaphoreHandleKHR ICl.CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + Ref sema_props, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_sema_props = sema_props) + { + return (SemaphoreHandleKHR) + ((ICl)this).CreateSemaphoreWithPropertiesKHR( + context, + __dsl_sema_props, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static SemaphoreHandleKHR CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + Ref sema_props, + Ref errcode_ret + ) => ThisThread.CreateSemaphoreWithPropertiesKHR(context, sema_props, errcode_ret); + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + void* buffer_create_info, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[28] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[28] = nativeContext.LoadFunction("clCreateSubBuffer", "opencl") + ) + )(buffer, flags, buffer_create_type, buffer_create_info, errcode_ret); + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + void* buffer_create_info, + int* errcode_ret + ) => + ThisThread.CreateSubBuffer( + buffer, + flags, + buffer_create_type, + buffer_create_info, + errcode_ret + ); + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + Ref buffer_create_info, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_buffer_create_info = buffer_create_info) + { + return (MemHandle) + ((ICl)this).CreateSubBuffer( + buffer, + flags, + buffer_create_type, + __dsl_buffer_create_info, + __dsl_errcode_ret + ); + } + } + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + Ref buffer_create_info, + Ref errcode_ret + ) => + ThisThread.CreateSubBuffer( + buffer, + flags, + buffer_create_type, + buffer_create_info, + errcode_ret + ); + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.CreateSubDevices( + DeviceIdHandle in_device, + nint* properties, + uint num_devices, + DeviceIdHandle* out_devices, + uint* num_devices_ret + ) => + ( + (delegate* unmanaged)( + _slots[29] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[29] = nativeContext.LoadFunction("clCreateSubDevices", "opencl") + ) + )(in_device, properties, num_devices, out_devices, num_devices_ret); + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int CreateSubDevices( + DeviceIdHandle in_device, + nint* properties, + uint num_devices, + DeviceIdHandle* out_devices, + uint* num_devices_ret + ) => + ThisThread.CreateSubDevices( + in_device, + properties, + num_devices, + out_devices, + num_devices_ret + ); + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.CreateSubDevices( + DeviceIdHandle in_device, + Ref properties, + uint num_devices, + Ref out_devices, + Ref num_devices_ret + ) + { + fixed (uint* __dsl_num_devices_ret = num_devices_ret) + fixed (DeviceIdHandle* __dsl_out_devices = out_devices) + fixed (nint* __dsl_properties = properties) + { + return (int) + ((ICl)this).CreateSubDevices( + in_device, + __dsl_properties, + num_devices, + __dsl_out_devices, + __dsl_num_devices_ret + ); + } + } + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int CreateSubDevices( + DeviceIdHandle in_device, + Ref properties, + uint num_devices, + Ref out_devices, + Ref num_devices_ret + ) => + ThisThread.CreateSubDevices( + in_device, + properties, + num_devices, + out_devices, + num_devices_ret + ); + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.CreateSubDevicesEXT( + DeviceIdHandle in_device, + ulong* properties, + uint num_entries, + DeviceIdHandle* out_devices, + uint* num_devices + ) => + ( + (delegate* unmanaged)( + _slots[30] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[30] = nativeContext.LoadFunction("clCreateSubDevicesEXT", "opencl") + ) + )(in_device, properties, num_entries, out_devices, num_devices); + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int CreateSubDevicesEXT( + DeviceIdHandle in_device, + ulong* properties, + uint num_entries, + DeviceIdHandle* out_devices, + uint* num_devices + ) => + ThisThread.CreateSubDevicesEXT( + in_device, + properties, + num_entries, + out_devices, + num_devices + ); + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.CreateSubDevicesEXT( + DeviceIdHandle in_device, + Ref properties, + uint num_entries, + Ref out_devices, + Ref num_devices + ) + { + fixed (uint* __dsl_num_devices = num_devices) + fixed (DeviceIdHandle* __dsl_out_devices = out_devices) + fixed (ulong* __dsl_properties = properties) + { + return (int) + ((ICl)this).CreateSubDevicesEXT( + in_device, + __dsl_properties, + num_entries, + __dsl_out_devices, + __dsl_num_devices + ); + } + } + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int CreateSubDevicesEXT( + DeviceIdHandle in_device, + Ref properties, + uint num_entries, + Ref out_devices, + Ref num_devices + ) => + ThisThread.CreateSubDevicesEXT( + in_device, + properties, + num_entries, + out_devices, + num_devices + ); + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + EventHandle ICl.CreateUserEvent(ContextHandle context, int* errcode_ret) => + ( + (delegate* unmanaged)( + _slots[31] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[31] = nativeContext.LoadFunction("clCreateUserEvent", "opencl") + ) + )(context, errcode_ret); + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static EventHandle CreateUserEvent(ContextHandle context, int* errcode_ret) => + ThisThread.CreateUserEvent(context, errcode_ret); + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + EventHandle ICl.CreateUserEvent(ContextHandle context, Ref errcode_ret) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + { + return (EventHandle)((ICl)this).CreateUserEvent(context, __dsl_errcode_ret); + } + } + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static EventHandle CreateUserEvent(ContextHandle context, Ref errcode_ret) => + ThisThread.CreateUserEvent(context, errcode_ret); + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* ICl.DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[32] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[32] = nativeContext.LoadFunction("clDeviceMemAllocINTEL", "opencl") + ) + )(context, device, properties, size, alignment, errcode_ret); + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ) => ThisThread.DeviceMemAllocINTEL(context, device, properties, size, alignment, errcode_ret); + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr ICl.DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (void*) + ((ICl)this).DeviceMemAllocINTEL( + context, + device, + __dsl_properties, + size, + alignment, + __dsl_errcode_ret + ); + } + } + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) => ThisThread.DeviceMemAllocINTEL(context, device, properties, size, alignment, errcode_ret); + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + MemHandle*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[33] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[33] = nativeContext.LoadFunction( + "clEnqueueAcquireExternalMemObjectsKHR", + "opencl" + ) + ) + )( + command_queue, + num_mem_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueAcquireExternalMemObjectsKHR( + command_queue, + num_mem_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int) + ((ICl)this).EnqueueAcquireExternalMemObjectsKHR( + command_queue, + num_mem_objects, + __dsl_mem_objects, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueAcquireExternalMemObjectsKHR( + command_queue, + num_mem_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + MemHandle*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[34] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[34] = nativeContext.LoadFunction( + "clEnqueueAcquireGrallocObjectsIMG", + "opencl" + ) + ) + )( + command_queue, + num_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueAcquireGrallocObjectsIMG( + command_queue, + num_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int) + ((ICl)this).EnqueueAcquireGrallocObjectsIMG( + command_queue, + num_objects, + __dsl_mem_objects, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueAcquireGrallocObjectsIMG( + command_queue, + num_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueBarrier")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrier")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueBarrier(CommandQueueHandle command_queue) => + ( + (delegate* unmanaged)( + _slots[35] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[35] = nativeContext.LoadFunction("clEnqueueBarrier", "opencl") + ) + )(command_queue); + + [NativeName("clEnqueueBarrier")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrier")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueBarrier(CommandQueueHandle command_queue) => + ThisThread.EnqueueBarrier(command_queue); + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged)( + _slots[36] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[36] = nativeContext.LoadFunction( + "clEnqueueBarrierWithWaitList", + "opencl" + ) + ) + )(command_queue, num_events_in_wait_list, event_wait_list, @event); + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueBarrierWithWaitList( + command_queue, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (int) + ((ICl)this).EnqueueBarrierWithWaitList( + command_queue, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueBarrierWithWaitList( + command_queue, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + MemHandle, + nuint, + nuint, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[37] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[37] = nativeContext.LoadFunction("clEnqueueCopyBuffer", "opencl") + ) + )( + command_queue, + src_buffer, + dst_buffer, + src_offset, + dst_offset, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueCopyBuffer( + command_queue, + src_buffer, + dst_buffer, + src_offset, + dst_offset, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (int) + ((ICl)this).EnqueueCopyBuffer( + command_queue, + src_buffer, + dst_buffer, + src_offset, + dst_offset, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueCopyBuffer( + command_queue, + src_buffer, + dst_buffer, + src_offset, + dst_offset, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + MemHandle, + nuint*, + nuint*, + nuint*, + nuint, + nuint, + nuint, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[38] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[38] = nativeContext.LoadFunction("clEnqueueCopyBufferRect", "opencl") + ) + )( + command_queue, + src_buffer, + dst_buffer, + src_origin, + dst_origin, + region, + src_row_pitch, + src_slice_pitch, + dst_row_pitch, + dst_slice_pitch, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueCopyBufferRect( + command_queue, + src_buffer, + dst_buffer, + src_origin, + dst_origin, + region, + src_row_pitch, + src_slice_pitch, + dst_row_pitch, + dst_slice_pitch, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + Ref src_origin, + Ref dst_origin, + Ref region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_dst_origin = dst_origin) + fixed (nuint* __dsl_src_origin = src_origin) + { + return (int) + ((ICl)this).EnqueueCopyBufferRect( + command_queue, + src_buffer, + dst_buffer, + __dsl_src_origin, + __dsl_dst_origin, + __dsl_region, + src_row_pitch, + src_slice_pitch, + dst_row_pitch, + dst_slice_pitch, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + Ref src_origin, + Ref dst_origin, + Ref region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueCopyBufferRect( + command_queue, + src_buffer, + dst_buffer, + src_origin, + dst_origin, + region, + src_row_pitch, + src_slice_pitch, + dst_row_pitch, + dst_slice_pitch, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + MemHandle, + nuint, + nuint*, + nuint*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[39] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[39] = nativeContext.LoadFunction( + "clEnqueueCopyBufferToImage", + "opencl" + ) + ) + )( + command_queue, + src_buffer, + dst_image, + src_offset, + dst_origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueCopyBufferToImage( + command_queue, + src_buffer, + dst_image, + src_offset, + dst_origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_dst_origin = dst_origin) + { + return (int) + ((ICl)this).EnqueueCopyBufferToImage( + command_queue, + src_buffer, + dst_image, + src_offset, + __dsl_dst_origin, + __dsl_region, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueCopyBufferToImage( + command_queue, + src_buffer, + dst_image, + src_offset, + dst_origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + MemHandle, + nuint*, + nuint*, + nuint*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[40] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[40] = nativeContext.LoadFunction("clEnqueueCopyImage", "opencl") + ) + )( + command_queue, + src_image, + dst_image, + src_origin, + dst_origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueCopyImage( + command_queue, + src_image, + dst_image, + src_origin, + dst_origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + Ref src_origin, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_dst_origin = dst_origin) + fixed (nuint* __dsl_src_origin = src_origin) + { + return (int) + ((ICl)this).EnqueueCopyImage( + command_queue, + src_image, + dst_image, + __dsl_src_origin, + __dsl_dst_origin, + __dsl_region, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + Ref src_origin, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueCopyImage( + command_queue, + src_image, + dst_image, + src_origin, + dst_origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + nuint* src_origin, + nuint* region, + nuint dst_offset, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + MemHandle, + nuint*, + nuint*, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[41] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[41] = nativeContext.LoadFunction( + "clEnqueueCopyImageToBuffer", + "opencl" + ) + ) + )( + command_queue, + src_image, + dst_buffer, + src_origin, + region, + dst_offset, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + nuint* src_origin, + nuint* region, + nuint dst_offset, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueCopyImageToBuffer( + command_queue, + src_image, + dst_buffer, + src_origin, + region, + dst_offset, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + Ref src_origin, + Ref region, + nuint dst_offset, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_src_origin = src_origin) + { + return (int) + ((ICl)this).EnqueueCopyImageToBuffer( + command_queue, + src_image, + dst_buffer, + __dsl_src_origin, + __dsl_region, + dst_offset, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + Ref src_origin, + Ref region, + nuint dst_offset, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueCopyImageToBuffer( + command_queue, + src_image, + dst_buffer, + src_origin, + region, + dst_offset, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + void* pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + void*, + nuint, + nuint, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[42] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[42] = nativeContext.LoadFunction("clEnqueueFillBuffer", "opencl") + ) + )( + command_queue, + buffer, + pattern, + pattern_size, + offset, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + void* pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueFillBuffer( + command_queue, + buffer, + pattern, + pattern_size, + offset, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + Ref pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_pattern = pattern) + { + return (int) + ((ICl)this).EnqueueFillBuffer( + command_queue, + buffer, + __dsl_pattern, + pattern_size, + offset, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + Ref pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueFillBuffer( + command_queue, + buffer, + pattern, + pattern_size, + offset, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + void* fill_color, + nuint* origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + void*, + nuint*, + nuint*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[43] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[43] = nativeContext.LoadFunction("clEnqueueFillImage", "opencl") + ) + )( + command_queue, + image, + fill_color, + origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + void* fill_color, + nuint* origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueFillImage( + command_queue, + image, + fill_color, + origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + Ref fill_color, + Ref origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_origin = origin) + fixed (void* __dsl_fill_color = fill_color) + { + return (int) + ((ICl)this).EnqueueFillImage( + command_queue, + image, + __dsl_fill_color, + __dsl_origin, + __dsl_region, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + Ref fill_color, + Ref origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueFillImage( + command_queue, + image, + fill_color, + origin, + region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + nuint* array_region, + nuint* mip_region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + MemHandle, + uint, + nuint*, + nuint*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[44] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[44] = nativeContext.LoadFunction( + "clEnqueueGenerateMipmapIMG", + "opencl" + ) + ) + )( + command_queue, + src_image, + dst_image, + mipmap_filter_mode, + array_region, + mip_region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + nuint* array_region, + nuint* mip_region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueGenerateMipmapIMG( + command_queue, + src_image, + dst_image, + mipmap_filter_mode, + array_region, + mip_region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + Ref array_region, + Ref mip_region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_mip_region = mip_region) + fixed (nuint* __dsl_array_region = array_region) + { + return (int) + ((ICl)this).EnqueueGenerateMipmapIMG( + command_queue, + src_image, + dst_image, + mipmap_filter_mode, + __dsl_array_region, + __dsl_mip_region, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + Ref array_region, + Ref mip_region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueGenerateMipmapIMG( + command_queue, + src_image, + dst_image, + mipmap_filter_mode, + array_region, + mip_region, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* ICl.EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + uint, + ulong, + nuint, + nuint, + uint, + EventHandle*, + EventHandle*, + int*, + void*>)( + _slots[45] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[45] = nativeContext.LoadFunction("clEnqueueMapBuffer", "opencl") + ) + )( + command_queue, + buffer, + blocking_map, + map_flags, + offset, + size, + num_events_in_wait_list, + event_wait_list, + @event, + errcode_ret + ); + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ) => + ThisThread.EnqueueMapBuffer( + command_queue, + buffer, + blocking_map, + map_flags, + offset, + size, + num_events_in_wait_list, + event_wait_list, + @event, + errcode_ret + ); + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr ICl.EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (void*) + ((ICl)this).EnqueueMapBuffer( + command_queue, + buffer, + (uint)blocking_map, + map_flags, + offset, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event, + __dsl_errcode_ret + ); + } + } + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ) => + ThisThread.EnqueueMapBuffer( + command_queue, + buffer, + blocking_map, + map_flags, + offset, + size, + num_events_in_wait_list, + event_wait_list, + @event, + errcode_ret + ); + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* ICl.EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_map, + ulong map_flags, + nuint* origin, + nuint* region, + nuint* image_row_pitch, + nuint* image_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + uint, + ulong, + nuint*, + nuint*, + nuint*, + nuint*, + uint, + EventHandle*, + EventHandle*, + int*, + void*>)( + _slots[46] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[46] = nativeContext.LoadFunction("clEnqueueMapImage", "opencl") + ) + )( + command_queue, + image, + blocking_map, + map_flags, + origin, + region, + image_row_pitch, + image_slice_pitch, + num_events_in_wait_list, + event_wait_list, + @event, + errcode_ret + ); + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_map, + ulong map_flags, + nuint* origin, + nuint* region, + nuint* image_row_pitch, + nuint* image_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ) => + ThisThread.EnqueueMapImage( + command_queue, + image, + blocking_map, + map_flags, + origin, + region, + image_row_pitch, + image_slice_pitch, + num_events_in_wait_list, + event_wait_list, + @event, + errcode_ret + ); + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr ICl.EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_map, + ulong map_flags, + Ref origin, + Ref region, + Ref image_row_pitch, + Ref image_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_image_slice_pitch = image_slice_pitch) + fixed (nuint* __dsl_image_row_pitch = image_row_pitch) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_origin = origin) + { + return (void*) + ((ICl)this).EnqueueMapImage( + command_queue, + image, + (uint)blocking_map, + map_flags, + __dsl_origin, + __dsl_region, + __dsl_image_row_pitch, + __dsl_image_slice_pitch, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event, + __dsl_errcode_ret + ); + } + } + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_map, + ulong map_flags, + Ref origin, + Ref region, + Ref image_row_pitch, + Ref image_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ) => + ThisThread.EnqueueMapImage( + command_queue, + image, + blocking_map, + map_flags, + origin, + region, + image_row_pitch, + image_slice_pitch, + num_events_in_wait_list, + event_wait_list, + @event, + errcode_ret + ); + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMarker(CommandQueueHandle command_queue, EventHandle* @event) => + ( + (delegate* unmanaged)( + _slots[47] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[47] = nativeContext.LoadFunction("clEnqueueMarker", "opencl") + ) + )(command_queue, @event); + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMarker(CommandQueueHandle command_queue, EventHandle* @event) => + ThisThread.EnqueueMarker(command_queue, @event); + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMarker(CommandQueueHandle command_queue, Ref @event) + { + fixed (EventHandle* __dsl_event = @event) + { + return (int)((ICl)this).EnqueueMarker(command_queue, __dsl_event); + } + } + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMarker(CommandQueueHandle command_queue, Ref @event) => + ThisThread.EnqueueMarker(command_queue, @event); + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged)( + _slots[48] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[48] = nativeContext.LoadFunction( + "clEnqueueMarkerWithWaitList", + "opencl" + ) + ) + )(command_queue, num_events_in_wait_list, event_wait_list, @event); + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueMarkerWithWaitList( + command_queue, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (int) + ((ICl)this).EnqueueMarkerWithWaitList( + command_queue, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueMarkerWithWaitList( + command_queue, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + void*, + nuint, + uint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[49] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[49] = nativeContext.LoadFunction("clEnqueueMemAdviseINTEL", "opencl") + ) + )(command_queue, ptr, size, advice, num_events_in_wait_list, event_wait_list, @event); + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueMemAdviseINTEL( + command_queue, + ptr, + size, + advice, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + { + return (int) + ((ICl)this).EnqueueMemAdviseINTEL( + command_queue, + __dsl_ptr, + size, + advice, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueMemAdviseINTEL( + command_queue, + ptr, + size, + advice, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + uint blocking, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + void*, + void*, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[50] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[50] = nativeContext.LoadFunction("clEnqueueMemcpyINTEL", "opencl") + ) + )( + command_queue, + blocking, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + uint blocking, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueMemcpyINTEL( + command_queue, + blocking, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + MaybeBool blocking, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_src_ptr = src_ptr) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int) + ((ICl)this).EnqueueMemcpyINTEL( + command_queue, + (uint)blocking, + __dsl_dst_ptr, + __dsl_src_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + MaybeBool blocking, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueMemcpyINTEL( + command_queue, + blocking, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + void*, + void*, + nuint, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[51] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[51] = nativeContext.LoadFunction("clEnqueueMemFillINTEL", "opencl") + ) + )( + command_queue, + dst_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueMemFillINTEL( + command_queue, + dst_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_pattern = pattern) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int) + ((ICl)this).EnqueueMemFillINTEL( + command_queue, + __dsl_dst_ptr, + __dsl_pattern, + pattern_size, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueMemFillINTEL( + command_queue, + dst_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + void*, + int, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[52] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[52] = nativeContext.LoadFunction("clEnqueueMemsetINTEL", "opencl") + ) + )(command_queue, dst_ptr, value, size, num_events_in_wait_list, event_wait_list, @event); + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueMemsetINTEL( + command_queue, + dst_ptr, + value, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int) + ((ICl)this).EnqueueMemsetINTEL( + command_queue, + __dsl_dst_ptr, + value, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueMemsetINTEL( + command_queue, + dst_ptr, + value, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + void*, + nuint, + ulong, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[53] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[53] = nativeContext.LoadFunction("clEnqueueMigrateMemINTEL", "opencl") + ) + )(command_queue, ptr, size, flags, num_events_in_wait_list, event_wait_list, @event); + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueMigrateMemINTEL( + command_queue, + ptr, + size, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + { + return (int) + ((ICl)this).EnqueueMigrateMemINTEL( + command_queue, + __dsl_ptr, + size, + flags, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueMigrateMemINTEL( + command_queue, + ptr, + size, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + MemHandle*, + ulong, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[54] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[54] = nativeContext.LoadFunction( + "clEnqueueMigrateMemObjectEXT", + "opencl" + ) + ) + )( + command_queue, + num_mem_objects, + mem_objects, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueMigrateMemObjectEXT( + command_queue, + num_mem_objects, + mem_objects, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int) + ((ICl)this).EnqueueMigrateMemObjectEXT( + command_queue, + num_mem_objects, + __dsl_mem_objects, + flags, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueMigrateMemObjectEXT( + command_queue, + num_mem_objects, + mem_objects, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + MemHandle*, + ulong, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[55] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[55] = nativeContext.LoadFunction( + "clEnqueueMigrateMemObjects", + "opencl" + ) + ) + )( + command_queue, + num_mem_objects, + mem_objects, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueMigrateMemObjects( + command_queue, + num_mem_objects, + mem_objects, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int) + ((ICl)this).EnqueueMigrateMemObjects( + command_queue, + num_mem_objects, + __dsl_mem_objects, + flags, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueMigrateMemObjects( + command_queue, + num_mem_objects, + mem_objects, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + void* args, + nuint cb_args, + uint num_mem_objects, + MemHandle* mem_list, + void** args_mem_loc, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + delegate* unmanaged, + void*, + nuint, + uint, + MemHandle*, + void**, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[56] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[56] = nativeContext.LoadFunction("clEnqueueNativeKernel", "opencl") + ) + )( + command_queue, + user_func, + args, + cb_args, + num_mem_objects, + mem_list, + args_mem_loc, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + void* args, + nuint cb_args, + uint num_mem_objects, + MemHandle* mem_list, + void** args_mem_loc, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueNativeKernel( + command_queue, + user_func, + args, + cb_args, + num_mem_objects, + mem_list, + args_mem_loc, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + Ref args, + nuint cb_args, + uint num_mem_objects, + Ref mem_list, + Ref2D args_mem_loc, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void** __dsl_args_mem_loc = args_mem_loc) + fixed (MemHandle* __dsl_mem_list = mem_list) + fixed (void* __dsl_args = args) + { + return (int) + ((ICl)this).EnqueueNativeKernel( + command_queue, + user_func, + __dsl_args, + cb_args, + num_mem_objects, + __dsl_mem_list, + __dsl_args_mem_loc, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + Ref args, + nuint cb_args, + uint num_mem_objects, + Ref mem_list, + Ref2D args_mem_loc, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueNativeKernel( + command_queue, + user_func, + args, + cb_args, + num_mem_objects, + mem_list, + args_mem_loc, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* local_work_size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + KernelHandle, + uint, + nuint*, + nuint*, + nuint*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[57] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[57] = nativeContext.LoadFunction("clEnqueueNDRangeKernel", "opencl") + ) + )( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + local_work_size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* local_work_size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueNDRangeKernel( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + local_work_size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref local_work_size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_local_work_size = local_work_size) + fixed (nuint* __dsl_global_work_size = global_work_size) + fixed (nuint* __dsl_global_work_offset = global_work_offset) + { + return (int) + ((ICl)this).EnqueueNDRangeKernel( + command_queue, + kernel, + work_dim, + __dsl_global_work_offset, + __dsl_global_work_size, + __dsl_local_work_size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref local_work_size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueNDRangeKernel( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + local_work_size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + uint, + nuint, + nuint, + void*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[58] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[58] = nativeContext.LoadFunction("clEnqueueReadBuffer", "opencl") + ) + )( + command_queue, + buffer, + blocking_read, + offset, + size, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueReadBuffer( + command_queue, + buffer, + blocking_read, + offset, + size, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + { + return (int) + ((ICl)this).EnqueueReadBuffer( + command_queue, + buffer, + (uint)blocking_read, + offset, + size, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueReadBuffer( + command_queue, + buffer, + blocking_read, + offset, + size, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + uint, + nuint*, + nuint*, + nuint*, + nuint, + nuint, + nuint, + nuint, + void*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[59] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[59] = nativeContext.LoadFunction("clEnqueueReadBufferRect", "opencl") + ) + )( + command_queue, + buffer, + blocking_read, + buffer_origin, + host_origin, + region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueReadBufferRect( + command_queue, + buffer, + blocking_read, + buffer_origin, + host_origin, + region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_host_origin = host_origin) + fixed (nuint* __dsl_buffer_origin = buffer_origin) + { + return (int) + ((ICl)this).EnqueueReadBufferRect( + command_queue, + buffer, + (uint)blocking_read, + __dsl_buffer_origin, + __dsl_host_origin, + __dsl_region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueReadBufferRect( + command_queue, + buffer, + blocking_read, + buffer_origin, + host_origin, + region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_read, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + ProgramHandle, + sbyte*, + uint, + void*, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[60] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[60] = nativeContext.LoadFunction( + "clEnqueueReadHostPipeINTEL", + "opencl" + ) + ) + )( + command_queue, + program, + pipe_symbol, + blocking_read, + ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_read, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueReadHostPipeINTEL( + command_queue, + program, + pipe_symbol, + blocking_read, + ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_read, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (sbyte* __dsl_pipe_symbol = pipe_symbol) + { + return (int) + ((ICl)this).EnqueueReadHostPipeINTEL( + command_queue, + program, + __dsl_pipe_symbol, + (uint)blocking_read, + __dsl_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_read, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueReadHostPipeINTEL( + command_queue, + program, + pipe_symbol, + blocking_read, + ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_read, + nuint* origin, + nuint* region, + nuint row_pitch, + nuint slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + uint, + nuint*, + nuint*, + nuint, + nuint, + void*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[61] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[61] = nativeContext.LoadFunction("clEnqueueReadImage", "opencl") + ) + )( + command_queue, + image, + blocking_read, + origin, + region, + row_pitch, + slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_read, + nuint* origin, + nuint* region, + nuint row_pitch, + nuint slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueReadImage( + command_queue, + image, + blocking_read, + origin, + region, + row_pitch, + slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_read, + Ref origin, + Ref region, + nuint row_pitch, + nuint slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_origin = origin) + { + return (int) + ((ICl)this).EnqueueReadImage( + command_queue, + image, + (uint)blocking_read, + __dsl_origin, + __dsl_region, + row_pitch, + slice_pitch, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_read, + Ref origin, + Ref region, + nuint row_pitch, + nuint slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueReadImage( + command_queue, + image, + blocking_read, + origin, + region, + row_pitch, + slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + MemHandle*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[62] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[62] = nativeContext.LoadFunction( + "clEnqueueReleaseExternalMemObjectsKHR", + "opencl" + ) + ) + )( + command_queue, + num_mem_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueReleaseExternalMemObjectsKHR( + command_queue, + num_mem_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int) + ((ICl)this).EnqueueReleaseExternalMemObjectsKHR( + command_queue, + num_mem_objects, + __dsl_mem_objects, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueReleaseExternalMemObjectsKHR( + command_queue, + num_mem_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + MemHandle*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[63] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[63] = nativeContext.LoadFunction( + "clEnqueueReleaseGrallocObjectsIMG", + "opencl" + ) + ) + )( + command_queue, + num_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueReleaseGrallocObjectsIMG( + command_queue, + num_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (MemHandle* __dsl_mem_objects = mem_objects) + { + return (int) + ((ICl)this).EnqueueReleaseGrallocObjectsIMG( + command_queue, + num_objects, + __dsl_mem_objects, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueReleaseGrallocObjectsIMG( + command_queue, + num_objects, + mem_objects, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + SemaphoreHandleKHR*, + ulong*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[64] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[64] = nativeContext.LoadFunction( + "clEnqueueSignalSemaphoresKHR", + "opencl" + ) + ) + )( + command_queue, + num_sema_objects, + sema_objects, + sema_payload_list, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueSignalSemaphoresKHR( + command_queue, + num_sema_objects, + sema_objects, + sema_payload_list, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (ulong* __dsl_sema_payload_list = sema_payload_list) + fixed (SemaphoreHandleKHR* __dsl_sema_objects = sema_objects) + { + return (int) + ((ICl)this).EnqueueSignalSemaphoresKHR( + command_queue, + num_sema_objects, + __dsl_sema_objects, + __dsl_sema_payload_list, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueSignalSemaphoresKHR( + command_queue, + num_sema_objects, + sema_objects, + sema_payload_list, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + void**, + delegate* unmanaged, + void*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[65] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[65] = nativeContext.LoadFunction("clEnqueueSVMFree", "opencl") + ) + )( + command_queue, + num_svm_pointers, + svm_pointers, + pfn_free_func, + user_data, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueSvmFree( + command_queue, + num_svm_pointers, + svm_pointers, + pfn_free_func, + user_data, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_user_data = user_data) + fixed (void** __dsl_svm_pointers = svm_pointers) + { + return (int) + ((ICl)this).EnqueueSvmFree( + command_queue, + num_svm_pointers, + __dsl_svm_pointers, + pfn_free_func, + __dsl_user_data, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueSvmFree( + command_queue, + num_svm_pointers, + svm_pointers, + pfn_free_func, + user_data, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + void**, + delegate* unmanaged, + void*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[66] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[66] = nativeContext.LoadFunction("clEnqueueSVMFreeARM", "opencl") + ) + )( + command_queue, + num_svm_pointers, + svm_pointers, + pfn_free_func, + user_data, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueSvmFreeARM( + command_queue, + num_svm_pointers, + svm_pointers, + pfn_free_func, + user_data, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_user_data = user_data) + fixed (void** __dsl_svm_pointers = svm_pointers) + { + return (int) + ((ICl)this).EnqueueSvmFreeARM( + command_queue, + num_svm_pointers, + __dsl_svm_pointers, + pfn_free_func, + __dsl_user_data, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueSvmFreeARM( + command_queue, + num_svm_pointers, + svm_pointers, + pfn_free_func, + user_data, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMap( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + ulong, + void*, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[67] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[67] = nativeContext.LoadFunction("clEnqueueSVMMap", "opencl") + ) + )( + command_queue, + blocking_map, + flags, + svm_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMap( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueSvmMap( + command_queue, + blocking_map, + flags, + svm_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMap( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int) + ((ICl)this).EnqueueSvmMap( + command_queue, + (uint)blocking_map, + flags, + __dsl_svm_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMap( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueSvmMap( + command_queue, + blocking_map, + flags, + svm_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMapARM( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + ulong, + void*, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[68] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[68] = nativeContext.LoadFunction("clEnqueueSVMMapARM", "opencl") + ) + )( + command_queue, + blocking_map, + flags, + svm_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMapARM( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueSvmMapARM( + command_queue, + blocking_map, + flags, + svm_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMapARM( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int) + ((ICl)this).EnqueueSvmMapARM( + command_queue, + (uint)blocking_map, + flags, + __dsl_svm_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMapARM( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueSvmMapARM( + command_queue, + blocking_map, + flags, + svm_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + void*, + void*, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[69] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[69] = nativeContext.LoadFunction("clEnqueueSVMMemcpy", "opencl") + ) + )( + command_queue, + blocking_copy, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueSvmMemcpy( + command_queue, + blocking_copy, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_src_ptr = src_ptr) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int) + ((ICl)this).EnqueueSvmMemcpy( + command_queue, + (uint)blocking_copy, + __dsl_dst_ptr, + __dsl_src_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueSvmMemcpy( + command_queue, + blocking_copy, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + void*, + void*, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[70] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[70] = nativeContext.LoadFunction("clEnqueueSVMMemcpyARM", "opencl") + ) + )( + command_queue, + blocking_copy, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueSvmMemcpyARM( + command_queue, + blocking_copy, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_src_ptr = src_ptr) + fixed (void* __dsl_dst_ptr = dst_ptr) + { + return (int) + ((ICl)this).EnqueueSvmMemcpyARM( + command_queue, + (uint)blocking_copy, + __dsl_dst_ptr, + __dsl_src_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueSvmMemcpyARM( + command_queue, + blocking_copy, + dst_ptr, + src_ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMemFill( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + void*, + void*, + nuint, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[71] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[71] = nativeContext.LoadFunction("clEnqueueSVMMemFill", "opencl") + ) + )( + command_queue, + svm_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMemFill( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueSvmMemFill( + command_queue, + svm_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMemFill( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_pattern = pattern) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int) + ((ICl)this).EnqueueSvmMemFill( + command_queue, + __dsl_svm_ptr, + __dsl_pattern, + pattern_size, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMemFill( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueSvmMemFill( + command_queue, + svm_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + void*, + void*, + nuint, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[72] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[72] = nativeContext.LoadFunction("clEnqueueSVMMemFillARM", "opencl") + ) + )( + command_queue, + svm_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueSvmMemFillARM( + command_queue, + svm_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_pattern = pattern) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int) + ((ICl)this).EnqueueSvmMemFillARM( + command_queue, + __dsl_svm_ptr, + __dsl_pattern, + pattern_size, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueSvmMemFillARM( + command_queue, + svm_ptr, + pattern, + pattern_size, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + nuint* sizes, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + void**, + nuint*, + ulong, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[73] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[73] = nativeContext.LoadFunction("clEnqueueSVMMigrateMem", "opencl") + ) + )( + command_queue, + num_svm_pointers, + svm_pointers, + sizes, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + nuint* sizes, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueSvmMigrateMem( + command_queue, + num_svm_pointers, + svm_pointers, + sizes, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + Ref sizes, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (nuint* __dsl_sizes = sizes) + fixed (void** __dsl_svm_pointers = svm_pointers) + { + return (int) + ((ICl)this).EnqueueSvmMigrateMem( + command_queue, + num_svm_pointers, + __dsl_svm_pointers, + __dsl_sizes, + flags, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + Ref sizes, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueSvmMigrateMem( + command_queue, + num_svm_pointers, + svm_pointers, + sizes, + flags, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmUnmap( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged)( + _slots[74] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[74] = nativeContext.LoadFunction("clEnqueueSVMUnmap", "opencl") + ) + )(command_queue, svm_ptr, num_events_in_wait_list, event_wait_list, @event); + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmUnmap( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueSvmUnmap( + command_queue, + svm_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmUnmap( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int) + ((ICl)this).EnqueueSvmUnmap( + command_queue, + __dsl_svm_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmUnmap( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueSvmUnmap( + command_queue, + svm_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged)( + _slots[75] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[75] = nativeContext.LoadFunction("clEnqueueSVMUnmapARM", "opencl") + ) + )(command_queue, svm_ptr, num_events_in_wait_list, event_wait_list, @event); + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueSvmUnmapARM( + command_queue, + svm_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_svm_ptr = svm_ptr) + { + return (int) + ((ICl)this).EnqueueSvmUnmapARM( + command_queue, + __dsl_svm_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueSvmUnmapARM( + command_queue, + svm_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + KernelHandle, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[76] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[76] = nativeContext.LoadFunction("clEnqueueTask", "opencl") + ) + )(command_queue, kernel, num_events_in_wait_list, event_wait_list, @event); + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueTask( + command_queue, + kernel, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + { + return (int) + ((ICl)this).EnqueueTask( + command_queue, + kernel, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueTask( + command_queue, + kernel, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + void* mapped_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + void*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[77] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[77] = nativeContext.LoadFunction("clEnqueueUnmapMemObject", "opencl") + ) + )(command_queue, memobj, mapped_ptr, num_events_in_wait_list, event_wait_list, @event); + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + void* mapped_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueUnmapMemObject( + command_queue, + memobj, + mapped_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + Ref mapped_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_mapped_ptr = mapped_ptr) + { + return (int) + ((ICl)this).EnqueueUnmapMemObject( + command_queue, + memobj, + __dsl_mapped_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + Ref mapped_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueUnmapMemObject( + command_queue, + memobj, + mapped_ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + EventHandle* event_list + ) => + ( + (delegate* unmanaged)( + _slots[78] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[78] = nativeContext.LoadFunction("clEnqueueWaitForEvents", "opencl") + ) + )(command_queue, num_events, event_list); + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + EventHandle* event_list + ) => ThisThread.EnqueueWaitForEvents(command_queue, num_events, event_list); + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + Ref event_list + ) + { + fixed (EventHandle* __dsl_event_list = event_list) + { + return (int) + ((ICl)this).EnqueueWaitForEvents(command_queue, num_events, __dsl_event_list); + } + } + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + Ref event_list + ) => ThisThread.EnqueueWaitForEvents(command_queue, num_events, event_list); + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + uint, + SemaphoreHandleKHR*, + ulong*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[79] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[79] = nativeContext.LoadFunction( + "clEnqueueWaitSemaphoresKHR", + "opencl" + ) + ) + )( + command_queue, + num_sema_objects, + sema_objects, + sema_payload_list, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueWaitSemaphoresKHR( + command_queue, + num_sema_objects, + sema_objects, + sema_payload_list, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (ulong* __dsl_sema_payload_list = sema_payload_list) + fixed (SemaphoreHandleKHR* __dsl_sema_objects = sema_objects) + { + return (int) + ((ICl)this).EnqueueWaitSemaphoresKHR( + command_queue, + num_sema_objects, + __dsl_sema_objects, + __dsl_sema_payload_list, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueWaitSemaphoresKHR( + command_queue, + num_sema_objects, + sema_objects, + sema_payload_list, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + uint, + nuint, + nuint, + void*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[80] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[80] = nativeContext.LoadFunction("clEnqueueWriteBuffer", "opencl") + ) + )( + command_queue, + buffer, + blocking_write, + offset, + size, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueWriteBuffer( + command_queue, + buffer, + blocking_write, + offset, + size, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + { + return (int) + ((ICl)this).EnqueueWriteBuffer( + command_queue, + buffer, + (uint)blocking_write, + offset, + size, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueWriteBuffer( + command_queue, + buffer, + blocking_write, + offset, + size, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + uint, + nuint*, + nuint*, + nuint*, + nuint, + nuint, + nuint, + nuint, + void*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[81] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[81] = nativeContext.LoadFunction("clEnqueueWriteBufferRect", "opencl") + ) + )( + command_queue, + buffer, + blocking_write, + buffer_origin, + host_origin, + region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueWriteBufferRect( + command_queue, + buffer, + blocking_write, + buffer_origin, + host_origin, + region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_host_origin = host_origin) + fixed (nuint* __dsl_buffer_origin = buffer_origin) + { + return (int) + ((ICl)this).EnqueueWriteBufferRect( + command_queue, + buffer, + (uint)blocking_write, + __dsl_buffer_origin, + __dsl_host_origin, + __dsl_region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueWriteBufferRect( + command_queue, + buffer, + blocking_write, + buffer_origin, + host_origin, + region, + buffer_row_pitch, + buffer_slice_pitch, + host_row_pitch, + host_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_write, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + ProgramHandle, + sbyte*, + uint, + void*, + nuint, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[82] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[82] = nativeContext.LoadFunction( + "clEnqueueWriteHostPipeINTEL", + "opencl" + ) + ) + )( + command_queue, + program, + pipe_symbol, + blocking_write, + ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_write, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueWriteHostPipeINTEL( + command_queue, + program, + pipe_symbol, + blocking_write, + ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_write, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (sbyte* __dsl_pipe_symbol = pipe_symbol) + { + return (int) + ((ICl)this).EnqueueWriteHostPipeINTEL( + command_queue, + program, + __dsl_pipe_symbol, + (uint)blocking_write, + __dsl_ptr, + size, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_write, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueWriteHostPipeINTEL( + command_queue, + program, + pipe_symbol, + blocking_write, + ptr, + size, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_write, + nuint* origin, + nuint* region, + nuint input_row_pitch, + nuint input_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + MemHandle, + uint, + nuint*, + nuint*, + nuint, + nuint, + void*, + uint, + EventHandle*, + EventHandle*, + int>)( + _slots[83] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[83] = nativeContext.LoadFunction("clEnqueueWriteImage", "opencl") + ) + )( + command_queue, + image, + blocking_write, + origin, + region, + input_row_pitch, + input_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_write, + nuint* origin, + nuint* region, + nuint input_row_pitch, + nuint input_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ) => + ThisThread.EnqueueWriteImage( + command_queue, + image, + blocking_write, + origin, + region, + input_row_pitch, + input_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_write, + Ref origin, + Ref region, + nuint input_row_pitch, + nuint input_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) + { + fixed (EventHandle* __dsl_event = @event) + fixed (EventHandle* __dsl_event_wait_list = event_wait_list) + fixed (void* __dsl_ptr = ptr) + fixed (nuint* __dsl_region = region) + fixed (nuint* __dsl_origin = origin) + { + return (int) + ((ICl)this).EnqueueWriteImage( + command_queue, + image, + (uint)blocking_write, + __dsl_origin, + __dsl_region, + input_row_pitch, + input_slice_pitch, + __dsl_ptr, + num_events_in_wait_list, + __dsl_event_wait_list, + __dsl_event + ); + } + } + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_write, + Ref origin, + Ref region, + nuint input_row_pitch, + nuint input_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ) => + ThisThread.EnqueueWriteImage( + command_queue, + image, + blocking_write, + origin, + region, + input_row_pitch, + input_slice_pitch, + ptr, + num_events_in_wait_list, + event_wait_list, + @event + ); + + [NativeName("clFinish")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clFinish")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.Finish(CommandQueueHandle command_queue) => + ( + (delegate* unmanaged)( + _slots[84] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[84] = nativeContext.LoadFunction("clFinish", "opencl") + ) + )(command_queue); + + [NativeName("clFinish")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clFinish")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int Finish(CommandQueueHandle command_queue) => ThisThread.Finish(command_queue); + + [NativeName("clFlush")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clFlush")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.Flush(CommandQueueHandle command_queue) => + ( + (delegate* unmanaged)( + _slots[85] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[85] = nativeContext.LoadFunction("clFlush", "opencl") + ) + )(command_queue); + + [NativeName("clFlush")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clFlush")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int Flush(CommandQueueHandle command_queue) => ThisThread.Flush(command_queue); + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[86] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[86] = nativeContext.LoadFunction("clGetAcceleratorInfoINTEL", "opencl") + ) + )(accelerator, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetAcceleratorInfoINTEL( + accelerator, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetAcceleratorInfoINTEL( + accelerator, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetAcceleratorInfoINTEL( + accelerator, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[87] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[87] = nativeContext.LoadFunction("clGetCommandQueueInfo", "opencl") + ) + )(command_queue, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetCommandQueueInfo( + command_queue, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetCommandQueueInfo( + command_queue, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetCommandQueueInfo( + command_queue, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[88] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[88] = nativeContext.LoadFunction("clGetContextInfo", "opencl") + ) + )(context, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetContextInfo( + context, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetContextInfo( + context, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetContextInfo( + context, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetDeviceAndHostTimer( + DeviceIdHandle device, + ulong* device_timestamp, + ulong* host_timestamp + ) => + ( + (delegate* unmanaged)( + _slots[89] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[89] = nativeContext.LoadFunction("clGetDeviceAndHostTimer", "opencl") + ) + )(device, device_timestamp, host_timestamp); + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetDeviceAndHostTimer( + DeviceIdHandle device, + ulong* device_timestamp, + ulong* host_timestamp + ) => ThisThread.GetDeviceAndHostTimer(device, device_timestamp, host_timestamp); + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetDeviceAndHostTimer( + DeviceIdHandle device, + Ref device_timestamp, + Ref host_timestamp + ) + { + fixed (ulong* __dsl_host_timestamp = host_timestamp) + fixed (ulong* __dsl_device_timestamp = device_timestamp) + { + return (int) + ((ICl)this).GetDeviceAndHostTimer( + device, + __dsl_device_timestamp, + __dsl_host_timestamp + ); + } + } + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetDeviceAndHostTimer( + DeviceIdHandle device, + Ref device_timestamp, + Ref host_timestamp + ) => ThisThread.GetDeviceAndHostTimer(device, device_timestamp, host_timestamp); + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + DeviceIdHandle* devices, + uint* num_devices + ) => + ( + (delegate* unmanaged)( + _slots[90] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[90] = nativeContext.LoadFunction("clGetDeviceIDs", "opencl") + ) + )(platform, device_type, num_entries, devices, num_devices); + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + DeviceIdHandle* devices, + uint* num_devices + ) => ThisThread.GetDeviceIDs(platform, device_type, num_entries, devices, num_devices); + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + Ref devices, + Ref num_devices + ) + { + fixed (uint* __dsl_num_devices = num_devices) + fixed (DeviceIdHandle* __dsl_devices = devices) + { + return (int) + ((ICl)this).GetDeviceIDs( + platform, + device_type, + num_entries, + __dsl_devices, + __dsl_num_devices + ); + } + } + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + Ref devices, + Ref num_devices + ) => ThisThread.GetDeviceIDs(platform, device_type, num_entries, devices, num_devices); + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + ImageFormat* image_format, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged< + DeviceIdHandle, + nuint, + nuint, + ImageFormat*, + uint, + nuint, + void*, + nuint*, + int>)( + _slots[91] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[91] = nativeContext.LoadFunction("clGetDeviceImageInfoQCOM", "opencl") + ) + )( + device, + image_width, + image_height, + image_format, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + ImageFormat* image_format, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetDeviceImageInfoQCOM( + device, + image_width, + image_height, + image_format, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + Ref image_format, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (ImageFormat* __dsl_image_format = image_format) + { + return (int) + ((ICl)this).GetDeviceImageInfoQCOM( + device, + image_width, + image_height, + __dsl_image_format, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + Ref image_format, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetDeviceImageInfoQCOM( + device, + image_width, + image_height, + image_format, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[92] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[92] = nativeContext.LoadFunction("clGetDeviceInfo", "opencl") + ) + )(device, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetDeviceInfo( + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetDeviceInfo( + device, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetDeviceInfo( + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[93] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[93] = nativeContext.LoadFunction("clGetEventInfo", "opencl") + ) + )(@event, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetEventInfo( + @event, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetEventInfo( + @event, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetEventInfo( + @event, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[94] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[94] = nativeContext.LoadFunction("clGetEventProfilingInfo", "opencl") + ) + )(@event, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetEventProfilingInfo( + @event, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetEventProfilingInfo( + @event, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetEventProfilingInfo( + @event, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* ICl.GetExtensionFunctionAddress(sbyte* func_name) => + ( + (delegate* unmanaged)( + _slots[95] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[95] = nativeContext.LoadFunction( + "clGetExtensionFunctionAddress", + "opencl" + ) + ) + )(func_name); + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* GetExtensionFunctionAddress(sbyte* func_name) => + ThisThread.GetExtensionFunctionAddress(func_name); + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr ICl.GetExtensionFunctionAddress(Ref func_name) + { + fixed (sbyte* __dsl_func_name = func_name) + { + return (void*)((ICl)this).GetExtensionFunctionAddress(__dsl_func_name); + } + } + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr GetExtensionFunctionAddress(Ref func_name) => + ThisThread.GetExtensionFunctionAddress(func_name); + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* ICl.GetExtensionFunctionAddressForPlatform(PlatformIdHandle platform, sbyte* func_name) => + ( + (delegate* unmanaged)( + _slots[96] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[96] = nativeContext.LoadFunction( + "clGetExtensionFunctionAddressForPlatform", + "opencl" + ) + ) + )(platform, func_name); + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* GetExtensionFunctionAddressForPlatform( + PlatformIdHandle platform, + sbyte* func_name + ) => ThisThread.GetExtensionFunctionAddressForPlatform(platform, func_name); + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr ICl.GetExtensionFunctionAddressForPlatform(PlatformIdHandle platform, Ref func_name) + { + fixed (sbyte* __dsl_func_name = func_name) + { + return (void*) + ((ICl)this).GetExtensionFunctionAddressForPlatform(platform, __dsl_func_name); + } + } + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr GetExtensionFunctionAddressForPlatform( + PlatformIdHandle platform, + Ref func_name + ) => ThisThread.GetExtensionFunctionAddressForPlatform(platform, func_name); + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetHostTimer(DeviceIdHandle device, ulong* host_timestamp) => + ( + (delegate* unmanaged)( + _slots[97] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[97] = nativeContext.LoadFunction("clGetHostTimer", "opencl") + ) + )(device, host_timestamp); + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetHostTimer(DeviceIdHandle device, ulong* host_timestamp) => + ThisThread.GetHostTimer(device, host_timestamp); + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetHostTimer(DeviceIdHandle device, Ref host_timestamp) + { + fixed (ulong* __dsl_host_timestamp = host_timestamp) + { + return (int)((ICl)this).GetHostTimer(device, __dsl_host_timestamp); + } + } + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetHostTimer(DeviceIdHandle device, Ref host_timestamp) => + ThisThread.GetHostTimer(device, host_timestamp); + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[98] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[98] = nativeContext.LoadFunction("clGetICDLoaderInfoOCLICD", "opencl") + ) + )(param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetIcdLoaderInfoOclicd( + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetIcdLoaderInfoOclicd( + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetIcdLoaderInfoOclicd( + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[99] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[99] = nativeContext.LoadFunction("clGetImageInfo", "opencl") + ) + )(image, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetImageInfo( + image, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetImageInfo( + image, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetImageInfo( + image, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetImageRequirementsInfoEXT( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged< + ContextHandle, + ulong*, + ulong, + ImageFormat*, + ImageDesc*, + uint, + nuint, + void*, + nuint*, + int>)( + _slots[100] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[100] = nativeContext.LoadFunction( + "clGetImageRequirementsInfoEXT", + "opencl" + ) + ) + )( + context, + properties, + flags, + image_format, + image_desc, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetImageRequirementsInfoEXT( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetImageRequirementsInfoEXT( + context, + properties, + flags, + image_format, + image_desc, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetImageRequirementsInfoEXT( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (ImageDesc* __dsl_image_desc = image_desc) + fixed (ImageFormat* __dsl_image_format = image_format) + fixed (ulong* __dsl_properties = properties) + { + return (int) + ((ICl)this).GetImageRequirementsInfoEXT( + context, + __dsl_properties, + flags, + __dsl_image_format, + __dsl_image_desc, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetImageRequirementsInfoEXT( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetImageRequirementsInfoEXT( + context, + properties, + flags, + image_format, + image_desc, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[101] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[101] = nativeContext.LoadFunction("clGetKernelArgInfo", "opencl") + ) + )(kernel, arg_indx, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetKernelArgInfo( + kernel, + arg_indx, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetKernelArgInfo( + kernel, + arg_indx, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetKernelArgInfo( + kernel, + arg_indx, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[102] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[102] = nativeContext.LoadFunction("clGetKernelInfo", "opencl") + ) + )(kernel, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetKernelInfo( + kernel, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetKernelInfo( + kernel, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetKernelInfo( + kernel, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged< + KernelHandle, + DeviceIdHandle, + uint, + nuint, + void*, + nuint, + void*, + nuint*, + int>)( + _slots[103] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[103] = nativeContext.LoadFunction("clGetKernelSubGroupInfo", "opencl") + ) + )( + kernel, + device, + param_name, + input_value_size, + input_value, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetKernelSubGroupInfo( + kernel, + device, + param_name, + input_value_size, + input_value, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (void* __dsl_input_value = input_value) + { + return (int) + ((ICl)this).GetKernelSubGroupInfo( + kernel, + device, + param_name, + input_value_size, + __dsl_input_value, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetKernelSubGroupInfo( + kernel, + device, + param_name, + input_value_size, + input_value, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged< + KernelHandle, + DeviceIdHandle, + uint, + nuint, + void*, + nuint, + void*, + nuint*, + int>)( + _slots[104] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[104] = nativeContext.LoadFunction( + "clGetKernelSubGroupInfoKHR", + "opencl" + ) + ) + )( + in_kernel, + in_device, + param_name, + input_value_size, + input_value, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetKernelSubGroupInfoKHR( + in_kernel, + in_device, + param_name, + input_value_size, + input_value, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (void* __dsl_input_value = input_value) + { + return (int) + ((ICl)this).GetKernelSubGroupInfoKHR( + in_kernel, + in_device, + param_name, + input_value_size, + __dsl_input_value, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetKernelSubGroupInfoKHR( + in_kernel, + in_device, + param_name, + input_value_size, + input_value, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + KernelHandle, + uint, + nuint*, + nuint*, + nuint*, + int>)( + _slots[105] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[105] = nativeContext.LoadFunction( + "clGetKernelSuggestedLocalWorkSize", + "opencl" + ) + ) + )( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ) => + ThisThread.GetKernelSuggestedLocalWorkSize( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ) + { + fixed (nuint* __dsl_suggested_local_work_size = suggested_local_work_size) + fixed (nuint* __dsl_global_work_size = global_work_size) + fixed (nuint* __dsl_global_work_offset = global_work_offset) + { + return (int) + ((ICl)this).GetKernelSuggestedLocalWorkSize( + command_queue, + kernel, + work_dim, + __dsl_global_work_offset, + __dsl_global_work_size, + __dsl_suggested_local_work_size + ); + } + } + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ) => + ThisThread.GetKernelSuggestedLocalWorkSize( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ) => + ( + (delegate* unmanaged< + CommandQueueHandle, + KernelHandle, + uint, + nuint*, + nuint*, + nuint*, + int>)( + _slots[106] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[106] = nativeContext.LoadFunction( + "clGetKernelSuggestedLocalWorkSizeKHR", + "opencl" + ) + ) + )( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ) => + ThisThread.GetKernelSuggestedLocalWorkSizeKHR( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ) + { + fixed (nuint* __dsl_suggested_local_work_size = suggested_local_work_size) + fixed (nuint* __dsl_global_work_size = global_work_size) + fixed (nuint* __dsl_global_work_offset = global_work_offset) + { + return (int) + ((ICl)this).GetKernelSuggestedLocalWorkSizeKHR( + command_queue, + kernel, + work_dim, + __dsl_global_work_offset, + __dsl_global_work_size, + __dsl_suggested_local_work_size + ); + } + } + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ) => + ThisThread.GetKernelSuggestedLocalWorkSizeKHR( + command_queue, + kernel, + work_dim, + global_work_offset, + global_work_size, + suggested_local_work_size + ); + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[107] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[107] = nativeContext.LoadFunction("clGetKernelWorkGroupInfo", "opencl") + ) + )(kernel, device, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetKernelWorkGroupInfo( + kernel, + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetKernelWorkGroupInfo( + kernel, + device, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetKernelWorkGroupInfo( + kernel, + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetMemAllocInfoINTEL( + ContextHandle context, + void* ptr, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[108] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[108] = nativeContext.LoadFunction("clGetMemAllocInfoINTEL", "opencl") + ) + )(context, ptr, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetMemAllocInfoINTEL( + ContextHandle context, + void* ptr, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetMemAllocInfoINTEL( + context, + ptr, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetMemAllocInfoINTEL( + ContextHandle context, + Ref ptr, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + fixed (void* __dsl_ptr = ptr) + { + return (int) + ((ICl)this).GetMemAllocInfoINTEL( + context, + __dsl_ptr, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetMemAllocInfoINTEL( + ContextHandle context, + Ref ptr, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetMemAllocInfoINTEL( + context, + ptr, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[109] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[109] = nativeContext.LoadFunction("clGetMemObjectInfo", "opencl") + ) + )(memobj, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetMemObjectInfo( + memobj, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetMemObjectInfo( + memobj, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetMemObjectInfo( + memobj, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[110] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[110] = nativeContext.LoadFunction("clGetPipeInfo", "opencl") + ) + )(pipe, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetPipeInfo( + pipe, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetPipeInfo( + pipe, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetPipeInfo( + pipe, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetPlatformIDs(uint num_entries, PlatformIdHandle* platforms, uint* num_platforms) => + ( + (delegate* unmanaged)( + _slots[111] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[111] = nativeContext.LoadFunction("clGetPlatformIDs", "opencl") + ) + )(num_entries, platforms, num_platforms); + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetPlatformIDs( + uint num_entries, + PlatformIdHandle* platforms, + uint* num_platforms + ) => ThisThread.GetPlatformIDs(num_entries, platforms, num_platforms); + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetPlatformIDs( + uint num_entries, + Ref platforms, + Ref num_platforms + ) + { + fixed (uint* __dsl_num_platforms = num_platforms) + fixed (PlatformIdHandle* __dsl_platforms = platforms) + { + return (int) + ((ICl)this).GetPlatformIDs(num_entries, __dsl_platforms, __dsl_num_platforms); + } + } + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetPlatformIDs( + uint num_entries, + Ref platforms, + Ref num_platforms + ) => ThisThread.GetPlatformIDs(num_entries, platforms, num_platforms); + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[112] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[112] = nativeContext.LoadFunction("clGetPlatformInfo", "opencl") + ) + )(platform, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetPlatformInfo( + platform, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetPlatformInfo( + platform, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetPlatformInfo( + platform, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[113] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[113] = nativeContext.LoadFunction("clGetProgramBuildInfo", "opencl") + ) + )(program, device, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetProgramBuildInfo( + program, + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetProgramBuildInfo( + program, + device, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetProgramBuildInfo( + program, + device, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[114] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[114] = nativeContext.LoadFunction("clGetProgramInfo", "opencl") + ) + )(program, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetProgramInfo( + program, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetProgramInfo( + program, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetProgramInfo( + program, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[115] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[115] = nativeContext.LoadFunction("clGetSamplerInfo", "opencl") + ) + )(sampler, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetSamplerInfo( + sampler, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetSamplerInfo( + sampler, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetSamplerInfo( + sampler, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + void* handle_ptr, + nuint* handle_size_ret + ) => + ( + (delegate* unmanaged< + SemaphoreHandleKHR, + DeviceIdHandle, + uint, + nuint, + void*, + nuint*, + int>)( + _slots[116] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[116] = nativeContext.LoadFunction( + "clGetSemaphoreHandleForTypeKHR", + "opencl" + ) + ) + )(sema_object, device, handle_type, handle_size, handle_ptr, handle_size_ret); + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + void* handle_ptr, + nuint* handle_size_ret + ) => + ThisThread.GetSemaphoreHandleForTypeKHR( + sema_object, + device, + handle_type, + handle_size, + handle_ptr, + handle_size_ret + ); + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + Ref handle_ptr, + Ref handle_size_ret + ) + { + fixed (nuint* __dsl_handle_size_ret = handle_size_ret) + fixed (void* __dsl_handle_ptr = handle_ptr) + { + return (int) + ((ICl)this).GetSemaphoreHandleForTypeKHR( + sema_object, + device, + handle_type, + handle_size, + __dsl_handle_ptr, + __dsl_handle_size_ret + ); + } + } + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + Ref handle_ptr, + Ref handle_size_ret + ) => + ThisThread.GetSemaphoreHandleForTypeKHR( + sema_object, + device, + handle_type, + handle_size, + handle_ptr, + handle_size_ret + ); + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ( + (delegate* unmanaged)( + _slots[117] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[117] = nativeContext.LoadFunction("clGetSemaphoreInfoKHR", "opencl") + ) + )(sema_object, param_name, param_value_size, param_value, param_value_size_ret); + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ) => + ThisThread.GetSemaphoreInfoKHR( + sema_object, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) + { + fixed (nuint* __dsl_param_value_size_ret = param_value_size_ret) + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).GetSemaphoreInfoKHR( + sema_object, + param_name, + param_value_size, + __dsl_param_value, + __dsl_param_value_size_ret + ); + } + } + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ) => + ThisThread.GetSemaphoreInfoKHR( + sema_object, + param_name, + param_value_size, + param_value, + param_value_size_ret + ); + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + ImageFormat* image_formats, + uint* num_image_formats + ) => + ( + (delegate* unmanaged)( + _slots[118] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[118] = nativeContext.LoadFunction( + "clGetSupportedImageFormats", + "opencl" + ) + ) + )(context, flags, image_type, num_entries, image_formats, num_image_formats); + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + ImageFormat* image_formats, + uint* num_image_formats + ) => + ThisThread.GetSupportedImageFormats( + context, + flags, + image_type, + num_entries, + image_formats, + num_image_formats + ); + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + Ref image_formats, + Ref num_image_formats + ) + { + fixed (uint* __dsl_num_image_formats = num_image_formats) + fixed (ImageFormat* __dsl_image_formats = image_formats) + { + return (int) + ((ICl)this).GetSupportedImageFormats( + context, + flags, + image_type, + num_entries, + __dsl_image_formats, + __dsl_num_image_formats + ); + } + } + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + Ref image_formats, + Ref num_image_formats + ) => + ThisThread.GetSupportedImageFormats( + context, + flags, + image_type, + num_entries, + image_formats, + num_image_formats + ); + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* ICl.HostMemAllocINTEL( + ContextHandle context, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[119] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[119] = nativeContext.LoadFunction("clHostMemAllocINTEL", "opencl") + ) + )(context, properties, size, alignment, errcode_ret); + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* HostMemAllocINTEL( + ContextHandle context, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ) => ThisThread.HostMemAllocINTEL(context, properties, size, alignment, errcode_ret); + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr ICl.HostMemAllocINTEL( + ContextHandle context, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (void*) + ((ICl)this).HostMemAllocINTEL( + context, + __dsl_properties, + size, + alignment, + __dsl_errcode_ret + ); + } + } + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr HostMemAllocINTEL( + ContextHandle context, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) => ThisThread.HostMemAllocINTEL(context, properties, size, alignment, errcode_ret); + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* ICl.IcdGetFunctionAddressForPlatformKHR(PlatformIdHandle platform, sbyte* func_name) => + ( + (delegate* unmanaged)( + _slots[120] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[120] = nativeContext.LoadFunction( + "clIcdGetFunctionAddressForPlatformKHR", + "opencl" + ) + ) + )(platform, func_name); + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* IcdGetFunctionAddressForPlatformKHR( + PlatformIdHandle platform, + sbyte* func_name + ) => ThisThread.IcdGetFunctionAddressForPlatformKHR(platform, func_name); + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr ICl.IcdGetFunctionAddressForPlatformKHR(PlatformIdHandle platform, Ref func_name) + { + fixed (sbyte* __dsl_func_name = func_name) + { + return (void*) + ((ICl)this).IcdGetFunctionAddressForPlatformKHR(platform, __dsl_func_name); + } + } + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr IcdGetFunctionAddressForPlatformKHR( + PlatformIdHandle platform, + Ref func_name + ) => ThisThread.IcdGetFunctionAddressForPlatformKHR(platform, func_name); + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.IcdGetPlatformIDsKHR( + uint num_entries, + PlatformIdHandle* platforms, + uint* num_platforms + ) => + ( + (delegate* unmanaged)( + _slots[121] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[121] = nativeContext.LoadFunction("clIcdGetPlatformIDsKHR", "opencl") + ) + )(num_entries, platforms, num_platforms); + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int IcdGetPlatformIDsKHR( + uint num_entries, + PlatformIdHandle* platforms, + uint* num_platforms + ) => ThisThread.IcdGetPlatformIDsKHR(num_entries, platforms, num_platforms); + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.IcdGetPlatformIDsKHR( + uint num_entries, + Ref platforms, + Ref num_platforms + ) + { + fixed (uint* __dsl_num_platforms = num_platforms) + fixed (PlatformIdHandle* __dsl_platforms = platforms) + { + return (int) + ((ICl)this).IcdGetPlatformIDsKHR(num_entries, __dsl_platforms, __dsl_num_platforms); + } + } + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int IcdGetPlatformIDsKHR( + uint num_entries, + Ref platforms, + Ref num_platforms + ) => ThisThread.IcdGetPlatformIDsKHR(num_entries, platforms, num_platforms); + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.IcdSetPlatformDispatchDataKHR(PlatformIdHandle platform, void* dispatch_data) => + ( + (delegate* unmanaged)( + _slots[122] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[122] = nativeContext.LoadFunction( + "clIcdSetPlatformDispatchDataKHR", + "opencl" + ) + ) + )(platform, dispatch_data); + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int IcdSetPlatformDispatchDataKHR( + PlatformIdHandle platform, + void* dispatch_data + ) => ThisThread.IcdSetPlatformDispatchDataKHR(platform, dispatch_data); + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.IcdSetPlatformDispatchDataKHR(PlatformIdHandle platform, Ref dispatch_data) + { + fixed (void* __dsl_dispatch_data = dispatch_data) + { + return (int)((ICl)this).IcdSetPlatformDispatchDataKHR(platform, __dsl_dispatch_data); + } + } + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int IcdSetPlatformDispatchDataKHR(PlatformIdHandle platform, Ref dispatch_data) => + ThisThread.IcdSetPlatformDispatchDataKHR(platform, dispatch_data); + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.ImportMemoryARM( + ContextHandle context, + ulong flags, + nint* properties, + void* memory, + nuint size, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[123] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[123] = nativeContext.LoadFunction("clImportMemoryARM", "opencl") + ) + )(context, flags, properties, memory, size, errcode_ret); + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle ImportMemoryARM( + ContextHandle context, + ulong flags, + nint* properties, + void* memory, + nuint size, + int* errcode_ret + ) => ThisThread.ImportMemoryARM(context, flags, properties, memory, size, errcode_ret); + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MemHandle ICl.ImportMemoryARM( + ContextHandle context, + ulong flags, + Ref properties, + Ref memory, + nuint size, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_memory = memory) + fixed (nint* __dsl_properties = properties) + { + return (MemHandle) + ((ICl)this).ImportMemoryARM( + context, + flags, + __dsl_properties, + __dsl_memory, + size, + __dsl_errcode_ret + ); + } + } + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MemHandle ImportMemoryARM( + ContextHandle context, + ulong flags, + Ref properties, + Ref memory, + nuint size, + Ref errcode_ret + ) => ThisThread.ImportMemoryARM(context, flags, properties, memory, size, errcode_ret); + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ProgramHandle ICl.LinkProgram( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_programs, + ProgramHandle* input_programs, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ) => + ( + (delegate* unmanaged< + ContextHandle, + uint, + DeviceIdHandle*, + sbyte*, + uint, + ProgramHandle*, + delegate* unmanaged, + void*, + int*, + ProgramHandle>)( + _slots[124] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[124] = nativeContext.LoadFunction("clLinkProgram", "opencl") + ) + )( + context, + num_devices, + device_list, + options, + num_input_programs, + input_programs, + pfn_notify, + user_data, + errcode_ret + ); + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ProgramHandle LinkProgram( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_programs, + ProgramHandle* input_programs, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ) => + ThisThread.LinkProgram( + context, + num_devices, + device_list, + options, + num_input_programs, + input_programs, + pfn_notify, + user_data, + errcode_ret + ); + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ProgramHandle ICl.LinkProgram( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_programs, + Ref input_programs, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (void* __dsl_user_data = user_data) + fixed (ProgramHandle* __dsl_input_programs = input_programs) + fixed (sbyte* __dsl_options = options) + fixed (DeviceIdHandle* __dsl_device_list = device_list) + { + return (ProgramHandle) + ((ICl)this).LinkProgram( + context, + num_devices, + __dsl_device_list, + __dsl_options, + num_input_programs, + __dsl_input_programs, + pfn_notify, + __dsl_user_data, + __dsl_errcode_ret + ); + } + } + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ProgramHandle LinkProgram( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_programs, + Ref input_programs, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ) => + ThisThread.LinkProgram( + context, + num_devices, + device_list, + options, + num_input_programs, + input_programs, + pfn_notify, + user_data, + errcode_ret + ); + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void ICl.LogMessagesToStderrAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ) => + ( + (delegate* unmanaged)( + _slots[125] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[125] = nativeContext.LoadFunction( + "clLogMessagesToStderrAPPLE", + "opencl" + ) + ) + )(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void LogMessagesToStderrAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ) => ThisThread.LogMessagesToStderrAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void ICl.LogMessagesToStderrAPPLE(Ref errstr, Ref private_info, nuint cb, Ref user_data) + { + fixed (void* __dsl_user_data = user_data) + fixed (void* __dsl_private_info = private_info) + fixed (sbyte* __dsl_errstr = errstr) + { + ((ICl)this).LogMessagesToStderrAPPLE( + __dsl_errstr, + __dsl_private_info, + cb, + __dsl_user_data + ); + } + } + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void LogMessagesToStderrAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) => ThisThread.LogMessagesToStderrAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void ICl.LogMessagesToStdoutAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ) => + ( + (delegate* unmanaged)( + _slots[126] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[126] = nativeContext.LoadFunction( + "clLogMessagesToStdoutAPPLE", + "opencl" + ) + ) + )(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void LogMessagesToStdoutAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ) => ThisThread.LogMessagesToStdoutAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void ICl.LogMessagesToStdoutAPPLE(Ref errstr, Ref private_info, nuint cb, Ref user_data) + { + fixed (void* __dsl_user_data = user_data) + fixed (void* __dsl_private_info = private_info) + fixed (sbyte* __dsl_errstr = errstr) + { + ((ICl)this).LogMessagesToStdoutAPPLE( + __dsl_errstr, + __dsl_private_info, + cb, + __dsl_user_data + ); + } + } + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void LogMessagesToStdoutAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) => ThisThread.LogMessagesToStdoutAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void ICl.LogMessagesToSystemLogAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ) => + ( + (delegate* unmanaged)( + _slots[127] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[127] = nativeContext.LoadFunction( + "clLogMessagesToSystemLogAPPLE", + "opencl" + ) + ) + )(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void LogMessagesToSystemLogAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ) => ThisThread.LogMessagesToSystemLogAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void ICl.LogMessagesToSystemLogAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + fixed (void* __dsl_private_info = private_info) + fixed (sbyte* __dsl_errstr = errstr) + { + ((ICl)this).LogMessagesToSystemLogAPPLE( + __dsl_errstr, + __dsl_private_info, + cb, + __dsl_user_data + ); + } + } + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void LogMessagesToSystemLogAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ) => ThisThread.LogMessagesToSystemLogAPPLE(errstr, private_info, cb, user_data); + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.MemBlockingFreeINTEL(ContextHandle context, void* ptr) => + ( + (delegate* unmanaged)( + _slots[128] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[128] = nativeContext.LoadFunction("clMemBlockingFreeINTEL", "opencl") + ) + )(context, ptr); + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int MemBlockingFreeINTEL(ContextHandle context, void* ptr) => + ThisThread.MemBlockingFreeINTEL(context, ptr); + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.MemBlockingFreeINTEL(ContextHandle context, Ref ptr) + { + fixed (void* __dsl_ptr = ptr) + { + return (int)((ICl)this).MemBlockingFreeINTEL(context, __dsl_ptr); + } + } + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int MemBlockingFreeINTEL(ContextHandle context, Ref ptr) => + ThisThread.MemBlockingFreeINTEL(context, ptr); + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.MemFreeINTEL(ContextHandle context, void* ptr) => + ( + (delegate* unmanaged)( + _slots[129] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[129] = nativeContext.LoadFunction("clMemFreeINTEL", "opencl") + ) + )(context, ptr); + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int MemFreeINTEL(ContextHandle context, void* ptr) => + ThisThread.MemFreeINTEL(context, ptr); + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.MemFreeINTEL(ContextHandle context, Ref ptr) + { + fixed (void* __dsl_ptr = ptr) + { + return (int)((ICl)this).MemFreeINTEL(context, __dsl_ptr); + } + } + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int MemFreeINTEL(ContextHandle context, Ref ptr) => + ThisThread.MemFreeINTEL(context, ptr); + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + ulong* reimport_props, + int fd + ) => + ( + (delegate* unmanaged)( + _slots[130] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[130] = nativeContext.LoadFunction( + "clReImportSemaphoreSyncFdKHR", + "opencl" + ) + ) + )(sema_object, reimport_props, fd); + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + ulong* reimport_props, + int fd + ) => ThisThread.ReImportSemaphoreSyncFdKHR(sema_object, reimport_props, fd); + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + Ref reimport_props, + int fd + ) + { + fixed (ulong* __dsl_reimport_props = reimport_props) + { + return (int) + ((ICl)this).ReImportSemaphoreSyncFdKHR(sema_object, __dsl_reimport_props, fd); + } + } + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + Ref reimport_props, + int fd + ) => ThisThread.ReImportSemaphoreSyncFdKHR(sema_object, reimport_props, fd); + + [NativeName("clReleaseAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clReleaseAcceleratorINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReleaseAcceleratorINTEL(AcceleratorHandleINTEL accelerator) => + ( + (delegate* unmanaged)( + _slots[131] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[131] = nativeContext.LoadFunction( + "clReleaseAcceleratorINTEL", + "opencl" + ) + ) + )(accelerator); + + [NativeName("clReleaseAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clReleaseAcceleratorINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReleaseAcceleratorINTEL(AcceleratorHandleINTEL accelerator) => + ThisThread.ReleaseAcceleratorINTEL(accelerator); + + [NativeName("clReleaseCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseCommandQueue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReleaseCommandQueue(CommandQueueHandle command_queue) => + ( + (delegate* unmanaged)( + _slots[132] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[132] = nativeContext.LoadFunction("clReleaseCommandQueue", "opencl") + ) + )(command_queue); + + [NativeName("clReleaseCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseCommandQueue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReleaseCommandQueue(CommandQueueHandle command_queue) => + ThisThread.ReleaseCommandQueue(command_queue); + + [NativeName("clReleaseContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReleaseContext(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[133] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[133] = nativeContext.LoadFunction("clReleaseContext", "opencl") + ) + )(context); + + [NativeName("clReleaseContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReleaseContext(ContextHandle context) => ThisThread.ReleaseContext(context); + + [NativeName("clReleaseDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseDevice")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReleaseDevice(DeviceIdHandle device) => + ( + (delegate* unmanaged)( + _slots[134] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[134] = nativeContext.LoadFunction("clReleaseDevice", "opencl") + ) + )(device); + + [NativeName("clReleaseDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseDevice")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReleaseDevice(DeviceIdHandle device) => ThisThread.ReleaseDevice(device); + + [NativeName("clReleaseDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clReleaseDeviceEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReleaseDeviceEXT(DeviceIdHandle device) => + ( + (delegate* unmanaged)( + _slots[135] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[135] = nativeContext.LoadFunction("clReleaseDeviceEXT", "opencl") + ) + )(device); + + [NativeName("clReleaseDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clReleaseDeviceEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReleaseDeviceEXT(DeviceIdHandle device) => + ThisThread.ReleaseDeviceEXT(device); + + [NativeName("clReleaseEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseEvent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReleaseEvent(EventHandle @event) => + ( + (delegate* unmanaged)( + _slots[136] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[136] = nativeContext.LoadFunction("clReleaseEvent", "opencl") + ) + )(@event); + + [NativeName("clReleaseEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseEvent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReleaseEvent(EventHandle @event) => ThisThread.ReleaseEvent(@event); + + [NativeName("clReleaseKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReleaseKernel(KernelHandle kernel) => + ( + (delegate* unmanaged)( + _slots[137] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[137] = nativeContext.LoadFunction("clReleaseKernel", "opencl") + ) + )(kernel); + + [NativeName("clReleaseKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReleaseKernel(KernelHandle kernel) => ThisThread.ReleaseKernel(kernel); + + [NativeName("clReleaseMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseMemObject")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReleaseMemObject(MemHandle memobj) => + ( + (delegate* unmanaged)( + _slots[138] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[138] = nativeContext.LoadFunction("clReleaseMemObject", "opencl") + ) + )(memobj); + + [NativeName("clReleaseMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseMemObject")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReleaseMemObject(MemHandle memobj) => ThisThread.ReleaseMemObject(memobj); + + [NativeName("clReleaseProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReleaseProgram(ProgramHandle program) => + ( + (delegate* unmanaged)( + _slots[139] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[139] = nativeContext.LoadFunction("clReleaseProgram", "opencl") + ) + )(program); + + [NativeName("clReleaseProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReleaseProgram(ProgramHandle program) => ThisThread.ReleaseProgram(program); + + [NativeName("clReleaseSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseSampler")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReleaseSampler(SamplerHandle sampler) => + ( + (delegate* unmanaged)( + _slots[140] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[140] = nativeContext.LoadFunction("clReleaseSampler", "opencl") + ) + )(sampler); + + [NativeName("clReleaseSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseSampler")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReleaseSampler(SamplerHandle sampler) => ThisThread.ReleaseSampler(sampler); + + [NativeName("clReleaseSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clReleaseSemaphoreKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.ReleaseSemaphoreKHR(SemaphoreHandleKHR sema_object) => + ( + (delegate* unmanaged)( + _slots[141] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[141] = nativeContext.LoadFunction("clReleaseSemaphoreKHR", "opencl") + ) + )(sema_object); + + [NativeName("clReleaseSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clReleaseSemaphoreKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int ReleaseSemaphoreKHR(SemaphoreHandleKHR sema_object) => + ThisThread.ReleaseSemaphoreKHR(sema_object); + + [NativeName("clRetainAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clRetainAcceleratorINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.RetainAcceleratorINTEL(AcceleratorHandleINTEL accelerator) => + ( + (delegate* unmanaged)( + _slots[142] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[142] = nativeContext.LoadFunction("clRetainAcceleratorINTEL", "opencl") + ) + )(accelerator); + + [NativeName("clRetainAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clRetainAcceleratorINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int RetainAcceleratorINTEL(AcceleratorHandleINTEL accelerator) => + ThisThread.RetainAcceleratorINTEL(accelerator); + + [NativeName("clRetainCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainCommandQueue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.RetainCommandQueue(CommandQueueHandle command_queue) => + ( + (delegate* unmanaged)( + _slots[143] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[143] = nativeContext.LoadFunction("clRetainCommandQueue", "opencl") + ) + )(command_queue); + + [NativeName("clRetainCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainCommandQueue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int RetainCommandQueue(CommandQueueHandle command_queue) => + ThisThread.RetainCommandQueue(command_queue); + + [NativeName("clRetainContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.RetainContext(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[144] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[144] = nativeContext.LoadFunction("clRetainContext", "opencl") + ) + )(context); + + [NativeName("clRetainContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int RetainContext(ContextHandle context) => ThisThread.RetainContext(context); + + [NativeName("clRetainDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clRetainDevice")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.RetainDevice(DeviceIdHandle device) => + ( + (delegate* unmanaged)( + _slots[145] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[145] = nativeContext.LoadFunction("clRetainDevice", "opencl") + ) + )(device); + + [NativeName("clRetainDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clRetainDevice")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int RetainDevice(DeviceIdHandle device) => ThisThread.RetainDevice(device); + + [NativeName("clRetainDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clRetainDeviceEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.RetainDeviceEXT(DeviceIdHandle device) => + ( + (delegate* unmanaged)( + _slots[146] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[146] = nativeContext.LoadFunction("clRetainDeviceEXT", "opencl") + ) + )(device); + + [NativeName("clRetainDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clRetainDeviceEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int RetainDeviceEXT(DeviceIdHandle device) => ThisThread.RetainDeviceEXT(device); + + [NativeName("clRetainEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainEvent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.RetainEvent(EventHandle @event) => + ( + (delegate* unmanaged)( + _slots[147] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[147] = nativeContext.LoadFunction("clRetainEvent", "opencl") + ) + )(@event); + + [NativeName("clRetainEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainEvent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int RetainEvent(EventHandle @event) => ThisThread.RetainEvent(@event); + + [NativeName("clRetainKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.RetainKernel(KernelHandle kernel) => + ( + (delegate* unmanaged)( + _slots[148] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[148] = nativeContext.LoadFunction("clRetainKernel", "opencl") + ) + )(kernel); + + [NativeName("clRetainKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainKernel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int RetainKernel(KernelHandle kernel) => ThisThread.RetainKernel(kernel); + + [NativeName("clRetainMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainMemObject")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.RetainMemObject(MemHandle memobj) => + ( + (delegate* unmanaged)( + _slots[149] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[149] = nativeContext.LoadFunction("clRetainMemObject", "opencl") + ) + )(memobj); + + [NativeName("clRetainMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainMemObject")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int RetainMemObject(MemHandle memobj) => ThisThread.RetainMemObject(memobj); + + [NativeName("clRetainProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.RetainProgram(ProgramHandle program) => + ( + (delegate* unmanaged)( + _slots[150] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[150] = nativeContext.LoadFunction("clRetainProgram", "opencl") + ) + )(program); + + [NativeName("clRetainProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainProgram")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int RetainProgram(ProgramHandle program) => ThisThread.RetainProgram(program); + + [NativeName("clRetainSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainSampler")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.RetainSampler(SamplerHandle sampler) => + ( + (delegate* unmanaged)( + _slots[151] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[151] = nativeContext.LoadFunction("clRetainSampler", "opencl") + ) + )(sampler); + + [NativeName("clRetainSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainSampler")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int RetainSampler(SamplerHandle sampler) => ThisThread.RetainSampler(sampler); + + [NativeName("clRetainSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clRetainSemaphoreKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.RetainSemaphoreKHR(SemaphoreHandleKHR sema_object) => + ( + (delegate* unmanaged)( + _slots[152] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[152] = nativeContext.LoadFunction("clRetainSemaphoreKHR", "opencl") + ) + )(sema_object); + + [NativeName("clRetainSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clRetainSemaphoreKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int RetainSemaphoreKHR(SemaphoreHandleKHR sema_object) => + ThisThread.RetainSemaphoreKHR(sema_object); + + [NativeName("clSetContentSizeBufferPoCL")] + [SupportedApiProfile("opencl", ["cl_pocl_content_size"])] + [NativeFunction("opencl", EntryPoint = "clSetContentSizeBufferPoCL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetContentSizeBufferPOCL(MemHandle buffer, MemHandle content_size_buffer) => + ( + (delegate* unmanaged)( + _slots[153] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[153] = nativeContext.LoadFunction( + "clSetContentSizeBufferPoCL", + "opencl" + ) + ) + )(buffer, content_size_buffer); + + [NativeName("clSetContentSizeBufferPoCL")] + [SupportedApiProfile("opencl", ["cl_pocl_content_size"])] + [NativeFunction("opencl", EntryPoint = "clSetContentSizeBufferPoCL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetContentSizeBufferPOCL(MemHandle buffer, MemHandle content_size_buffer) => + ThisThread.SetContentSizeBufferPOCL(buffer, content_size_buffer); + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + void* user_data + ) => + ( + (delegate* unmanaged< + ContextHandle, + delegate* unmanaged, + void*, + int>)( + _slots[154] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[154] = nativeContext.LoadFunction( + "clSetContextDestructorCallback", + "opencl" + ) + ) + )(context, pfn_notify, user_data); + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + void* user_data + ) => ThisThread.SetContextDestructorCallback(context, pfn_notify, user_data); + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int) + ((ICl)this).SetContextDestructorCallback(context, pfn_notify, __dsl_user_data); + } + } + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + Ref user_data + ) => ThisThread.SetContextDestructorCallback(context, pfn_notify, user_data); + + [NativeName("clSetDefaultDeviceCommandQueue")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetDefaultDeviceCommandQueue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetDefaultDeviceCommandQueue( + ContextHandle context, + DeviceIdHandle device, + CommandQueueHandle command_queue + ) => + ( + (delegate* unmanaged)( + _slots[155] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[155] = nativeContext.LoadFunction( + "clSetDefaultDeviceCommandQueue", + "opencl" + ) + ) + )(context, device, command_queue); + + [NativeName("clSetDefaultDeviceCommandQueue")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetDefaultDeviceCommandQueue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetDefaultDeviceCommandQueue( + ContextHandle context, + DeviceIdHandle device, + CommandQueueHandle command_queue + ) => ThisThread.SetDefaultDeviceCommandQueue(context, device, command_queue); + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + void* user_data + ) => + ( + (delegate* unmanaged< + EventHandle, + int, + delegate* unmanaged, + void*, + int>)( + _slots[156] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[156] = nativeContext.LoadFunction("clSetEventCallback", "opencl") + ) + )(@event, command_exec_callback_type, pfn_notify, user_data); + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + void* user_data + ) => ThisThread.SetEventCallback(@event, command_exec_callback_type, pfn_notify, user_data); + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int) + ((ICl)this).SetEventCallback( + @event, + command_exec_callback_type, + pfn_notify, + __dsl_user_data + ); + } + } + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + Ref user_data + ) => ThisThread.SetEventCallback(@event, command_exec_callback_type, pfn_notify, user_data); + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelArg(KernelHandle kernel, uint arg_index, nuint arg_size, void* arg_value) => + ( + (delegate* unmanaged)( + _slots[157] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[157] = nativeContext.LoadFunction("clSetKernelArg", "opencl") + ) + )(kernel, arg_index, arg_size, arg_value); + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelArg( + KernelHandle kernel, + uint arg_index, + nuint arg_size, + void* arg_value + ) => ThisThread.SetKernelArg(kernel, arg_index, arg_size, arg_value); + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelArg(KernelHandle kernel, uint arg_index, nuint arg_size, Ref arg_value) + { + fixed (void* __dsl_arg_value = arg_value) + { + return (int)((ICl)this).SetKernelArg(kernel, arg_index, arg_size, __dsl_arg_value); + } + } + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelArg( + KernelHandle kernel, + uint arg_index, + nuint arg_size, + Ref arg_value + ) => ThisThread.SetKernelArg(kernel, arg_index, arg_size, arg_value); + + [NativeName("clSetKernelArgDevicePointerEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_buffer_device_address"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgDevicePointerEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelArgDevicePointerEXT(KernelHandle kernel, uint arg_index, ulong arg_value) => + ( + (delegate* unmanaged)( + _slots[158] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[158] = nativeContext.LoadFunction( + "clSetKernelArgDevicePointerEXT", + "opencl" + ) + ) + )(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgDevicePointerEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_buffer_device_address"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgDevicePointerEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelArgDevicePointerEXT( + KernelHandle kernel, + uint arg_index, + ulong arg_value + ) => ThisThread.SetKernelArgDevicePointerEXT(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelArgMemPointerINTEL(KernelHandle kernel, uint arg_index, void* arg_value) => + ( + (delegate* unmanaged)( + _slots[159] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[159] = nativeContext.LoadFunction( + "clSetKernelArgMemPointerINTEL", + "opencl" + ) + ) + )(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelArgMemPointerINTEL( + KernelHandle kernel, + uint arg_index, + void* arg_value + ) => ThisThread.SetKernelArgMemPointerINTEL(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelArgMemPointerINTEL(KernelHandle kernel, uint arg_index, Ref arg_value) + { + fixed (void* __dsl_arg_value = arg_value) + { + return (int)((ICl)this).SetKernelArgMemPointerINTEL(kernel, arg_index, __dsl_arg_value); + } + } + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelArgMemPointerINTEL( + KernelHandle kernel, + uint arg_index, + Ref arg_value + ) => ThisThread.SetKernelArgMemPointerINTEL(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelArgSvmPointer(KernelHandle kernel, uint arg_index, void* arg_value) => + ( + (delegate* unmanaged)( + _slots[160] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[160] = nativeContext.LoadFunction("clSetKernelArgSVMPointer", "opencl") + ) + )(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelArgSvmPointer( + KernelHandle kernel, + uint arg_index, + void* arg_value + ) => ThisThread.SetKernelArgSvmPointer(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelArgSvmPointer(KernelHandle kernel, uint arg_index, Ref arg_value) + { + fixed (void* __dsl_arg_value = arg_value) + { + return (int)((ICl)this).SetKernelArgSvmPointer(kernel, arg_index, __dsl_arg_value); + } + } + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelArgSvmPointer(KernelHandle kernel, uint arg_index, Ref arg_value) => + ThisThread.SetKernelArgSvmPointer(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelArgSvmPointerARM(KernelHandle kernel, uint arg_index, void* arg_value) => + ( + (delegate* unmanaged)( + _slots[161] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[161] = nativeContext.LoadFunction( + "clSetKernelArgSVMPointerARM", + "opencl" + ) + ) + )(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelArgSvmPointerARM( + KernelHandle kernel, + uint arg_index, + void* arg_value + ) => ThisThread.SetKernelArgSvmPointerARM(kernel, arg_index, arg_value); + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelArgSvmPointerARM(KernelHandle kernel, uint arg_index, Ref arg_value) + { + fixed (void* __dsl_arg_value = arg_value) + { + return (int)((ICl)this).SetKernelArgSvmPointerARM(kernel, arg_index, __dsl_arg_value); + } + } + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelArgSvmPointerARM( + KernelHandle kernel, + uint arg_index, + Ref arg_value + ) => ThisThread.SetKernelArgSvmPointerARM(kernel, arg_index, arg_value); + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ) => + ( + (delegate* unmanaged)( + _slots[162] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[162] = nativeContext.LoadFunction("clSetKernelExecInfo", "opencl") + ) + )(kernel, param_name, param_value_size, param_value); + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ) => ThisThread.SetKernelExecInfo(kernel, param_name, param_value_size, param_value); + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ) + { + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).SetKernelExecInfo( + kernel, + param_name, + param_value_size, + __dsl_param_value + ); + } + } + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ) => ThisThread.SetKernelExecInfo(kernel, param_name, param_value_size, param_value); + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ) => + ( + (delegate* unmanaged)( + _slots[163] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[163] = nativeContext.LoadFunction("clSetKernelExecInfoARM", "opencl") + ) + )(kernel, param_name, param_value_size, param_value); + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ) => ThisThread.SetKernelExecInfoARM(kernel, param_name, param_value_size, param_value); + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ) + { + fixed (void* __dsl_param_value = param_value) + { + return (int) + ((ICl)this).SetKernelExecInfoARM( + kernel, + param_name, + param_value_size, + __dsl_param_value + ); + } + } + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ) => ThisThread.SetKernelExecInfoARM(kernel, param_name, param_value_size, param_value); + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ) => + ( + (delegate* unmanaged< + MemHandle, + delegate* unmanaged, + void*, + int>)( + _slots[164] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[164] = nativeContext.LoadFunction( + "clSetMemObjectDestructorAPPLE", + "opencl" + ) + ) + )(memobj, pfn_notify, user_data); + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ) => ThisThread.SetMemObjectDestructorAPPLE(memobj, pfn_notify, user_data); + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int) + ((ICl)this).SetMemObjectDestructorAPPLE(memobj, pfn_notify, __dsl_user_data); + } + } + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ) => ThisThread.SetMemObjectDestructorAPPLE(memobj, pfn_notify, user_data); + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ) => + ( + (delegate* unmanaged< + MemHandle, + delegate* unmanaged, + void*, + int>)( + _slots[165] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[165] = nativeContext.LoadFunction( + "clSetMemObjectDestructorCallback", + "opencl" + ) + ) + )(memobj, pfn_notify, user_data); + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ) => ThisThread.SetMemObjectDestructorCallback(memobj, pfn_notify, user_data); + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int) + ((ICl)this).SetMemObjectDestructorCallback(memobj, pfn_notify, __dsl_user_data); + } + } + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ) => ThisThread.SetMemObjectDestructorCallback(memobj, pfn_notify, user_data); + + [NativeName("clSetPerfHintQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_perf_hint"])] + [NativeFunction("opencl", EntryPoint = "clSetPerfHintQCOM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetPerfHintQCOM(ContextHandle context, uint perf_hint) => + ( + (delegate* unmanaged)( + _slots[166] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[166] = nativeContext.LoadFunction("clSetPerfHintQCOM", "opencl") + ) + )(context, perf_hint); + + [NativeName("clSetPerfHintQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_perf_hint"])] + [NativeFunction("opencl", EntryPoint = "clSetPerfHintQCOM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetPerfHintQCOM(ContextHandle context, uint perf_hint) => + ThisThread.SetPerfHintQCOM(context, perf_hint); + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + void* user_data + ) => + ( + (delegate* unmanaged< + ProgramHandle, + delegate* unmanaged, + void*, + int>)( + _slots[167] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[167] = nativeContext.LoadFunction( + "clSetProgramReleaseCallback", + "opencl" + ) + ) + )(program, pfn_notify, user_data); + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + void* user_data + ) => ThisThread.SetProgramReleaseCallback(program, pfn_notify, user_data); + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + Ref user_data + ) + { + fixed (void* __dsl_user_data = user_data) + { + return (int)((ICl)this).SetProgramReleaseCallback(program, pfn_notify, __dsl_user_data); + } + } + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + Ref user_data + ) => ThisThread.SetProgramReleaseCallback(program, pfn_notify, user_data); + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + void* spec_value + ) => + ( + (delegate* unmanaged)( + _slots[168] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[168] = nativeContext.LoadFunction( + "clSetProgramSpecializationConstant", + "opencl" + ) + ) + )(program, spec_id, spec_size, spec_value); + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + void* spec_value + ) => ThisThread.SetProgramSpecializationConstant(program, spec_id, spec_size, spec_value); + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + Ref spec_value + ) + { + fixed (void* __dsl_spec_value = spec_value) + { + return (int) + ((ICl)this).SetProgramSpecializationConstant( + program, + spec_id, + spec_size, + __dsl_spec_value + ); + } + } + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + Ref spec_value + ) => ThisThread.SetProgramSpecializationConstant(program, spec_id, spec_size, spec_value); + + [NativeName("clSetUserEventStatus")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetUserEventStatus")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.SetUserEventStatus(EventHandle @event, int execution_status) => + ( + (delegate* unmanaged)( + _slots[169] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[169] = nativeContext.LoadFunction("clSetUserEventStatus", "opencl") + ) + )(@event, execution_status); + + [NativeName("clSetUserEventStatus")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetUserEventStatus")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int SetUserEventStatus(EventHandle @event, int execution_status) => + ThisThread.SetUserEventStatus(@event, execution_status); + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* ICl.SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ) => + ( + (delegate* unmanaged)( + _slots[170] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[170] = nativeContext.LoadFunction("clSharedMemAllocINTEL", "opencl") + ) + )(context, device, properties, size, alignment, errcode_ret); + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ) => ThisThread.SharedMemAllocINTEL(context, device, properties, size, alignment, errcode_ret); + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr ICl.SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) + { + fixed (int* __dsl_errcode_ret = errcode_ret) + fixed (ulong* __dsl_properties = properties) + { + return (void*) + ((ICl)this).SharedMemAllocINTEL( + context, + device, + __dsl_properties, + size, + alignment, + __dsl_errcode_ret + ); + } + } + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ) => ThisThread.SharedMemAllocINTEL(context, device, properties, size, alignment, errcode_ret); + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr ICl.SvmAlloc(ContextHandle context, ulong flags, nuint size, uint alignment) => + (void*)((ICl)this).SvmAllocRaw(context, flags, size, alignment); + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr SvmAlloc(ContextHandle context, ulong flags, nuint size, uint alignment) => + ThisThread.SvmAlloc(context, flags, size, alignment); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr ICl.SvmAllocARM(ContextHandle context, ulong flags, nuint size, uint alignment) => + (void*)((ICl)this).SvmAllocRawARM(context, flags, size, alignment); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr SvmAllocARM(ContextHandle context, ulong flags, nuint size, uint alignment) => + ThisThread.SvmAllocARM(context, flags, size, alignment); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* ICl.SvmAllocRawARM(ContextHandle context, ulong flags, nuint size, uint alignment) => + ( + (delegate* unmanaged)( + _slots[172] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[172] = nativeContext.LoadFunction("clSVMAllocARM", "opencl") + ) + )(context, flags, size, alignment); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* SvmAllocRawARM( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ) => ThisThread.SvmAllocRawARM(context, flags, size, alignment); + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* ICl.SvmAllocRaw(ContextHandle context, ulong flags, nuint size, uint alignment) => + ( + (delegate* unmanaged)( + _slots[171] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[171] = nativeContext.LoadFunction("clSVMAlloc", "opencl") + ) + )(context, flags, size, alignment); + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* SvmAllocRaw( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ) => ThisThread.SvmAllocRaw(context, flags, size, alignment); + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void ICl.SvmFree(ContextHandle context, void* svm_pointer) => + ( + (delegate* unmanaged)( + _slots[173] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[173] = nativeContext.LoadFunction("clSVMFree", "opencl") + ) + )(context, svm_pointer); + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SvmFree(ContextHandle context, void* svm_pointer) => + ThisThread.SvmFree(context, svm_pointer); + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void ICl.SvmFree(ContextHandle context, Ref svm_pointer) + { + fixed (void* __dsl_svm_pointer = svm_pointer) + { + ((ICl)this).SvmFree(context, __dsl_svm_pointer); + } + } + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SvmFree(ContextHandle context, Ref svm_pointer) => + ThisThread.SvmFree(context, svm_pointer); + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void ICl.SvmFreeARM(ContextHandle context, void* svm_pointer) => + ( + (delegate* unmanaged)( + _slots[174] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[174] = nativeContext.LoadFunction("clSVMFreeARM", "opencl") + ) + )(context, svm_pointer); + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SvmFreeARM(ContextHandle context, void* svm_pointer) => + ThisThread.SvmFreeARM(context, svm_pointer); + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void ICl.SvmFreeARM(ContextHandle context, Ref svm_pointer) + { + fixed (void* __dsl_svm_pointer = svm_pointer) + { + ((ICl)this).SvmFreeARM(context, __dsl_svm_pointer); + } + } + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SvmFreeARM(ContextHandle context, Ref svm_pointer) => + ThisThread.SvmFreeARM(context, svm_pointer); + + [NativeName("clTerminateContextKHR")] + [SupportedApiProfile("opencl", ["cl_khr_terminate_context"])] + [NativeFunction("opencl", EntryPoint = "clTerminateContextKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.TerminateContextKHR(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[175] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[175] = nativeContext.LoadFunction("clTerminateContextKHR", "opencl") + ) + )(context); + + [NativeName("clTerminateContextKHR")] + [SupportedApiProfile("opencl", ["cl_khr_terminate_context"])] + [NativeFunction("opencl", EntryPoint = "clTerminateContextKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int TerminateContextKHR(ContextHandle context) => + ThisThread.TerminateContextKHR(context); + + [NativeName("clUnloadCompiler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clUnloadCompiler")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.UnloadCompiler() => + ( + (delegate* unmanaged)( + _slots[176] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[176] = nativeContext.LoadFunction("clUnloadCompiler", "opencl") + ) + )(); + + [NativeName("clUnloadCompiler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clUnloadCompiler")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int UnloadCompiler() => ThisThread.UnloadCompiler(); + + [NativeName("clUnloadPlatformCompiler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clUnloadPlatformCompiler")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.UnloadPlatformCompiler(PlatformIdHandle platform) => + ( + (delegate* unmanaged)( + _slots[177] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[177] = nativeContext.LoadFunction("clUnloadPlatformCompiler", "opencl") + ) + )(platform); + + [NativeName("clUnloadPlatformCompiler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clUnloadPlatformCompiler")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int UnloadPlatformCompiler(PlatformIdHandle platform) => + ThisThread.UnloadPlatformCompiler(platform); + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.WaitForEvents(uint num_events, EventHandle* event_list) => + ( + (delegate* unmanaged)( + _slots[178] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[178] = nativeContext.LoadFunction("clWaitForEvents", "opencl") + ) + )(num_events, event_list); + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int WaitForEvents(uint num_events, EventHandle* event_list) => + ThisThread.WaitForEvents(num_events, event_list); + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int ICl.WaitForEvents(uint num_events, Ref event_list) + { + fixed (EventHandle* __dsl_event_list = event_list) + { + return (int)((ICl)this).WaitForEvents(num_events, __dsl_event_list); + } + } + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int WaitForEvents(uint num_events, Ref event_list) => + ThisThread.WaitForEvents(num_events, event_list); +} diff --git a/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationProperties.gen.cs b/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationProperties.gen.cs new file mode 100644 index 0000000000..55a57df6fc --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationProperties.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("_cl_device_integer_dot_product_acceleration_properties")] +public partial struct DeviceIntegerDotProductAccelerationProperties +{ + [NativeName("signed_accelerated")] + public uint SignedAccelerated; + + [NativeName("unsigned_accelerated")] + public uint UnsignedAccelerated; + + [NativeName("mixed_signedness_accelerated")] + public uint MixedSignednessAccelerated; + + [NativeName("accumulating_saturating_signed_accelerated")] + public uint AccumulatingSaturatingSignedAccelerated; + + [NativeName("accumulating_saturating_unsigned_accelerated")] + public uint AccumulatingSaturatingUnsignedAccelerated; + + [NativeName("accumulating_saturating_mixed_signedness_accelerated")] + public uint AccumulatingSaturatingMixedSignednessAccelerated; +} diff --git a/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationPropertiesKHR.gen.cs b/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationPropertiesKHR.gen.cs new file mode 100644 index 0000000000..0514a7159f --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationPropertiesKHR.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +namespace Silk.NET.OpenCL; + +[NativeName("_cl_device_integer_dot_product_acceleration_properties_khr")] +public partial struct DeviceIntegerDotProductAccelerationPropertiesKHR +{ + [NativeName("signed_accelerated")] + public uint SignedAccelerated; + + [NativeName("unsigned_accelerated")] + public uint UnsignedAccelerated; + + [NativeName("mixed_signedness_accelerated")] + public uint MixedSignednessAccelerated; + + [NativeName("accumulating_saturating_signed_accelerated")] + public uint AccumulatingSaturatingSignedAccelerated; + + [NativeName("accumulating_saturating_unsigned_accelerated")] + public uint AccumulatingSaturatingUnsignedAccelerated; + + [NativeName("accumulating_saturating_mixed_signedness_accelerated")] + public uint AccumulatingSaturatingMixedSignednessAccelerated; +} diff --git a/sources/OpenCL/OpenCL/OpenCL/DevicePciBusInfoKHR.gen.cs b/sources/OpenCL/OpenCL/OpenCL/DevicePciBusInfoKHR.gen.cs new file mode 100644 index 0000000000..0cd471b392 --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/DevicePciBusInfoKHR.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("_cl_device_pci_bus_info_khr")] +public partial struct DevicePciBusInfoKHR +{ + [NativeName("pci_domain")] + public uint PciDomain; + + [NativeName("pci_bus")] + public uint PciBus; + + [NativeName("pci_device")] + public uint PciDevice; + + [NativeName("pci_function")] + public uint PciFunction; +} diff --git a/sources/OpenCL/OpenCL/OpenCL/ICl.gen.cs b/sources/OpenCL/OpenCL/OpenCL/ICl.gen.cs new file mode 100644 index 0000000000..2b7ce00178 --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/ICl.gen.cs @@ -0,0 +1,11467 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +public unsafe partial interface ICl +{ + public partial interface Static + { + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + static abstract int BuildProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + static abstract int BuildProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + static abstract int CancelCommandsIMG(EventHandle* event_list, nuint num_events_in_list); + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + static abstract int CancelCommandsIMG( + Ref event_list, + nuint num_events_in_list + ); + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + static abstract KernelHandle CloneKernel(KernelHandle source_kernel, int* errcode_ret); + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + static abstract KernelHandle CloneKernel(KernelHandle source_kernel, Ref errcode_ret); + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + static abstract int CompileProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_headers, + ProgramHandle* input_headers, + sbyte** header_include_names, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + static abstract int CompileProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_headers, + Ref input_headers, + Ref2D header_include_names, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + static abstract AcceleratorHandleINTEL CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + void* descriptor, + int* errcode_ret + ); + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + static abstract AcceleratorHandleINTEL CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + Ref descriptor, + Ref errcode_ret + ); + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + static abstract MemHandle CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + static abstract MemHandle CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + static abstract MemHandle CreateBufferWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + static abstract MemHandle CreateBufferWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + static abstract MemHandle CreateBufferWithPropertiesINTEL( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + static abstract MemHandle CreateBufferWithPropertiesINTEL( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + static abstract CommandQueueHandle CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + int* errcode_ret + ); + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + static abstract CommandQueueHandle CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + Ref errcode_ret + ); + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + static abstract CommandQueueHandle CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ); + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + static abstract CommandQueueHandle CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ); + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + static abstract CommandQueueHandle CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ); + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + static abstract CommandQueueHandle CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ); + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + static abstract ContextHandle CreateContext( + nint* properties, + uint num_devices, + DeviceIdHandle* devices, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ); + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + static abstract ContextHandle CreateContext( + Ref properties, + uint num_devices, + Ref devices, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ); + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + static abstract ContextHandle CreateContextFromType( + nint* properties, + ulong device_type, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ); + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + static abstract ContextHandle CreateContextFromType( + Ref properties, + ulong device_type, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ); + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + static abstract MemHandle CreateImage( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + static abstract MemHandle CreateImage( + ContextHandle context, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + static abstract MemHandle CreateImage2D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + static abstract MemHandle CreateImage2D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + static abstract MemHandle CreateImage3D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + static abstract MemHandle CreateImage3D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + static abstract MemHandle CreateImageWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + static abstract MemHandle CreateImageWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + static abstract KernelHandle CreateKernel( + ProgramHandle program, + sbyte* kernel_name, + int* errcode_ret + ); + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + static abstract KernelHandle CreateKernel( + ProgramHandle program, + Ref kernel_name, + Ref errcode_ret + ); + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + static abstract int CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + KernelHandle* kernels, + uint* num_kernels_ret + ); + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + static abstract int CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + Ref kernels, + Ref num_kernels_ret + ); + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + static abstract MemHandle CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + nint* properties, + int* errcode_ret + ); + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + static abstract MemHandle CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + Ref properties, + Ref errcode_ret + ); + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + static abstract ProgramHandle CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + nuint* lengths, + byte** binaries, + int* binary_status, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + static abstract ProgramHandle CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref lengths, + Ref2D binaries, + Ref binary_status, + Ref errcode_ret + ); + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + static abstract ProgramHandle CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* kernel_names, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + static abstract ProgramHandle CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref kernel_names, + Ref errcode_ret + ); + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + static abstract ProgramHandle CreateProgramWithIL( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + static abstract ProgramHandle CreateProgramWithIL( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ); + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + static abstract ProgramHandle CreateProgramWithILKHR( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + static abstract ProgramHandle CreateProgramWithILKHR( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ); + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + static abstract ProgramHandle CreateProgramWithSource( + ContextHandle context, + uint count, + sbyte** strings, + nuint* lengths, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + static abstract ProgramHandle CreateProgramWithSource( + ContextHandle context, + uint count, + Ref2D strings, + Ref lengths, + Ref errcode_ret + ); + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + static abstract SamplerHandle CreateSampler( + ContextHandle context, + uint normalized_coords, + uint addressing_mode, + uint filter_mode, + int* errcode_ret + ); + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + static abstract SamplerHandle CreateSampler( + ContextHandle context, + MaybeBool normalized_coords, + uint addressing_mode, + uint filter_mode, + Ref errcode_ret + ); + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + static abstract SamplerHandle CreateSamplerWithProperties( + ContextHandle context, + ulong* sampler_properties, + int* errcode_ret + ); + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + static abstract SamplerHandle CreateSamplerWithProperties( + ContextHandle context, + Ref sampler_properties, + Ref errcode_ret + ); + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + static abstract SemaphoreHandleKHR CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + ulong* sema_props, + int* errcode_ret + ); + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + static abstract SemaphoreHandleKHR CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + Ref sema_props, + Ref errcode_ret + ); + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + static abstract MemHandle CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + void* buffer_create_info, + int* errcode_ret + ); + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + static abstract MemHandle CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + Ref buffer_create_info, + Ref errcode_ret + ); + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + static abstract int CreateSubDevices( + DeviceIdHandle in_device, + nint* properties, + uint num_devices, + DeviceIdHandle* out_devices, + uint* num_devices_ret + ); + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + static abstract int CreateSubDevices( + DeviceIdHandle in_device, + Ref properties, + uint num_devices, + Ref out_devices, + Ref num_devices_ret + ); + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + static abstract int CreateSubDevicesEXT( + DeviceIdHandle in_device, + ulong* properties, + uint num_entries, + DeviceIdHandle* out_devices, + uint* num_devices + ); + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + static abstract int CreateSubDevicesEXT( + DeviceIdHandle in_device, + Ref properties, + uint num_entries, + Ref out_devices, + Ref num_devices + ); + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + static abstract EventHandle CreateUserEvent(ContextHandle context, int* errcode_ret); + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + static abstract EventHandle CreateUserEvent(ContextHandle context, Ref errcode_ret); + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + static abstract void* DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ); + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + static abstract Ptr DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ); + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + static abstract int EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + static abstract int EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + static abstract int EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + static abstract int EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueBarrier")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrier")] + static abstract int EnqueueBarrier(CommandQueueHandle command_queue); + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + static abstract int EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + static abstract int EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + static abstract int EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + static abstract int EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + static abstract int EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + static abstract int EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + Ref src_origin, + Ref dst_origin, + Ref region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + static abstract int EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + static abstract int EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + static abstract int EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + static abstract int EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + Ref src_origin, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + static abstract int EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + nuint* src_origin, + nuint* region, + nuint dst_offset, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + static abstract int EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + Ref src_origin, + Ref region, + nuint dst_offset, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + static abstract int EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + void* pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + static abstract int EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + Ref pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + static abstract int EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + void* fill_color, + nuint* origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + static abstract int EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + Ref fill_color, + Ref origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + static abstract int EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + nuint* array_region, + nuint* mip_region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + static abstract int EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + Ref array_region, + Ref mip_region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + static abstract void* EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ); + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + static abstract Ptr EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ); + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + static abstract void* EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_map, + ulong map_flags, + nuint* origin, + nuint* region, + nuint* image_row_pitch, + nuint* image_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ); + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + static abstract Ptr EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_map, + ulong map_flags, + Ref origin, + Ref region, + Ref image_row_pitch, + Ref image_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ); + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + static abstract int EnqueueMarker(CommandQueueHandle command_queue, EventHandle* @event); + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + static abstract int EnqueueMarker( + CommandQueueHandle command_queue, + Ref @event + ); + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + static abstract int EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + static abstract int EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + static abstract int EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + static abstract int EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + static abstract int EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + uint blocking, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + static abstract int EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + MaybeBool blocking, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + static abstract int EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + static abstract int EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + static abstract int EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + static abstract int EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + static abstract int EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + static abstract int EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + static abstract int EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + static abstract int EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + static abstract int EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + static abstract int EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + static abstract int EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + void* args, + nuint cb_args, + uint num_mem_objects, + MemHandle* mem_list, + void** args_mem_loc, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + static abstract int EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + Ref args, + nuint cb_args, + uint num_mem_objects, + Ref mem_list, + Ref2D args_mem_loc, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + static abstract int EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* local_work_size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + static abstract int EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref local_work_size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + static abstract int EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + static abstract int EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + static abstract int EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + static abstract int EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + static abstract int EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_read, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + static abstract int EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_read, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + static abstract int EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_read, + nuint* origin, + nuint* region, + nuint row_pitch, + nuint slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + static abstract int EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_read, + Ref origin, + Ref region, + nuint row_pitch, + nuint slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + static abstract int EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_memory"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + static abstract int EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + static abstract int EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + static abstract int EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + static abstract int EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + static abstract int EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + static abstract int EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + static abstract int EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + static abstract int EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + static abstract int EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + static abstract int EnqueueSvmMap( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + static abstract int EnqueueSvmMap( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + static abstract int EnqueueSvmMapARM( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + static abstract int EnqueueSvmMapARM( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + static abstract int EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + static abstract int EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + static abstract int EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + static abstract int EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + static abstract int EnqueueSvmMemFill( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + static abstract int EnqueueSvmMemFill( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + static abstract int EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + static abstract int EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + static abstract int EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + nuint* sizes, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + static abstract int EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + Ref sizes, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + static abstract int EnqueueSvmUnmap( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + static abstract int EnqueueSvmUnmap( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + static abstract int EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + static abstract int EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + static abstract int EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + static abstract int EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + static abstract int EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + void* mapped_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + static abstract int EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + Ref mapped_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + static abstract int EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + EventHandle* event_list + ); + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + static abstract int EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + Ref event_list + ); + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + static abstract int EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + static abstract int EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + static abstract int EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + static abstract int EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + static abstract int EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + static abstract int EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + static abstract int EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_write, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + static abstract int EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_write, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + static abstract int EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_write, + nuint* origin, + nuint* region, + nuint input_row_pitch, + nuint input_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + static abstract int EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_write, + Ref origin, + Ref region, + nuint input_row_pitch, + nuint input_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clFinish")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clFinish")] + static abstract int Finish(CommandQueueHandle command_queue); + + [NativeName("clFlush")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clFlush")] + static abstract int Flush(CommandQueueHandle command_queue); + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + static abstract int GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + static abstract int GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + static abstract int GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + static abstract int GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + static abstract int GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + static abstract int GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + static abstract int GetDeviceAndHostTimer( + DeviceIdHandle device, + ulong* device_timestamp, + ulong* host_timestamp + ); + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + static abstract int GetDeviceAndHostTimer( + DeviceIdHandle device, + Ref device_timestamp, + Ref host_timestamp + ); + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + static abstract int GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + DeviceIdHandle* devices, + uint* num_devices + ); + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + static abstract int GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + Ref devices, + Ref num_devices + ); + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + static abstract int GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + ImageFormat* image_format, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + static abstract int GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + Ref image_format, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + static abstract int GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + static abstract int GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + static abstract int GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + static abstract int GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + static abstract int GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + static abstract int GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + static abstract void* GetExtensionFunctionAddress(sbyte* func_name); + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + static abstract Ptr GetExtensionFunctionAddress(Ref func_name); + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + static abstract void* GetExtensionFunctionAddressForPlatform( + PlatformIdHandle platform, + sbyte* func_name + ); + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + static abstract Ptr GetExtensionFunctionAddressForPlatform( + PlatformIdHandle platform, + Ref func_name + ); + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + static abstract int GetHostTimer(DeviceIdHandle device, ulong* host_timestamp); + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + static abstract int GetHostTimer(DeviceIdHandle device, Ref host_timestamp); + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + static abstract int GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + static abstract int GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + static abstract int GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + static abstract int GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + static abstract int GetImageRequirementsInfoEXT( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + static abstract int GetImageRequirementsInfoEXT( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + static abstract int GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + static abstract int GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + static abstract int GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + static abstract int GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + static abstract int GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + static abstract int GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + static abstract int GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + static abstract int GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + static abstract int GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + static abstract int GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + static abstract int GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + static abstract int GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ); + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + static abstract int GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + static abstract int GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + static abstract int GetMemAllocInfoINTEL( + ContextHandle context, + void* ptr, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + static abstract int GetMemAllocInfoINTEL( + ContextHandle context, + Ref ptr, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + static abstract int GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + static abstract int GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + static abstract int GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + static abstract int GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + static abstract int GetPlatformIDs( + uint num_entries, + PlatformIdHandle* platforms, + uint* num_platforms + ); + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + static abstract int GetPlatformIDs( + uint num_entries, + Ref platforms, + Ref num_platforms + ); + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + static abstract int GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + static abstract int GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + static abstract int GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + static abstract int GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + static abstract int GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + static abstract int GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + static abstract int GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + static abstract int GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + static abstract int GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + void* handle_ptr, + nuint* handle_size_ret + ); + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + static abstract int GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + Ref handle_ptr, + Ref handle_size_ret + ); + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + static abstract int GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + static abstract int GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + static abstract int GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + ImageFormat* image_formats, + uint* num_image_formats + ); + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + static abstract int GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + Ref image_formats, + Ref num_image_formats + ); + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + static abstract void* HostMemAllocINTEL( + ContextHandle context, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ); + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + static abstract Ptr HostMemAllocINTEL( + ContextHandle context, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ); + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + static abstract void* IcdGetFunctionAddressForPlatformKHR( + PlatformIdHandle platform, + sbyte* func_name + ); + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + static abstract Ptr IcdGetFunctionAddressForPlatformKHR( + PlatformIdHandle platform, + Ref func_name + ); + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + static abstract int IcdGetPlatformIDsKHR( + uint num_entries, + PlatformIdHandle* platforms, + uint* num_platforms + ); + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + static abstract int IcdGetPlatformIDsKHR( + uint num_entries, + Ref platforms, + Ref num_platforms + ); + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + static abstract int IcdSetPlatformDispatchDataKHR( + PlatformIdHandle platform, + void* dispatch_data + ); + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + static abstract int IcdSetPlatformDispatchDataKHR( + PlatformIdHandle platform, + Ref dispatch_data + ); + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + static abstract MemHandle ImportMemoryARM( + ContextHandle context, + ulong flags, + nint* properties, + void* memory, + nuint size, + int* errcode_ret + ); + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + static abstract MemHandle ImportMemoryARM( + ContextHandle context, + ulong flags, + Ref properties, + Ref memory, + nuint size, + Ref errcode_ret + ); + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + static abstract ProgramHandle LinkProgram( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_programs, + ProgramHandle* input_programs, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ); + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + static abstract ProgramHandle LinkProgram( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_programs, + Ref input_programs, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ); + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + static abstract void LogMessagesToStderrAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ); + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + static abstract void LogMessagesToStderrAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ); + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + static abstract void LogMessagesToStdoutAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ); + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + static abstract void LogMessagesToStdoutAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ); + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + static abstract void LogMessagesToSystemLogAPPLE( + sbyte* errstr, + void* private_info, + nuint cb, + void* user_data + ); + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + static abstract void LogMessagesToSystemLogAPPLE( + Ref errstr, + Ref private_info, + nuint cb, + Ref user_data + ); + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + static abstract int MemBlockingFreeINTEL(ContextHandle context, void* ptr); + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + static abstract int MemBlockingFreeINTEL(ContextHandle context, Ref ptr); + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + static abstract int MemFreeINTEL(ContextHandle context, void* ptr); + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + static abstract int MemFreeINTEL(ContextHandle context, Ref ptr); + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + static abstract int ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + ulong* reimport_props, + int fd + ); + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + static abstract int ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + Ref reimport_props, + int fd + ); + + [NativeName("clReleaseAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clReleaseAcceleratorINTEL")] + static abstract int ReleaseAcceleratorINTEL(AcceleratorHandleINTEL accelerator); + + [NativeName("clReleaseCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseCommandQueue")] + static abstract int ReleaseCommandQueue(CommandQueueHandle command_queue); + + [NativeName("clReleaseContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseContext")] + static abstract int ReleaseContext(ContextHandle context); + + [NativeName("clReleaseDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseDevice")] + static abstract int ReleaseDevice(DeviceIdHandle device); + + [NativeName("clReleaseDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clReleaseDeviceEXT")] + static abstract int ReleaseDeviceEXT(DeviceIdHandle device); + + [NativeName("clReleaseEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseEvent")] + static abstract int ReleaseEvent(EventHandle @event); + + [NativeName("clReleaseKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseKernel")] + static abstract int ReleaseKernel(KernelHandle kernel); + + [NativeName("clReleaseMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseMemObject")] + static abstract int ReleaseMemObject(MemHandle memobj); + + [NativeName("clReleaseProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseProgram")] + static abstract int ReleaseProgram(ProgramHandle program); + + [NativeName("clReleaseSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseSampler")] + static abstract int ReleaseSampler(SamplerHandle sampler); + + [NativeName("clReleaseSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clReleaseSemaphoreKHR")] + static abstract int ReleaseSemaphoreKHR(SemaphoreHandleKHR sema_object); + + [NativeName("clRetainAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clRetainAcceleratorINTEL")] + static abstract int RetainAcceleratorINTEL(AcceleratorHandleINTEL accelerator); + + [NativeName("clRetainCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainCommandQueue")] + static abstract int RetainCommandQueue(CommandQueueHandle command_queue); + + [NativeName("clRetainContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainContext")] + static abstract int RetainContext(ContextHandle context); + + [NativeName("clRetainDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clRetainDevice")] + static abstract int RetainDevice(DeviceIdHandle device); + + [NativeName("clRetainDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clRetainDeviceEXT")] + static abstract int RetainDeviceEXT(DeviceIdHandle device); + + [NativeName("clRetainEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainEvent")] + static abstract int RetainEvent(EventHandle @event); + + [NativeName("clRetainKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainKernel")] + static abstract int RetainKernel(KernelHandle kernel); + + [NativeName("clRetainMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainMemObject")] + static abstract int RetainMemObject(MemHandle memobj); + + [NativeName("clRetainProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainProgram")] + static abstract int RetainProgram(ProgramHandle program); + + [NativeName("clRetainSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainSampler")] + static abstract int RetainSampler(SamplerHandle sampler); + + [NativeName("clRetainSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clRetainSemaphoreKHR")] + static abstract int RetainSemaphoreKHR(SemaphoreHandleKHR sema_object); + + [NativeName("clSetContentSizeBufferPoCL")] + [SupportedApiProfile("opencl", ["cl_pocl_content_size"])] + [NativeFunction("opencl", EntryPoint = "clSetContentSizeBufferPoCL")] + static abstract int SetContentSizeBufferPOCL( + MemHandle buffer, + MemHandle content_size_buffer + ); + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + static abstract int SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + static abstract int SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clSetDefaultDeviceCommandQueue")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetDefaultDeviceCommandQueue")] + static abstract int SetDefaultDeviceCommandQueue( + ContextHandle context, + DeviceIdHandle device, + CommandQueueHandle command_queue + ); + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + static abstract int SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + static abstract int SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + static abstract int SetKernelArg( + KernelHandle kernel, + uint arg_index, + nuint arg_size, + void* arg_value + ); + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + static abstract int SetKernelArg( + KernelHandle kernel, + uint arg_index, + nuint arg_size, + Ref arg_value + ); + + [NativeName("clSetKernelArgDevicePointerEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_buffer_device_address"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgDevicePointerEXT")] + static abstract int SetKernelArgDevicePointerEXT( + KernelHandle kernel, + uint arg_index, + ulong arg_value + ); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + static abstract int SetKernelArgMemPointerINTEL( + KernelHandle kernel, + uint arg_index, + void* arg_value + ); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + static abstract int SetKernelArgMemPointerINTEL( + KernelHandle kernel, + uint arg_index, + Ref arg_value + ); + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + static abstract int SetKernelArgSvmPointer( + KernelHandle kernel, + uint arg_index, + void* arg_value + ); + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + static abstract int SetKernelArgSvmPointer( + KernelHandle kernel, + uint arg_index, + Ref arg_value + ); + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + static abstract int SetKernelArgSvmPointerARM( + KernelHandle kernel, + uint arg_index, + void* arg_value + ); + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + static abstract int SetKernelArgSvmPointerARM( + KernelHandle kernel, + uint arg_index, + Ref arg_value + ); + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + static abstract int SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ); + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + static abstract int SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ); + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + static abstract int SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ); + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + static abstract int SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ); + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + static abstract int SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + static abstract int SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + static abstract int SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + static abstract int SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clSetPerfHintQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_perf_hint"])] + [NativeFunction("opencl", EntryPoint = "clSetPerfHintQCOM")] + static abstract int SetPerfHintQCOM(ContextHandle context, uint perf_hint); + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + static abstract int SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + static abstract int SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + static abstract int SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + void* spec_value + ); + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + static abstract int SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + Ref spec_value + ); + + [NativeName("clSetUserEventStatus")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetUserEventStatus")] + static abstract int SetUserEventStatus(EventHandle @event, int execution_status); + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + static abstract void* SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ); + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + static abstract Ptr SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ); + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + static abstract Ptr SvmAlloc( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + static abstract Ptr SvmAllocARM( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + static abstract void* SvmAllocRawARM( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ); + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + static abstract void* SvmAllocRaw( + ContextHandle context, + ulong flags, + nuint size, + uint alignment + ); + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + static abstract void SvmFree(ContextHandle context, void* svm_pointer); + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + static abstract void SvmFree(ContextHandle context, Ref svm_pointer); + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + static abstract void SvmFreeARM(ContextHandle context, void* svm_pointer); + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + static abstract void SvmFreeARM(ContextHandle context, Ref svm_pointer); + + [NativeName("clTerminateContextKHR")] + [SupportedApiProfile("opencl", ["cl_khr_terminate_context"])] + [NativeFunction("opencl", EntryPoint = "clTerminateContextKHR")] + static abstract int TerminateContextKHR(ContextHandle context); + + [NativeName("clUnloadCompiler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clUnloadCompiler")] + static abstract int UnloadCompiler(); + + [NativeName("clUnloadPlatformCompiler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clUnloadPlatformCompiler")] + static abstract int UnloadPlatformCompiler(PlatformIdHandle platform); + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + static abstract int WaitForEvents(uint num_events, EventHandle* event_list); + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + static abstract int WaitForEvents(uint num_events, Ref event_list); + } + + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + int BuildProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clBuildProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clBuildProgram")] + int BuildProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + int CancelCommandsIMG(EventHandle* event_list, nuint num_events_in_list); + + [NativeName("clCancelCommandsIMG")] + [SupportedApiProfile("opencl", ["cl_img_cancel_command"])] + [NativeFunction("opencl", EntryPoint = "clCancelCommandsIMG")] + int CancelCommandsIMG(Ref event_list, nuint num_events_in_list); + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + KernelHandle CloneKernel(KernelHandle source_kernel, int* errcode_ret); + + [NativeName("clCloneKernel")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCloneKernel")] + KernelHandle CloneKernel(KernelHandle source_kernel, Ref errcode_ret); + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + int CompileProgram( + ProgramHandle program, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_headers, + ProgramHandle* input_headers, + sbyte** header_include_names, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clCompileProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCompileProgram")] + int CompileProgram( + ProgramHandle program, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_headers, + Ref input_headers, + Ref2D header_include_names, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + AcceleratorHandleINTEL CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + void* descriptor, + int* errcode_ret + ); + + [NativeName("clCreateAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clCreateAcceleratorINTEL")] + AcceleratorHandleINTEL CreateAcceleratorINTEL( + ContextHandle context, + uint accelerator_type, + nuint descriptor_size, + Ref descriptor, + Ref errcode_ret + ); + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + MemHandle CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateBuffer")] + MemHandle CreateBuffer( + ContextHandle context, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + MemHandle CreateBufferWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateBufferWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithProperties")] + MemHandle CreateBufferWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + MemHandle CreateBufferWithPropertiesINTEL( + ContextHandle context, + ulong* properties, + ulong flags, + nuint size, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateBufferWithPropertiesINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_create_buffer_with_properties"])] + [NativeFunction("opencl", EntryPoint = "clCreateBufferWithPropertiesINTEL")] + MemHandle CreateBufferWithPropertiesINTEL( + ContextHandle context, + Ref properties, + ulong flags, + nuint size, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + CommandQueueHandle CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + int* errcode_ret + ); + + [NativeName("clCreateCommandQueue")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueue")] + CommandQueueHandle CreateCommandQueue( + ContextHandle context, + DeviceIdHandle device, + ulong properties, + Ref errcode_ret + ); + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + CommandQueueHandle CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ); + + [NativeName("clCreateCommandQueueWithProperties")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithProperties")] + CommandQueueHandle CreateCommandQueueWithProperties( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ); + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + CommandQueueHandle CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + int* errcode_ret + ); + + [NativeName("clCreateCommandQueueWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_create_command_queue"])] + [NativeFunction("opencl", EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] + CommandQueueHandle CreateCommandQueueWithPropertiesKHR( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + Ref errcode_ret + ); + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + ContextHandle CreateContext( + nint* properties, + uint num_devices, + DeviceIdHandle* devices, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ); + + [NativeName("clCreateContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContext")] + ContextHandle CreateContext( + Ref properties, + uint num_devices, + Ref devices, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ); + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + ContextHandle CreateContextFromType( + nint* properties, + ulong device_type, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ); + + [NativeName("clCreateContextFromType")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateContextFromType")] + ContextHandle CreateContextFromType( + Ref properties, + ulong device_type, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ); + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + MemHandle CreateImage( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage")] + MemHandle CreateImage( + ContextHandle context, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + MemHandle CreateImage2D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateImage2D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage2D")] + MemHandle CreateImage2D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_row_pitch, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + MemHandle CreateImage3D( + ContextHandle context, + ulong flags, + ImageFormat* image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateImage3D")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateImage3D")] + MemHandle CreateImage3D( + ContextHandle context, + ulong flags, + Ref image_format, + nuint image_width, + nuint image_height, + nuint image_depth, + nuint image_row_pitch, + nuint image_slice_pitch, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + MemHandle CreateImageWithProperties( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + void* host_ptr, + int* errcode_ret + ); + + [NativeName("clCreateImageWithProperties")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clCreateImageWithProperties")] + MemHandle CreateImageWithProperties( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + Ref host_ptr, + Ref errcode_ret + ); + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + KernelHandle CreateKernel(ProgramHandle program, sbyte* kernel_name, int* errcode_ret); + + [NativeName("clCreateKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernel")] + KernelHandle CreateKernel(ProgramHandle program, Ref kernel_name, Ref errcode_ret); + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + int CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + KernelHandle* kernels, + uint* num_kernels_ret + ); + + [NativeName("clCreateKernelsInProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateKernelsInProgram")] + int CreateKernelsInProgram( + ProgramHandle program, + uint num_kernels, + Ref kernels, + Ref num_kernels_ret + ); + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + MemHandle CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + nint* properties, + int* errcode_ret + ); + + [NativeName("clCreatePipe")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreatePipe")] + MemHandle CreatePipe( + ContextHandle context, + ulong flags, + uint pipe_packet_size, + uint pipe_max_packets, + Ref properties, + Ref errcode_ret + ); + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + ProgramHandle CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + nuint* lengths, + byte** binaries, + int* binary_status, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithBinary")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBinary")] + ProgramHandle CreateProgramWithBinary( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref lengths, + Ref2D binaries, + Ref binary_status, + Ref errcode_ret + ); + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + ProgramHandle CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* kernel_names, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithBuiltInKernels")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithBuiltInKernels")] + ProgramHandle CreateProgramWithBuiltInKernels( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref kernel_names, + Ref errcode_ret + ); + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + ProgramHandle CreateProgramWithIL( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithIL")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithIL")] + ProgramHandle CreateProgramWithIL( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ); + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + ProgramHandle CreateProgramWithILKHR( + ContextHandle context, + void* il, + nuint length, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithILKHR")] + [SupportedApiProfile("opencl", ["cl_khr_il_program"])] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithILKHR")] + ProgramHandle CreateProgramWithILKHR( + ContextHandle context, + Ref il, + nuint length, + Ref errcode_ret + ); + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + ProgramHandle CreateProgramWithSource( + ContextHandle context, + uint count, + sbyte** strings, + nuint* lengths, + int* errcode_ret + ); + + [NativeName("clCreateProgramWithSource")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateProgramWithSource")] + ProgramHandle CreateProgramWithSource( + ContextHandle context, + uint count, + Ref2D strings, + Ref lengths, + Ref errcode_ret + ); + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + SamplerHandle CreateSampler( + ContextHandle context, + uint normalized_coords, + uint addressing_mode, + uint filter_mode, + int* errcode_ret + ); + + [NativeName("clCreateSampler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSampler")] + SamplerHandle CreateSampler( + ContextHandle context, + MaybeBool normalized_coords, + uint addressing_mode, + uint filter_mode, + Ref errcode_ret + ); + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + SamplerHandle CreateSamplerWithProperties( + ContextHandle context, + ulong* sampler_properties, + int* errcode_ret + ); + + [NativeName("clCreateSamplerWithProperties")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSamplerWithProperties")] + SamplerHandle CreateSamplerWithProperties( + ContextHandle context, + Ref sampler_properties, + Ref errcode_ret + ); + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + SemaphoreHandleKHR CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + ulong* sema_props, + int* errcode_ret + ); + + [NativeName("clCreateSemaphoreWithPropertiesKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clCreateSemaphoreWithPropertiesKHR")] + SemaphoreHandleKHR CreateSemaphoreWithPropertiesKHR( + ContextHandle context, + Ref sema_props, + Ref errcode_ret + ); + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + MemHandle CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + void* buffer_create_info, + int* errcode_ret + ); + + [NativeName("clCreateSubBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubBuffer")] + MemHandle CreateSubBuffer( + MemHandle buffer, + ulong flags, + uint buffer_create_type, + Ref buffer_create_info, + Ref errcode_ret + ); + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + int CreateSubDevices( + DeviceIdHandle in_device, + nint* properties, + uint num_devices, + DeviceIdHandle* out_devices, + uint* num_devices_ret + ); + + [NativeName("clCreateSubDevices")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevices")] + int CreateSubDevices( + DeviceIdHandle in_device, + Ref properties, + uint num_devices, + Ref out_devices, + Ref num_devices_ret + ); + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + int CreateSubDevicesEXT( + DeviceIdHandle in_device, + ulong* properties, + uint num_entries, + DeviceIdHandle* out_devices, + uint* num_devices + ); + + [NativeName("clCreateSubDevicesEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clCreateSubDevicesEXT")] + int CreateSubDevicesEXT( + DeviceIdHandle in_device, + Ref properties, + uint num_entries, + Ref out_devices, + Ref num_devices + ); + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + EventHandle CreateUserEvent(ContextHandle context, int* errcode_ret); + + [NativeName("clCreateUserEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clCreateUserEvent")] + EventHandle CreateUserEvent(ContextHandle context, Ref errcode_ret); + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + void* DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ); + + [NativeName("clDeviceMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clDeviceMemAllocINTEL")] + Ptr DeviceMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ); + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + int EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueAcquireExternalMemObjectsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireExternalMemObjectsKHR")] + int EnqueueAcquireExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + int EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueAcquireGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] + int EnqueueAcquireGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueBarrier")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrier")] + int EnqueueBarrier(CommandQueueHandle command_queue); + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + int EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueBarrierWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueBarrierWithWaitList")] + int EnqueueBarrierWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + int EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBuffer")] + int EnqueueCopyBuffer( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint src_offset, + nuint dst_offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + int EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferRect")] + int EnqueueCopyBufferRect( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_buffer, + Ref src_origin, + Ref dst_origin, + Ref region, + nuint src_row_pitch, + nuint src_slice_pitch, + nuint dst_row_pitch, + nuint dst_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + int EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyBufferToImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyBufferToImage")] + int EnqueueCopyBufferToImage( + CommandQueueHandle command_queue, + MemHandle src_buffer, + MemHandle dst_image, + nuint src_offset, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + int EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + nuint* src_origin, + nuint* dst_origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImage")] + int EnqueueCopyImage( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + Ref src_origin, + Ref dst_origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + int EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + nuint* src_origin, + nuint* region, + nuint dst_offset, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueCopyImageToBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueCopyImageToBuffer")] + int EnqueueCopyImageToBuffer( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_buffer, + Ref src_origin, + Ref region, + nuint dst_offset, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + int EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + void* pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueFillBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillBuffer")] + int EnqueueFillBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + Ref pattern, + nuint pattern_size, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + int EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + void* fill_color, + nuint* origin, + nuint* region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueFillImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueFillImage")] + int EnqueueFillImage( + CommandQueueHandle command_queue, + MemHandle image, + Ref fill_color, + Ref origin, + Ref region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + int EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + nuint* array_region, + nuint* mip_region, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueGenerateMipmapIMG")] + [SupportedApiProfile("opencl", ["cl_img_generate_mipmap"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueGenerateMipmapIMG")] + int EnqueueGenerateMipmapIMG( + CommandQueueHandle command_queue, + MemHandle src_image, + MemHandle dst_image, + uint mipmap_filter_mode, + Ref array_region, + Ref mip_region, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + void* EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ); + + [NativeName("clEnqueueMapBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapBuffer")] + Ptr EnqueueMapBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_map, + ulong map_flags, + nuint offset, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ); + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + void* EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_map, + ulong map_flags, + nuint* origin, + nuint* region, + nuint* image_row_pitch, + nuint* image_slice_pitch, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event, + int* errcode_ret + ); + + [NativeName("clEnqueueMapImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMapImage")] + Ptr EnqueueMapImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_map, + ulong map_flags, + Ref origin, + Ref region, + Ref image_row_pitch, + Ref image_slice_pitch, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event, + Ref errcode_ret + ); + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + int EnqueueMarker(CommandQueueHandle command_queue, EventHandle* @event); + + [NativeName("clEnqueueMarker")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarker")] + int EnqueueMarker(CommandQueueHandle command_queue, Ref @event); + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + int EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMarkerWithWaitList")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMarkerWithWaitList")] + int EnqueueMarkerWithWaitList( + CommandQueueHandle command_queue, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + int EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMemAdviseINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemAdviseINTEL")] + int EnqueueMemAdviseINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + uint advice, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + int EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + uint blocking, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMemcpyINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemcpyINTEL")] + int EnqueueMemcpyINTEL( + CommandQueueHandle command_queue, + MaybeBool blocking, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + int EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMemFillINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemFillINTEL")] + int EnqueueMemFillINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + int EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + void* dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMemsetINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMemsetINTEL")] + int EnqueueMemsetINTEL( + CommandQueueHandle command_queue, + Ref dst_ptr, + int value, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + int EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + void* ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMigrateMemINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemINTEL")] + int EnqueueMigrateMemINTEL( + CommandQueueHandle command_queue, + Ref ptr, + nuint size, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + int EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMigrateMemObjectEXT")] + [SupportedApiProfile("opencl", ["cl_ext_migrate_memobject"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjectEXT")] + int EnqueueMigrateMemObjectEXT( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + int EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueMigrateMemObjects")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueMigrateMemObjects")] + int EnqueueMigrateMemObjects( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + int EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + void* args, + nuint cb_args, + uint num_mem_objects, + MemHandle* mem_list, + void** args_mem_loc, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueNativeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNativeKernel")] + int EnqueueNativeKernel( + CommandQueueHandle command_queue, + delegate* unmanaged user_func, + Ref args, + nuint cb_args, + uint num_mem_objects, + Ref mem_list, + Ref2D args_mem_loc, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + int EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* local_work_size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueNDRangeKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueNDRangeKernel")] + int EnqueueNDRangeKernel( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref local_work_size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + int EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReadBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBuffer")] + int EnqueueReadBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + int EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_read, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReadBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadBufferRect")] + int EnqueueReadBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_read, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + int EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_read, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReadHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadHostPipeINTEL")] + int EnqueueReadHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_read, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + int EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_read, + nuint* origin, + nuint* region, + nuint row_pitch, + nuint slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReadImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueReadImage")] + int EnqueueReadImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_read, + Ref origin, + Ref region, + nuint row_pitch, + nuint slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + int EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReleaseExternalMemObjectsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_external_memory"], ImpliesSets = ["CL_VERSION_3_0"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseExternalMemObjectsKHR")] + int EnqueueReleaseExternalMemObjectsKHR( + CommandQueueHandle command_queue, + uint num_mem_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + int EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + MemHandle* mem_objects, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueReleaseGrallocObjectsIMG")] + [SupportedApiProfile("opencl", ["cl_img_use_gralloc_ptr"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] + int EnqueueReleaseGrallocObjectsIMG( + CommandQueueHandle command_queue, + uint num_objects, + Ref mem_objects, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + int EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSignalSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSignalSemaphoresKHR")] + int EnqueueSignalSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + int EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMFree")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFree")] + int EnqueueSvmFree( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + int EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + delegate* unmanaged pfn_free_func, + void* user_data, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMFreeARM")] + int EnqueueSvmFreeARM( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + delegate* unmanaged pfn_free_func, + Ref user_data, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + int EnqueueSvmMap( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMap")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMap")] + int EnqueueSvmMap( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + int EnqueueSvmMapARM( + CommandQueueHandle command_queue, + uint blocking_map, + ulong flags, + void* svm_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMapARM")] + int EnqueueSvmMapARM( + CommandQueueHandle command_queue, + MaybeBool blocking_map, + ulong flags, + Ref svm_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + int EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMemcpy")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpy")] + int EnqueueSvmMemcpy( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + int EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + uint blocking_copy, + void* dst_ptr, + void* src_ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMemcpyARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemcpyARM")] + int EnqueueSvmMemcpyARM( + CommandQueueHandle command_queue, + MaybeBool blocking_copy, + Ref dst_ptr, + Ref src_ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + int EnqueueSvmMemFill( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMemFill")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFill")] + int EnqueueSvmMemFill( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + int EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + void* svm_ptr, + void* pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMemFillARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMemFillARM")] + int EnqueueSvmMemFillARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + Ref pattern, + nuint pattern_size, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + int EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + void** svm_pointers, + nuint* sizes, + ulong flags, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMMigrateMem")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMMigrateMem")] + int EnqueueSvmMigrateMem( + CommandQueueHandle command_queue, + uint num_svm_pointers, + Ref2D svm_pointers, + Ref sizes, + ulong flags, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + int EnqueueSvmUnmap( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMUnmap")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmap")] + int EnqueueSvmUnmap( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + int EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + void* svm_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueSVMUnmapARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueSVMUnmapARM")] + int EnqueueSvmUnmapARM( + CommandQueueHandle command_queue, + Ref svm_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + int EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueTask")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueTask")] + int EnqueueTask( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + int EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + void* mapped_ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueUnmapMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueUnmapMemObject")] + int EnqueueUnmapMemObject( + CommandQueueHandle command_queue, + MemHandle memobj, + Ref mapped_ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + int EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + EventHandle* event_list + ); + + [NativeName("clEnqueueWaitForEvents")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitForEvents")] + int EnqueueWaitForEvents( + CommandQueueHandle command_queue, + uint num_events, + Ref event_list + ); + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + int EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + SemaphoreHandleKHR* sema_objects, + ulong* sema_payload_list, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWaitSemaphoresKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWaitSemaphoresKHR")] + int EnqueueWaitSemaphoresKHR( + CommandQueueHandle command_queue, + uint num_sema_objects, + Ref sema_objects, + Ref sema_payload_list, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + int EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint offset, + nuint size, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWriteBuffer")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBuffer")] + int EnqueueWriteBuffer( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + nuint offset, + nuint size, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + int EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + uint blocking_write, + nuint* buffer_origin, + nuint* host_origin, + nuint* region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWriteBufferRect")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteBufferRect")] + int EnqueueWriteBufferRect( + CommandQueueHandle command_queue, + MemHandle buffer, + MaybeBool blocking_write, + Ref buffer_origin, + Ref host_origin, + Ref region, + nuint buffer_row_pitch, + nuint buffer_slice_pitch, + nuint host_row_pitch, + nuint host_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + int EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + sbyte* pipe_symbol, + uint blocking_write, + void* ptr, + nuint size, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWriteHostPipeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_program_scope_host_pipe"])] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteHostPipeINTEL")] + int EnqueueWriteHostPipeINTEL( + CommandQueueHandle command_queue, + ProgramHandle program, + Ref pipe_symbol, + MaybeBool blocking_write, + Ref ptr, + nuint size, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + int EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + uint blocking_write, + nuint* origin, + nuint* region, + nuint input_row_pitch, + nuint input_slice_pitch, + void* ptr, + uint num_events_in_wait_list, + EventHandle* event_wait_list, + EventHandle* @event + ); + + [NativeName("clEnqueueWriteImage")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clEnqueueWriteImage")] + int EnqueueWriteImage( + CommandQueueHandle command_queue, + MemHandle image, + MaybeBool blocking_write, + Ref origin, + Ref region, + nuint input_row_pitch, + nuint input_slice_pitch, + Ref ptr, + uint num_events_in_wait_list, + Ref event_wait_list, + Ref @event + ); + + [NativeName("clFinish")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clFinish")] + int Finish(CommandQueueHandle command_queue); + + [NativeName("clFlush")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clFlush")] + int Flush(CommandQueueHandle command_queue); + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + int GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetAcceleratorInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clGetAcceleratorInfoINTEL")] + int GetAcceleratorInfoINTEL( + AcceleratorHandleINTEL accelerator, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + int GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetCommandQueueInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetCommandQueueInfo")] + int GetCommandQueueInfo( + CommandQueueHandle command_queue, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + int GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetContextInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetContextInfo")] + int GetContextInfo( + ContextHandle context, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + int GetDeviceAndHostTimer( + DeviceIdHandle device, + ulong* device_timestamp, + ulong* host_timestamp + ); + + [NativeName("clGetDeviceAndHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceAndHostTimer")] + int GetDeviceAndHostTimer( + DeviceIdHandle device, + Ref device_timestamp, + Ref host_timestamp + ); + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + int GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + DeviceIdHandle* devices, + uint* num_devices + ); + + [NativeName("clGetDeviceIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceIDs")] + int GetDeviceIDs( + PlatformIdHandle platform, + ulong device_type, + uint num_entries, + Ref devices, + Ref num_devices + ); + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + int GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + ImageFormat* image_format, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetDeviceImageInfoQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_ext_host_ptr"])] + [NativeFunction("opencl", EntryPoint = "clGetDeviceImageInfoQCOM")] + int GetDeviceImageInfoQCOM( + DeviceIdHandle device, + nuint image_width, + nuint image_height, + Ref image_format, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + int GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetDeviceInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetDeviceInfo")] + int GetDeviceInfo( + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + int GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetEventInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventInfo")] + int GetEventInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + int GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetEventProfilingInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetEventProfilingInfo")] + int GetEventProfilingInfo( + EventHandle @event, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + void* GetExtensionFunctionAddress(sbyte* func_name); + + [NativeName("clGetExtensionFunctionAddress")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddress")] + Ptr GetExtensionFunctionAddress(Ref func_name); + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + void* GetExtensionFunctionAddressForPlatform(PlatformIdHandle platform, sbyte* func_name); + + [NativeName("clGetExtensionFunctionAddressForPlatform")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetExtensionFunctionAddressForPlatform")] + Ptr GetExtensionFunctionAddressForPlatform(PlatformIdHandle platform, Ref func_name); + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + int GetHostTimer(DeviceIdHandle device, ulong* host_timestamp); + + [NativeName("clGetHostTimer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetHostTimer")] + int GetHostTimer(DeviceIdHandle device, Ref host_timestamp); + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + int GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetICDLoaderInfoOCLICD")] + [SupportedApiProfile("opencl", ["cl_loader_info"])] + [NativeFunction("opencl", EntryPoint = "clGetICDLoaderInfoOCLICD")] + int GetIcdLoaderInfoOclicd( + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + int GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetImageInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetImageInfo")] + int GetImageInfo( + MemHandle image, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + int GetImageRequirementsInfoEXT( + ContextHandle context, + ulong* properties, + ulong flags, + ImageFormat* image_format, + ImageDesc* image_desc, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetImageRequirementsInfoEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_image_requirements_info"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clGetImageRequirementsInfoEXT")] + int GetImageRequirementsInfoEXT( + ContextHandle context, + Ref properties, + ulong flags, + Ref image_format, + Ref image_desc, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + int GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelArgInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelArgInfo")] + int GetKernelArgInfo( + KernelHandle kernel, + uint arg_indx, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + int GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelInfo")] + int GetKernelInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + int GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfo")] + int GetKernelSubGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + int GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + void* input_value, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelSubGroupInfoKHR")] + [Obsolete] + [SupportedApiProfile("opencl", ["cl_khr_subgroups"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSubGroupInfoKHR")] + int GetKernelSubGroupInfoKHR( + KernelHandle in_kernel, + DeviceIdHandle in_device, + uint param_name, + nuint input_value_size, + Ref input_value, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + int GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSize")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_1"], MinVersion = "3.1")] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSize")] + int GetKernelSuggestedLocalWorkSize( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + int GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + nuint* global_work_offset, + nuint* global_work_size, + nuint* suggested_local_work_size + ); + + [NativeName("clGetKernelSuggestedLocalWorkSizeKHR")] + [SupportedApiProfile("opencl", ["cl_khr_suggested_local_work_size"])] + [NativeFunction("opencl", EntryPoint = "clGetKernelSuggestedLocalWorkSizeKHR")] + int GetKernelSuggestedLocalWorkSizeKHR( + CommandQueueHandle command_queue, + KernelHandle kernel, + uint work_dim, + Ref global_work_offset, + Ref global_work_size, + Ref suggested_local_work_size + ); + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + int GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetKernelWorkGroupInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetKernelWorkGroupInfo")] + int GetKernelWorkGroupInfo( + KernelHandle kernel, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + int GetMemAllocInfoINTEL( + ContextHandle context, + void* ptr, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetMemAllocInfoINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clGetMemAllocInfoINTEL")] + int GetMemAllocInfoINTEL( + ContextHandle context, + Ref ptr, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + int GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetMemObjectInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetMemObjectInfo")] + int GetMemObjectInfo( + MemHandle memobj, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + int GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetPipeInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPipeInfo")] + int GetPipeInfo( + MemHandle pipe, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + int GetPlatformIDs(uint num_entries, PlatformIdHandle* platforms, uint* num_platforms); + + [NativeName("clGetPlatformIDs")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformIDs")] + int GetPlatformIDs(uint num_entries, Ref platforms, Ref num_platforms); + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + int GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetPlatformInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetPlatformInfo")] + int GetPlatformInfo( + PlatformIdHandle platform, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + int GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetProgramBuildInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramBuildInfo")] + int GetProgramBuildInfo( + ProgramHandle program, + DeviceIdHandle device, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + int GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetProgramInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetProgramInfo")] + int GetProgramInfo( + ProgramHandle program, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + int GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetSamplerInfo")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSamplerInfo")] + int GetSamplerInfo( + SamplerHandle sampler, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + int GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + void* handle_ptr, + nuint* handle_size_ret + ); + + [NativeName("clGetSemaphoreHandleForTypeKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore"], + ImpliesSets = ["cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreHandleForTypeKHR")] + int GetSemaphoreHandleForTypeKHR( + SemaphoreHandleKHR sema_object, + DeviceIdHandle device, + uint handle_type, + nuint handle_size, + Ref handle_ptr, + Ref handle_size_ret + ); + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + int GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + void* param_value, + nuint* param_value_size_ret + ); + + [NativeName("clGetSemaphoreInfoKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clGetSemaphoreInfoKHR")] + int GetSemaphoreInfoKHR( + SemaphoreHandleKHR sema_object, + uint param_name, + nuint param_value_size, + Ref param_value, + Ref param_value_size_ret + ); + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + int GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + ImageFormat* image_formats, + uint* num_image_formats + ); + + [NativeName("clGetSupportedImageFormats")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clGetSupportedImageFormats")] + int GetSupportedImageFormats( + ContextHandle context, + ulong flags, + uint image_type, + uint num_entries, + Ref image_formats, + Ref num_image_formats + ); + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + void* HostMemAllocINTEL( + ContextHandle context, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ); + + [NativeName("clHostMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clHostMemAllocINTEL")] + Ptr HostMemAllocINTEL( + ContextHandle context, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ); + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + void* IcdGetFunctionAddressForPlatformKHR(PlatformIdHandle platform, sbyte* func_name); + + [NativeName("clIcdGetFunctionAddressForPlatformKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetFunctionAddressForPlatformKHR")] + Ptr IcdGetFunctionAddressForPlatformKHR(PlatformIdHandle platform, Ref func_name); + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + int IcdGetPlatformIDsKHR(uint num_entries, PlatformIdHandle* platforms, uint* num_platforms); + + [NativeName("clIcdGetPlatformIDsKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdGetPlatformIDsKHR")] + int IcdGetPlatformIDsKHR( + uint num_entries, + Ref platforms, + Ref num_platforms + ); + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + int IcdSetPlatformDispatchDataKHR(PlatformIdHandle platform, void* dispatch_data); + + [NativeName("clIcdSetPlatformDispatchDataKHR")] + [SupportedApiProfile("opencl", ["cl_khr_icd"])] + [NativeFunction("opencl", EntryPoint = "clIcdSetPlatformDispatchDataKHR")] + int IcdSetPlatformDispatchDataKHR(PlatformIdHandle platform, Ref dispatch_data); + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + MemHandle ImportMemoryARM( + ContextHandle context, + ulong flags, + nint* properties, + void* memory, + nuint size, + int* errcode_ret + ); + + [NativeName("clImportMemoryARM")] + [SupportedApiProfile("opencl", ["cl_arm_import_memory"])] + [NativeFunction("opencl", EntryPoint = "clImportMemoryARM")] + MemHandle ImportMemoryARM( + ContextHandle context, + ulong flags, + Ref properties, + Ref memory, + nuint size, + Ref errcode_ret + ); + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + ProgramHandle LinkProgram( + ContextHandle context, + uint num_devices, + DeviceIdHandle* device_list, + sbyte* options, + uint num_input_programs, + ProgramHandle* input_programs, + delegate* unmanaged pfn_notify, + void* user_data, + int* errcode_ret + ); + + [NativeName("clLinkProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clLinkProgram")] + ProgramHandle LinkProgram( + ContextHandle context, + uint num_devices, + Ref device_list, + Ref options, + uint num_input_programs, + Ref input_programs, + delegate* unmanaged pfn_notify, + Ref user_data, + Ref errcode_ret + ); + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + void LogMessagesToStderrAPPLE(sbyte* errstr, void* private_info, nuint cb, void* user_data); + + [NativeName("clLogMessagesToStderrAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStderrAPPLE")] + void LogMessagesToStderrAPPLE(Ref errstr, Ref private_info, nuint cb, Ref user_data); + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + void LogMessagesToStdoutAPPLE(sbyte* errstr, void* private_info, nuint cb, void* user_data); + + [NativeName("clLogMessagesToStdoutAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToStdoutAPPLE")] + void LogMessagesToStdoutAPPLE(Ref errstr, Ref private_info, nuint cb, Ref user_data); + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + void LogMessagesToSystemLogAPPLE(sbyte* errstr, void* private_info, nuint cb, void* user_data); + + [NativeName("clLogMessagesToSystemLogAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_ContextLoggingFunctions"])] + [NativeFunction("opencl", EntryPoint = "clLogMessagesToSystemLogAPPLE")] + void LogMessagesToSystemLogAPPLE(Ref errstr, Ref private_info, nuint cb, Ref user_data); + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + int MemBlockingFreeINTEL(ContextHandle context, void* ptr); + + [NativeName("clMemBlockingFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemBlockingFreeINTEL")] + int MemBlockingFreeINTEL(ContextHandle context, Ref ptr); + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + int MemFreeINTEL(ContextHandle context, void* ptr); + + [NativeName("clMemFreeINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clMemFreeINTEL")] + int MemFreeINTEL(ContextHandle context, Ref ptr); + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + int ReImportSemaphoreSyncFdKHR(SemaphoreHandleKHR sema_object, ulong* reimport_props, int fd); + + [NativeName("clReImportSemaphoreSyncFdKHR")] + [SupportedApiProfile( + "opencl", + ["cl_khr_external_semaphore_sync_fd"], + ImpliesSets = ["cl_khr_external_semaphore", "cl_khr_semaphore", "CL_VERSION_1_2"] + )] + [NativeFunction("opencl", EntryPoint = "clReImportSemaphoreSyncFdKHR")] + int ReImportSemaphoreSyncFdKHR( + SemaphoreHandleKHR sema_object, + Ref reimport_props, + int fd + ); + + [NativeName("clReleaseAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clReleaseAcceleratorINTEL")] + int ReleaseAcceleratorINTEL(AcceleratorHandleINTEL accelerator); + + [NativeName("clReleaseCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseCommandQueue")] + int ReleaseCommandQueue(CommandQueueHandle command_queue); + + [NativeName("clReleaseContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseContext")] + int ReleaseContext(ContextHandle context); + + [NativeName("clReleaseDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseDevice")] + int ReleaseDevice(DeviceIdHandle device); + + [NativeName("clReleaseDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clReleaseDeviceEXT")] + int ReleaseDeviceEXT(DeviceIdHandle device); + + [NativeName("clReleaseEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseEvent")] + int ReleaseEvent(EventHandle @event); + + [NativeName("clReleaseKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseKernel")] + int ReleaseKernel(KernelHandle kernel); + + [NativeName("clReleaseMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseMemObject")] + int ReleaseMemObject(MemHandle memobj); + + [NativeName("clReleaseProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseProgram")] + int ReleaseProgram(ProgramHandle program); + + [NativeName("clReleaseSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clReleaseSampler")] + int ReleaseSampler(SamplerHandle sampler); + + [NativeName("clReleaseSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clReleaseSemaphoreKHR")] + int ReleaseSemaphoreKHR(SemaphoreHandleKHR sema_object); + + [NativeName("clRetainAcceleratorINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_accelerator"])] + [NativeFunction("opencl", EntryPoint = "clRetainAcceleratorINTEL")] + int RetainAcceleratorINTEL(AcceleratorHandleINTEL accelerator); + + [NativeName("clRetainCommandQueue")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainCommandQueue")] + int RetainCommandQueue(CommandQueueHandle command_queue); + + [NativeName("clRetainContext")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainContext")] + int RetainContext(ContextHandle context); + + [NativeName("clRetainDevice")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clRetainDevice")] + int RetainDevice(DeviceIdHandle device); + + [NativeName("clRetainDeviceEXT")] + [SupportedApiProfile("opencl", ["cl_ext_device_fission"])] + [NativeFunction("opencl", EntryPoint = "clRetainDeviceEXT")] + int RetainDeviceEXT(DeviceIdHandle device); + + [NativeName("clRetainEvent")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainEvent")] + int RetainEvent(EventHandle @event); + + [NativeName("clRetainKernel")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainKernel")] + int RetainKernel(KernelHandle kernel); + + [NativeName("clRetainMemObject")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainMemObject")] + int RetainMemObject(MemHandle memobj); + + [NativeName("clRetainProgram")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainProgram")] + int RetainProgram(ProgramHandle program); + + [NativeName("clRetainSampler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clRetainSampler")] + int RetainSampler(SamplerHandle sampler); + + [NativeName("clRetainSemaphoreKHR")] + [SupportedApiProfile("opencl", ["cl_khr_semaphore"], ImpliesSets = ["CL_VERSION_1_2"])] + [NativeFunction("opencl", EntryPoint = "clRetainSemaphoreKHR")] + int RetainSemaphoreKHR(SemaphoreHandleKHR sema_object); + + [NativeName("clSetContentSizeBufferPoCL")] + [SupportedApiProfile("opencl", ["cl_pocl_content_size"])] + [NativeFunction("opencl", EntryPoint = "clSetContentSizeBufferPoCL")] + int SetContentSizeBufferPOCL(MemHandle buffer, MemHandle content_size_buffer); + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + int SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetContextDestructorCallback")] + [SupportedApiProfile("opencl", ["CL_VERSION_3_0", "CL_VERSION_3_1"], MinVersion = "3.0")] + [NativeFunction("opencl", EntryPoint = "clSetContextDestructorCallback")] + int SetContextDestructorCallback( + ContextHandle context, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clSetDefaultDeviceCommandQueue")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetDefaultDeviceCommandQueue")] + int SetDefaultDeviceCommandQueue( + ContextHandle context, + DeviceIdHandle device, + CommandQueueHandle command_queue + ); + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + int SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetEventCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetEventCallback")] + int SetEventCallback( + EventHandle @event, + int command_exec_callback_type, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + int SetKernelArg(KernelHandle kernel, uint arg_index, nuint arg_size, void* arg_value); + + [NativeName("clSetKernelArg")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArg")] + int SetKernelArg(KernelHandle kernel, uint arg_index, nuint arg_size, Ref arg_value); + + [NativeName("clSetKernelArgDevicePointerEXT")] + [SupportedApiProfile( + "opencl", + ["cl_ext_buffer_device_address"], + ImpliesSets = ["CL_VERSION_3_0"] + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgDevicePointerEXT")] + int SetKernelArgDevicePointerEXT(KernelHandle kernel, uint arg_index, ulong arg_value); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + int SetKernelArgMemPointerINTEL(KernelHandle kernel, uint arg_index, void* arg_value); + + [NativeName("clSetKernelArgMemPointerINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgMemPointerINTEL")] + int SetKernelArgMemPointerINTEL(KernelHandle kernel, uint arg_index, Ref arg_value); + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + int SetKernelArgSvmPointer(KernelHandle kernel, uint arg_index, void* arg_value); + + [NativeName("clSetKernelArgSVMPointer")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointer")] + int SetKernelArgSvmPointer(KernelHandle kernel, uint arg_index, Ref arg_value); + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + int SetKernelArgSvmPointerARM(KernelHandle kernel, uint arg_index, void* arg_value); + + [NativeName("clSetKernelArgSVMPointerARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelArgSVMPointerARM")] + int SetKernelArgSvmPointerARM(KernelHandle kernel, uint arg_index, Ref arg_value); + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + int SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ); + + [NativeName("clSetKernelExecInfo")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfo")] + int SetKernelExecInfo( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ); + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + int SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + void* param_value + ); + + [NativeName("clSetKernelExecInfoARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSetKernelExecInfoARM")] + int SetKernelExecInfoARM( + KernelHandle kernel, + uint param_name, + nuint param_value_size, + Ref param_value + ); + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + int SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetMemObjectDestructorAPPLE")] + [SupportedApiProfile("opencl", ["cl_APPLE_SetMemObjectDestructor"])] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorAPPLE")] + int SetMemObjectDestructorAPPLE( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + int SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetMemObjectDestructorCallback")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetMemObjectDestructorCallback")] + int SetMemObjectDestructorCallback( + MemHandle memobj, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clSetPerfHintQCOM")] + [SupportedApiProfile("opencl", ["cl_qcom_perf_hint"])] + [NativeFunction("opencl", EntryPoint = "clSetPerfHintQCOM")] + int SetPerfHintQCOM(ContextHandle context, uint perf_hint); + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + int SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + void* user_data + ); + + [NativeName("clSetProgramReleaseCallback")] + [Obsolete] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramReleaseCallback")] + int SetProgramReleaseCallback( + ProgramHandle program, + delegate* unmanaged pfn_notify, + Ref user_data + ); + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + int SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + void* spec_value + ); + + [NativeName("clSetProgramSpecializationConstant")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.2" + )] + [NativeFunction("opencl", EntryPoint = "clSetProgramSpecializationConstant")] + int SetProgramSpecializationConstant( + ProgramHandle program, + uint spec_id, + nuint spec_size, + Ref spec_value + ); + + [NativeName("clSetUserEventStatus")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.1" + )] + [NativeFunction("opencl", EntryPoint = "clSetUserEventStatus")] + int SetUserEventStatus(EventHandle @event, int execution_status); + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + void* SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + ulong* properties, + nuint size, + uint alignment, + int* errcode_ret + ); + + [NativeName("clSharedMemAllocINTEL")] + [SupportedApiProfile("opencl", ["cl_intel_unified_shared_memory"])] + [NativeFunction("opencl", EntryPoint = "clSharedMemAllocINTEL")] + Ptr SharedMemAllocINTEL( + ContextHandle context, + DeviceIdHandle device, + Ref properties, + nuint size, + uint alignment, + Ref errcode_ret + ); + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + Ptr SvmAlloc(ContextHandle context, ulong flags, nuint size, uint alignment); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + Ptr SvmAllocARM(ContextHandle context, ulong flags, nuint size, uint alignment); + + [NativeName("clSVMAllocARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMAllocARM")] + void* SvmAllocRawARM(ContextHandle context, ulong flags, nuint size, uint alignment); + + [NativeName("clSVMAlloc")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMAlloc")] + void* SvmAllocRaw(ContextHandle context, ulong flags, nuint size, uint alignment); + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + void SvmFree(ContextHandle context, void* svm_pointer); + + [NativeName("clSVMFree")] + [SupportedApiProfile( + "opencl", + ["CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "CL_VERSION_3_1"], + MinVersion = "2.0" + )] + [NativeFunction("opencl", EntryPoint = "clSVMFree")] + void SvmFree(ContextHandle context, Ref svm_pointer); + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + void SvmFreeARM(ContextHandle context, void* svm_pointer); + + [NativeName("clSVMFreeARM")] + [SupportedApiProfile("opencl", ["cl_arm_shared_virtual_memory"])] + [NativeFunction("opencl", EntryPoint = "clSVMFreeARM")] + void SvmFreeARM(ContextHandle context, Ref svm_pointer); + + [NativeName("clTerminateContextKHR")] + [SupportedApiProfile("opencl", ["cl_khr_terminate_context"])] + [NativeFunction("opencl", EntryPoint = "clTerminateContextKHR")] + int TerminateContextKHR(ContextHandle context); + + [NativeName("clUnloadCompiler")] + [Obsolete] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clUnloadCompiler")] + int UnloadCompiler(); + + [NativeName("clUnloadPlatformCompiler")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.2" + )] + [NativeFunction("opencl", EntryPoint = "clUnloadPlatformCompiler")] + int UnloadPlatformCompiler(PlatformIdHandle platform); + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + int WaitForEvents(uint num_events, EventHandle* event_list); + + [NativeName("clWaitForEvents")] + [SupportedApiProfile( + "opencl", + [ + "CL_VERSION_1_0", + "CL_VERSION_1_1", + "CL_VERSION_1_2", + "CL_VERSION_2_0", + "CL_VERSION_2_1", + "CL_VERSION_2_2", + "CL_VERSION_3_0", + "CL_VERSION_3_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("opencl", EntryPoint = "clWaitForEvents")] + int WaitForEvents(uint num_events, Ref event_list); +} diff --git a/sources/OpenCL/OpenCL/OpenCL/ImageDesc.gen.cs b/sources/OpenCL/OpenCL/OpenCL/ImageDesc.gen.cs new file mode 100644 index 0000000000..c5278f0164 --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/ImageDesc.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("_cl_image_desc")] +public unsafe partial struct ImageDesc +{ + [NativeName("image_type")] + public uint ImageType; + + [NativeName("image_width")] + public nuint ImageWidth; + + [NativeName("image_height")] + public nuint ImageHeight; + + [NativeName("image_depth")] + public nuint ImageDepth; + + [NativeName("image_array_size")] + public nuint ImageArraySize; + + [NativeName("image_row_pitch")] + public nuint ImageRowPitch; + + [NativeName("image_slice_pitch")] + public nuint ImageSlicePitch; + + [NativeName("num_mip_levels")] + public uint NumMipLevels; + + [NativeName("num_samples")] + public uint NumSamples; + + [NativeName("Anonymous")] + public AnonymousEUnion Anonymous; + + [NativeName("buffer")] + [UnscopedRef] + public ref MemHandle Buffer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get { return ref Anonymous.Buffer; } + } + + [NativeName("mem_object")] + [UnscopedRef] + public ref MemHandle MemObject + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get { return ref Anonymous.MemObject; } + } + + [NativeName("_Anonymous_e__Union")] + [StructLayout(LayoutKind.Explicit)] + public unsafe partial struct AnonymousEUnion + { + [NativeName("buffer")] + [FieldOffset(0)] + public MemHandle Buffer; + + [NativeName("mem_object")] + [FieldOffset(0)] + public MemHandle MemObject; + } +} diff --git a/sources/OpenCL/OpenCL/OpenCL/ImageFormat.gen.cs b/sources/OpenCL/OpenCL/OpenCL/ImageFormat.gen.cs new file mode 100644 index 0000000000..f078c2222a --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/ImageFormat.gen.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("_cl_image_format")] +public partial struct ImageFormat +{ + [NativeName("image_channel_order")] + public uint ImageChannelOrder; + + [NativeName("image_channel_data_type")] + public uint ImageChannelDataType; +} diff --git a/sources/OpenCL/OpenCL/OpenCL/KernelAllocationInfoINTEL.gen.cs b/sources/OpenCL/OpenCL/OpenCL/KernelAllocationInfoINTEL.gen.cs new file mode 100644 index 0000000000..4222c896ee --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/KernelAllocationInfoINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +namespace Silk.NET.OpenCL; + +[NativeName("_cl_kernel_allocation_info_intel")] +public unsafe partial struct KernelAllocationInfoINTEL +{ + [NativeName("@base")] + public void* @base; + + [NativeName("size")] + public nuint Size; + + [NativeName("type")] + public uint Type; + + [NativeName("arg_index")] + public int ArgIndex; +} diff --git a/sources/OpenCL/OpenCL/OpenCL/MemAndroidNativeBufferHostPtr.gen.cs b/sources/OpenCL/OpenCL/OpenCL/MemAndroidNativeBufferHostPtr.gen.cs new file mode 100644 index 0000000000..15d86442f8 --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/MemAndroidNativeBufferHostPtr.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("_cl_mem_android_native_buffer_host_ptr")] +public unsafe partial struct MemAndroidNativeBufferHostPtr +{ + [NativeName("ext_host_ptr")] + public MemExtHostPtr ExtHostPtr; + + [NativeName("anb_ptr")] + public void* AnbPtr; +} diff --git a/sources/OpenCL/OpenCL/OpenCL/MemExtHostPtr.gen.cs b/sources/OpenCL/OpenCL/OpenCL/MemExtHostPtr.gen.cs new file mode 100644 index 0000000000..a82118426f --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/MemExtHostPtr.gen.cs @@ -0,0 +1,15 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +namespace Silk.NET.OpenCL; + +[NativeName("_cl_mem_ext_host_ptr")] +public partial struct MemExtHostPtr +{ + [NativeName("allocation_type")] + public uint AllocationType; + + [NativeName("host_cache_policy")] + public uint HostCachePolicy; +} diff --git a/sources/OpenCL/OpenCL/OpenCL/MemIonHostPtr.gen.cs b/sources/OpenCL/OpenCL/OpenCL/MemIonHostPtr.gen.cs new file mode 100644 index 0000000000..58b1263e5a --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/MemIonHostPtr.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("_cl_mem_ion_host_ptr")] +public unsafe partial struct MemIonHostPtr +{ + [NativeName("ext_host_ptr")] + public MemExtHostPtr ExtHostPtr; + + [NativeName("ion_filedesc")] + public int IonFiledesc; + + [NativeName("ion_hostptr")] + public void* IonHostptr; +} diff --git a/sources/OpenCL/OpenCL/OpenCL/MotionEstimationDescINTEL.gen.cs b/sources/OpenCL/OpenCL/OpenCL/MotionEstimationDescINTEL.gen.cs new file mode 100644 index 0000000000..2f918ec791 --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/MotionEstimationDescINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +namespace Silk.NET.OpenCL; + +[NativeName("_cl_motion_estimation_desc_intel")] +public partial struct MotionEstimationDescINTEL +{ + [NativeName("mb_block_type")] + public uint MbBlockType; + + [NativeName("subpixel_mode")] + public uint SubpixelMode; + + [NativeName("sad_adjust_mode")] + public uint SadAdjustMode; + + [NativeName("search_path_type")] + public uint SearchPathType; +} diff --git a/sources/OpenCL/OpenCL/OpenCL/NameVersion.gen.cs b/sources/OpenCL/OpenCL/OpenCL/NameVersion.gen.cs new file mode 100644 index 0000000000..699b648e8d --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/NameVersion.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("_cl_name_version")] +public partial struct NameVersion +{ + [NativeName("version")] + public uint Version; + + [NativeName("name")] + public NameEFixedBuffer Name; + + [NativeName("_name_e__FixedBuffer")] + [InlineArray(64)] + public partial struct NameEFixedBuffer + { + [NativeName("e0")] + public sbyte E0; + } +} diff --git a/sources/OpenCL/OpenCL/OpenCL/NameVersionKHR.gen.cs b/sources/OpenCL/OpenCL/OpenCL/NameVersionKHR.gen.cs new file mode 100644 index 0000000000..b9c63d4c0c --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/NameVersionKHR.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("_cl_name_version_khr")] +public partial struct NameVersionKHR +{ + [NativeName("version")] + public uint Version; + + [NativeName("name")] + public NameEFixedBuffer Name; + + [NativeName("_name_e__FixedBuffer")] + [InlineArray(64)] + public partial struct NameEFixedBuffer + { + [NativeName("e0")] + public sbyte E0; + } +} diff --git a/sources/OpenCL/OpenCL/OpenCL/QueueFamilyPropertiesINTEL.gen.cs b/sources/OpenCL/OpenCL/OpenCL/QueueFamilyPropertiesINTEL.gen.cs new file mode 100644 index 0000000000..3569e85193 --- /dev/null +++ b/sources/OpenCL/OpenCL/OpenCL/QueueFamilyPropertiesINTEL.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. +// Ported from the OpenCL headers and corresponding dependencies. +// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license. +using System; +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenCL; + +[NativeName("_cl_queue_family_properties_intel")] +public partial struct QueueFamilyPropertiesINTEL +{ + [NativeName("properties")] + public ulong Properties; + + [NativeName("capabilities")] + public ulong Capabilities; + + [NativeName("count")] + public uint Count; + + [NativeName("name")] + public NameEFixedBuffer Name; + + [NativeName("_name_e__FixedBuffer")] + [InlineArray(64)] + public partial struct NameEFixedBuffer + { + [NativeName("e0")] + public sbyte E0; + } +} diff --git a/sources/OpenCL/OpenCL/Silk.NET.OpenCL.csproj b/sources/OpenCL/OpenCL/Silk.NET.OpenCL.csproj new file mode 100644 index 0000000000..0e64f2e589 --- /dev/null +++ b/sources/OpenCL/OpenCL/Silk.NET.OpenCL.csproj @@ -0,0 +1,11 @@ + + + net10.0 + enable + enable + 1591 + + + + + diff --git a/sources/OpenGL/OpenGL/Enums/TextureWrapMode.gen.cs b/sources/OpenGL/OpenGL/Enums/TextureWrapMode.gen.cs index 75031767aa..836c333cae 100644 --- a/sources/OpenGL/OpenGL/Enums/TextureWrapMode.gen.cs +++ b/sources/OpenGL/OpenGL/Enums/TextureWrapMode.gen.cs @@ -10,9 +10,6 @@ namespace Silk.NET.OpenGL; [NativeName("TextureWrapMode")] public enum TextureWrapMode : uint { - [NativeName("GL_LINEAR_MIPMAP_LINEAR")] - LinearMipmapLinear = 9987, - [NativeName("GL_REPEAT")] Repeat = 10497, @@ -31,12 +28,27 @@ public enum TextureWrapMode : uint [NativeName("GL_CLAMP_TO_BORDER_ARB")] ClampToBorderARB = 33069, + [NativeName("GL_MIRRORED_REPEAT_ARB")] + MirroredRepeatARB = 33648, + + [NativeName("GL_MIRRORED_REPEAT_IBM")] + MirroredRepeatIBM = 33648, + [NativeName("GL_CLAMP_TO_BORDER_SGIS")] ClampToBorderSGIS = 33069, [NativeName("GL_CLAMP_TO_EDGE_SGIS")] ClampToEdgeSGIS = 33071, + [NativeName("GL_CLAMP_TO_BORDER_OES")] + ClampToBorderOES = 33069, + + [NativeName("GL_CLAMP_TO_BORDER_EXT")] + ClampToBorderEXT = 33069, + [NativeName("GL_CLAMP_TO_BORDER_NV")] ClampToBorderNV = 33069, + + [NativeName("GL_MIRRORED_REPEAT_OES")] + MirroredRepeatOES = 33648, } diff --git a/sources/OpenGL/OpenGL/Sync.gen.cs b/sources/OpenGL/OpenGL/Sync.gen.cs deleted file mode 100644 index 5d144c3195..0000000000 --- a/sources/OpenGL/OpenGL/Sync.gen.cs +++ /dev/null @@ -1,10 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// Ported from the OpenGL headers and corresponding dependencies. -// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license. -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -namespace Silk.NET.OpenGL; - -public readonly partial struct Sync { } diff --git a/sources/OpenGL/OpenGL/SyncHandle.gen.cs b/sources/OpenGL/OpenGL/SyncHandle.gen.cs new file mode 100644 index 0000000000..69dee19c41 --- /dev/null +++ b/sources/OpenGL/OpenGL/SyncHandle.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. +// Ported from the OpenGL headers and corresponding dependencies. +// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenGL; + +[NativeName("GLsync")] +public readonly unsafe partial struct SyncHandle : IEquatable +{ + public readonly void* Handle; + + public SyncHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(SyncHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is SyncHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(SyncHandle left, SyncHandle right) => left.Equals(right); + + public static bool operator !=(SyncHandle left, SyncHandle right) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SyncHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(SyncHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator SyncHandle(NullPtr _) => default; +} diff --git a/sources/OpenGL/OpenGL/gl/GL.gen.cs b/sources/OpenGL/OpenGL/gl/GL.gen.cs index b63d475d3f..2acb87dd9f 100644 --- a/sources/OpenGL/OpenGL/gl/GL.gen.cs +++ b/sources/OpenGL/OpenGL/gl/GL.gen.cs @@ -7806,7 +7806,7 @@ Ref fenceValueArray ], MinVersion = "3.2" )] - public static extern uint ClientWaitSync(Sync* sync, uint flags, ulong timeout); + public static extern uint ClientWaitSync(SyncHandle sync, uint flags, ulong timeout); [NativeName("glClientWaitSync")] [SupportedApiProfile( @@ -7842,47 +7842,29 @@ Ref fenceValueArray MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glClientWaitSync")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] public static Constant ClientWaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout - ) - { - fixed (Sync* __dsl_sync = sync) - { - return (Constant) - (uint)ClientWaitSync(__dsl_sync, (uint)flags, timeout); - } - } + ) => (Constant)(uint)ClientWaitSync(sync, (uint)flags, timeout); [NativeName("glClientWaitSyncAPPLE")] [DllImport("opengl", ExactSpelling = true, EntryPoint = "glClientWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - public static extern uint ClientWaitSyncAPPLE(Sync* sync, uint flags, ulong timeout); + public static extern uint ClientWaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout); [NativeName("glClientWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glClientWaitSyncAPPLE")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] public static Constant ClientWaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout - ) - { - fixed (Sync* __dsl_sync = sync) - { - return (Constant) - (uint)ClientWaitSyncAPPLE(__dsl_sync, (uint)flags, timeout); - } - } + ) => + (Constant) + (uint)ClientWaitSyncAPPLE(sync, (uint)flags, timeout); [NativeName("glClipControl")] [DllImport("opengl", ExactSpelling = true, EntryPoint = "glClipControl")] @@ -16481,7 +16463,7 @@ public static void CreateStatesNV(uint n, Ref states) [DllImport("opengl", ExactSpelling = true, EntryPoint = "glCreateSyncFromCLeventARB")] [SupportedApiProfile("gl", ["GL_ARB_cl_event"])] [SupportedApiProfile("glcore", ["GL_ARB_cl_event"])] - public static extern Sync* CreateSyncFromCLeventARB( + public static extern SyncHandle CreateSyncFromCLeventARB( void* context, void* @event, uint flags @@ -16494,12 +16476,12 @@ uint flags [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Ptr CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags) + public static SyncHandle CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags) { fixed (void* __dsl_event = @event) fixed (void* __dsl_context = context) { - return (Sync*)CreateSyncFromCLeventARB(__dsl_context, __dsl_event, flags); + return (SyncHandle)CreateSyncFromCLeventARB(__dsl_context, __dsl_event, flags); } } @@ -19182,73 +19164,13 @@ public static void DeleteStatesNV(uint n, Ref states) ], MinVersion = "3.2" )] - public static extern void DeleteSync(Sync* sync); - - [NativeName("glDeleteSync")] - [SupportedApiProfile( - "gl", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [SupportedApiProfile( - "glcore", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [NativeFunction("opengl", EntryPoint = "glDeleteSync")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static void DeleteSync(Ref sync) - { - fixed (Sync* __dsl_sync = sync) - { - DeleteSync(__dsl_sync); - } - } + public static extern void DeleteSync(SyncHandle sync); [NativeName("glDeleteSyncAPPLE")] [DllImport("opengl", ExactSpelling = true, EntryPoint = "glDeleteSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - public static extern void DeleteSyncAPPLE(Sync* sync); - - [NativeName("glDeleteSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glDeleteSyncAPPLE")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static void DeleteSyncAPPLE(Ref sync) - { - fixed (Sync* __dsl_sync = sync) - { - DeleteSyncAPPLE(__dsl_sync); - } - } + public static extern void DeleteSyncAPPLE(SyncHandle sync); [NativeName("glDeleteTextures")] [SupportedApiProfile( @@ -26850,7 +26772,7 @@ public static void FeedbackBufferxOES(uint type, int buffer) => ], MinVersion = "3.2" )] - public static extern Sync* FenceSync(uint condition, uint flags); + public static extern SyncHandle FenceSync(uint condition, uint flags); [NativeName("glFenceSync")] [SupportedApiProfile( @@ -26886,31 +26808,25 @@ public static void FeedbackBufferxOES(uint type, int buffer) => MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glFenceSync")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static Ptr FenceSync( + public static SyncHandle FenceSync( Constant condition, Constant flags - ) => (Sync*)FenceSync((uint)condition, (uint)flags); + ) => (SyncHandle)FenceSync((uint)condition, (uint)flags); [NativeName("glFenceSyncAPPLE")] [DllImport("opengl", ExactSpelling = true, EntryPoint = "glFenceSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - public static extern Sync* FenceSyncAPPLE(uint condition, uint flags); + public static extern SyncHandle FenceSyncAPPLE(uint condition, uint flags); [NativeName("glFenceSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glFenceSyncAPPLE")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static Ptr FenceSyncAPPLE( + public static SyncHandle FenceSyncAPPLE( Constant condition, Constant flags - ) => (Sync*)FenceSyncAPPLE((uint)condition, (uint)flags); + ) => (SyncHandle)FenceSyncAPPLE((uint)condition, (uint)flags); [NativeName("glFinalCombinerInputNV")] [DllImport("opengl", ExactSpelling = true, EntryPoint = "glFinalCombinerInputNV")] @@ -51824,7 +51740,7 @@ Ref name MinVersion = "3.2" )] public static extern void GetSync( - Sync* sync, + SyncHandle sync, uint pname, uint count, uint* length, @@ -51869,7 +51785,7 @@ public static extern void GetSync( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static void GetSync( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -51878,9 +51794,8 @@ Ref values { fixed (int* __dsl_values = values) fixed (uint* __dsl_length = length) - fixed (Sync* __dsl_sync = sync) { - GetSync(__dsl_sync, (uint)pname, count, __dsl_length, __dsl_values); + GetSync(sync, (uint)pname, count, __dsl_length, __dsl_values); } } @@ -51922,16 +51837,15 @@ Ref values MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static int GetSync( - Ref sync, + SyncHandle sync, Constant pname, Ref length ) { fixed (uint* __dsl_length = length) - fixed (Sync* __dsl_sync = sync) { int values = default; - GetSync(__dsl_sync, (uint)pname, 1, __dsl_length, (int*)&values); + GetSync(sync, (uint)pname, 1, __dsl_length, (int*)&values); return values; } } @@ -51941,7 +51855,7 @@ Ref length [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] public static extern void GetSyncAPPLE( - Sync* sync, + SyncHandle sync, uint pname, uint count, uint* length, @@ -51956,7 +51870,7 @@ public static extern void GetSyncAPPLE( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static void GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -51965,9 +51879,8 @@ Ref values { fixed (int* __dsl_values = values) fixed (uint* __dsl_length = length) - fixed (Sync* __dsl_sync = sync) { - GetSyncAPPLE(__dsl_sync, (uint)pname, count, __dsl_length, __dsl_values); + GetSyncAPPLE(sync, (uint)pname, count, __dsl_length, __dsl_values); } } @@ -51979,16 +51892,15 @@ Ref values MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static int GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, Ref length ) { fixed (uint* __dsl_length = length) - fixed (Sync* __dsl_sync = sync) { int values = default; - GetSyncAPPLE(__dsl_sync, (uint)pname, 1, __dsl_length, (int*)&values); + GetSyncAPPLE(sync, (uint)pname, 1, __dsl_length, (int*)&values); return values; } } @@ -58826,22 +58738,10 @@ Ref name } } - [NativeName("glImportSyncEXT")] - [SupportedApiProfile("gl", ["GL_EXT_x11_sync_object"])] - [NativeFunction("opengl", EntryPoint = "glImportSyncEXT")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static Ptr ImportSyncEXT( - uint external_sync_type, - nint external_sync, - uint flags - ) => (Sync*)ImportSyncRawEXT(external_sync_type, external_sync, flags); - [NativeName("glImportSyncEXT")] [DllImport("opengl", ExactSpelling = true, EntryPoint = "glImportSyncEXT")] [SupportedApiProfile("gl", ["GL_EXT_x11_sync_object"])] - public static extern Sync* ImportSyncRawEXT( + public static extern SyncHandle ImportSyncEXT( uint external_sync_type, nint external_sync, uint flags @@ -62282,7 +62182,6 @@ public static MaybeBool IsStateNV(uint state) => public static extern uint IsStateRawNV(uint state); [NativeName("glIsSync")] - [DllImport("opengl", ExactSpelling = true, EntryPoint = "glIsSync")] [SupportedApiProfile( "gl", [ @@ -62315,9 +62214,25 @@ public static MaybeBool IsStateNV(uint state) => ], MinVersion = "3.2" )] - public static extern uint IsSync(Sync* sync); + [NativeFunction("opengl", EntryPoint = "glIsSync")] + public static MaybeBool IsSync(SyncHandle sync) => + (MaybeBool)(uint)IsSyncRaw(sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + public static MaybeBool IsSyncAPPLE(SyncHandle sync) => + (MaybeBool)(uint)IsSyncRawAPPLE(sync); + + [NativeName("glIsSyncAPPLE")] + [DllImport("opengl", ExactSpelling = true, EntryPoint = "glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + public static extern uint IsSyncRawAPPLE(SyncHandle sync); [NativeName("glIsSync")] + [DllImport("opengl", ExactSpelling = true, EntryPoint = "glIsSync")] [SupportedApiProfile( "gl", [ @@ -62350,38 +62265,7 @@ public static MaybeBool IsStateNV(uint state) => ], MinVersion = "3.2" )] - [NativeFunction("opengl", EntryPoint = "glIsSync")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static MaybeBool IsSync(Ref sync) - { - fixed (Sync* __dsl_sync = sync) - { - return (MaybeBool)(uint)IsSync(__dsl_sync); - } - } - - [NativeName("glIsSyncAPPLE")] - [DllImport("opengl", ExactSpelling = true, EntryPoint = "glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - public static extern uint IsSyncAPPLE(Sync* sync); - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static MaybeBool IsSyncAPPLE(Ref sync) - { - fixed (Sync* __dsl_sync = sync) - { - return (MaybeBool)(uint)IsSyncAPPLE(__dsl_sync); - } - } + public static extern uint IsSyncRaw(SyncHandle sync); [NativeName("glIsTexture")] [SupportedApiProfile( @@ -125462,7 +125346,7 @@ Ref fenceValueArray ], MinVersion = "3.2" )] - public static extern void WaitSync(Sync* sync, uint flags, ulong timeout); + public static extern void WaitSync(SyncHandle sync, uint flags, ulong timeout); [NativeName("glWaitSync")] [SupportedApiProfile( @@ -125498,45 +125382,27 @@ Ref fenceValueArray MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glWaitSync")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] public static void WaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout - ) - { - fixed (Sync* __dsl_sync = sync) - { - WaitSync(__dsl_sync, (uint)flags, timeout); - } - } + ) => WaitSync(sync, (uint)flags, timeout); [NativeName("glWaitSyncAPPLE")] [DllImport("opengl", ExactSpelling = true, EntryPoint = "glWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - public static extern void WaitSyncAPPLE(Sync* sync, uint flags, ulong timeout); + public static extern void WaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout); [NativeName("glWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glWaitSyncAPPLE")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] public static void WaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout - ) - { - fixed (Sync* __dsl_sync = sync) - { - WaitSyncAPPLE(__dsl_sync, (uint)flags, timeout); - } - } + ) => WaitSyncAPPLE(sync, (uint)flags, timeout); [NativeName("glWaitVkSemaphoreNV")] [DllImport("opengl", ExactSpelling = true, EntryPoint = "glWaitVkSemaphoreNV")] @@ -135527,7 +135393,7 @@ Ref fenceValueArray [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public uint ClientWaitSync(Sync* sync, uint flags, ulong timeout) => + public uint ClientWaitSync(SyncHandle sync, uint flags, ulong timeout) => T.ClientWaitSync(sync, flags, timeout); [NativeName("glClientWaitSync")] @@ -135568,7 +135434,7 @@ public uint ClientWaitSync(Sync* sync, uint flags, ulong timeout) => MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public Constant ClientWaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ) => T.ClientWaitSync(sync, flags, timeout); @@ -135580,7 +135446,7 @@ ulong timeout [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public uint ClientWaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => + public uint ClientWaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout) => T.ClientWaitSyncAPPLE(sync, flags, timeout); [NativeName("glClientWaitSyncAPPLE")] @@ -135591,7 +135457,7 @@ public uint ClientWaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public Constant ClientWaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ) => T.ClientWaitSyncAPPLE(sync, flags, timeout); @@ -144722,7 +144588,7 @@ Ref2D strings [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public Sync* CreateSyncFromCLeventARB(void* context, void* @event, uint flags) => + public SyncHandle CreateSyncFromCLeventARB(void* context, void* @event, uint flags) => T.CreateSyncFromCLeventARB(context, @event, flags); [NativeName("glCreateSyncFromCLeventARB")] @@ -144732,7 +144598,7 @@ Ref2D strings [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public Ptr CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags) => + public SyncHandle CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags) => T.CreateSyncFromCLeventARB(context, @event, flags); [NativeName("glCreateTextures")] @@ -147417,55 +147283,7 @@ public void DeleteSemaphoresEXT(uint n, Ref semaphores) => [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public void DeleteSync(Sync* sync) => T.DeleteSync(sync); - - [NativeName("glDeleteSync")] - [SupportedApiProfile( - "gl", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [SupportedApiProfile( - "glcore", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [NativeFunction("opengl", EntryPoint = "glDeleteSync")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public void DeleteSync(Ref sync) => T.DeleteSync(sync); - - [NativeName("glDeleteSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glDeleteSyncAPPLE")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public void DeleteSyncAPPLE(Sync* sync) => T.DeleteSyncAPPLE(sync); + public void DeleteSync(SyncHandle sync) => T.DeleteSync(sync); [NativeName("glDeleteSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] @@ -147474,7 +147292,7 @@ public void DeleteSemaphoresEXT(uint n, Ref semaphores) => [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public void DeleteSyncAPPLE(Ref sync) => T.DeleteSyncAPPLE(sync); + public void DeleteSyncAPPLE(SyncHandle sync) => T.DeleteSyncAPPLE(sync); [NativeName("glDeleteTextures")] [SupportedApiProfile( @@ -155289,7 +155107,7 @@ public void FeedbackBufferxOES(uint n, uint type, Ref buffer) => [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public Sync* FenceSync(uint condition, uint flags) => T.FenceSync(condition, flags); + public SyncHandle FenceSync(uint condition, uint flags) => T.FenceSync(condition, flags); [NativeName("glFenceSync")] [SupportedApiProfile( @@ -155328,7 +155146,7 @@ public void FeedbackBufferxOES(uint n, uint type, Ref buffer) => [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public Ptr FenceSync( + public SyncHandle FenceSync( Constant condition, Constant flags ) => T.FenceSync(condition, flags); @@ -155340,7 +155158,7 @@ Constant flags [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public Sync* FenceSyncAPPLE(uint condition, uint flags) => + public SyncHandle FenceSyncAPPLE(uint condition, uint flags) => T.FenceSyncAPPLE(condition, flags); [NativeName("glFenceSyncAPPLE")] @@ -155350,7 +155168,7 @@ Constant flags [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public Ptr FenceSyncAPPLE( + public SyncHandle FenceSyncAPPLE( Constant condition, Constant flags ) => T.FenceSyncAPPLE(condition, flags); @@ -177985,7 +177803,7 @@ Ref name [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public void GetSync(Sync* sync, uint pname, uint count, uint* length, int* values) => + public void GetSync(SyncHandle sync, uint pname, uint count, uint* length, int* values) => T.GetSync(sync, pname, count, length, values); [NativeName("glGetSynciv")] @@ -178026,7 +177844,7 @@ public void GetSync(Sync* sync, uint pname, uint count, uint* length, int* value MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public void GetSync( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -178071,7 +177889,7 @@ Ref values MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public int GetSync( - Ref sync, + SyncHandle sync, Constant pname, Ref length ) => T.GetSync(sync, pname, length); @@ -178083,8 +177901,13 @@ Ref length [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public void GetSyncAPPLE(Sync* sync, uint pname, uint count, uint* length, int* values) => - T.GetSyncAPPLE(sync, pname, count, length, values); + public void GetSyncAPPLE( + SyncHandle sync, + uint pname, + uint count, + uint* length, + int* values + ) => T.GetSyncAPPLE(sync, pname, count, length, values); [NativeName("glGetSyncivAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] @@ -178094,7 +177917,7 @@ public void GetSyncAPPLE(Sync* sync, uint pname, uint count, uint* length, int* MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public void GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -178109,7 +177932,7 @@ Ref values MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public int GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, Ref length ) => T.GetSyncAPPLE(sync, pname, length); @@ -184399,18 +184222,9 @@ Ref name [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public Ptr ImportSyncEXT(uint external_sync_type, nint external_sync, uint flags) => + public SyncHandle ImportSyncEXT(uint external_sync_type, nint external_sync, uint flags) => T.ImportSyncEXT(external_sync_type, external_sync, flags); - [NativeName("glImportSyncEXT")] - [SupportedApiProfile("gl", ["GL_EXT_x11_sync_object"])] - [NativeFunction("opengl", EntryPoint = "glImportSyncEXT")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public Sync* ImportSyncRawEXT(uint external_sync_type, nint external_sync, uint flags) => - T.ImportSyncRawEXT(external_sync_type, external_sync, flags); - [NativeName("glIndexd")] [SupportedApiProfile( "gl", @@ -188044,7 +187858,25 @@ public MaybeBool IsRenderbufferOES(uint renderbuffer) => [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public uint IsSync(Sync* sync) => T.IsSync(sync); + public MaybeBool IsSync(SyncHandle sync) => T.IsSync(sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsSyncAPPLE(SyncHandle sync) => T.IsSyncAPPLE(sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public uint IsSyncRawAPPLE(SyncHandle sync) => T.IsSyncRawAPPLE(sync); [NativeName("glIsSync")] [SupportedApiProfile( @@ -188083,25 +187915,7 @@ public MaybeBool IsRenderbufferOES(uint renderbuffer) => [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public MaybeBool IsSync(Ref sync) => T.IsSync(sync); - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public uint IsSyncAPPLE(Sync* sync) => T.IsSyncAPPLE(sync); - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public MaybeBool IsSyncAPPLE(Ref sync) => T.IsSyncAPPLE(sync); + public uint IsSyncRaw(SyncHandle sync) => T.IsSyncRaw(sync); [NativeName("glIsTexture")] [SupportedApiProfile( @@ -251750,7 +251564,7 @@ Ref fenceValueArray [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public void WaitSync(Sync* sync, uint flags, ulong timeout) => + public void WaitSync(SyncHandle sync, uint flags, ulong timeout) => T.WaitSync(sync, flags, timeout); [NativeName("glWaitSync")] @@ -251791,7 +251605,7 @@ public void WaitSync(Sync* sync, uint flags, ulong timeout) => MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public void WaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ) => T.WaitSync(sync, flags, timeout); @@ -251803,7 +251617,7 @@ ulong timeout [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public void WaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => + public void WaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout) => T.WaitSyncAPPLE(sync, flags, timeout); [NativeName("glWaitSyncAPPLE")] @@ -251814,7 +251628,7 @@ public void WaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public void WaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ) => T.WaitSyncAPPLE(sync, flags, timeout); @@ -262466,7 +262280,7 @@ Ref fenceValueArray [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static uint ClientWaitSync(Sync* sync, uint flags, ulong timeout) => + public static uint ClientWaitSync(SyncHandle sync, uint flags, ulong timeout) => Underlying.Value!.ClientWaitSync(sync, flags, timeout); [NativeName("glClientWaitSync")] @@ -262507,17 +262321,10 @@ public static uint ClientWaitSync(Sync* sync, uint flags, ulong timeout) => MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static Constant ClientWaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout - ) - { - fixed (Sync* __dsl_sync = sync) - { - return (Constant) - (uint)ClientWaitSync(__dsl_sync, (uint)flags, timeout); - } - } + ) => Underlying.Value!.ClientWaitSync(sync, flags, timeout); [NativeName("glClientWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] @@ -262526,7 +262333,7 @@ ulong timeout [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static uint ClientWaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => + public static uint ClientWaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout) => Underlying.Value!.ClientWaitSyncAPPLE(sync, flags, timeout); [NativeName("glClientWaitSyncAPPLE")] @@ -262537,17 +262344,10 @@ public static uint ClientWaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static Constant ClientWaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout - ) - { - fixed (Sync* __dsl_sync = sync) - { - return (Constant) - (uint)ClientWaitSyncAPPLE(__dsl_sync, (uint)flags, timeout); - } - } + ) => Underlying.Value!.ClientWaitSyncAPPLE(sync, flags, timeout); [NativeName("glClipControl")] [SupportedApiProfile( @@ -272876,8 +272676,11 @@ public static void CreateStatesNV(uint n, Ref states) [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Sync* CreateSyncFromCLeventARB(void* context, void* @event, uint flags) => - Underlying.Value!.CreateSyncFromCLeventARB(context, @event, flags); + public static SyncHandle CreateSyncFromCLeventARB( + void* context, + void* @event, + uint flags + ) => Underlying.Value!.CreateSyncFromCLeventARB(context, @event, flags); [NativeName("glCreateSyncFromCLeventARB")] [SupportedApiProfile("gl", ["GL_ARB_cl_event"])] @@ -272886,12 +272689,12 @@ public static void CreateStatesNV(uint n, Ref states) [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Ptr CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags) + public static SyncHandle CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags) { fixed (void* __dsl_event = @event) fixed (void* __dsl_context = context) { - return (Sync*)CreateSyncFromCLeventARB(__dsl_context, __dsl_event, flags); + return (SyncHandle)CreateSyncFromCLeventARB(__dsl_context, __dsl_event, flags); } } @@ -275922,52 +275725,7 @@ public static void DeleteStatesNV(uint n, Ref states) [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static void DeleteSync(Sync* sync) => Underlying.Value!.DeleteSync(sync); - - [NativeName("glDeleteSync")] - [SupportedApiProfile( - "gl", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [SupportedApiProfile( - "glcore", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [NativeFunction("opengl", EntryPoint = "glDeleteSync")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static void DeleteSync(Ref sync) - { - fixed (Sync* __dsl_sync = sync) - { - DeleteSync(__dsl_sync); - } - } + public static void DeleteSync(SyncHandle sync) => Underlying.Value!.DeleteSync(sync); [NativeName("glDeleteSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] @@ -275976,22 +275734,8 @@ public static void DeleteSync(Ref sync) [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static void DeleteSyncAPPLE(Sync* sync) => Underlying.Value!.DeleteSyncAPPLE(sync); - - [NativeName("glDeleteSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glDeleteSyncAPPLE")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static void DeleteSyncAPPLE(Ref sync) - { - fixed (Sync* __dsl_sync = sync) - { - DeleteSyncAPPLE(__dsl_sync); - } - } + public static void DeleteSyncAPPLE(SyncHandle sync) => + Underlying.Value!.DeleteSyncAPPLE(sync); [NativeName("glDeleteTextures")] [SupportedApiProfile( @@ -284618,7 +284362,7 @@ public static void FeedbackBufferxOES(uint type, int buffer) => [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Sync* FenceSync(uint condition, uint flags) => + public static SyncHandle FenceSync(uint condition, uint flags) => Underlying.Value!.FenceSync(condition, flags); [NativeName("glFenceSync")] @@ -284658,7 +284402,7 @@ public static void FeedbackBufferxOES(uint type, int buffer) => [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Ptr FenceSync( + public static SyncHandle FenceSync( Constant condition, Constant flags ) => Underlying.Value!.FenceSync(condition, flags); @@ -284670,7 +284414,7 @@ Constant flags [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Sync* FenceSyncAPPLE(uint condition, uint flags) => + public static SyncHandle FenceSyncAPPLE(uint condition, uint flags) => Underlying.Value!.FenceSyncAPPLE(condition, flags); [NativeName("glFenceSyncAPPLE")] @@ -284680,7 +284424,7 @@ Constant flags [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Ptr FenceSyncAPPLE( + public static SyncHandle FenceSyncAPPLE( Constant condition, Constant flags ) => Underlying.Value!.FenceSyncAPPLE(condition, flags); @@ -312084,8 +311828,13 @@ Ref name [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static void GetSync(Sync* sync, uint pname, uint count, uint* length, int* values) => - Underlying.Value!.GetSync(sync, pname, count, length, values); + public static void GetSync( + SyncHandle sync, + uint pname, + uint count, + uint* length, + int* values + ) => Underlying.Value!.GetSync(sync, pname, count, length, values); [NativeName("glGetSynciv")] [SupportedApiProfile( @@ -312125,7 +311874,7 @@ public static void GetSync(Sync* sync, uint pname, uint count, uint* length, int MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static void GetSync( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -312134,9 +311883,8 @@ Ref values { fixed (int* __dsl_values = values) fixed (uint* __dsl_length = length) - fixed (Sync* __dsl_sync = sync) { - GetSync(__dsl_sync, (uint)pname, count, __dsl_length, __dsl_values); + GetSync(sync, (uint)pname, count, __dsl_length, __dsl_values); } } @@ -312178,16 +311926,15 @@ Ref values MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static int GetSync( - Ref sync, + SyncHandle sync, Constant pname, Ref length ) { fixed (uint* __dsl_length = length) - fixed (Sync* __dsl_sync = sync) { int values = default; - GetSync(__dsl_sync, (uint)pname, 1, __dsl_length, (int*)&values); + GetSync(sync, (uint)pname, 1, __dsl_length, (int*)&values); return values; } } @@ -312200,7 +311947,7 @@ Ref length MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static void GetSyncAPPLE( - Sync* sync, + SyncHandle sync, uint pname, uint count, uint* length, @@ -312215,7 +311962,7 @@ public static void GetSyncAPPLE( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static void GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -312224,9 +311971,8 @@ Ref values { fixed (int* __dsl_values = values) fixed (uint* __dsl_length = length) - fixed (Sync* __dsl_sync = sync) { - GetSyncAPPLE(__dsl_sync, (uint)pname, count, __dsl_length, __dsl_values); + GetSyncAPPLE(sync, (uint)pname, count, __dsl_length, __dsl_values); } } @@ -312238,16 +311984,15 @@ Ref values MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static int GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, Ref length ) { fixed (uint* __dsl_length = length) - fixed (Sync* __dsl_sync = sync) { int values = default; - GetSyncAPPLE(__dsl_sync, (uint)pname, 1, __dsl_length, (int*)&values); + GetSyncAPPLE(sync, (uint)pname, 1, __dsl_length, (int*)&values); return values; } } @@ -319744,24 +319489,12 @@ Ref name [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Ptr ImportSyncEXT( + public static SyncHandle ImportSyncEXT( uint external_sync_type, nint external_sync, uint flags ) => Underlying.Value!.ImportSyncEXT(external_sync_type, external_sync, flags); - [NativeName("glImportSyncEXT")] - [SupportedApiProfile("gl", ["GL_EXT_x11_sync_object"])] - [NativeFunction("opengl", EntryPoint = "glImportSyncEXT")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static Sync* ImportSyncRawEXT( - uint external_sync_type, - nint external_sync, - uint flags - ) => Underlying.Value!.ImportSyncRawEXT(external_sync_type, external_sync, flags); - [NativeName("glIndexd")] [SupportedApiProfile( "gl", @@ -323675,7 +323408,27 @@ public static uint IsSemaphoreRawEXT(uint semaphore) => [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static uint IsSync(Sync* sync) => Underlying.Value!.IsSync(sync); + public static MaybeBool IsSync(SyncHandle sync) => Underlying.Value!.IsSync(sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsSyncAPPLE(SyncHandle sync) => + Underlying.Value!.IsSyncAPPLE(sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static uint IsSyncRawAPPLE(SyncHandle sync) => + Underlying.Value!.IsSyncRawAPPLE(sync); [NativeName("glIsSync")] [SupportedApiProfile( @@ -323714,37 +323467,7 @@ public static uint IsSemaphoreRawEXT(uint semaphore) => [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static MaybeBool IsSync(Ref sync) - { - fixed (Sync* __dsl_sync = sync) - { - return (MaybeBool)(uint)IsSync(__dsl_sync); - } - } - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static uint IsSyncAPPLE(Sync* sync) => Underlying.Value!.IsSyncAPPLE(sync); - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static MaybeBool IsSyncAPPLE(Ref sync) - { - fixed (Sync* __dsl_sync = sync) - { - return (MaybeBool)(uint)IsSyncAPPLE(__dsl_sync); - } - } + public static uint IsSyncRaw(SyncHandle sync) => Underlying.Value!.IsSyncRaw(sync); [NativeName("glIsTexture")] [SupportedApiProfile( @@ -395924,7 +395647,7 @@ Ref fenceValueArray [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static void WaitSync(Sync* sync, uint flags, ulong timeout) => + public static void WaitSync(SyncHandle sync, uint flags, ulong timeout) => Underlying.Value!.WaitSync(sync, flags, timeout); [NativeName("glWaitSync")] @@ -395965,16 +395688,10 @@ public static void WaitSync(Sync* sync, uint flags, ulong timeout) => MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static void WaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout - ) - { - fixed (Sync* __dsl_sync = sync) - { - WaitSync(__dsl_sync, (uint)flags, timeout); - } - } + ) => Underlying.Value!.WaitSync(sync, flags, timeout); [NativeName("glWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] @@ -395983,7 +395700,7 @@ ulong timeout [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static void WaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => + public static void WaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout) => Underlying.Value!.WaitSyncAPPLE(sync, flags, timeout); [NativeName("glWaitSyncAPPLE")] @@ -395994,16 +395711,10 @@ public static void WaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] public static void WaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout - ) - { - fixed (Sync* __dsl_sync = sync) - { - WaitSyncAPPLE(__dsl_sync, (uint)flags, timeout); - } - } + ) => Underlying.Value!.WaitSyncAPPLE(sync, flags, timeout); [NativeName("glWaitVkSemaphoreNV")] [SupportedApiProfile("gl", ["GL_NV_draw_vulkan_image"])] @@ -415297,9 +415008,9 @@ Ref fenceValueArray )] [NativeFunction("opengl", EntryPoint = "glClientWaitSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - uint IGL.ClientWaitSync(Sync* sync, uint flags, ulong timeout) => + uint IGL.ClientWaitSync(SyncHandle sync, uint flags, ulong timeout) => ( - (delegate* unmanaged)( + (delegate* unmanaged)( _slots[223] is not null and var loadedFnPtr ? loadedFnPtr : _slots[223] = nativeContext.LoadFunction("glClientWaitSync", "opengl") @@ -415341,7 +415052,7 @@ _slots[223] is not null and var loadedFnPtr )] [NativeFunction("opengl", EntryPoint = "glClientWaitSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static uint ClientWaitSync(Sync* sync, uint flags, ulong timeout) => + public static uint ClientWaitSync(SyncHandle sync, uint flags, ulong timeout) => ThisThread.ClientWaitSync(sync, flags, timeout); [NativeName("glClientWaitSync")] @@ -415380,17 +415091,12 @@ public static uint ClientWaitSync(Sync* sync, uint flags, ulong timeout) => [NativeFunction("opengl", EntryPoint = "glClientWaitSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] Constant IGL.ClientWaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout - ) - { - fixed (Sync* __dsl_sync = sync) - { - return (Constant) - (uint)((IGL)this).ClientWaitSync(__dsl_sync, (uint)flags, timeout); - } - } + ) => + (Constant) + (uint)((IGL)this).ClientWaitSync(sync, (uint)flags, timeout); [NativeName("glClientWaitSync")] [SupportedApiProfile( @@ -415428,7 +415134,7 @@ ulong timeout [NativeFunction("opengl", EntryPoint = "glClientWaitSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] public static Constant ClientWaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ) => ThisThread.ClientWaitSync(sync, flags, timeout); @@ -415438,9 +415144,9 @@ ulong timeout [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glClientWaitSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - uint IGL.ClientWaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => + uint IGL.ClientWaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout) => ( - (delegate* unmanaged)( + (delegate* unmanaged)( _slots[224] is not null and var loadedFnPtr ? loadedFnPtr : _slots[224] = nativeContext.LoadFunction("glClientWaitSyncAPPLE", "opengl") @@ -415452,7 +415158,7 @@ _slots[224] is not null and var loadedFnPtr [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glClientWaitSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static uint ClientWaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => + public static uint ClientWaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout) => ThisThread.ClientWaitSyncAPPLE(sync, flags, timeout); [NativeName("glClientWaitSyncAPPLE")] @@ -415461,17 +415167,12 @@ public static uint ClientWaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => [NativeFunction("opengl", EntryPoint = "glClientWaitSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] Constant IGL.ClientWaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout - ) - { - fixed (Sync* __dsl_sync = sync) - { - return (Constant) - (uint)((IGL)this).ClientWaitSyncAPPLE(__dsl_sync, (uint)flags, timeout); - } - } + ) => + (Constant) + (uint)((IGL)this).ClientWaitSyncAPPLE(sync, (uint)flags, timeout); [NativeName("glClientWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] @@ -415479,7 +415180,7 @@ ulong timeout [NativeFunction("opengl", EntryPoint = "glClientWaitSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] public static Constant ClientWaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ) => ThisThread.ClientWaitSyncAPPLE(sync, flags, timeout); @@ -434578,9 +434279,9 @@ public static void CreateStatesNV(uint n, Ref states) => [SupportedApiProfile("glcore", ["GL_ARB_cl_event"])] [NativeFunction("opengl", EntryPoint = "glCreateSyncFromCLeventARB")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - Sync* IGL.CreateSyncFromCLeventARB(void* context, void* @event, uint flags) => + SyncHandle IGL.CreateSyncFromCLeventARB(void* context, void* @event, uint flags) => ( - (delegate* unmanaged)( + (delegate* unmanaged)( _slots[436] is not null and var loadedFnPtr ? loadedFnPtr : _slots[436] = nativeContext.LoadFunction( @@ -434595,7 +434296,7 @@ _slots[436] is not null and var loadedFnPtr [SupportedApiProfile("glcore", ["GL_ARB_cl_event"])] [NativeFunction("opengl", EntryPoint = "glCreateSyncFromCLeventARB")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static Sync* CreateSyncFromCLeventARB(void* context, void* @event, uint flags) => + public static SyncHandle CreateSyncFromCLeventARB(void* context, void* @event, uint flags) => ThisThread.CreateSyncFromCLeventARB(context, @event, flags); [NativeName("glCreateSyncFromCLeventARB")] @@ -434603,12 +434304,13 @@ _slots[436] is not null and var loadedFnPtr [SupportedApiProfile("glcore", ["GL_ARB_cl_event"])] [NativeFunction("opengl", EntryPoint = "glCreateSyncFromCLeventARB")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - Ptr IGL.CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags) + SyncHandle IGL.CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags) { fixed (void* __dsl_event = @event) fixed (void* __dsl_context = context) { - return (Sync*)((IGL)this).CreateSyncFromCLeventARB(__dsl_context, __dsl_event, flags); + return (SyncHandle) + ((IGL)this).CreateSyncFromCLeventARB(__dsl_context, __dsl_event, flags); } } @@ -434617,7 +434319,7 @@ Ptr IGL.CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags) [SupportedApiProfile("glcore", ["GL_ARB_cl_event"])] [NativeFunction("opengl", EntryPoint = "glCreateSyncFromCLeventARB")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static Ptr CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags) => + public static SyncHandle CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags) => ThisThread.CreateSyncFromCLeventARB(context, @event, flags); [NativeName("glCreateTextures")] @@ -440017,9 +439719,9 @@ public static void DeleteStatesNV(uint n, Ref states) => )] [NativeFunction("opengl", EntryPoint = "glDeleteSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - void IGL.DeleteSync(Sync* sync) => + void IGL.DeleteSync(SyncHandle sync) => ( - (delegate* unmanaged)( + (delegate* unmanaged)( _slots[495] is not null and var loadedFnPtr ? loadedFnPtr : _slots[495] = nativeContext.LoadFunction("glDeleteSync", "opengl") @@ -440061,96 +439763,16 @@ _slots[495] is not null and var loadedFnPtr )] [NativeFunction("opengl", EntryPoint = "glDeleteSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static void DeleteSync(Sync* sync) => ThisThread.DeleteSync(sync); - - [NativeName("glDeleteSync")] - [SupportedApiProfile( - "gl", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [SupportedApiProfile( - "glcore", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [NativeFunction("opengl", EntryPoint = "glDeleteSync")] - [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - void IGL.DeleteSync(Ref sync) - { - fixed (Sync* __dsl_sync = sync) - { - ((IGL)this).DeleteSync(__dsl_sync); - } - } - - [NativeName("glDeleteSync")] - [SupportedApiProfile( - "gl", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [SupportedApiProfile( - "glcore", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [NativeFunction("opengl", EntryPoint = "glDeleteSync")] - [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static void DeleteSync(Ref sync) => ThisThread.DeleteSync(sync); + public static void DeleteSync(SyncHandle sync) => ThisThread.DeleteSync(sync); [NativeName("glDeleteSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glDeleteSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - void IGL.DeleteSyncAPPLE(Sync* sync) => + void IGL.DeleteSyncAPPLE(SyncHandle sync) => ( - (delegate* unmanaged)( + (delegate* unmanaged)( _slots[496] is not null and var loadedFnPtr ? loadedFnPtr : _slots[496] = nativeContext.LoadFunction("glDeleteSyncAPPLE", "opengl") @@ -440162,27 +439784,7 @@ _slots[496] is not null and var loadedFnPtr [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glDeleteSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static void DeleteSyncAPPLE(Sync* sync) => ThisThread.DeleteSyncAPPLE(sync); - - [NativeName("glDeleteSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glDeleteSyncAPPLE")] - [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - void IGL.DeleteSyncAPPLE(Ref sync) - { - fixed (Sync* __dsl_sync = sync) - { - ((IGL)this).DeleteSyncAPPLE(__dsl_sync); - } - } - - [NativeName("glDeleteSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glDeleteSyncAPPLE")] - [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static void DeleteSyncAPPLE(Ref sync) => ThisThread.DeleteSyncAPPLE(sync); + public static void DeleteSyncAPPLE(SyncHandle sync) => ThisThread.DeleteSyncAPPLE(sync); [NativeName("glDeleteTextures")] [SupportedApiProfile( @@ -456512,9 +456114,9 @@ public static void FeedbackBufferxOES(uint type, int buffer) => )] [NativeFunction("opengl", EntryPoint = "glFenceSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - Sync* IGL.FenceSync(uint condition, uint flags) => + SyncHandle IGL.FenceSync(uint condition, uint flags) => ( - (delegate* unmanaged)( + (delegate* unmanaged)( _slots[698] is not null and var loadedFnPtr ? loadedFnPtr : _slots[698] = nativeContext.LoadFunction("glFenceSync", "opengl") @@ -456556,7 +456158,7 @@ _slots[698] is not null and var loadedFnPtr )] [NativeFunction("opengl", EntryPoint = "glFenceSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static Sync* FenceSync(uint condition, uint flags) => + public static SyncHandle FenceSync(uint condition, uint flags) => ThisThread.FenceSync(condition, flags); [NativeName("glFenceSync")] @@ -456594,10 +456196,10 @@ _slots[698] is not null and var loadedFnPtr )] [NativeFunction("opengl", EntryPoint = "glFenceSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - Ptr IGL.FenceSync( + SyncHandle IGL.FenceSync( Constant condition, Constant flags - ) => (Sync*)((IGL)this).FenceSync((uint)condition, (uint)flags); + ) => (SyncHandle)((IGL)this).FenceSync((uint)condition, (uint)flags); [NativeName("glFenceSync")] [SupportedApiProfile( @@ -456634,7 +456236,7 @@ Constant flags )] [NativeFunction("opengl", EntryPoint = "glFenceSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static Ptr FenceSync( + public static SyncHandle FenceSync( Constant condition, Constant flags ) => ThisThread.FenceSync(condition, flags); @@ -456644,9 +456246,9 @@ Constant flags [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glFenceSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - Sync* IGL.FenceSyncAPPLE(uint condition, uint flags) => + SyncHandle IGL.FenceSyncAPPLE(uint condition, uint flags) => ( - (delegate* unmanaged)( + (delegate* unmanaged)( _slots[699] is not null and var loadedFnPtr ? loadedFnPtr : _slots[699] = nativeContext.LoadFunction("glFenceSyncAPPLE", "opengl") @@ -456658,7 +456260,7 @@ _slots[699] is not null and var loadedFnPtr [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glFenceSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static Sync* FenceSyncAPPLE(uint condition, uint flags) => + public static SyncHandle FenceSyncAPPLE(uint condition, uint flags) => ThisThread.FenceSyncAPPLE(condition, flags); [NativeName("glFenceSyncAPPLE")] @@ -456666,17 +456268,17 @@ _slots[699] is not null and var loadedFnPtr [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glFenceSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - Ptr IGL.FenceSyncAPPLE( + SyncHandle IGL.FenceSyncAPPLE( Constant condition, Constant flags - ) => (Sync*)((IGL)this).FenceSyncAPPLE((uint)condition, (uint)flags); + ) => (SyncHandle)((IGL)this).FenceSyncAPPLE((uint)condition, (uint)flags); [NativeName("glFenceSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glFenceSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static Ptr FenceSyncAPPLE( + public static SyncHandle FenceSyncAPPLE( Constant condition, Constant flags ) => ThisThread.FenceSyncAPPLE(condition, flags); @@ -505099,9 +504701,9 @@ Ref name )] [NativeFunction("opengl", EntryPoint = "glGetSynciv")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - void IGL.GetSync(Sync* sync, uint pname, uint count, uint* length, int* values) => + void IGL.GetSync(SyncHandle sync, uint pname, uint count, uint* length, int* values) => ( - (delegate* unmanaged)( + (delegate* unmanaged)( _slots[1229] is not null and var loadedFnPtr ? loadedFnPtr : _slots[1229] = nativeContext.LoadFunction("glGetSynciv", "opengl") @@ -505143,8 +504745,13 @@ _slots[1229] is not null and var loadedFnPtr )] [NativeFunction("opengl", EntryPoint = "glGetSynciv")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static void GetSync(Sync* sync, uint pname, uint count, uint* length, int* values) => - ThisThread.GetSync(sync, pname, count, length, values); + public static void GetSync( + SyncHandle sync, + uint pname, + uint count, + uint* length, + int* values + ) => ThisThread.GetSync(sync, pname, count, length, values); [NativeName("glGetSynciv")] [SupportedApiProfile( @@ -505182,7 +504789,7 @@ public static void GetSync(Sync* sync, uint pname, uint count, uint* length, int [NativeFunction("opengl", EntryPoint = "glGetSynciv")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] void IGL.GetSync( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -505191,9 +504798,8 @@ Ref values { fixed (int* __dsl_values = values) fixed (uint* __dsl_length = length) - fixed (Sync* __dsl_sync = sync) { - ((IGL)this).GetSync(__dsl_sync, (uint)pname, count, __dsl_length, __dsl_values); + ((IGL)this).GetSync(sync, (uint)pname, count, __dsl_length, __dsl_values); } } @@ -505233,7 +504839,7 @@ Ref values [NativeFunction("opengl", EntryPoint = "glGetSynciv")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] public static void GetSync( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -505276,16 +504882,15 @@ Ref values [NativeFunction("opengl", EntryPoint = "glGetSynciv")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] int IGL.GetSync( - Ref sync, + SyncHandle sync, Constant pname, Ref length ) { fixed (uint* __dsl_length = length) - fixed (Sync* __dsl_sync = sync) { int values = default; - ((IGL)this).GetSync(__dsl_sync, (uint)pname, 1, __dsl_length, (int*)&values); + ((IGL)this).GetSync(sync, (uint)pname, 1, __dsl_length, (int*)&values); return values; } } @@ -505326,7 +504931,7 @@ Ref length [NativeFunction("opengl", EntryPoint = "glGetSynciv")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] public static int GetSync( - Ref sync, + SyncHandle sync, Constant pname, Ref length ) => ThisThread.GetSync(sync, pname, length); @@ -505336,9 +504941,9 @@ Ref length [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glGetSyncivAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - void IGL.GetSyncAPPLE(Sync* sync, uint pname, uint count, uint* length, int* values) => + void IGL.GetSyncAPPLE(SyncHandle sync, uint pname, uint count, uint* length, int* values) => ( - (delegate* unmanaged)( + (delegate* unmanaged)( _slots[1230] is not null and var loadedFnPtr ? loadedFnPtr : _slots[1230] = nativeContext.LoadFunction("glGetSyncivAPPLE", "opengl") @@ -505351,7 +504956,7 @@ _slots[1230] is not null and var loadedFnPtr [NativeFunction("opengl", EntryPoint = "glGetSyncivAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] public static void GetSyncAPPLE( - Sync* sync, + SyncHandle sync, uint pname, uint count, uint* length, @@ -505364,7 +504969,7 @@ public static void GetSyncAPPLE( [NativeFunction("opengl", EntryPoint = "glGetSyncivAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] void IGL.GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -505373,9 +504978,8 @@ Ref values { fixed (int* __dsl_values = values) fixed (uint* __dsl_length = length) - fixed (Sync* __dsl_sync = sync) { - ((IGL)this).GetSyncAPPLE(__dsl_sync, (uint)pname, count, __dsl_length, __dsl_values); + ((IGL)this).GetSyncAPPLE(sync, (uint)pname, count, __dsl_length, __dsl_values); } } @@ -505385,7 +504989,7 @@ Ref values [NativeFunction("opengl", EntryPoint = "glGetSyncivAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] public static void GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -505398,16 +505002,15 @@ Ref values [NativeFunction("opengl", EntryPoint = "glGetSyncivAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] int IGL.GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, Ref length ) { fixed (uint* __dsl_length = length) - fixed (Sync* __dsl_sync = sync) { int values = default; - ((IGL)this).GetSyncAPPLE(__dsl_sync, (uint)pname, 1, __dsl_length, (int*)&values); + ((IGL)this).GetSyncAPPLE(sync, (uint)pname, 1, __dsl_length, (int*)&values); return values; } } @@ -505418,7 +505021,7 @@ Ref length [NativeFunction("opengl", EntryPoint = "glGetSyncivAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] public static int GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, Ref length ) => ThisThread.GetSyncAPPLE(sync, pname, length); @@ -518947,26 +518550,9 @@ Ref name [SupportedApiProfile("gl", ["GL_EXT_x11_sync_object"])] [NativeFunction("opengl", EntryPoint = "glImportSyncEXT")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - Ptr IGL.ImportSyncEXT(uint external_sync_type, nint external_sync, uint flags) => - (Sync*)((IGL)this).ImportSyncRawEXT(external_sync_type, external_sync, flags); - - [NativeName("glImportSyncEXT")] - [SupportedApiProfile("gl", ["GL_EXT_x11_sync_object"])] - [NativeFunction("opengl", EntryPoint = "glImportSyncEXT")] - [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static Ptr ImportSyncEXT( - uint external_sync_type, - nint external_sync, - uint flags - ) => ThisThread.ImportSyncEXT(external_sync_type, external_sync, flags); - - [NativeName("glImportSyncEXT")] - [SupportedApiProfile("gl", ["GL_EXT_x11_sync_object"])] - [NativeFunction("opengl", EntryPoint = "glImportSyncEXT")] - [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - Sync* IGL.ImportSyncRawEXT(uint external_sync_type, nint external_sync, uint flags) => + SyncHandle IGL.ImportSyncEXT(uint external_sync_type, nint external_sync, uint flags) => ( - (delegate* unmanaged)( + (delegate* unmanaged)( _slots[1377] is not null and var loadedFnPtr ? loadedFnPtr : _slots[1377] = nativeContext.LoadFunction("glImportSyncEXT", "opengl") @@ -518977,8 +518563,11 @@ _slots[1377] is not null and var loadedFnPtr [SupportedApiProfile("gl", ["GL_EXT_x11_sync_object"])] [NativeFunction("opengl", EntryPoint = "glImportSyncEXT")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static Sync* ImportSyncRawEXT(uint external_sync_type, nint external_sync, uint flags) => - ThisThread.ImportSyncRawEXT(external_sync_type, external_sync, flags); + public static SyncHandle ImportSyncEXT( + uint external_sync_type, + nint external_sync, + uint flags + ) => ThisThread.ImportSyncEXT(external_sync_type, external_sync, flags); [NativeName("glIndexd")] [SupportedApiProfile( @@ -526409,14 +525998,8 @@ _slots[1453] is not null and var loadedFnPtr )] [NativeFunction("opengl", EntryPoint = "glIsSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - uint IGL.IsSync(Sync* sync) => - ( - (delegate* unmanaged)( - _slots[1454] is not null and var loadedFnPtr - ? loadedFnPtr - : _slots[1454] = nativeContext.LoadFunction("glIsSync", "opengl") - ) - )(sync); + MaybeBool IGL.IsSync(SyncHandle sync) => + (MaybeBool)(uint)((IGL)this).IsSyncRaw(sync); [NativeName("glIsSync")] [SupportedApiProfile( @@ -526453,7 +526036,43 @@ _slots[1454] is not null and var loadedFnPtr )] [NativeFunction("opengl", EntryPoint = "glIsSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static uint IsSync(Sync* sync) => ThisThread.IsSync(sync); + public static MaybeBool IsSync(SyncHandle sync) => ThisThread.IsSync(sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IGL.IsSyncAPPLE(SyncHandle sync) => + (MaybeBool)(uint)((IGL)this).IsSyncRawAPPLE(sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsSyncAPPLE(SyncHandle sync) => ThisThread.IsSyncAPPLE(sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IGL.IsSyncRawAPPLE(SyncHandle sync) => + ( + (delegate* unmanaged)( + _slots[1455] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[1455] = nativeContext.LoadFunction("glIsSyncAPPLE", "opengl") + ) + )(sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static uint IsSyncRawAPPLE(SyncHandle sync) => ThisThread.IsSyncRawAPPLE(sync); [NativeName("glIsSync")] [SupportedApiProfile( @@ -526490,13 +526109,14 @@ _slots[1454] is not null and var loadedFnPtr )] [NativeFunction("opengl", EntryPoint = "glIsSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - MaybeBool IGL.IsSync(Ref sync) - { - fixed (Sync* __dsl_sync = sync) - { - return (MaybeBool)(uint)((IGL)this).IsSync(__dsl_sync); - } - } + uint IGL.IsSyncRaw(SyncHandle sync) => + ( + (delegate* unmanaged)( + _slots[1454] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[1454] = nativeContext.LoadFunction("glIsSync", "opengl") + ) + )(sync); [NativeName("glIsSync")] [SupportedApiProfile( @@ -526533,48 +526153,7 @@ MaybeBool IGL.IsSync(Ref sync) )] [NativeFunction("opengl", EntryPoint = "glIsSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static MaybeBool IsSync(Ref sync) => ThisThread.IsSync(sync); - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - uint IGL.IsSyncAPPLE(Sync* sync) => - ( - (delegate* unmanaged)( - _slots[1455] is not null and var loadedFnPtr - ? loadedFnPtr - : _slots[1455] = nativeContext.LoadFunction("glIsSyncAPPLE", "opengl") - ) - )(sync); - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static uint IsSyncAPPLE(Sync* sync) => ThisThread.IsSyncAPPLE(sync); - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - MaybeBool IGL.IsSyncAPPLE(Ref sync) - { - fixed (Sync* __dsl_sync = sync) - { - return (MaybeBool)(uint)((IGL)this).IsSyncAPPLE(__dsl_sync); - } - } - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static MaybeBool IsSyncAPPLE(Ref sync) => ThisThread.IsSyncAPPLE(sync); + public static uint IsSyncRaw(SyncHandle sync) => ThisThread.IsSyncRaw(sync); [NativeName("glIsTexture")] [SupportedApiProfile( @@ -659816,9 +659395,9 @@ Ref fenceValueArray )] [NativeFunction("opengl", EntryPoint = "glWaitSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - void IGL.WaitSync(Sync* sync, uint flags, ulong timeout) => + void IGL.WaitSync(SyncHandle sync, uint flags, ulong timeout) => ( - (delegate* unmanaged)( + (delegate* unmanaged)( _slots[3219] is not null and var loadedFnPtr ? loadedFnPtr : _slots[3219] = nativeContext.LoadFunction("glWaitSync", "opengl") @@ -659860,7 +659439,7 @@ _slots[3219] is not null and var loadedFnPtr )] [NativeFunction("opengl", EntryPoint = "glWaitSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static void WaitSync(Sync* sync, uint flags, ulong timeout) => + public static void WaitSync(SyncHandle sync, uint flags, ulong timeout) => ThisThread.WaitSync(sync, flags, timeout); [NativeName("glWaitSync")] @@ -659899,16 +659478,10 @@ public static void WaitSync(Sync* sync, uint flags, ulong timeout) => [NativeFunction("opengl", EntryPoint = "glWaitSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] void IGL.WaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout - ) - { - fixed (Sync* __dsl_sync = sync) - { - ((IGL)this).WaitSync(__dsl_sync, (uint)flags, timeout); - } - } + ) => ((IGL)this).WaitSync(sync, (uint)flags, timeout); [NativeName("glWaitSync")] [SupportedApiProfile( @@ -659946,7 +659519,7 @@ ulong timeout [NativeFunction("opengl", EntryPoint = "glWaitSync")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] public static void WaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ) => ThisThread.WaitSync(sync, flags, timeout); @@ -659956,9 +659529,9 @@ ulong timeout [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glWaitSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - void IGL.WaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => + void IGL.WaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout) => ( - (delegate* unmanaged)( + (delegate* unmanaged)( _slots[3220] is not null and var loadedFnPtr ? loadedFnPtr : _slots[3220] = nativeContext.LoadFunction("glWaitSyncAPPLE", "opengl") @@ -659970,7 +659543,7 @@ _slots[3220] is not null and var loadedFnPtr [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glWaitSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] - public static void WaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => + public static void WaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout) => ThisThread.WaitSyncAPPLE(sync, flags, timeout); [NativeName("glWaitSyncAPPLE")] @@ -659979,16 +659552,10 @@ public static void WaitSyncAPPLE(Sync* sync, uint flags, ulong timeout) => [NativeFunction("opengl", EntryPoint = "glWaitSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] void IGL.WaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout - ) - { - fixed (Sync* __dsl_sync = sync) - { - ((IGL)this).WaitSyncAPPLE(__dsl_sync, (uint)flags, timeout); - } - } + ) => ((IGL)this).WaitSyncAPPLE(sync, (uint)flags, timeout); [NativeName("glWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] @@ -659996,7 +659563,7 @@ ulong timeout [NativeFunction("opengl", EntryPoint = "glWaitSyncAPPLE")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] public static void WaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ) => ThisThread.WaitSyncAPPLE(sync, flags, timeout); diff --git a/sources/OpenGL/OpenGL/gl/IGL.gen.cs b/sources/OpenGL/OpenGL/gl/IGL.gen.cs index 23b02d9c91..fc896947a1 100644 --- a/sources/OpenGL/OpenGL/gl/IGL.gen.cs +++ b/sources/OpenGL/OpenGL/gl/IGL.gen.cs @@ -6982,7 +6982,7 @@ Ref fenceValueArray MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glClientWaitSync")] - static abstract uint ClientWaitSync(Sync* sync, uint flags, ulong timeout); + static abstract uint ClientWaitSync(SyncHandle sync, uint flags, ulong timeout); [NativeName("glClientWaitSync")] [SupportedApiProfile( @@ -7019,7 +7019,7 @@ Ref fenceValueArray )] [NativeFunction("opengl", EntryPoint = "glClientWaitSync")] static abstract Constant ClientWaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ); @@ -7028,14 +7028,14 @@ ulong timeout [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glClientWaitSyncAPPLE")] - static abstract uint ClientWaitSyncAPPLE(Sync* sync, uint flags, ulong timeout); + static abstract uint ClientWaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout); [NativeName("glClientWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glClientWaitSyncAPPLE")] static abstract Constant ClientWaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ); @@ -13996,13 +13996,17 @@ Ref2D strings [SupportedApiProfile("gl", ["GL_ARB_cl_event"])] [SupportedApiProfile("glcore", ["GL_ARB_cl_event"])] [NativeFunction("opengl", EntryPoint = "glCreateSyncFromCLeventARB")] - static abstract Sync* CreateSyncFromCLeventARB(void* context, void* @event, uint flags); + static abstract SyncHandle CreateSyncFromCLeventARB( + void* context, + void* @event, + uint flags + ); [NativeName("glCreateSyncFromCLeventARB")] [SupportedApiProfile("gl", ["GL_ARB_cl_event"])] [SupportedApiProfile("glcore", ["GL_ARB_cl_event"])] [NativeFunction("opengl", EntryPoint = "glCreateSyncFromCLeventARB")] - static abstract Ptr CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags); + static abstract SyncHandle CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags); [NativeName("glCreateTextures")] [SupportedApiProfile( @@ -16151,55 +16155,13 @@ Ref points MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glDeleteSync")] - static abstract void DeleteSync(Sync* sync); - - [NativeName("glDeleteSync")] - [SupportedApiProfile( - "gl", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [SupportedApiProfile( - "glcore", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [NativeFunction("opengl", EntryPoint = "glDeleteSync")] - static abstract void DeleteSync(Ref sync); + static abstract void DeleteSync(SyncHandle sync); [NativeName("glDeleteSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glDeleteSyncAPPLE")] - static abstract void DeleteSyncAPPLE(Sync* sync); - - [NativeName("glDeleteSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glDeleteSyncAPPLE")] - static abstract void DeleteSyncAPPLE(Ref sync); + static abstract void DeleteSyncAPPLE(SyncHandle sync); [NativeName("glDeleteTextures")] [SupportedApiProfile( @@ -22711,7 +22673,7 @@ Ref buffer MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glFenceSync")] - static abstract Sync* FenceSync(uint condition, uint flags); + static abstract SyncHandle FenceSync(uint condition, uint flags); [NativeName("glFenceSync")] [SupportedApiProfile( @@ -22747,7 +22709,7 @@ Ref buffer MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glFenceSync")] - static abstract Ptr FenceSync( + static abstract SyncHandle FenceSync( Constant condition, Constant flags ); @@ -22756,13 +22718,13 @@ Constant flags [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glFenceSyncAPPLE")] - static abstract Sync* FenceSyncAPPLE(uint condition, uint flags); + static abstract SyncHandle FenceSyncAPPLE(uint condition, uint flags); [NativeName("glFenceSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glFenceSyncAPPLE")] - static abstract Ptr FenceSyncAPPLE( + static abstract SyncHandle FenceSyncAPPLE( Constant condition, Constant flags ); @@ -41357,7 +41319,13 @@ Ref name MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glGetSynciv")] - static abstract void GetSync(Sync* sync, uint pname, uint count, uint* length, int* values); + static abstract void GetSync( + SyncHandle sync, + uint pname, + uint count, + uint* length, + int* values + ); [NativeName("glGetSynciv")] [SupportedApiProfile( @@ -41394,7 +41362,7 @@ Ref name )] [NativeFunction("opengl", EntryPoint = "glGetSynciv")] static abstract void GetSync( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -41436,7 +41404,7 @@ Ref values )] [NativeFunction("opengl", EntryPoint = "glGetSynciv")] static abstract int GetSync( - Ref sync, + SyncHandle sync, Constant pname, Ref length ); @@ -41446,7 +41414,7 @@ Ref length [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glGetSyncivAPPLE")] static abstract void GetSyncAPPLE( - Sync* sync, + SyncHandle sync, uint pname, uint count, uint* length, @@ -41458,7 +41426,7 @@ static abstract void GetSyncAPPLE( [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glGetSyncivAPPLE")] static abstract void GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -41470,7 +41438,7 @@ Ref values [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glGetSyncivAPPLE")] static abstract int GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, Ref length ); @@ -46698,16 +46666,7 @@ Ref name [NativeName("glImportSyncEXT")] [SupportedApiProfile("gl", ["GL_EXT_x11_sync_object"])] [NativeFunction("opengl", EntryPoint = "glImportSyncEXT")] - static abstract Ptr ImportSyncEXT( - uint external_sync_type, - nint external_sync, - uint flags - ); - - [NativeName("glImportSyncEXT")] - [SupportedApiProfile("gl", ["GL_EXT_x11_sync_object"])] - [NativeFunction("opengl", EntryPoint = "glImportSyncEXT")] - static abstract Sync* ImportSyncRawEXT( + static abstract SyncHandle ImportSyncEXT( uint external_sync_type, nint external_sync, uint flags @@ -49793,7 +49752,19 @@ uint index MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glIsSync")] - static abstract uint IsSync(Sync* sync); + static abstract MaybeBool IsSync(SyncHandle sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + static abstract MaybeBool IsSyncAPPLE(SyncHandle sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + static abstract uint IsSyncRawAPPLE(SyncHandle sync); [NativeName("glIsSync")] [SupportedApiProfile( @@ -49829,19 +49800,7 @@ uint index MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glIsSync")] - static abstract MaybeBool IsSync(Ref sync); - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - static abstract uint IsSyncAPPLE(Sync* sync); - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - static abstract MaybeBool IsSyncAPPLE(Ref sync); + static abstract uint IsSyncRaw(SyncHandle sync); [NativeName("glIsTexture")] [SupportedApiProfile( @@ -101745,7 +101704,7 @@ Ref fenceValueArray MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glWaitSync")] - static abstract void WaitSync(Sync* sync, uint flags, ulong timeout); + static abstract void WaitSync(SyncHandle sync, uint flags, ulong timeout); [NativeName("glWaitSync")] [SupportedApiProfile( @@ -101782,7 +101741,7 @@ Ref fenceValueArray )] [NativeFunction("opengl", EntryPoint = "glWaitSync")] static abstract void WaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ); @@ -101791,14 +101750,14 @@ ulong timeout [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glWaitSyncAPPLE")] - static abstract void WaitSyncAPPLE(Sync* sync, uint flags, ulong timeout); + static abstract void WaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout); [NativeName("glWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glWaitSyncAPPLE")] static abstract void WaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ); @@ -109600,7 +109559,7 @@ Ref fenceValueArray MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glClientWaitSync")] - uint ClientWaitSync(Sync* sync, uint flags, ulong timeout); + uint ClientWaitSync(SyncHandle sync, uint flags, ulong timeout); [NativeName("glClientWaitSync")] [SupportedApiProfile( @@ -109637,7 +109596,7 @@ Ref fenceValueArray )] [NativeFunction("opengl", EntryPoint = "glClientWaitSync")] Constant ClientWaitSync( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ); @@ -109646,14 +109605,14 @@ ulong timeout [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glClientWaitSyncAPPLE")] - uint ClientWaitSyncAPPLE(Sync* sync, uint flags, ulong timeout); + uint ClientWaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout); [NativeName("glClientWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glClientWaitSyncAPPLE")] Constant ClientWaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ); @@ -116461,13 +116420,13 @@ Ref2D strings [SupportedApiProfile("gl", ["GL_ARB_cl_event"])] [SupportedApiProfile("glcore", ["GL_ARB_cl_event"])] [NativeFunction("opengl", EntryPoint = "glCreateSyncFromCLeventARB")] - Sync* CreateSyncFromCLeventARB(void* context, void* @event, uint flags); + SyncHandle CreateSyncFromCLeventARB(void* context, void* @event, uint flags); [NativeName("glCreateSyncFromCLeventARB")] [SupportedApiProfile("gl", ["GL_ARB_cl_event"])] [SupportedApiProfile("glcore", ["GL_ARB_cl_event"])] [NativeFunction("opengl", EntryPoint = "glCreateSyncFromCLeventARB")] - Ptr CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags); + SyncHandle CreateSyncFromCLeventARB(Ref context, Ref @event, uint flags); [NativeName("glCreateTextures")] [SupportedApiProfile( @@ -118495,55 +118454,13 @@ Ref points MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glDeleteSync")] - void DeleteSync(Sync* sync); - - [NativeName("glDeleteSync")] - [SupportedApiProfile( - "gl", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [SupportedApiProfile( - "glcore", - [ - "GL_ARB_sync", - "GL_VERSION_3_2", - "GL_VERSION_3_3", - "GL_VERSION_4_0", - "GL_VERSION_4_1", - "GL_VERSION_4_2", - "GL_VERSION_4_3", - "GL_VERSION_4_4", - "GL_VERSION_4_5", - "GL_VERSION_4_6", - ], - MinVersion = "3.2" - )] - [NativeFunction("opengl", EntryPoint = "glDeleteSync")] - void DeleteSync(Ref sync); - - [NativeName("glDeleteSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glDeleteSyncAPPLE")] - void DeleteSyncAPPLE(Sync* sync); + void DeleteSync(SyncHandle sync); [NativeName("glDeleteSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glDeleteSyncAPPLE")] - void DeleteSyncAPPLE(Ref sync); + void DeleteSyncAPPLE(SyncHandle sync); [NativeName("glDeleteTextures")] [SupportedApiProfile( @@ -124811,7 +124728,7 @@ Ref texels MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glFenceSync")] - Sync* FenceSync(uint condition, uint flags); + SyncHandle FenceSync(uint condition, uint flags); [NativeName("glFenceSync")] [SupportedApiProfile( @@ -124847,7 +124764,7 @@ Ref texels MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glFenceSync")] - Ptr FenceSync( + SyncHandle FenceSync( Constant condition, Constant flags ); @@ -124856,13 +124773,13 @@ Constant flags [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glFenceSyncAPPLE")] - Sync* FenceSyncAPPLE(uint condition, uint flags); + SyncHandle FenceSyncAPPLE(uint condition, uint flags); [NativeName("glFenceSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glFenceSyncAPPLE")] - Ptr FenceSyncAPPLE( + SyncHandle FenceSyncAPPLE( Constant condition, Constant flags ); @@ -142382,7 +142299,7 @@ Ref name MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glGetSynciv")] - void GetSync(Sync* sync, uint pname, uint count, uint* length, int* values); + void GetSync(SyncHandle sync, uint pname, uint count, uint* length, int* values); [NativeName("glGetSynciv")] [SupportedApiProfile( @@ -142419,7 +142336,7 @@ Ref name )] [NativeFunction("opengl", EntryPoint = "glGetSynciv")] void GetSync( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -142460,20 +142377,20 @@ Ref values MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glGetSynciv")] - int GetSync(Ref sync, Constant pname, Ref length); + int GetSync(SyncHandle sync, Constant pname, Ref length); [NativeName("glGetSyncivAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glGetSyncivAPPLE")] - void GetSyncAPPLE(Sync* sync, uint pname, uint count, uint* length, int* values); + void GetSyncAPPLE(SyncHandle sync, uint pname, uint count, uint* length, int* values); [NativeName("glGetSyncivAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glGetSyncivAPPLE")] void GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, uint count, Ref length, @@ -142485,7 +142402,7 @@ Ref values [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glGetSyncivAPPLE")] int GetSyncAPPLE( - Ref sync, + SyncHandle sync, Constant pname, Ref length ); @@ -147575,12 +147492,7 @@ Ref name [NativeName("glImportSyncEXT")] [SupportedApiProfile("gl", ["GL_EXT_x11_sync_object"])] [NativeFunction("opengl", EntryPoint = "glImportSyncEXT")] - Ptr ImportSyncEXT(uint external_sync_type, nint external_sync, uint flags); - - [NativeName("glImportSyncEXT")] - [SupportedApiProfile("gl", ["GL_EXT_x11_sync_object"])] - [NativeFunction("opengl", EntryPoint = "glImportSyncEXT")] - Sync* ImportSyncRawEXT(uint external_sync_type, nint external_sync, uint flags); + SyncHandle ImportSyncEXT(uint external_sync_type, nint external_sync, uint flags); [NativeName("glIndexd")] [SupportedApiProfile( @@ -150609,7 +150521,19 @@ uint depth MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glIsSync")] - uint IsSync(Sync* sync); + MaybeBool IsSync(SyncHandle sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + MaybeBool IsSyncAPPLE(SyncHandle sync); + + [NativeName("glIsSyncAPPLE")] + [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] + [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] + [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] + uint IsSyncRawAPPLE(SyncHandle sync); [NativeName("glIsSync")] [SupportedApiProfile( @@ -150645,19 +150569,7 @@ uint depth MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glIsSync")] - MaybeBool IsSync(Ref sync); - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - uint IsSyncAPPLE(Sync* sync); - - [NativeName("glIsSyncAPPLE")] - [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] - [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] - [NativeFunction("opengl", EntryPoint = "glIsSyncAPPLE")] - MaybeBool IsSyncAPPLE(Ref sync); + uint IsSyncRaw(SyncHandle sync); [NativeName("glIsTexture")] [SupportedApiProfile( @@ -199688,7 +199600,7 @@ Ref fenceValueArray MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glWaitSync")] - void WaitSync(Sync* sync, uint flags, ulong timeout); + void WaitSync(SyncHandle sync, uint flags, ulong timeout); [NativeName("glWaitSync")] [SupportedApiProfile( @@ -199724,20 +199636,20 @@ Ref fenceValueArray MinVersion = "3.2" )] [NativeFunction("opengl", EntryPoint = "glWaitSync")] - void WaitSync(Ref sync, Constant flags, ulong timeout); + void WaitSync(SyncHandle sync, Constant flags, ulong timeout); [NativeName("glWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glWaitSyncAPPLE")] - void WaitSyncAPPLE(Sync* sync, uint flags, ulong timeout); + void WaitSyncAPPLE(SyncHandle sync, uint flags, ulong timeout); [NativeName("glWaitSyncAPPLE")] [SupportedApiProfile("gles2", ["GL_APPLE_sync"])] [SupportedApiProfile("gles1", ["GL_APPLE_sync"])] [NativeFunction("opengl", EntryPoint = "glWaitSyncAPPLE")] void WaitSyncAPPLE( - Ref sync, + SyncHandle sync, Constant flags, ulong timeout ); diff --git a/sources/OpenXR/OpenXR/Enums/AndroidSurfaceSwapchainFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/AndroidSurfaceSwapchainFlagsFB.gen.cs new file mode 100644 index 0000000000..44034af15c --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/AndroidSurfaceSwapchainFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrAndroidSurfaceSwapchainFlagsFB")] +[Flags] +public enum AndroidSurfaceSwapchainFlagsFB : ulong +{ + None = 0x0, +} diff --git a/sources/OpenXR/OpenXR/Enums/BatteryStateDisplayStateFlagsEXT.gen.cs b/sources/OpenXR/OpenXR/Enums/BatteryStateDisplayStateFlagsEXT.gen.cs new file mode 100644 index 0000000000..6914b163d9 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/BatteryStateDisplayStateFlagsEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBatteryStateDisplayStateFlagsEXT")] +[Flags] +public enum BatteryStateDisplayStateFlagsEXT : ulong +{ + None = 0x0, + + [NativeName("XR_BATTERY_STATE_DISPLAY_STATE_VALID_BIT_EXT")] + ValidBit = 0x1, + + [NativeName("XR_BATTERY_STATE_DISPLAY_STATE_CHARGING_BIT_EXT")] + ChargingBit = 0x2, + + [NativeName("XR_BATTERY_STATE_DISPLAY_STATE_PLUGGED_IN_BIT_EXT")] + PluggedInBit = 0x4, + + [NativeName("XR_BATTERY_STATE_DISPLAY_STATE_NO_BATTERY_BIT_EXT")] + NoBatteryBit = 0x8, +} diff --git a/sources/OpenXR/OpenXR/Enums/CompositionLayerFlags.gen.cs b/sources/OpenXR/OpenXR/Enums/CompositionLayerFlags.gen.cs new file mode 100644 index 0000000000..029ab0f9b7 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/CompositionLayerFlags.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerFlags")] +[Flags] +public enum CompositionLayerFlags : ulong +{ + None = 0x0, + + [NativeName("XR_COMPOSITION_LAYER_CORRECT_CHROMATIC_ABERRATION_BIT")] + CorrectChromaticAberrationBit = 0x1, + + [NativeName("XR_COMPOSITION_LAYER_BLEND_TEXTURE_SOURCE_ALPHA_BIT")] + BlendTextureSourceAlphaBit = 0x2, + + [NativeName("XR_COMPOSITION_LAYER_UNPREMULTIPLIED_ALPHA_BIT")] + UnpremultipliedAlphaBit = 0x4, + + [NativeName("XR_COMPOSITION_LAYER_INVERTED_ALPHA_BIT_EXT")] + InvertedAlphaBitEXT = 0x8, +} diff --git a/sources/OpenXR/OpenXR/Enums/CompositionLayerImageLayoutFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/CompositionLayerImageLayoutFlagsFB.gen.cs new file mode 100644 index 0000000000..50863b6b91 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/CompositionLayerImageLayoutFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerImageLayoutFlagsFB")] +[Flags] +public enum CompositionLayerImageLayoutFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_COMPOSITION_LAYER_IMAGE_LAYOUT_VERTICAL_FLIP_BIT_FB")] + VerticalFlipBit = 0x1, +} diff --git a/sources/OpenXR/OpenXR/Enums/CompositionLayerSecureContentFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/CompositionLayerSecureContentFlagsFB.gen.cs new file mode 100644 index 0000000000..0295887423 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/CompositionLayerSecureContentFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerSecureContentFlagsFB")] +[Flags] +public enum CompositionLayerSecureContentFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_COMPOSITION_LAYER_SECURE_CONTENT_EXCLUDE_LAYER_BIT_FB")] + ExcludeLayerBit = 0x1, + + [NativeName("XR_COMPOSITION_LAYER_SECURE_CONTENT_REPLACE_LAYER_BIT_FB")] + ReplaceLayerBit = 0x2, +} diff --git a/sources/OpenXR/OpenXR/Enums/CompositionLayerSettingsFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/CompositionLayerSettingsFlagsFB.gen.cs new file mode 100644 index 0000000000..d21e05b2a8 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/CompositionLayerSettingsFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerSettingsFlagsFB")] +[Flags] +public enum CompositionLayerSettingsFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_COMPOSITION_LAYER_SETTINGS_NORMAL_SUPER_SAMPLING_BIT_FB")] + NormalSuperSamplingBit = 0x1, + + [NativeName("XR_COMPOSITION_LAYER_SETTINGS_QUALITY_SUPER_SAMPLING_BIT_FB")] + QualitySuperSamplingBit = 0x2, + + [NativeName("XR_COMPOSITION_LAYER_SETTINGS_NORMAL_SHARPENING_BIT_FB")] + NormalSharpeningBit = 0x4, + + [NativeName("XR_COMPOSITION_LAYER_SETTINGS_QUALITY_SHARPENING_BIT_FB")] + QualitySharpeningBit = 0x8, + + [NativeName("XR_COMPOSITION_LAYER_SETTINGS_AUTO_LAYER_FILTER_BIT_META")] + AutoLayerFilterBitMETA = 0x20, +} diff --git a/sources/OpenXR/OpenXR/Enums/CompositionLayerSpaceWarpInfoFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/CompositionLayerSpaceWarpInfoFlagsFB.gen.cs new file mode 100644 index 0000000000..3ec8ed32a5 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/CompositionLayerSpaceWarpInfoFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerSpaceWarpInfoFlagsFB")] +[Flags] +public enum CompositionLayerSpaceWarpInfoFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_COMPOSITION_LAYER_SPACE_WARP_INFO_FRAME_SKIP_BIT_FB")] + FrameSkipBit = 0x1, +} diff --git a/sources/OpenXR/OpenXR/Enums/DebugUtilsMessageSeverityFlagsEXT.gen.cs b/sources/OpenXR/OpenXR/Enums/DebugUtilsMessageSeverityFlagsEXT.gen.cs new file mode 100644 index 0000000000..9e00fee7cf --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/DebugUtilsMessageSeverityFlagsEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrDebugUtilsMessageSeverityFlagsEXT")] +[Flags] +public enum DebugUtilsMessageSeverityFlagsEXT : ulong +{ + None = 0x0, + + [NativeName("XR_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT")] + VerboseBit = 0x1, + + [NativeName("XR_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT")] + InfoBit = 0x10, + + [NativeName("XR_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT")] + WarningBit = 0x100, + + [NativeName("XR_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT")] + ErrorBit = 0x1000, +} diff --git a/sources/OpenXR/OpenXR/Enums/DebugUtilsMessageTypeFlagsEXT.gen.cs b/sources/OpenXR/OpenXR/Enums/DebugUtilsMessageTypeFlagsEXT.gen.cs new file mode 100644 index 0000000000..15ca9ea284 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/DebugUtilsMessageTypeFlagsEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrDebugUtilsMessageTypeFlagsEXT")] +[Flags] +public enum DebugUtilsMessageTypeFlagsEXT : ulong +{ + None = 0x0, + + [NativeName("XR_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT")] + GeneralBit = 0x1, + + [NativeName("XR_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT")] + ValidationBit = 0x2, + + [NativeName("XR_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT")] + PerformanceBit = 0x4, + + [NativeName("XR_DEBUG_UTILS_MESSAGE_TYPE_CONFORMANCE_BIT_EXT")] + ConformanceBit = 0x8, +} diff --git a/sources/OpenXR/OpenXR/Enums/DigitalLensControlFlagsALMALENCE.gen.cs b/sources/OpenXR/OpenXR/Enums/DigitalLensControlFlagsALMALENCE.gen.cs new file mode 100644 index 0000000000..78e0299094 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/DigitalLensControlFlagsALMALENCE.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrDigitalLensControlFlagsALMALENCE")] +[Flags] +public enum DigitalLensControlFlagsALMALENCE : ulong +{ + None = 0x0, + + [NativeName("XR_DIGITAL_LENS_CONTROL_PROCESSING_DISABLE_BIT_ALMALENCE")] + ProcessingDisableBit = 0x1, +} diff --git a/sources/OpenXR/OpenXR/Enums/EnvironmentDepthProviderCreateFlagsMETA.gen.cs b/sources/OpenXR/OpenXR/Enums/EnvironmentDepthProviderCreateFlagsMETA.gen.cs new file mode 100644 index 0000000000..dcb260db06 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/EnvironmentDepthProviderCreateFlagsMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentDepthProviderCreateFlagsMETA")] +[Flags] +public enum EnvironmentDepthProviderCreateFlagsMETA : ulong +{ + None = 0x0, +} diff --git a/sources/OpenXR/OpenXR/Enums/EnvironmentDepthSwapchainCreateFlagsMETA.gen.cs b/sources/OpenXR/OpenXR/Enums/EnvironmentDepthSwapchainCreateFlagsMETA.gen.cs new file mode 100644 index 0000000000..34db9bb0da --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/EnvironmentDepthSwapchainCreateFlagsMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentDepthSwapchainCreateFlagsMETA")] +[Flags] +public enum EnvironmentDepthSwapchainCreateFlagsMETA : ulong +{ + None = 0x0, +} diff --git a/sources/OpenXR/OpenXR/Enums/ExternalCameraStatusFlagsOCULUS.gen.cs b/sources/OpenXR/OpenXR/Enums/ExternalCameraStatusFlagsOCULUS.gen.cs new file mode 100644 index 0000000000..78870cf2e1 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/ExternalCameraStatusFlagsOCULUS.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrExternalCameraStatusFlagsOCULUS")] +[Flags] +public enum ExternalCameraStatusFlagsOCULUS : ulong +{ + None = 0x0, + + [NativeName("XR_EXTERNAL_CAMERA_STATUS_CONNECTED_BIT_OCULUS")] + ConnectedBit = 0x1, + + [NativeName("XR_EXTERNAL_CAMERA_STATUS_CALIBRATING_BIT_OCULUS")] + CalibratingBit = 0x2, + + [NativeName("XR_EXTERNAL_CAMERA_STATUS_CALIBRATION_FAILED_BIT_OCULUS")] + CalibrationFailedBit = 0x4, + + [NativeName("XR_EXTERNAL_CAMERA_STATUS_CALIBRATED_BIT_OCULUS")] + CalibratedBit = 0x8, + + [NativeName("XR_EXTERNAL_CAMERA_STATUS_CAPTURING_BIT_OCULUS")] + CapturingBit = 0x10, +} diff --git a/sources/OpenXR/OpenXR/Enums/FacialExpressionBlendShapePropertiesFlagsML.gen.cs b/sources/OpenXR/OpenXR/Enums/FacialExpressionBlendShapePropertiesFlagsML.gen.cs new file mode 100644 index 0000000000..04e90c3b5f --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/FacialExpressionBlendShapePropertiesFlagsML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFacialExpressionBlendShapePropertiesFlagsML")] +[Flags] +public enum FacialExpressionBlendShapePropertiesFlagsML : ulong +{ + None = 0x0, + + [NativeName("XR_FACIAL_EXPRESSION_BLEND_SHAPE_PROPERTIES_VALID_BIT_ML")] + ValidBit = 0x1, + + [NativeName("XR_FACIAL_EXPRESSION_BLEND_SHAPE_PROPERTIES_TRACKED_BIT_ML")] + TrackedBit = 0x2, +} diff --git a/sources/OpenXR/OpenXR/Enums/FoveationDynamicFlagsHTC.gen.cs b/sources/OpenXR/OpenXR/Enums/FoveationDynamicFlagsHTC.gen.cs new file mode 100644 index 0000000000..7f924527a3 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/FoveationDynamicFlagsHTC.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationDynamicFlagsHTC")] +[Flags] +public enum FoveationDynamicFlagsHTC : ulong +{ + None = 0x0, + + [NativeName("XR_FOVEATION_DYNAMIC_LEVEL_ENABLED_BIT_HTC")] + LevelEnabledBit = 0x1, + + [NativeName("XR_FOVEATION_DYNAMIC_CLEAR_FOV_ENABLED_BIT_HTC")] + ClearFovEnabledBit = 0x2, + + [NativeName("XR_FOVEATION_DYNAMIC_FOCAL_CENTER_OFFSET_ENABLED_BIT_HTC")] + FocalCenterOffsetEnabledBit = 0x4, +} diff --git a/sources/OpenXR/OpenXR/Enums/FoveationEyeTrackedProfileCreateFlagsMETA.gen.cs b/sources/OpenXR/OpenXR/Enums/FoveationEyeTrackedProfileCreateFlagsMETA.gen.cs new file mode 100644 index 0000000000..b23bd3138e --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/FoveationEyeTrackedProfileCreateFlagsMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationEyeTrackedProfileCreateFlagsMETA")] +[Flags] +public enum FoveationEyeTrackedProfileCreateFlagsMETA : ulong +{ + None = 0x0, +} diff --git a/sources/OpenXR/OpenXR/Enums/FoveationEyeTrackedStateFlagsMETA.gen.cs b/sources/OpenXR/OpenXR/Enums/FoveationEyeTrackedStateFlagsMETA.gen.cs new file mode 100644 index 0000000000..d5c062765c --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/FoveationEyeTrackedStateFlagsMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationEyeTrackedStateFlagsMETA")] +[Flags] +public enum FoveationEyeTrackedStateFlagsMETA : ulong +{ + None = 0x0, + + [NativeName("XR_FOVEATION_EYE_TRACKED_STATE_VALID_BIT_META")] + ValidBit = 0x1, +} diff --git a/sources/OpenXR/OpenXR/Enums/FrameEndInfoFlagsML.gen.cs b/sources/OpenXR/OpenXR/Enums/FrameEndInfoFlagsML.gen.cs new file mode 100644 index 0000000000..7bdf0eab4c --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/FrameEndInfoFlagsML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFrameEndInfoFlagsML")] +[Flags] +public enum FrameEndInfoFlagsML : ulong +{ + None = 0x0, + + [NativeName("XR_FRAME_END_INFO_PROTECTED_BIT_ML")] + ProtectedBit = 0x1, + + [NativeName("XR_FRAME_END_INFO_VIGNETTE_BIT_ML")] + VignetteBit = 0x2, +} diff --git a/sources/OpenXR/OpenXR/Enums/FrameSynthesisInfoFlagsEXT.gen.cs b/sources/OpenXR/OpenXR/Enums/FrameSynthesisInfoFlagsEXT.gen.cs new file mode 100644 index 0000000000..e9ac22bbc1 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/FrameSynthesisInfoFlagsEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFrameSynthesisInfoFlagsEXT")] +[Flags] +public enum FrameSynthesisInfoFlagsEXT : ulong +{ + None = 0x0, + + [NativeName("XR_FRAME_SYNTHESIS_INFO_USE_2D_MOTION_VECTOR_BIT_EXT")] + Use2DMotionVectorBit = 0x1, + + [NativeName("XR_FRAME_SYNTHESIS_INFO_REQUEST_RELAXED_FRAME_INTERVAL_BIT_EXT")] + RequestRelaxedFrameIntervalBit = 0x2, +} diff --git a/sources/OpenXR/OpenXR/Enums/GlobalDimmerFrameEndInfoFlagsML.gen.cs b/sources/OpenXR/OpenXR/Enums/GlobalDimmerFrameEndInfoFlagsML.gen.cs new file mode 100644 index 0000000000..8e37fef52d --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/GlobalDimmerFrameEndInfoFlagsML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrGlobalDimmerFrameEndInfoFlagsML")] +[Flags] +public enum GlobalDimmerFrameEndInfoFlagsML : ulong +{ + None = 0x0, + + [NativeName("XR_GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_ML")] + EnabledBit = 0x1, +} diff --git a/sources/OpenXR/OpenXR/Enums/HandTrackingAimFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/HandTrackingAimFlagsFB.gen.cs new file mode 100644 index 0000000000..751b803fb0 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/HandTrackingAimFlagsFB.gen.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandTrackingAimFlagsFB")] +[Flags] +public enum HandTrackingAimFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_HAND_TRACKING_AIM_COMPUTED_BIT_FB")] + ComputedBit = 0x1, + + [NativeName("XR_HAND_TRACKING_AIM_VALID_BIT_FB")] + ValidBit = 0x2, + + [NativeName("XR_HAND_TRACKING_AIM_INDEX_PINCHING_BIT_FB")] + IndexPinchingBit = 0x4, + + [NativeName("XR_HAND_TRACKING_AIM_MIDDLE_PINCHING_BIT_FB")] + MiddlePinchingBit = 0x8, + + [NativeName("XR_HAND_TRACKING_AIM_RING_PINCHING_BIT_FB")] + RingPinchingBit = 0x10, + + [NativeName("XR_HAND_TRACKING_AIM_LITTLE_PINCHING_BIT_FB")] + LittlePinchingBit = 0x20, + + [NativeName("XR_HAND_TRACKING_AIM_SYSTEM_GESTURE_BIT_FB")] + SystemGestureBit = 0x40, + + [NativeName("XR_HAND_TRACKING_AIM_DOMINANT_HAND_BIT_FB")] + DominantHandBit = 0x80, + + [NativeName("XR_HAND_TRACKING_AIM_MENU_PRESSED_BIT_FB")] + MenuPressedBit = 0x100, +} diff --git a/sources/OpenXR/OpenXR/Enums/InputSourceLocalizedNameFlags.gen.cs b/sources/OpenXR/OpenXR/Enums/InputSourceLocalizedNameFlags.gen.cs new file mode 100644 index 0000000000..6a532f41a7 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/InputSourceLocalizedNameFlags.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInputSourceLocalizedNameFlags")] +[Flags] +public enum InputSourceLocalizedNameFlags : ulong +{ + None = 0x0, + + [NativeName("XR_INPUT_SOURCE_LOCALIZED_NAME_USER_PATH_BIT")] + UserPathBit = 0x1, + + [NativeName("XR_INPUT_SOURCE_LOCALIZED_NAME_INTERACTION_PROFILE_BIT")] + InteractionProfileBit = 0x2, + + [NativeName("XR_INPUT_SOURCE_LOCALIZED_NAME_COMPONENT_BIT")] + ComponentBit = 0x4, +} diff --git a/sources/OpenXR/OpenXR/Enums/InstanceCreateFlags.gen.cs b/sources/OpenXR/OpenXR/Enums/InstanceCreateFlags.gen.cs new file mode 100644 index 0000000000..91680dc825 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/InstanceCreateFlags.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInstanceCreateFlags")] +[Flags] +public enum InstanceCreateFlags : ulong +{ + None = 0x0, +} diff --git a/sources/OpenXR/OpenXR/Enums/KeyboardTrackingFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/KeyboardTrackingFlagsFB.gen.cs new file mode 100644 index 0000000000..a802add0bb --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/KeyboardTrackingFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrKeyboardTrackingFlagsFB")] +[Flags] +public enum KeyboardTrackingFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_KEYBOARD_TRACKING_EXISTS_BIT_FB")] + ExistsBit = 0x1, + + [NativeName("XR_KEYBOARD_TRACKING_LOCAL_BIT_FB")] + LocalBit = 0x2, + + [NativeName("XR_KEYBOARD_TRACKING_REMOTE_BIT_FB")] + RemoteBit = 0x4, + + [NativeName("XR_KEYBOARD_TRACKING_CONNECTED_BIT_FB")] + ConnectedBit = 0x8, +} diff --git a/sources/OpenXR/OpenXR/Enums/KeyboardTrackingQueryFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/KeyboardTrackingQueryFlagsFB.gen.cs new file mode 100644 index 0000000000..2b3ae9f3e4 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/KeyboardTrackingQueryFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrKeyboardTrackingQueryFlagsFB")] +[Flags] +public enum KeyboardTrackingQueryFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_KEYBOARD_TRACKING_QUERY_LOCAL_BIT_FB")] + LocalBit = 0x2, + + [NativeName("XR_KEYBOARD_TRACKING_QUERY_REMOTE_BIT_FB")] + RemoteBit = 0x4, +} diff --git a/sources/OpenXR/OpenXR/Enums/LocalizationMapErrorFlagsML.gen.cs b/sources/OpenXR/OpenXR/Enums/LocalizationMapErrorFlagsML.gen.cs new file mode 100644 index 0000000000..93f5513729 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/LocalizationMapErrorFlagsML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLocalizationMapErrorFlagsML")] +[Flags] +public enum LocalizationMapErrorFlagsML : ulong +{ + None = 0x0, + + [NativeName("XR_LOCALIZATION_MAP_ERROR_UNKNOWN_BIT_ML")] + UnknownBit = 0x1, + + [NativeName("XR_LOCALIZATION_MAP_ERROR_OUT_OF_MAPPED_AREA_BIT_ML")] + OutOfMappedAreaBit = 0x2, + + [NativeName("XR_LOCALIZATION_MAP_ERROR_LOW_FEATURE_COUNT_BIT_ML")] + LowFeatureCountBit = 0x4, + + [NativeName("XR_LOCALIZATION_MAP_ERROR_EXCESSIVE_MOTION_BIT_ML")] + ExcessiveMotionBit = 0x8, + + [NativeName("XR_LOCALIZATION_MAP_ERROR_LOW_LIGHT_BIT_ML")] + LowLightBit = 0x10, + + [NativeName("XR_LOCALIZATION_MAP_ERROR_HEADPOSE_BIT_ML")] + HeadposeBit = 0x20, +} diff --git a/sources/OpenXR/OpenXR/Enums/OverlayMainSessionFlagsEXTX.gen.cs b/sources/OpenXR/OpenXR/Enums/OverlayMainSessionFlagsEXTX.gen.cs new file mode 100644 index 0000000000..b348fcdd8d --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/OverlayMainSessionFlagsEXTX.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrOverlayMainSessionFlagsEXTX")] +[Flags] +public enum OverlayMainSessionFlagsEXTX : ulong +{ + None = 0x0, + + [NativeName("XR_OVERLAY_MAIN_SESSION_ENABLED_COMPOSITION_LAYER_INFO_DEPTH_BIT_EXTX")] + EnabledCompositionLayerInfoDepthBit = 0x1, +} diff --git a/sources/OpenXR/OpenXR/Enums/OverlaySessionCreateFlagsEXTX.gen.cs b/sources/OpenXR/OpenXR/Enums/OverlaySessionCreateFlagsEXTX.gen.cs new file mode 100644 index 0000000000..164c9838d1 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/OverlaySessionCreateFlagsEXTX.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrOverlaySessionCreateFlagsEXTX")] +[Flags] +public enum OverlaySessionCreateFlagsEXTX : ulong +{ + None = 0x0, +} diff --git a/sources/OpenXR/OpenXR/Enums/PassthroughCapabilityFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/PassthroughCapabilityFlagsFB.gen.cs new file mode 100644 index 0000000000..ac7797137e --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/PassthroughCapabilityFlagsFB.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughCapabilityFlagsFB")] +[Flags] +public enum PassthroughCapabilityFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_PASSTHROUGH_CAPABILITY_BIT_FB")] + Bit = 0x1, + + [NativeName("XR_PASSTHROUGH_CAPABILITY_COLOR_BIT_FB")] + ColorBit = 0x2, + + [NativeName("XR_PASSTHROUGH_CAPABILITY_LAYER_DEPTH_BIT_FB")] + LayerDepthBit = 0x4, +} diff --git a/sources/OpenXR/OpenXR/Enums/PassthroughFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/PassthroughFlagsFB.gen.cs new file mode 100644 index 0000000000..558d2e58fa --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/PassthroughFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughFlagsFB")] +[Flags] +public enum PassthroughFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_PASSTHROUGH_IS_RUNNING_AT_CREATION_BIT_FB")] + IsRunningAtCreationBit = 0x1, + + [NativeName("XR_PASSTHROUGH_LAYER_DEPTH_BIT_FB")] + LayerDepthBit = 0x2, +} diff --git a/sources/OpenXR/OpenXR/Enums/PassthroughPreferenceFlagsMETA.gen.cs b/sources/OpenXR/OpenXR/Enums/PassthroughPreferenceFlagsMETA.gen.cs new file mode 100644 index 0000000000..9f97cdb38c --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/PassthroughPreferenceFlagsMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughPreferenceFlagsMETA")] +[Flags] +public enum PassthroughPreferenceFlagsMETA : ulong +{ + None = 0x0, + + [NativeName("XR_PASSTHROUGH_PREFERENCE_DEFAULT_TO_ACTIVE_BIT_META")] + DefaultToActiveBit = 0x1, +} diff --git a/sources/OpenXR/OpenXR/Enums/PassthroughStateChangedFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/PassthroughStateChangedFlagsFB.gen.cs new file mode 100644 index 0000000000..c72b1fcdc7 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/PassthroughStateChangedFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughStateChangedFlagsFB")] +[Flags] +public enum PassthroughStateChangedFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_PASSTHROUGH_STATE_CHANGED_REINIT_REQUIRED_BIT_FB")] + ReinitRequiredBit = 0x1, + + [NativeName("XR_PASSTHROUGH_STATE_CHANGED_NON_RECOVERABLE_ERROR_BIT_FB")] + NonRecoverableErrorBit = 0x2, + + [NativeName("XR_PASSTHROUGH_STATE_CHANGED_RECOVERABLE_ERROR_BIT_FB")] + RecoverableErrorBit = 0x4, + + [NativeName("XR_PASSTHROUGH_STATE_CHANGED_RESTORED_ERROR_BIT_FB")] + RestoredErrorBit = 0x8, +} diff --git a/sources/OpenXR/OpenXR/Enums/PerformanceMetricsCounterFlagsANDROID.gen.cs b/sources/OpenXR/OpenXR/Enums/PerformanceMetricsCounterFlagsANDROID.gen.cs new file mode 100644 index 0000000000..959e983395 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/PerformanceMetricsCounterFlagsANDROID.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPerformanceMetricsCounterFlagsANDROID")] +[Flags] +public enum PerformanceMetricsCounterFlagsANDROID : ulong +{ + None = 0x0, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_ANY_VALUE_VALID_BIT_ANDROID")] + AnyValueValidBit = 0x1, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_UINT_VALUE_VALID_BIT_ANDROID")] + UintValueValidBit = 0x2, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_FLOAT_VALUE_VALID_BIT_ANDROID")] + FloatValueValidBit = 0x4, +} diff --git a/sources/OpenXR/OpenXR/Enums/PerformanceMetricsCounterFlagsMETA.gen.cs b/sources/OpenXR/OpenXR/Enums/PerformanceMetricsCounterFlagsMETA.gen.cs new file mode 100644 index 0000000000..f77e5d230d --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/PerformanceMetricsCounterFlagsMETA.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPerformanceMetricsCounterFlagsMETA")] +[Flags] +public enum PerformanceMetricsCounterFlagsMETA : ulong +{ + None = 0x0, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_ANY_VALUE_VALID_BIT_META")] + AnyValueValidBit = 0x1, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_UINT_VALUE_VALID_BIT_META")] + UintValueValidBit = 0x2, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_FLOAT_VALUE_VALID_BIT_META")] + FloatValueValidBit = 0x4, +} diff --git a/sources/OpenXR/OpenXR/Enums/PlaneDetectionCapabilityFlagsEXT.gen.cs b/sources/OpenXR/OpenXR/Enums/PlaneDetectionCapabilityFlagsEXT.gen.cs new file mode 100644 index 0000000000..1fe9e83bce --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/PlaneDetectionCapabilityFlagsEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneDetectionCapabilityFlagsEXT")] +[Flags] +public enum PlaneDetectionCapabilityFlagsEXT : ulong +{ + None = 0x0, + + [NativeName("XR_PLANE_DETECTION_CAPABILITY_PLANE_DETECTION_BIT_EXT")] + PlaneDetectionBit = 0x1, + + [NativeName("XR_PLANE_DETECTION_CAPABILITY_PLANE_HOLES_BIT_EXT")] + PlaneHolesBit = 0x2, + + [NativeName("XR_PLANE_DETECTION_CAPABILITY_SEMANTIC_CEILING_BIT_EXT")] + SemanticCeilingBit = 0x4, + + [NativeName("XR_PLANE_DETECTION_CAPABILITY_SEMANTIC_FLOOR_BIT_EXT")] + SemanticFloorBit = 0x8, + + [NativeName("XR_PLANE_DETECTION_CAPABILITY_SEMANTIC_WALL_BIT_EXT")] + SemanticWallBit = 0x10, + + [NativeName("XR_PLANE_DETECTION_CAPABILITY_SEMANTIC_PLATFORM_BIT_EXT")] + SemanticPlatformBit = 0x20, + + [NativeName("XR_PLANE_DETECTION_CAPABILITY_ORIENTATION_BIT_EXT")] + OrientationBit = 0x40, +} diff --git a/sources/OpenXR/OpenXR/Enums/PlaneDetectorFlagsEXT.gen.cs b/sources/OpenXR/OpenXR/Enums/PlaneDetectorFlagsEXT.gen.cs new file mode 100644 index 0000000000..d41417dbe5 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/PlaneDetectorFlagsEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneDetectorFlagsEXT")] +[Flags] +public enum PlaneDetectorFlagsEXT : ulong +{ + None = 0x0, + + [NativeName("XR_PLANE_DETECTOR_ENABLE_CONTOUR_BIT_EXT")] + EnableContourBit = 0x1, +} diff --git a/sources/OpenXR/OpenXR/Enums/RenderModelFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/RenderModelFlagsFB.gen.cs new file mode 100644 index 0000000000..a9c223aba8 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/RenderModelFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelFlagsFB")] +[Flags] +public enum RenderModelFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_RENDER_MODEL_SUPPORTS_GLTF_2_0_SUBSET_1_BIT_FB")] + Subset1Bit = 0x1, + + [NativeName("XR_RENDER_MODEL_SUPPORTS_GLTF_2_0_SUBSET_2_BIT_FB")] + Subset2Bit = 0x2, +} diff --git a/sources/OpenXR/OpenXR/Enums/SemanticLabelsSupportFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/SemanticLabelsSupportFlagsFB.gen.cs new file mode 100644 index 0000000000..3b0500db7d --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/SemanticLabelsSupportFlagsFB.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSemanticLabelsSupportFlagsFB")] +[Flags] +public enum SemanticLabelsSupportFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_SEMANTIC_LABELS_SUPPORT_MULTIPLE_SEMANTIC_LABELS_BIT_FB")] + MultipleSemanticLabelsBit = 0x1, + + [NativeName("XR_SEMANTIC_LABELS_SUPPORT_ACCEPT_DESK_TO_TABLE_MIGRATION_BIT_FB")] + AcceptDeskToTableMigrationBit = 0x2, + + [NativeName("XR_SEMANTIC_LABELS_SUPPORT_ACCEPT_INVISIBLE_WALL_FACE_BIT_FB")] + AcceptInvisibleWallFaceBit = 0x4, +} diff --git a/sources/OpenXR/OpenXR/Enums/SessionCreateFlags.gen.cs b/sources/OpenXR/OpenXR/Enums/SessionCreateFlags.gen.cs new file mode 100644 index 0000000000..03fb016c78 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/SessionCreateFlags.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSessionCreateFlags")] +[Flags] +public enum SessionCreateFlags : ulong +{ + None = 0x0, +} diff --git a/sources/OpenXR/OpenXR/Enums/SoundFieldFlagsBD.gen.cs b/sources/OpenXR/OpenXR/Enums/SoundFieldFlagsBD.gen.cs new file mode 100644 index 0000000000..1b06c95dce --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/SoundFieldFlagsBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundFieldFlagsBD")] +[Flags] +public enum SoundFieldFlagsBD : ulong +{ + None = 0x0, + + [NativeName("XR_SOUND_FIELD_ENABLED_BIT_BD")] + EnabledBit = 0x1, + + [NativeName("XR_SOUND_FIELD_ORIENTATION_BIT_BD")] + OrientationBit = 0x2, + + [NativeName("XR_SOUND_FIELD_MAIN_VOLUME_BIT_BD")] + MainVolumeBit = 0x4, + + [NativeName("XR_SOUND_FIELD_LFE_GAIN_BIT_BD")] + LfeGainBit = 0x8, +} diff --git a/sources/OpenXR/OpenXR/Enums/SoundObjectFlagsBD.gen.cs b/sources/OpenXR/OpenXR/Enums/SoundObjectFlagsBD.gen.cs new file mode 100644 index 0000000000..9a4da97567 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/SoundObjectFlagsBD.gen.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundObjectFlagsBD")] +[Flags] +public enum SoundObjectFlagsBD : ulong +{ + None = 0x0, + + [NativeName("XR_SOUND_OBJECT_ENABLED_BIT_BD")] + EnabledBit = 0x1, + + [NativeName("XR_SOUND_OBJECT_POSE_BIT_BD")] + PoseBit = 0x2, + + [NativeName("XR_SOUND_OBJECT_DIRECTIVITY_BIT_BD")] + DirectivityBit = 0x4, + + [NativeName("XR_SOUND_OBJECT_SHAPE_BIT_BD")] + ShapeBit = 0x8, + + [NativeName("XR_SOUND_OBJECT_MAIN_VOLUME_BIT_BD")] + MainVolumeBit = 0x10, + + [NativeName("XR_SOUND_OBJECT_REFLECTION_GAIN_BIT_BD")] + ReflectionGainBit = 0x20, + + [NativeName("XR_SOUND_OBJECT_ENABLE_DOPPLER_BIT_BD")] + EnableDopplerBit = 0x40, + + [NativeName("XR_SOUND_OBJECT_DIRECT_SOUND_ATTENUATION_BIT_BD")] + DirectSoundAttenuationBit = 0x80, + + [NativeName("XR_SOUND_OBJECT_INDIRECT_SOUND_ATTENUATION_BIT_BD")] + IndirectSoundAttenuationBit = 0x100, +} diff --git a/sources/OpenXR/OpenXR/Enums/SoundObstacleFlagsBD.gen.cs b/sources/OpenXR/OpenXR/Enums/SoundObstacleFlagsBD.gen.cs new file mode 100644 index 0000000000..39a3d2c743 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/SoundObstacleFlagsBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundObstacleFlagsBD")] +[Flags] +public enum SoundObstacleFlagsBD : ulong +{ + None = 0x0, + + [NativeName("XR_SOUND_OBSTACLE_ENABLED_BIT_BD")] + EnabledBit = 0x1, + + [NativeName("XR_SOUND_OBSTACLE_POSE_BIT_BD")] + PoseBit = 0x2, + + [NativeName("XR_SOUND_OBSTACLE_MESH_BIT_BD")] + MeshBit = 0x4, + + [NativeName("XR_SOUND_OBSTACLE_MATERIALS_BIT_BD")] + MaterialsBit = 0x8, +} diff --git a/sources/OpenXR/OpenXR/Enums/SpaceLocationFlags.gen.cs b/sources/OpenXR/OpenXR/Enums/SpaceLocationFlags.gen.cs new file mode 100644 index 0000000000..fd469ddc90 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/SpaceLocationFlags.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceLocationFlags")] +[Flags] +public enum SpaceLocationFlags : ulong +{ + None = 0x0, + + [NativeName("XR_SPACE_LOCATION_ORIENTATION_VALID_BIT")] + OrientationValidBit = 0x1, + + [NativeName("XR_SPACE_LOCATION_POSITION_VALID_BIT")] + PositionValidBit = 0x2, + + [NativeName("XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT")] + OrientationTrackedBit = 0x4, + + [NativeName("XR_SPACE_LOCATION_POSITION_TRACKED_BIT")] + PositionTrackedBit = 0x8, +} diff --git a/sources/OpenXR/OpenXR/Enums/SpaceVelocityFlags.gen.cs b/sources/OpenXR/OpenXR/Enums/SpaceVelocityFlags.gen.cs new file mode 100644 index 0000000000..467814b169 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/SpaceVelocityFlags.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceVelocityFlags")] +[Flags] +public enum SpaceVelocityFlags : ulong +{ + None = 0x0, + + [NativeName("XR_SPACE_VELOCITY_LINEAR_VALID_BIT")] + LinearValidBit = 0x1, + + [NativeName("XR_SPACE_VELOCITY_ANGULAR_VALID_BIT")] + AngularValidBit = 0x2, +} diff --git a/sources/OpenXR/OpenXR/Enums/SpatialMeshConfigFlagsBD.gen.cs b/sources/OpenXR/OpenXR/Enums/SpatialMeshConfigFlagsBD.gen.cs new file mode 100644 index 0000000000..445bb3c89d --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/SpatialMeshConfigFlagsBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialMeshConfigFlagsBD")] +[Flags] +public enum SpatialMeshConfigFlagsBD : ulong +{ + None = 0x0, + + [NativeName("XR_SPATIAL_MESH_CONFIG_SEMANTIC_BIT_BD")] + SemanticBit = 0x1, + + [NativeName("XR_SPATIAL_MESH_CONFIG_ALIGN_SEMANTIC_WITH_VERTEX_BIT_BD")] + AlignSemanticWithVertexBit = 0x2, +} diff --git a/sources/OpenXR/OpenXR/Enums/SwapchainCreateFlags.gen.cs b/sources/OpenXR/OpenXR/Enums/SwapchainCreateFlags.gen.cs new file mode 100644 index 0000000000..8cef5b5147 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/SwapchainCreateFlags.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainCreateFlags")] +[Flags] +public enum SwapchainCreateFlags : ulong +{ + None = 0x0, + + [NativeName("XR_SWAPCHAIN_CREATE_PROTECTED_CONTENT_BIT")] + ProtectedContentBit = 0x1, + + [NativeName("XR_SWAPCHAIN_CREATE_STATIC_IMAGE_BIT")] + StaticImageBit = 0x2, +} diff --git a/sources/OpenXR/OpenXR/Enums/SwapchainCreateFoveationFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/SwapchainCreateFoveationFlagsFB.gen.cs new file mode 100644 index 0000000000..5415a61ca0 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/SwapchainCreateFoveationFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainCreateFoveationFlagsFB")] +[Flags] +public enum SwapchainCreateFoveationFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_SWAPCHAIN_CREATE_FOVEATION_SCALED_BIN_BIT_FB")] + ScaledBinBit = 0x1, + + [NativeName("XR_SWAPCHAIN_CREATE_FOVEATION_FRAGMENT_DENSITY_MAP_BIT_FB")] + FragmentDensityMapBit = 0x2, +} diff --git a/sources/OpenXR/OpenXR/Enums/SwapchainStateFoveationFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/SwapchainStateFoveationFlagsFB.gen.cs new file mode 100644 index 0000000000..39863c6d64 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/SwapchainStateFoveationFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainStateFoveationFlagsFB")] +[Flags] +public enum SwapchainStateFoveationFlagsFB : ulong +{ + None = 0x0, +} diff --git a/sources/OpenXR/OpenXR/Enums/SwapchainUsageFlags.gen.cs b/sources/OpenXR/OpenXR/Enums/SwapchainUsageFlags.gen.cs new file mode 100644 index 0000000000..4667167094 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/SwapchainUsageFlags.gen.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainUsageFlags")] +[Flags] +public enum SwapchainUsageFlags : ulong +{ + None = 0x0, + + [NativeName("XR_SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT")] + ColorAttachmentBit = 0x1, + + [NativeName("XR_SWAPCHAIN_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT")] + DepthStencilAttachmentBit = 0x2, + + [NativeName("XR_SWAPCHAIN_USAGE_UNORDERED_ACCESS_BIT")] + UnorderedAccessBit = 0x4, + + [NativeName("XR_SWAPCHAIN_USAGE_TRANSFER_SRC_BIT")] + TransferSrcBit = 0x8, + + [NativeName("XR_SWAPCHAIN_USAGE_TRANSFER_DST_BIT")] + TransferDstBit = 0x10, + + [NativeName("XR_SWAPCHAIN_USAGE_SAMPLED_BIT")] + SampledBit = 0x20, + + [NativeName("XR_SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT")] + MutableFormatBit = 0x40, + + [NativeName("XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND")] + InputAttachmentBitMND = 0x80, + + [NativeName("XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_KHR")] + InputAttachmentBitKHR = 0x80, +} diff --git a/sources/OpenXR/OpenXR/Enums/TriangleMeshFlagsFB.gen.cs b/sources/OpenXR/OpenXR/Enums/TriangleMeshFlagsFB.gen.cs new file mode 100644 index 0000000000..68a71092b8 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/TriangleMeshFlagsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTriangleMeshFlagsFB")] +[Flags] +public enum TriangleMeshFlagsFB : ulong +{ + None = 0x0, + + [NativeName("XR_TRIANGLE_MESH_MUTABLE_BIT_FB")] + MutableBit = 0x1, +} diff --git a/sources/OpenXR/OpenXR/Enums/ViewStateFlags.gen.cs b/sources/OpenXR/OpenXR/Enums/ViewStateFlags.gen.cs new file mode 100644 index 0000000000..10d452328f --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/ViewStateFlags.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrViewStateFlags")] +[Flags] +public enum ViewStateFlags : ulong +{ + None = 0x0, + + [NativeName("XR_VIEW_STATE_ORIENTATION_VALID_BIT")] + OrientationValidBit = 0x1, + + [NativeName("XR_VIEW_STATE_POSITION_VALID_BIT")] + PositionValidBit = 0x2, + + [NativeName("XR_VIEW_STATE_ORIENTATION_TRACKED_BIT")] + OrientationTrackedBit = 0x4, + + [NativeName("XR_VIEW_STATE_POSITION_TRACKED_BIT")] + PositionTrackedBit = 0x8, +} diff --git a/sources/OpenXR/OpenXR/Enums/VirtualKeyboardInputStateFlagsMETA.gen.cs b/sources/OpenXR/OpenXR/Enums/VirtualKeyboardInputStateFlagsMETA.gen.cs new file mode 100644 index 0000000000..9cf3ca2eb3 --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/VirtualKeyboardInputStateFlagsMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardInputStateFlagsMETA")] +[Flags] +public enum VirtualKeyboardInputStateFlagsMETA : ulong +{ + None = 0x0, + + [NativeName("XR_VIRTUAL_KEYBOARD_INPUT_STATE_PRESSED_BIT_META")] + PressedBit = 0x1, +} diff --git a/sources/OpenXR/OpenXR/Enums/VulkanDeviceCreateFlagsKHR.gen.cs b/sources/OpenXR/OpenXR/Enums/VulkanDeviceCreateFlagsKHR.gen.cs new file mode 100644 index 0000000000..10d8a9367c --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/VulkanDeviceCreateFlagsKHR.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVulkanDeviceCreateFlagsKHR")] +[Flags] +public enum VulkanDeviceCreateFlagsKHR : ulong +{ + None = 0x0, +} diff --git a/sources/OpenXR/OpenXR/Enums/VulkanInstanceCreateFlagsKHR.gen.cs b/sources/OpenXR/OpenXR/Enums/VulkanInstanceCreateFlagsKHR.gen.cs new file mode 100644 index 0000000000..4acf759e9d --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/VulkanInstanceCreateFlagsKHR.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVulkanInstanceCreateFlagsKHR")] +[Flags] +public enum VulkanInstanceCreateFlagsKHR : ulong +{ + None = 0x0, +} diff --git a/sources/OpenXR/OpenXR/Enums/WorldMeshDetectorFlagsML.gen.cs b/sources/OpenXR/OpenXR/Enums/WorldMeshDetectorFlagsML.gen.cs new file mode 100644 index 0000000000..5a03fb2aaf --- /dev/null +++ b/sources/OpenXR/OpenXR/Enums/WorldMeshDetectorFlagsML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshDetectorFlagsML")] +[Flags] +public enum WorldMeshDetectorFlagsML : ulong +{ + None = 0x0, + + [NativeName("XR_WORLD_MESH_DETECTOR_POINT_CLOUD_BIT_ML")] + PointCloudBit = 0x1, + + [NativeName("XR_WORLD_MESH_DETECTOR_COMPUTE_NORMALS_BIT_ML")] + ComputeNormalsBit = 0x2, + + [NativeName("XR_WORLD_MESH_DETECTOR_COMPUTE_CONFIDENCE_BIT_ML")] + ComputeConfidenceBit = 0x4, + + [NativeName("XR_WORLD_MESH_DETECTOR_PLANARIZE_BIT_ML")] + PlanarizeBit = 0x8, + + [NativeName("XR_WORLD_MESH_DETECTOR_REMOVE_MESH_SKIRT_BIT_ML")] + RemoveMeshSkirtBit = 0x10, + + [NativeName("XR_WORLD_MESH_DETECTOR_INDEX_ORDER_CW_BIT_ML")] + IndexOrderCwBit = 0x20, +} diff --git a/sources/OpenXR/OpenXR/Handles/ActionHandle.gen.cs b/sources/OpenXR/OpenXR/Handles/ActionHandle.gen.cs new file mode 100644 index 0000000000..41dc6abead --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/ActionHandle.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrAction")] +public readonly unsafe partial struct ActionHandle : IEquatable +{ + public readonly void* Handle; + + public ActionHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(ActionHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is ActionHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(ActionHandle left, ActionHandle right) => left.Equals(right); + + public static bool operator !=(ActionHandle left, ActionHandle right) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(ActionHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(ActionHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator ActionHandle(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/ActionSetHandle.gen.cs b/sources/OpenXR/OpenXR/Handles/ActionSetHandle.gen.cs new file mode 100644 index 0000000000..f99fad1e54 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/ActionSetHandle.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActionSet")] +public readonly unsafe partial struct ActionSetHandle : IEquatable +{ + public readonly void* Handle; + + public ActionSetHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(ActionSetHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is ActionSetHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(ActionSetHandle left, ActionSetHandle right) => + left.Equals(right); + + public static bool operator !=(ActionSetHandle left, ActionSetHandle right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(ActionSetHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(ActionSetHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator ActionSetHandle(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/AnchorHandleBD.gen.cs b/sources/OpenXR/OpenXR/Handles/AnchorHandleBD.gen.cs new file mode 100644 index 0000000000..09d0305444 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/AnchorHandleBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrAnchorBD")] +public readonly unsafe partial struct AnchorHandleBD : IEquatable +{ + public readonly void* Handle; + + public AnchorHandleBD(void* handle) + { + Handle = handle; + } + + public bool Equals(AnchorHandleBD other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is AnchorHandleBD other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(AnchorHandleBD left, AnchorHandleBD right) => left.Equals(right); + + public static bool operator !=(AnchorHandleBD left, AnchorHandleBD right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(AnchorHandleBD left, NullPtr right) => left.Equals(right); + + public static bool operator !=(AnchorHandleBD left, NullPtr right) => !left.Equals(right); + + public static implicit operator AnchorHandleBD(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/EnvironmentRaycasterHandleMETA.gen.cs b/sources/OpenXR/OpenXR/Handles/EnvironmentRaycasterHandleMETA.gen.cs new file mode 100644 index 0000000000..306a0c5270 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/EnvironmentRaycasterHandleMETA.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentRaycasterMETA")] +public readonly unsafe partial struct EnvironmentRaycasterHandleMETA + : IEquatable +{ + public readonly void* Handle; + + public EnvironmentRaycasterHandleMETA(void* handle) + { + Handle = handle; + } + + public bool Equals(EnvironmentRaycasterHandleMETA other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is EnvironmentRaycasterHandleMETA other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + EnvironmentRaycasterHandleMETA left, + EnvironmentRaycasterHandleMETA right + ) => left.Equals(right); + + public static bool operator !=( + EnvironmentRaycasterHandleMETA left, + EnvironmentRaycasterHandleMETA right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(EnvironmentRaycasterHandleMETA left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(EnvironmentRaycasterHandleMETA left, NullPtr right) => + !left.Equals(right); + + public static implicit operator EnvironmentRaycasterHandleMETA(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/FoveationProfileHandleFB.gen.cs b/sources/OpenXR/OpenXR/Handles/FoveationProfileHandleFB.gen.cs new file mode 100644 index 0000000000..fd1d61cdfa --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/FoveationProfileHandleFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationProfileFB")] +public readonly unsafe partial struct FoveationProfileHandleFB + : IEquatable +{ + public readonly void* Handle; + + public FoveationProfileHandleFB(void* handle) + { + Handle = handle; + } + + public bool Equals(FoveationProfileHandleFB other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is FoveationProfileHandleFB other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(FoveationProfileHandleFB left, FoveationProfileHandleFB right) => + left.Equals(right); + + public static bool operator !=(FoveationProfileHandleFB left, FoveationProfileHandleFB right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(FoveationProfileHandleFB left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(FoveationProfileHandleFB left, NullPtr right) => + !left.Equals(right); + + public static implicit operator FoveationProfileHandleFB(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/FutureHandleEXT.gen.cs b/sources/OpenXR/OpenXR/Handles/FutureHandleEXT.gen.cs new file mode 100644 index 0000000000..5af96f94e6 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/FutureHandleEXT.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFutureEXT")] +public readonly unsafe partial struct FutureHandleEXT : IEquatable +{ + public readonly void* Handle; + + public FutureHandleEXT(void* handle) + { + Handle = handle; + } + + public bool Equals(FutureHandleEXT other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is FutureHandleEXT other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(FutureHandleEXT left, FutureHandleEXT right) => + left.Equals(right); + + public static bool operator !=(FutureHandleEXT left, FutureHandleEXT right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(FutureHandleEXT left, NullPtr right) => left.Equals(right); + + public static bool operator !=(FutureHandleEXT left, NullPtr right) => !left.Equals(right); + + public static implicit operator FutureHandleEXT(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/InstanceHandle.gen.cs b/sources/OpenXR/OpenXR/Handles/InstanceHandle.gen.cs new file mode 100644 index 0000000000..7fa963fedf --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/InstanceHandle.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInstance")] +public readonly unsafe partial struct InstanceHandle : IEquatable +{ + public readonly void* Handle; + + public InstanceHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(InstanceHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is InstanceHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(InstanceHandle left, InstanceHandle right) => left.Equals(right); + + public static bool operator !=(InstanceHandle left, InstanceHandle right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(InstanceHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(InstanceHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator InstanceHandle(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/MarkerDetectorHandleML.gen.cs b/sources/OpenXR/OpenXR/Handles/MarkerDetectorHandleML.gen.cs new file mode 100644 index 0000000000..3217ff92ea --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/MarkerDetectorHandleML.gen.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorML")] +public readonly unsafe partial struct MarkerDetectorHandleML : IEquatable +{ + public readonly void* Handle; + + public MarkerDetectorHandleML(void* handle) + { + Handle = handle; + } + + public bool Equals(MarkerDetectorHandleML other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is MarkerDetectorHandleML other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(MarkerDetectorHandleML left, MarkerDetectorHandleML right) => + left.Equals(right); + + public static bool operator !=(MarkerDetectorHandleML left, MarkerDetectorHandleML right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(MarkerDetectorHandleML left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(MarkerDetectorHandleML left, NullPtr right) => + !left.Equals(right); + + public static implicit operator MarkerDetectorHandleML(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/PassthroughColorLutHandleMETA.gen.cs b/sources/OpenXR/OpenXR/Handles/PassthroughColorLutHandleMETA.gen.cs new file mode 100644 index 0000000000..ed9599df70 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/PassthroughColorLutHandleMETA.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughColorLutMETA")] +public readonly unsafe partial struct PassthroughColorLutHandleMETA + : IEquatable +{ + public readonly void* Handle; + + public PassthroughColorLutHandleMETA(void* handle) + { + Handle = handle; + } + + public bool Equals(PassthroughColorLutHandleMETA other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is PassthroughColorLutHandleMETA other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + PassthroughColorLutHandleMETA left, + PassthroughColorLutHandleMETA right + ) => left.Equals(right); + + public static bool operator !=( + PassthroughColorLutHandleMETA left, + PassthroughColorLutHandleMETA right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(PassthroughColorLutHandleMETA left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(PassthroughColorLutHandleMETA left, NullPtr right) => + !left.Equals(right); + + public static implicit operator PassthroughColorLutHandleMETA(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/PassthroughHandleFB.gen.cs b/sources/OpenXR/OpenXR/Handles/PassthroughHandleFB.gen.cs new file mode 100644 index 0000000000..8ed1fa6b21 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/PassthroughHandleFB.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughFB")] +public readonly unsafe partial struct PassthroughHandleFB : IEquatable +{ + public readonly void* Handle; + + public PassthroughHandleFB(void* handle) + { + Handle = handle; + } + + public bool Equals(PassthroughHandleFB other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is PassthroughHandleFB other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(PassthroughHandleFB left, PassthroughHandleFB right) => + left.Equals(right); + + public static bool operator !=(PassthroughHandleFB left, PassthroughHandleFB right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(PassthroughHandleFB left, NullPtr right) => left.Equals(right); + + public static bool operator !=(PassthroughHandleFB left, NullPtr right) => !left.Equals(right); + + public static implicit operator PassthroughHandleFB(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/PassthroughHandleHTC.gen.cs b/sources/OpenXR/OpenXR/Handles/PassthroughHandleHTC.gen.cs new file mode 100644 index 0000000000..ee0658ef96 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/PassthroughHandleHTC.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughHTC")] +public readonly unsafe partial struct PassthroughHandleHTC : IEquatable +{ + public readonly void* Handle; + + public PassthroughHandleHTC(void* handle) + { + Handle = handle; + } + + public bool Equals(PassthroughHandleHTC other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is PassthroughHandleHTC other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(PassthroughHandleHTC left, PassthroughHandleHTC right) => + left.Equals(right); + + public static bool operator !=(PassthroughHandleHTC left, PassthroughHandleHTC right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(PassthroughHandleHTC left, NullPtr right) => left.Equals(right); + + public static bool operator !=(PassthroughHandleHTC left, NullPtr right) => !left.Equals(right); + + public static implicit operator PassthroughHandleHTC(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/PassthroughLayerHandleANDROID.gen.cs b/sources/OpenXR/OpenXR/Handles/PassthroughLayerHandleANDROID.gen.cs new file mode 100644 index 0000000000..81f6a4f0e5 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/PassthroughLayerHandleANDROID.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughLayerANDROID")] +public readonly unsafe partial struct PassthroughLayerHandleANDROID + : IEquatable +{ + public readonly void* Handle; + + public PassthroughLayerHandleANDROID(void* handle) + { + Handle = handle; + } + + public bool Equals(PassthroughLayerHandleANDROID other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is PassthroughLayerHandleANDROID other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + PassthroughLayerHandleANDROID left, + PassthroughLayerHandleANDROID right + ) => left.Equals(right); + + public static bool operator !=( + PassthroughLayerHandleANDROID left, + PassthroughLayerHandleANDROID right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(PassthroughLayerHandleANDROID left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(PassthroughLayerHandleANDROID left, NullPtr right) => + !left.Equals(right); + + public static implicit operator PassthroughLayerHandleANDROID(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/PassthroughLayerHandleFB.gen.cs b/sources/OpenXR/OpenXR/Handles/PassthroughLayerHandleFB.gen.cs new file mode 100644 index 0000000000..4fc0b22c9a --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/PassthroughLayerHandleFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughLayerFB")] +public readonly unsafe partial struct PassthroughLayerHandleFB + : IEquatable +{ + public readonly void* Handle; + + public PassthroughLayerHandleFB(void* handle) + { + Handle = handle; + } + + public bool Equals(PassthroughLayerHandleFB other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is PassthroughLayerHandleFB other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(PassthroughLayerHandleFB left, PassthroughLayerHandleFB right) => + left.Equals(right); + + public static bool operator !=(PassthroughLayerHandleFB left, PassthroughLayerHandleFB right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(PassthroughLayerHandleFB left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(PassthroughLayerHandleFB left, NullPtr right) => + !left.Equals(right); + + public static implicit operator PassthroughLayerHandleFB(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/RenderModelHandleEXT.gen.cs b/sources/OpenXR/OpenXR/Handles/RenderModelHandleEXT.gen.cs new file mode 100644 index 0000000000..a1b088ab2c --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/RenderModelHandleEXT.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelEXT")] +public readonly unsafe partial struct RenderModelHandleEXT : IEquatable +{ + public readonly void* Handle; + + public RenderModelHandleEXT(void* handle) + { + Handle = handle; + } + + public bool Equals(RenderModelHandleEXT other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is RenderModelHandleEXT other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(RenderModelHandleEXT left, RenderModelHandleEXT right) => + left.Equals(right); + + public static bool operator !=(RenderModelHandleEXT left, RenderModelHandleEXT right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(RenderModelHandleEXT left, NullPtr right) => left.Equals(right); + + public static bool operator !=(RenderModelHandleEXT left, NullPtr right) => !left.Equals(right); + + public static implicit operator RenderModelHandleEXT(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SceneMeshSnapshotHandleANDROID.gen.cs b/sources/OpenXR/OpenXR/Handles/SceneMeshSnapshotHandleANDROID.gen.cs new file mode 100644 index 0000000000..123e471323 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SceneMeshSnapshotHandleANDROID.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshSnapshotANDROID")] +public readonly unsafe partial struct SceneMeshSnapshotHandleANDROID + : IEquatable +{ + public readonly void* Handle; + + public SceneMeshSnapshotHandleANDROID(void* handle) + { + Handle = handle; + } + + public bool Equals(SceneMeshSnapshotHandleANDROID other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is SceneMeshSnapshotHandleANDROID other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + SceneMeshSnapshotHandleANDROID left, + SceneMeshSnapshotHandleANDROID right + ) => left.Equals(right); + + public static bool operator !=( + SceneMeshSnapshotHandleANDROID left, + SceneMeshSnapshotHandleANDROID right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SceneMeshSnapshotHandleANDROID left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(SceneMeshSnapshotHandleANDROID left, NullPtr right) => + !left.Equals(right); + + public static implicit operator SceneMeshSnapshotHandleANDROID(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SenseDataProviderHandleBD.gen.cs b/sources/OpenXR/OpenXR/Handles/SenseDataProviderHandleBD.gen.cs new file mode 100644 index 0000000000..89ff17b296 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SenseDataProviderHandleBD.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSenseDataProviderBD")] +public readonly unsafe partial struct SenseDataProviderHandleBD + : IEquatable +{ + public readonly void* Handle; + + public SenseDataProviderHandleBD(void* handle) + { + Handle = handle; + } + + public bool Equals(SenseDataProviderHandleBD other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is SenseDataProviderHandleBD other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + SenseDataProviderHandleBD left, + SenseDataProviderHandleBD right + ) => left.Equals(right); + + public static bool operator !=( + SenseDataProviderHandleBD left, + SenseDataProviderHandleBD right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SenseDataProviderHandleBD left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(SenseDataProviderHandleBD left, NullPtr right) => + !left.Equals(right); + + public static implicit operator SenseDataProviderHandleBD(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SenseDataSnapshotHandleBD.gen.cs b/sources/OpenXR/OpenXR/Handles/SenseDataSnapshotHandleBD.gen.cs new file mode 100644 index 0000000000..8d525caf93 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SenseDataSnapshotHandleBD.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSenseDataSnapshotBD")] +public readonly unsafe partial struct SenseDataSnapshotHandleBD + : IEquatable +{ + public readonly void* Handle; + + public SenseDataSnapshotHandleBD(void* handle) + { + Handle = handle; + } + + public bool Equals(SenseDataSnapshotHandleBD other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is SenseDataSnapshotHandleBD other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + SenseDataSnapshotHandleBD left, + SenseDataSnapshotHandleBD right + ) => left.Equals(right); + + public static bool operator !=( + SenseDataSnapshotHandleBD left, + SenseDataSnapshotHandleBD right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SenseDataSnapshotHandleBD left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(SenseDataSnapshotHandleBD left, NullPtr right) => + !left.Equals(right); + + public static implicit operator SenseDataSnapshotHandleBD(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SessionHandle.gen.cs b/sources/OpenXR/OpenXR/Handles/SessionHandle.gen.cs new file mode 100644 index 0000000000..b82f2355c2 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SessionHandle.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSession")] +public readonly unsafe partial struct SessionHandle : IEquatable +{ + public readonly void* Handle; + + public SessionHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(SessionHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is SessionHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(SessionHandle left, SessionHandle right) => left.Equals(right); + + public static bool operator !=(SessionHandle left, SessionHandle right) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SessionHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(SessionHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator SessionHandle(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SoundObstacleMaterialHandleBD.gen.cs b/sources/OpenXR/OpenXR/Handles/SoundObstacleMaterialHandleBD.gen.cs new file mode 100644 index 0000000000..cace2681c2 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SoundObstacleMaterialHandleBD.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundObstacleMaterialBD")] +public readonly unsafe partial struct SoundObstacleMaterialHandleBD + : IEquatable +{ + public readonly void* Handle; + + public SoundObstacleMaterialHandleBD(void* handle) + { + Handle = handle; + } + + public bool Equals(SoundObstacleMaterialHandleBD other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is SoundObstacleMaterialHandleBD other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + SoundObstacleMaterialHandleBD left, + SoundObstacleMaterialHandleBD right + ) => left.Equals(right); + + public static bool operator !=( + SoundObstacleMaterialHandleBD left, + SoundObstacleMaterialHandleBD right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SoundObstacleMaterialHandleBD left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(SoundObstacleMaterialHandleBD left, NullPtr right) => + !left.Equals(right); + + public static implicit operator SoundObstacleMaterialHandleBD(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SpaceHandle.gen.cs b/sources/OpenXR/OpenXR/Handles/SpaceHandle.gen.cs new file mode 100644 index 0000000000..faac4a821b --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SpaceHandle.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpace")] +public readonly unsafe partial struct SpaceHandle : IEquatable +{ + public readonly void* Handle; + + public SpaceHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(SpaceHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is SpaceHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(SpaceHandle left, SpaceHandle right) => left.Equals(right); + + public static bool operator !=(SpaceHandle left, SpaceHandle right) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SpaceHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(SpaceHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator SpaceHandle(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SpaceUserHandleFB.gen.cs b/sources/OpenXR/OpenXR/Handles/SpaceUserHandleFB.gen.cs new file mode 100644 index 0000000000..b06846471e --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SpaceUserHandleFB.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceUserFB")] +public readonly unsafe partial struct SpaceUserHandleFB : IEquatable +{ + public readonly void* Handle; + + public SpaceUserHandleFB(void* handle) + { + Handle = handle; + } + + public bool Equals(SpaceUserHandleFB other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is SpaceUserHandleFB other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(SpaceUserHandleFB left, SpaceUserHandleFB right) => + left.Equals(right); + + public static bool operator !=(SpaceUserHandleFB left, SpaceUserHandleFB right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SpaceUserHandleFB left, NullPtr right) => left.Equals(right); + + public static bool operator !=(SpaceUserHandleFB left, NullPtr right) => !left.Equals(right); + + public static implicit operator SpaceUserHandleFB(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SpatialAnchorHandleMSFT.gen.cs b/sources/OpenXR/OpenXR/Handles/SpatialAnchorHandleMSFT.gen.cs new file mode 100644 index 0000000000..58f64f1e32 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SpatialAnchorHandleMSFT.gen.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorMSFT")] +public readonly unsafe partial struct SpatialAnchorHandleMSFT : IEquatable +{ + public readonly void* Handle; + + public SpatialAnchorHandleMSFT(void* handle) + { + Handle = handle; + } + + public bool Equals(SpatialAnchorHandleMSFT other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is SpatialAnchorHandleMSFT other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(SpatialAnchorHandleMSFT left, SpatialAnchorHandleMSFT right) => + left.Equals(right); + + public static bool operator !=(SpatialAnchorHandleMSFT left, SpatialAnchorHandleMSFT right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SpatialAnchorHandleMSFT left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(SpatialAnchorHandleMSFT left, NullPtr right) => + !left.Equals(right); + + public static implicit operator SpatialAnchorHandleMSFT(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SpatialAnchorStoreConnectionHandleMSFT.gen.cs b/sources/OpenXR/OpenXR/Handles/SpatialAnchorStoreConnectionHandleMSFT.gen.cs new file mode 100644 index 0000000000..90398dc45e --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SpatialAnchorStoreConnectionHandleMSFT.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorStoreConnectionMSFT")] +public readonly unsafe partial struct SpatialAnchorStoreConnectionHandleMSFT + : IEquatable +{ + public readonly void* Handle; + + public SpatialAnchorStoreConnectionHandleMSFT(void* handle) + { + Handle = handle; + } + + public bool Equals(SpatialAnchorStoreConnectionHandleMSFT other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is SpatialAnchorStoreConnectionHandleMSFT other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + SpatialAnchorStoreConnectionHandleMSFT left, + SpatialAnchorStoreConnectionHandleMSFT right + ) => left.Equals(right); + + public static bool operator !=( + SpatialAnchorStoreConnectionHandleMSFT left, + SpatialAnchorStoreConnectionHandleMSFT right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SpatialAnchorStoreConnectionHandleMSFT left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(SpatialAnchorStoreConnectionHandleMSFT left, NullPtr right) => + !left.Equals(right); + + public static implicit operator SpatialAnchorStoreConnectionHandleMSFT(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SpatialAnchorsStorageHandleML.gen.cs b/sources/OpenXR/OpenXR/Handles/SpatialAnchorsStorageHandleML.gen.cs new file mode 100644 index 0000000000..12d90f3cb7 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SpatialAnchorsStorageHandleML.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsStorageML")] +public readonly unsafe partial struct SpatialAnchorsStorageHandleML + : IEquatable +{ + public readonly void* Handle; + + public SpatialAnchorsStorageHandleML(void* handle) + { + Handle = handle; + } + + public bool Equals(SpatialAnchorsStorageHandleML other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is SpatialAnchorsStorageHandleML other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + SpatialAnchorsStorageHandleML left, + SpatialAnchorsStorageHandleML right + ) => left.Equals(right); + + public static bool operator !=( + SpatialAnchorsStorageHandleML left, + SpatialAnchorsStorageHandleML right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SpatialAnchorsStorageHandleML left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(SpatialAnchorsStorageHandleML left, NullPtr right) => + !left.Equals(right); + + public static implicit operator SpatialAnchorsStorageHandleML(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SpatialContextHandleEXT.gen.cs b/sources/OpenXR/OpenXR/Handles/SpatialContextHandleEXT.gen.cs new file mode 100644 index 0000000000..079ed195ae --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SpatialContextHandleEXT.gen.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialContextEXT")] +public readonly unsafe partial struct SpatialContextHandleEXT : IEquatable +{ + public readonly void* Handle; + + public SpatialContextHandleEXT(void* handle) + { + Handle = handle; + } + + public bool Equals(SpatialContextHandleEXT other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is SpatialContextHandleEXT other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(SpatialContextHandleEXT left, SpatialContextHandleEXT right) => + left.Equals(right); + + public static bool operator !=(SpatialContextHandleEXT left, SpatialContextHandleEXT right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SpatialContextHandleEXT left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(SpatialContextHandleEXT left, NullPtr right) => + !left.Equals(right); + + public static implicit operator SpatialContextHandleEXT(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SpatialEntityHandleEXT.gen.cs b/sources/OpenXR/OpenXR/Handles/SpatialEntityHandleEXT.gen.cs new file mode 100644 index 0000000000..e7213a5786 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SpatialEntityHandleEXT.gen.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityEXT")] +public readonly unsafe partial struct SpatialEntityHandleEXT : IEquatable +{ + public readonly void* Handle; + + public SpatialEntityHandleEXT(void* handle) + { + Handle = handle; + } + + public bool Equals(SpatialEntityHandleEXT other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is SpatialEntityHandleEXT other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(SpatialEntityHandleEXT left, SpatialEntityHandleEXT right) => + left.Equals(right); + + public static bool operator !=(SpatialEntityHandleEXT left, SpatialEntityHandleEXT right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SpatialEntityHandleEXT left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(SpatialEntityHandleEXT left, NullPtr right) => + !left.Equals(right); + + public static implicit operator SpatialEntityHandleEXT(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SpatialPersistenceContextHandleEXT.gen.cs b/sources/OpenXR/OpenXR/Handles/SpatialPersistenceContextHandleEXT.gen.cs new file mode 100644 index 0000000000..3d66953deb --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SpatialPersistenceContextHandleEXT.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialPersistenceContextEXT")] +public readonly unsafe partial struct SpatialPersistenceContextHandleEXT + : IEquatable +{ + public readonly void* Handle; + + public SpatialPersistenceContextHandleEXT(void* handle) + { + Handle = handle; + } + + public bool Equals(SpatialPersistenceContextHandleEXT other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is SpatialPersistenceContextHandleEXT other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + SpatialPersistenceContextHandleEXT left, + SpatialPersistenceContextHandleEXT right + ) => left.Equals(right); + + public static bool operator !=( + SpatialPersistenceContextHandleEXT left, + SpatialPersistenceContextHandleEXT right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SpatialPersistenceContextHandleEXT left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(SpatialPersistenceContextHandleEXT left, NullPtr right) => + !left.Equals(right); + + public static implicit operator SpatialPersistenceContextHandleEXT(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SpatialSnapshotHandleEXT.gen.cs b/sources/OpenXR/OpenXR/Handles/SpatialSnapshotHandleEXT.gen.cs new file mode 100644 index 0000000000..737fa6606a --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SpatialSnapshotHandleEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialSnapshotEXT")] +public readonly unsafe partial struct SpatialSnapshotHandleEXT + : IEquatable +{ + public readonly void* Handle; + + public SpatialSnapshotHandleEXT(void* handle) + { + Handle = handle; + } + + public bool Equals(SpatialSnapshotHandleEXT other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is SpatialSnapshotHandleEXT other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(SpatialSnapshotHandleEXT left, SpatialSnapshotHandleEXT right) => + left.Equals(right); + + public static bool operator !=(SpatialSnapshotHandleEXT left, SpatialSnapshotHandleEXT right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SpatialSnapshotHandleEXT left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(SpatialSnapshotHandleEXT left, NullPtr right) => + !left.Equals(right); + + public static implicit operator SpatialSnapshotHandleEXT(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/SwapchainHandle.gen.cs b/sources/OpenXR/OpenXR/Handles/SwapchainHandle.gen.cs new file mode 100644 index 0000000000..7804b2f9d4 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/SwapchainHandle.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchain")] +public readonly unsafe partial struct SwapchainHandle : IEquatable +{ + public readonly void* Handle; + + public SwapchainHandle(void* handle) + { + Handle = handle; + } + + public bool Equals(SwapchainHandle other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is SwapchainHandle other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(SwapchainHandle left, SwapchainHandle right) => + left.Equals(right); + + public static bool operator !=(SwapchainHandle left, SwapchainHandle right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(SwapchainHandle left, NullPtr right) => left.Equals(right); + + public static bool operator !=(SwapchainHandle left, NullPtr right) => !left.Equals(right); + + public static implicit operator SwapchainHandle(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/TrackableImageDatabaseHandleANDROID.gen.cs b/sources/OpenXR/OpenXR/Handles/TrackableImageDatabaseHandleANDROID.gen.cs new file mode 100644 index 0000000000..8f7e3e2b22 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/TrackableImageDatabaseHandleANDROID.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableImageDatabaseANDROID")] +public readonly unsafe partial struct TrackableImageDatabaseHandleANDROID + : IEquatable +{ + public readonly void* Handle; + + public TrackableImageDatabaseHandleANDROID(void* handle) + { + Handle = handle; + } + + public bool Equals(TrackableImageDatabaseHandleANDROID other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is TrackableImageDatabaseHandleANDROID other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + TrackableImageDatabaseHandleANDROID left, + TrackableImageDatabaseHandleANDROID right + ) => left.Equals(right); + + public static bool operator !=( + TrackableImageDatabaseHandleANDROID left, + TrackableImageDatabaseHandleANDROID right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(TrackableImageDatabaseHandleANDROID left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(TrackableImageDatabaseHandleANDROID left, NullPtr right) => + !left.Equals(right); + + public static implicit operator TrackableImageDatabaseHandleANDROID(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/TrackableTrackerHandleANDROID.gen.cs b/sources/OpenXR/OpenXR/Handles/TrackableTrackerHandleANDROID.gen.cs new file mode 100644 index 0000000000..1c7d0577c9 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/TrackableTrackerHandleANDROID.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableTrackerANDROID")] +public readonly unsafe partial struct TrackableTrackerHandleANDROID + : IEquatable +{ + public readonly void* Handle; + + public TrackableTrackerHandleANDROID(void* handle) + { + Handle = handle; + } + + public bool Equals(TrackableTrackerHandleANDROID other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is TrackableTrackerHandleANDROID other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + TrackableTrackerHandleANDROID left, + TrackableTrackerHandleANDROID right + ) => left.Equals(right); + + public static bool operator !=( + TrackableTrackerHandleANDROID left, + TrackableTrackerHandleANDROID right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(TrackableTrackerHandleANDROID left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(TrackableTrackerHandleANDROID left, NullPtr right) => + !left.Equals(right); + + public static implicit operator TrackableTrackerHandleANDROID(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/TriangleMeshHandleFB.gen.cs b/sources/OpenXR/OpenXR/Handles/TriangleMeshHandleFB.gen.cs new file mode 100644 index 0000000000..027d38b80d --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/TriangleMeshHandleFB.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTriangleMeshFB")] +public readonly unsafe partial struct TriangleMeshHandleFB : IEquatable +{ + public readonly void* Handle; + + public TriangleMeshHandleFB(void* handle) + { + Handle = handle; + } + + public bool Equals(TriangleMeshHandleFB other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is TriangleMeshHandleFB other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(TriangleMeshHandleFB left, TriangleMeshHandleFB right) => + left.Equals(right); + + public static bool operator !=(TriangleMeshHandleFB left, TriangleMeshHandleFB right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(TriangleMeshHandleFB left, NullPtr right) => left.Equals(right); + + public static bool operator !=(TriangleMeshHandleFB left, NullPtr right) => !left.Equals(right); + + public static implicit operator TriangleMeshHandleFB(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/Handles/VirtualKeyboardHandleMETA.gen.cs b/sources/OpenXR/OpenXR/Handles/VirtualKeyboardHandleMETA.gen.cs new file mode 100644 index 0000000000..fb296405b1 --- /dev/null +++ b/sources/OpenXR/OpenXR/Handles/VirtualKeyboardHandleMETA.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardMETA")] +public readonly unsafe partial struct VirtualKeyboardHandleMETA + : IEquatable +{ + public readonly void* Handle; + + public VirtualKeyboardHandleMETA(void* handle) + { + Handle = handle; + } + + public bool Equals(VirtualKeyboardHandleMETA other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is VirtualKeyboardHandleMETA other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + VirtualKeyboardHandleMETA left, + VirtualKeyboardHandleMETA right + ) => left.Equals(right); + + public static bool operator !=( + VirtualKeyboardHandleMETA left, + VirtualKeyboardHandleMETA right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(VirtualKeyboardHandleMETA left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(VirtualKeyboardHandleMETA left, NullPtr right) => + !left.Equals(right); + + public static implicit operator VirtualKeyboardHandleMETA(NullPtr _) => default; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionCreateInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionCreateInfo.gen.cs new file mode 100644 index 0000000000..664017ee5b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionCreateInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActionCreateInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActionCreateInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeActionCreateInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("actionName")] + [SupportedApiProfile("openxr")] + public ActionCreateInfoActionName ActionName; + + [NativeName("actionType")] + [SupportedApiProfile("openxr")] + public ActionType ActionType; + + [NativeName("countSubactionPaths")] + [SupportedApiProfile("openxr")] + public uint CountSubactionPaths; + + [NativeName("subactionPaths")] + [SupportedApiProfile("openxr")] + public ulong* SubactionPaths; + + [NativeName("localizedActionName")] + [SupportedApiProfile("openxr")] + public ActionCreateInfoLocalizedActionName LocalizedActionName; + + [SupportedApiProfile("openxr")] + public ActionCreateInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionCreateInfoActionName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionCreateInfoActionName.gen.cs new file mode 100644 index 0000000000..ecb4712dda --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionCreateInfoActionName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_actionName_e__FixedBuffer")] +[InlineArray(64)] +[SupportedApiProfile("openxr")] +public partial struct ActionCreateInfoActionName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionCreateInfoLocalizedActionName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionCreateInfoLocalizedActionName.gen.cs new file mode 100644 index 0000000000..0315db33af --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionCreateInfoLocalizedActionName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_localizedActionName_e__FixedBuffer")] +[InlineArray(128)] +[SupportedApiProfile("openxr")] +public partial struct ActionCreateInfoLocalizedActionName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionSetCreateInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionSetCreateInfo.gen.cs new file mode 100644 index 0000000000..b2880a5e65 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionSetCreateInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActionSetCreateInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActionSetCreateInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeActionSetCreateInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("actionSetName")] + [SupportedApiProfile("openxr")] + public ActionSetCreateInfoActionSetName ActionSetName; + + [NativeName("localizedActionSetName")] + [SupportedApiProfile("openxr")] + public ActionSetCreateInfoLocalizedActionSetName LocalizedActionSetName; + + [NativeName("priority")] + [SupportedApiProfile("openxr")] + public uint Priority; + + [SupportedApiProfile("openxr")] + public ActionSetCreateInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionSetCreateInfoActionSetName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionSetCreateInfoActionSetName.gen.cs new file mode 100644 index 0000000000..4651038f89 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionSetCreateInfoActionSetName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_actionSetName_e__FixedBuffer")] +[InlineArray(64)] +[SupportedApiProfile("openxr")] +public partial struct ActionSetCreateInfoActionSetName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionSetCreateInfoLocalizedActionSetName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionSetCreateInfoLocalizedActionSetName.gen.cs new file mode 100644 index 0000000000..868dcb0f76 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionSetCreateInfoLocalizedActionSetName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_localizedActionSetName_e__FixedBuffer")] +[InlineArray(128)] +[SupportedApiProfile("openxr")] +public partial struct ActionSetCreateInfoLocalizedActionSetName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionSpaceCreateInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionSpaceCreateInfo.gen.cs new file mode 100644 index 0000000000..2a7a932054 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionSpaceCreateInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActionSpaceCreateInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActionSpaceCreateInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeActionSpaceCreateInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("action")] + [SupportedApiProfile("openxr")] + public ActionHandle Action; + + [NativeName("subactionPath")] + [SupportedApiProfile("openxr")] + public ulong SubactionPath; + + [NativeName("poseInActionSpace")] + [SupportedApiProfile("openxr")] + public Posef PoseInActionSpace; + + [SupportedApiProfile("openxr")] + public ActionSpaceCreateInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionStateBoolean.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionStateBoolean.gen.cs new file mode 100644 index 0000000000..693fe99112 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionStateBoolean.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActionStateBoolean")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActionStateBoolean +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeActionStateBoolean; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("currentState")] + [SupportedApiProfile("openxr")] + public MaybeBool CurrentState; + + [NativeName("changedSinceLastSync")] + [SupportedApiProfile("openxr")] + public MaybeBool ChangedSinceLastSync; + + [NativeName("lastChangeTime")] + [SupportedApiProfile("openxr")] + public long LastChangeTime; + + [NativeName("isActive")] + [SupportedApiProfile("openxr")] + public MaybeBool IsActive; + + [SupportedApiProfile("openxr")] + public ActionStateBoolean() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionStateFloat.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionStateFloat.gen.cs new file mode 100644 index 0000000000..860bb8a5ff --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionStateFloat.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActionStateFloat")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActionStateFloat +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeActionStateFloat; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("currentState")] + [SupportedApiProfile("openxr")] + public float CurrentState; + + [NativeName("changedSinceLastSync")] + [SupportedApiProfile("openxr")] + public MaybeBool ChangedSinceLastSync; + + [NativeName("lastChangeTime")] + [SupportedApiProfile("openxr")] + public long LastChangeTime; + + [NativeName("isActive")] + [SupportedApiProfile("openxr")] + public MaybeBool IsActive; + + [SupportedApiProfile("openxr")] + public ActionStateFloat() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionStateGetInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionStateGetInfo.gen.cs new file mode 100644 index 0000000000..2996fed0c2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionStateGetInfo.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActionStateGetInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActionStateGetInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeActionStateGetInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("action")] + [SupportedApiProfile("openxr")] + public ActionHandle Action; + + [NativeName("subactionPath")] + [SupportedApiProfile("openxr")] + public ulong SubactionPath; + + [SupportedApiProfile("openxr")] + public ActionStateGetInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionStatePose.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionStatePose.gen.cs new file mode 100644 index 0000000000..0bbfb3696f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionStatePose.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActionStatePose")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActionStatePose +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeActionStatePose; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("isActive")] + [SupportedApiProfile("openxr")] + public MaybeBool IsActive; + + [SupportedApiProfile("openxr")] + public ActionStatePose() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionStateVector2F.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionStateVector2F.gen.cs new file mode 100644 index 0000000000..0566d962e2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionStateVector2F.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActionStateVector2f")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActionStateVector2F +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeActionStateVector2F; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("currentState")] + [SupportedApiProfile("openxr")] + public Vector2F CurrentState; + + [NativeName("changedSinceLastSync")] + [SupportedApiProfile("openxr")] + public MaybeBool ChangedSinceLastSync; + + [NativeName("lastChangeTime")] + [SupportedApiProfile("openxr")] + public long LastChangeTime; + + [NativeName("isActive")] + [SupportedApiProfile("openxr")] + public MaybeBool IsActive; + + [SupportedApiProfile("openxr")] + public ActionStateVector2F() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionSuggestedBinding.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionSuggestedBinding.gen.cs new file mode 100644 index 0000000000..3582f98f02 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionSuggestedBinding.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActionSuggestedBinding")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActionSuggestedBinding +{ + [NativeName("action")] + [SupportedApiProfile("openxr")] + public ActionHandle Action; + + [NativeName("binding")] + [SupportedApiProfile("openxr")] + public ulong Binding; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionType.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionType.gen.cs new file mode 100644 index 0000000000..a8687ee940 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionType.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActionType")] +[SupportedApiProfile("openxr")] +public enum ActionType : uint +{ + [NativeName("XR_ACTION_TYPE_BOOLEAN_INPUT")] + [SupportedApiProfile("openxr")] + BooleanInput = 1, + + [NativeName("XR_ACTION_TYPE_FLOAT_INPUT")] + [SupportedApiProfile("openxr")] + FloatInput = 2, + + [NativeName("XR_ACTION_TYPE_VECTOR2F_INPUT")] + [SupportedApiProfile("openxr")] + Vector2FInput = 3, + + [NativeName("XR_ACTION_TYPE_POSE_INPUT")] + [SupportedApiProfile("openxr")] + PoseInput = 4, + + [NativeName("XR_ACTION_TYPE_VIBRATION_OUTPUT")] + [SupportedApiProfile("openxr")] + VibrationOutput = 100, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActionsSyncInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActionsSyncInfo.gen.cs new file mode 100644 index 0000000000..fe9950c3d7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActionsSyncInfo.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActionsSyncInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActionsSyncInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeActionsSyncInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("countActiveActionSets")] + [SupportedApiProfile("openxr")] + public uint CountActiveActionSets; + + [NativeName("activeActionSets")] + [SupportedApiProfile("openxr")] + public ActiveActionSet* ActiveActionSets; + + [SupportedApiProfile("openxr")] + public ActionsSyncInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActiveActionSet.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActiveActionSet.gen.cs new file mode 100644 index 0000000000..cd928d9549 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActiveActionSet.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActiveActionSet")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActiveActionSet +{ + [NativeName("actionSet")] + [SupportedApiProfile("openxr")] + public ActionSetHandle ActionSet; + + [NativeName("subactionPath")] + [SupportedApiProfile("openxr")] + public ulong SubactionPath; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActiveActionSetPrioritiesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActiveActionSetPrioritiesEXT.gen.cs new file mode 100644 index 0000000000..7e3e4e963d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActiveActionSetPrioritiesEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActiveActionSetPrioritiesEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActiveActionSetPrioritiesEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_active_action_set_priority"])] + public StructureType Type = StructureType.TypeActiveActionSetPrioritiesEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_active_action_set_priority"])] + public void* Next; + + [NativeName("actionSetPriorityCount")] + [SupportedApiProfile("openxr", ["XR_EXT_active_action_set_priority"])] + public uint ActionSetPriorityCount; + + [NativeName("actionSetPriorities")] + [SupportedApiProfile("openxr", ["XR_EXT_active_action_set_priority"])] + public ActiveActionSetPriorityEXT* ActionSetPriorities; + + [SupportedApiProfile("openxr", ["XR_EXT_active_action_set_priority"])] + public ActiveActionSetPrioritiesEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ActiveActionSetPriorityEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ActiveActionSetPriorityEXT.gen.cs new file mode 100644 index 0000000000..a76913329e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ActiveActionSetPriorityEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrActiveActionSetPriorityEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ActiveActionSetPriorityEXT +{ + [NativeName("actionSet")] + [SupportedApiProfile("openxr", ["XR_EXT_active_action_set_priority"])] + public ActionSetHandle ActionSet; + + [NativeName("priorityOverride")] + [SupportedApiProfile("openxr", ["XR_EXT_active_action_set_priority"])] + public uint PriorityOverride; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/AmbientLightANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/AmbientLightANDROID.gen.cs new file mode 100644 index 0000000000..d138a582f1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/AmbientLightANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrAmbientLightANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct AmbientLightANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public StructureType Type = StructureType.TypeAmbientLightANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public void* Next; + + [NativeName("state")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public LightEstimateStateANDROID State; + + [NativeName("intensity")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public Vector3F Intensity; + + [NativeName("colorCorrection")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public Vector3F ColorCorrection; + + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public AmbientLightANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/AnchorPersistStateANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/AnchorPersistStateANDROID.gen.cs new file mode 100644 index 0000000000..6fc6b48fb2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/AnchorPersistStateANDROID.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrAnchorPersistStateANDROID")] +[SupportedApiProfile("openxr")] +public enum AnchorPersistStateANDROID : uint +{ + [NativeName("XR_ANCHOR_PERSIST_STATE_PERSIST_NOT_REQUESTED_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + PersistNotRequested = 0, + + [NativeName("XR_ANCHOR_PERSIST_STATE_PERSIST_PENDING_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + PersistPending = 1, + + [NativeName("XR_ANCHOR_PERSIST_STATE_PERSISTED_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + Persisted = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/AnchorSpaceCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/AnchorSpaceCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..36d5409783 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/AnchorSpaceCreateInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrAnchorSpaceCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct AnchorSpaceCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public StructureType Type = StructureType.TypeAnchorSpaceCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public void* Next; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public SpaceHandle Space; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public long Time; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public Posef Pose; + + [NativeName("trackable")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public ulong Trackable; + + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public AnchorSpaceCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/AnchorSpaceCreateInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/AnchorSpaceCreateInfoBD.gen.cs new file mode 100644 index 0000000000..dcf9eab3c4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/AnchorSpaceCreateInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrAnchorSpaceCreateInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct AnchorSpaceCreateInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeAnchorSpaceCreateInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("anchor")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public AnchorHandleBD Anchor; + + [NativeName("poseInAnchorSpace")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public Posef PoseInAnchorSpace; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public AnchorSpaceCreateInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ApiLayerProperties.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ApiLayerProperties.gen.cs new file mode 100644 index 0000000000..4faa213a1e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ApiLayerProperties.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrApiLayerProperties")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ApiLayerProperties +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeApiLayerProperties; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("layerName")] + [SupportedApiProfile("openxr")] + public ApiLayerPropertiesLayerName LayerName; + + [NativeName("specVersion")] + [SupportedApiProfile("openxr")] + public Version SpecVersion; + + [NativeName("layerVersion")] + [SupportedApiProfile("openxr")] + public uint LayerVersion; + + [NativeName("description")] + [SupportedApiProfile("openxr")] + public ApiLayerPropertiesDescription Description; + + [SupportedApiProfile("openxr")] + public ApiLayerProperties() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ApiLayerPropertiesDescription.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ApiLayerPropertiesDescription.gen.cs new file mode 100644 index 0000000000..d67247ca82 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ApiLayerPropertiesDescription.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_description_e__FixedBuffer")] +[InlineArray(256)] +[SupportedApiProfile("openxr")] +public partial struct ApiLayerPropertiesDescription +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ApiLayerPropertiesLayerName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ApiLayerPropertiesLayerName.gen.cs new file mode 100644 index 0000000000..2a3d4ada4a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ApiLayerPropertiesLayerName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_layerName_e__FixedBuffer")] +[InlineArray(256)] +[SupportedApiProfile("openxr")] +public partial struct ApiLayerPropertiesLayerName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ApplicationInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ApplicationInfo.gen.cs new file mode 100644 index 0000000000..2175543110 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ApplicationInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrApplicationInfo")] +[SupportedApiProfile("openxr")] +public partial struct ApplicationInfo +{ + [NativeName("applicationName")] + [SupportedApiProfile("openxr")] + public ApplicationInfoApplicationName ApplicationName; + + [NativeName("applicationVersion")] + [SupportedApiProfile("openxr")] + public uint ApplicationVersion; + + [NativeName("engineName")] + [SupportedApiProfile("openxr")] + public ApplicationInfoEngineName EngineName; + + [NativeName("engineVersion")] + [SupportedApiProfile("openxr")] + public uint EngineVersion; + + [NativeName("apiVersion")] + [SupportedApiProfile("openxr")] + public Version ApiVersion; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ApplicationInfoApplicationName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ApplicationInfoApplicationName.gen.cs new file mode 100644 index 0000000000..6ca6bb3ce7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ApplicationInfoApplicationName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_applicationName_e__FixedBuffer")] +[InlineArray(128)] +[SupportedApiProfile("openxr")] +public partial struct ApplicationInfoApplicationName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ApplicationInfoEngineName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ApplicationInfoEngineName.gen.cs new file mode 100644 index 0000000000..5a9cfedcd5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ApplicationInfoEngineName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_engineName_e__FixedBuffer")] +[InlineArray(128)] +[SupportedApiProfile("openxr")] +public partial struct ApplicationInfoEngineName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/AttenuationCurvePointBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/AttenuationCurvePointBD.gen.cs new file mode 100644 index 0000000000..0dcf11f447 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/AttenuationCurvePointBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrAttenuationCurvePointBD")] +[SupportedApiProfile("openxr")] +public partial struct AttenuationCurvePointBD +{ + [NativeName("distance")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float Distance; + + [NativeName("gain")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float Gain; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/AudioBufferBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/AudioBufferBD.gen.cs new file mode 100644 index 0000000000..ad793e348b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/AudioBufferBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrAudioBufferBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct AudioBufferBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeAudioBufferBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("channelLayout")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public AudioBufferChannelLayoutBD ChannelLayout; + + [NativeName("bufferChannels")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public uint BufferChannels; + + [NativeName("bufferLength")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public uint BufferLength; + + [NativeName("buffer")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float* Buffer; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public AudioBufferBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/AudioBufferChannelLayoutBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/AudioBufferChannelLayoutBD.gen.cs new file mode 100644 index 0000000000..454c17b039 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/AudioBufferChannelLayoutBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrAudioBufferChannelLayoutBD")] +[SupportedApiProfile("openxr")] +public enum AudioBufferChannelLayoutBD : uint +{ + [NativeName("XR_AUDIO_BUFFER_CHANNEL_LAYOUT_INTERLEAVED_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Interleaved = 0, + + [NativeName("XR_AUDIO_BUFFER_CHANNEL_LAYOUT_PLANAR_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Planar = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/AudioSampleRateBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/AudioSampleRateBD.gen.cs new file mode 100644 index 0000000000..5d4f572c88 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/AudioSampleRateBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrAudioSampleRateBD")] +[SupportedApiProfile("openxr")] +public enum AudioSampleRateBD : uint +{ + [NativeName("XR_AUDIO_SAMPLE_RATE_192000_HZ_BD")] + [SupportedApiProfile("openxr")] + Rate192000Hz = 1, + + [NativeName("XR_AUDIO_SAMPLE_RATE_96000_HZ_BD")] + [SupportedApiProfile("openxr")] + Rate96000Hz = 2, + + [NativeName("XR_AUDIO_SAMPLE_RATE_48000_HZ_BD")] + [SupportedApiProfile("openxr")] + Rate48000Hz = 3, + + [NativeName("XR_AUDIO_SAMPLE_RATE_44100_HZ_BD")] + [SupportedApiProfile("openxr")] + Rate44100Hz = 4, + + [NativeName("XR_AUDIO_SAMPLE_RATE_32000_HZ_BD")] + [SupportedApiProfile("openxr")] + Rate32000Hz = 5, + + [NativeName("XR_AUDIO_SAMPLE_RATE_24000_HZ_BD")] + [SupportedApiProfile("openxr")] + Rate24000Hz = 6, + + [NativeName("XR_AUDIO_SAMPLE_RATE_22050_HZ_BD")] + [SupportedApiProfile("openxr")] + Rate22050Hz = 7, + + [NativeName("XR_AUDIO_SAMPLE_RATE_16000_HZ_BD")] + [SupportedApiProfile("openxr")] + Rate16000Hz = 8, + + [NativeName("XR_AUDIO_SAMPLE_RATE_12000_HZ_BD")] + [SupportedApiProfile("openxr")] + Rate12000Hz = 9, + + [NativeName("XR_AUDIO_SAMPLE_RATE_11025_HZ_BD")] + [SupportedApiProfile("openxr")] + Rate11025Hz = 10, + + [NativeName("XR_AUDIO_SAMPLE_RATE_8000_HZ_BD")] + [SupportedApiProfile("openxr")] + Rate8000Hz = 11, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BaseInStructure.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BaseInStructure.gen.cs new file mode 100644 index 0000000000..98ed648956 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BaseInStructure.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBaseInStructure")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BaseInStructure +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public BaseInStructure* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BaseOutStructure.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BaseOutStructure.gen.cs new file mode 100644 index 0000000000..f253177117 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BaseOutStructure.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBaseOutStructure")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BaseOutStructure +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public BaseOutStructure* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BatteryStateDisplayEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BatteryStateDisplayEXT.gen.cs new file mode 100644 index 0000000000..43b4f135b7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BatteryStateDisplayEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBatteryStateDisplayEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BatteryStateDisplayEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_interaction_profile_battery_state_display"])] + public StructureType Type = StructureType.TypeBatteryStateDisplayEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_interaction_profile_battery_state_display"])] + public void* Next; + + [NativeName("stateFlags")] + [SupportedApiProfile("openxr", ["XR_EXT_interaction_profile_battery_state_display"])] + public BatteryStateDisplayStateFlagsEXT StateFlags; + + [NativeName("batteryLevel")] + [SupportedApiProfile("openxr", ["XR_EXT_interaction_profile_battery_state_display"])] + public float BatteryLevel; + + [SupportedApiProfile("openxr", ["XR_EXT_interaction_profile_battery_state_display"])] + public BatteryStateDisplayEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BindingModificationBaseHeaderKHR.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BindingModificationBaseHeaderKHR.gen.cs new file mode 100644 index 0000000000..6666738e88 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BindingModificationBaseHeaderKHR.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBindingModificationBaseHeaderKHR")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BindingModificationBaseHeaderKHR +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_KHR_binding_modification"])] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_KHR_binding_modification"])] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BindingModificationsKHR.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BindingModificationsKHR.gen.cs new file mode 100644 index 0000000000..52684dd419 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BindingModificationsKHR.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBindingModificationsKHR")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BindingModificationsKHR +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_KHR_binding_modification"])] + public StructureType Type = StructureType.TypeBindingModificationsKHR; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_KHR_binding_modification"])] + public void* Next; + + [NativeName("bindingModificationCount")] + [SupportedApiProfile("openxr", ["XR_KHR_binding_modification"])] + public uint BindingModificationCount; + + [NativeName("bindingModifications")] + [SupportedApiProfile("openxr", ["XR_KHR_binding_modification"])] + public BindingModificationBaseHeaderKHR** BindingModifications; + + [SupportedApiProfile("openxr", ["XR_KHR_binding_modification"])] + public BindingModificationsKHR() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BlendFactorFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BlendFactorFB.gen.cs new file mode 100644 index 0000000000..95ef1693c3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BlendFactorFB.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBlendFactorFB")] +[SupportedApiProfile("openxr")] +public enum BlendFactorFB : uint +{ + [NativeName("XR_BLEND_FACTOR_ZERO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + Zero = 0, + + [NativeName("XR_BLEND_FACTOR_ONE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + One = 1, + + [NativeName("XR_BLEND_FACTOR_SRC_ALPHA_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + SrcAlpha = 2, + + [NativeName("XR_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + OneMinusSrcAlpha = 3, + + [NativeName("XR_BLEND_FACTOR_DST_ALPHA_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + DstAlpha = 4, + + [NativeName("XR_BLEND_FACTOR_ONE_MINUS_DST_ALPHA_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + OneMinusDstAlpha = 5, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointBD.gen.cs new file mode 100644 index 0000000000..2a3729e152 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointBD.gen.cs @@ -0,0 +1,110 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointBD")] +[SupportedApiProfile("openxr")] +public enum BodyJointBD : uint +{ + [NativeName("XR_BODY_JOINT_PELVIS_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + Pelvis = 0, + + [NativeName("XR_BODY_JOINT_LEFT_HIP_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + LeftHip = 1, + + [NativeName("XR_BODY_JOINT_RIGHT_HIP_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + RightHip = 2, + + [NativeName("XR_BODY_JOINT_SPINE1_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + Spine1 = 3, + + [NativeName("XR_BODY_JOINT_LEFT_KNEE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + LeftKnee = 4, + + [NativeName("XR_BODY_JOINT_RIGHT_KNEE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + RightKnee = 5, + + [NativeName("XR_BODY_JOINT_SPINE2_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + Spine2 = 6, + + [NativeName("XR_BODY_JOINT_LEFT_ANKLE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + LeftAnkle = 7, + + [NativeName("XR_BODY_JOINT_RIGHT_ANKLE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + RightAnkle = 8, + + [NativeName("XR_BODY_JOINT_SPINE3_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + Spine3 = 9, + + [NativeName("XR_BODY_JOINT_LEFT_FOOT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + LeftFoot = 10, + + [NativeName("XR_BODY_JOINT_RIGHT_FOOT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + RightFoot = 11, + + [NativeName("XR_BODY_JOINT_NECK_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + Neck = 12, + + [NativeName("XR_BODY_JOINT_LEFT_COLLAR_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + LeftCollar = 13, + + [NativeName("XR_BODY_JOINT_RIGHT_COLLAR_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + RightCollar = 14, + + [NativeName("XR_BODY_JOINT_HEAD_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + Head = 15, + + [NativeName("XR_BODY_JOINT_LEFT_SHOULDER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + LeftShoulder = 16, + + [NativeName("XR_BODY_JOINT_RIGHT_SHOULDER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + RightShoulder = 17, + + [NativeName("XR_BODY_JOINT_LEFT_ELBOW_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + LeftElbow = 18, + + [NativeName("XR_BODY_JOINT_RIGHT_ELBOW_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + RightElbow = 19, + + [NativeName("XR_BODY_JOINT_LEFT_WRIST_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + LeftWrist = 20, + + [NativeName("XR_BODY_JOINT_RIGHT_WRIST_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + RightWrist = 21, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + LeftHand = 22, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + RightHand = 23, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointConfidenceHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointConfidenceHTC.gen.cs new file mode 100644 index 0000000000..0cdf429d37 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointConfidenceHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointConfidenceHTC")] +[SupportedApiProfile("openxr")] +public enum BodyJointConfidenceHTC : uint +{ + [NativeName("XR_BODY_JOINT_CONFIDENCE_NONE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + None = 0, + + [NativeName("XR_BODY_JOINT_CONFIDENCE_LOW_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + Low = 1, + + [NativeName("XR_BODY_JOINT_CONFIDENCE_HIGH_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + High = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointFB.gen.cs new file mode 100644 index 0000000000..a685a4855a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointFB.gen.cs @@ -0,0 +1,302 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointFB")] +[SupportedApiProfile("openxr")] +public enum BodyJointFB +{ + [NativeName("XR_BODY_JOINT_ROOT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + Root = 0, + + [NativeName("XR_BODY_JOINT_HIPS_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + Hips = 1, + + [NativeName("XR_BODY_JOINT_SPINE_LOWER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + SpineLower = 2, + + [NativeName("XR_BODY_JOINT_SPINE_MIDDLE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + SpineMiddle = 3, + + [NativeName("XR_BODY_JOINT_SPINE_UPPER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + SpineUpper = 4, + + [NativeName("XR_BODY_JOINT_CHEST_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + Chest = 5, + + [NativeName("XR_BODY_JOINT_NECK_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + Neck = 6, + + [NativeName("XR_BODY_JOINT_HEAD_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + Head = 7, + + [NativeName("XR_BODY_JOINT_LEFT_SHOULDER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftShoulder = 8, + + [NativeName("XR_BODY_JOINT_LEFT_SCAPULA_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftScapula = 9, + + [NativeName("XR_BODY_JOINT_LEFT_ARM_UPPER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftArmUpper = 10, + + [NativeName("XR_BODY_JOINT_LEFT_ARM_LOWER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftArmLower = 11, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_WRIST_TWIST_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandWristTwist = 12, + + [NativeName("XR_BODY_JOINT_RIGHT_SHOULDER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightShoulder = 13, + + [NativeName("XR_BODY_JOINT_RIGHT_SCAPULA_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightScapula = 14, + + [NativeName("XR_BODY_JOINT_RIGHT_ARM_UPPER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightArmUpper = 15, + + [NativeName("XR_BODY_JOINT_RIGHT_ARM_LOWER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightArmLower = 16, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_WRIST_TWIST_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandWristTwist = 17, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_PALM_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandPalm = 18, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_WRIST_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandWrist = 19, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_THUMB_METACARPAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandThumbMetacarpal = 20, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_THUMB_PROXIMAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandThumbProximal = 21, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_THUMB_DISTAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandThumbDistal = 22, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_THUMB_TIP_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandThumbTip = 23, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_INDEX_METACARPAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandIndexMetacarpal = 24, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_INDEX_PROXIMAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandIndexProximal = 25, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_INDEX_INTERMEDIATE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandIndexIntermediate = 26, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_INDEX_DISTAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandIndexDistal = 27, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_INDEX_TIP_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandIndexTip = 28, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_MIDDLE_METACARPAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandMiddleMetacarpal = 29, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_MIDDLE_PROXIMAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandMiddleProximal = 30, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_MIDDLE_INTERMEDIATE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandMiddleIntermediate = 31, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_MIDDLE_DISTAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandMiddleDistal = 32, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_MIDDLE_TIP_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandMiddleTip = 33, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_RING_METACARPAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandRingMetacarpal = 34, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_RING_PROXIMAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandRingProximal = 35, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_RING_INTERMEDIATE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandRingIntermediate = 36, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_RING_DISTAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandRingDistal = 37, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_RING_TIP_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandRingTip = 38, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_LITTLE_METACARPAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandLittleMetacarpal = 39, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_LITTLE_PROXIMAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandLittleProximal = 40, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_LITTLE_INTERMEDIATE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandLittleIntermediate = 41, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_LITTLE_DISTAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandLittleDistal = 42, + + [NativeName("XR_BODY_JOINT_LEFT_HAND_LITTLE_TIP_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + LeftHandLittleTip = 43, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_PALM_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandPalm = 44, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_WRIST_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandWrist = 45, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_THUMB_METACARPAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandThumbMetacarpal = 46, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_THUMB_PROXIMAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandThumbProximal = 47, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_THUMB_DISTAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandThumbDistal = 48, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_THUMB_TIP_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandThumbTip = 49, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_INDEX_METACARPAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandIndexMetacarpal = 50, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_INDEX_PROXIMAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandIndexProximal = 51, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_INDEX_INTERMEDIATE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandIndexIntermediate = 52, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_INDEX_DISTAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandIndexDistal = 53, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_INDEX_TIP_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandIndexTip = 54, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_MIDDLE_METACARPAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandMiddleMetacarpal = 55, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_MIDDLE_PROXIMAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandMiddleProximal = 56, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_MIDDLE_INTERMEDIATE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandMiddleIntermediate = 57, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_MIDDLE_DISTAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandMiddleDistal = 58, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_MIDDLE_TIP_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandMiddleTip = 59, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_RING_METACARPAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandRingMetacarpal = 60, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_RING_PROXIMAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandRingProximal = 61, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_RING_INTERMEDIATE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandRingIntermediate = 62, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_RING_DISTAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandRingDistal = 63, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_RING_TIP_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandRingTip = 64, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_LITTLE_METACARPAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandLittleMetacarpal = 65, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_LITTLE_PROXIMAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandLittleProximal = 66, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_LITTLE_INTERMEDIATE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandLittleIntermediate = 67, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_LITTLE_DISTAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandLittleDistal = 68, + + [NativeName("XR_BODY_JOINT_RIGHT_HAND_LITTLE_TIP_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + RightHandLittleTip = 69, + + [NativeName("XR_BODY_JOINT_COUNT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + Count = 70, + + [NativeName("XR_BODY_JOINT_NONE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + None = -1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointHTC.gen.cs new file mode 100644 index 0000000000..0851c8c4a3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointHTC")] +[SupportedApiProfile("openxr")] +public enum BodyJointHTC : uint +{ + [NativeName("XR_BODY_JOINT_PELVIS_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + Pelvis = 0, + + [NativeName("XR_BODY_JOINT_LEFT_HIP_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + LeftHip = 1, + + [NativeName("XR_BODY_JOINT_LEFT_KNEE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + LeftKnee = 2, + + [NativeName("XR_BODY_JOINT_LEFT_ANKLE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + LeftAnkle = 3, + + [NativeName("XR_BODY_JOINT_LEFT_FEET_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + LeftFeet = 4, + + [NativeName("XR_BODY_JOINT_RIGHT_HIP_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + RightHip = 5, + + [NativeName("XR_BODY_JOINT_RIGHT_KNEE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + RightKnee = 6, + + [NativeName("XR_BODY_JOINT_RIGHT_ANKLE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + RightAnkle = 7, + + [NativeName("XR_BODY_JOINT_RIGHT_FEET_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + RightFeet = 8, + + [NativeName("XR_BODY_JOINT_WAIST_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + Waist = 9, + + [NativeName("XR_BODY_JOINT_SPINE_LOWER_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + SpineLower = 10, + + [NativeName("XR_BODY_JOINT_SPINE_MIDDLE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + SpineMiddle = 11, + + [NativeName("XR_BODY_JOINT_SPINE_HIGH_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + SpineHigh = 12, + + [NativeName("XR_BODY_JOINT_CHEST_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + Chest = 13, + + [NativeName("XR_BODY_JOINT_NECK_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + Neck = 14, + + [NativeName("XR_BODY_JOINT_HEAD_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + Head = 15, + + [NativeName("XR_BODY_JOINT_LEFT_CLAVICLE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + LeftClavicle = 16, + + [NativeName("XR_BODY_JOINT_LEFT_SCAPULA_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + LeftScapula = 17, + + [NativeName("XR_BODY_JOINT_LEFT_ARM_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + LeftArm = 18, + + [NativeName("XR_BODY_JOINT_LEFT_ELBOW_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + LeftElbow = 19, + + [NativeName("XR_BODY_JOINT_LEFT_WRIST_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + LeftWrist = 20, + + [NativeName("XR_BODY_JOINT_RIGHT_CLAVICLE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + RightClavicle = 21, + + [NativeName("XR_BODY_JOINT_RIGHT_SCAPULA_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + RightScapula = 22, + + [NativeName("XR_BODY_JOINT_RIGHT_ARM_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + RightArm = 23, + + [NativeName("XR_BODY_JOINT_RIGHT_ELBOW_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + RightElbow = 24, + + [NativeName("XR_BODY_JOINT_RIGHT_WRIST_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + RightWrist = 25, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationBD.gen.cs new file mode 100644 index 0000000000..6e3680cc4f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointLocationBD")] +[SupportedApiProfile("openxr")] +public partial struct BodyJointLocationBD +{ + [NativeName("locationFlags")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public SpaceLocationFlags LocationFlags; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public Posef Pose; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationFB.gen.cs new file mode 100644 index 0000000000..bcc2b6b6af --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointLocationFB")] +[SupportedApiProfile("openxr")] +public partial struct BodyJointLocationFB +{ + [NativeName("locationFlags")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public SpaceLocationFlags LocationFlags; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public Posef Pose; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationHTC.gen.cs new file mode 100644 index 0000000000..b197126fef --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointLocationHTC")] +[SupportedApiProfile("openxr")] +public partial struct BodyJointLocationHTC +{ + [NativeName("locationFlags")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public SpaceLocationFlags LocationFlags; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public Posef Pose; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationsBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationsBD.gen.cs new file mode 100644 index 0000000000..af3310b6ef --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationsBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointLocationsBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodyJointLocationsBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public StructureType Type = StructureType.TypeBodyJointLocationsBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public void* Next; + + [NativeName("allJointPosesTracked")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public MaybeBool AllJointPosesTracked; + + [NativeName("jointLocationCount")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public uint JointLocationCount; + + [NativeName("jointLocations")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public BodyJointLocationBD* JointLocations; + + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public BodyJointLocationsBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationsFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationsFB.gen.cs new file mode 100644 index 0000000000..663e6cbab2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointLocationsFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodyJointLocationsFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public StructureType Type = StructureType.TypeBodyJointLocationsFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public void* Next; + + [NativeName("isActive")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public MaybeBool IsActive; + + [NativeName("confidence")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public float Confidence; + + [NativeName("jointCount")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public uint JointCount; + + [NativeName("jointLocations")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public BodyJointLocationFB* JointLocations; + + [NativeName("skeletonChangedCount")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public uint SkeletonChangedCount; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public BodyJointLocationsFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationsHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationsHTC.gen.cs new file mode 100644 index 0000000000..0900ba9e0a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointLocationsHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointLocationsHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodyJointLocationsHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public StructureType Type = StructureType.TypeBodyJointLocationsHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public void* Next; + + [NativeName("combinedLocationFlags")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public SpaceLocationFlags CombinedLocationFlags; + + [NativeName("confidenceLevel")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public BodyJointConfidenceHTC ConfidenceLevel; + + [NativeName("jointLocationCount")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public uint JointLocationCount; + + [NativeName("jointLocations")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public BodyJointLocationHTC* JointLocations; + + [NativeName("skeletonGenerationId")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public uint SkeletonGenerationId; + + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public BodyJointLocationsHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointSetBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointSetBD.gen.cs new file mode 100644 index 0000000000..c757af3e9c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointSetBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointSetBD")] +[SupportedApiProfile("openxr")] +public enum BodyJointSetBD : uint +{ + [NativeName("XR_BODY_JOINT_SET_BODY_WITHOUT_ARM_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + BodyWithoutArm = 1, + + [NativeName("XR_BODY_JOINT_SET_FULL_BODY_JOINTS_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + FullBodyJoints = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointSetFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointSetFB.gen.cs new file mode 100644 index 0000000000..0a00ba0dc0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointSetFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointSetFB")] +[SupportedApiProfile("openxr")] +public enum BodyJointSetFB : uint +{ + [NativeName("XR_BODY_JOINT_SET_DEFAULT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + Default = 0, + + [NativeName("XR_BODY_JOINT_SET_FULL_BODY_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + FullBodyMETA = 1000274000, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointSetHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointSetHTC.gen.cs new file mode 100644 index 0000000000..f2f44330a1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointSetHTC.gen.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointSetHTC")] +[SupportedApiProfile("openxr")] +public enum BodyJointSetHTC : uint +{ + [NativeName("XR_BODY_JOINT_SET_FULL_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + Full = 0, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointsLocateInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointsLocateInfoBD.gen.cs new file mode 100644 index 0000000000..a5d0572356 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointsLocateInfoBD.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointsLocateInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodyJointsLocateInfoBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public StructureType Type = StructureType.TypeBodyJointsLocateInfoBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public BodyJointsLocateInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointsLocateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointsLocateInfoFB.gen.cs new file mode 100644 index 0000000000..0e7a85a18f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointsLocateInfoFB.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointsLocateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodyJointsLocateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public StructureType Type = StructureType.TypeBodyJointsLocateInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public BodyJointsLocateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyJointsLocateInfoHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyJointsLocateInfoHTC.gen.cs new file mode 100644 index 0000000000..4f36783301 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyJointsLocateInfoHTC.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyJointsLocateInfoHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodyJointsLocateInfoHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public StructureType Type = StructureType.TypeBodyJointsLocateInfoHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public BodyJointsLocateInfoHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodySkeletonFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodySkeletonFB.gen.cs new file mode 100644 index 0000000000..f6d5f6590d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodySkeletonFB.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodySkeletonFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodySkeletonFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public StructureType Type = StructureType.TypeBodySkeletonFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public void* Next; + + [NativeName("jointCount")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public uint JointCount; + + [NativeName("joints")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public BodySkeletonJointFB* Joints; + + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public BodySkeletonFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodySkeletonHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodySkeletonHTC.gen.cs new file mode 100644 index 0000000000..9753053390 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodySkeletonHTC.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodySkeletonHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodySkeletonHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public StructureType Type = StructureType.TypeBodySkeletonHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public void* Next; + + [NativeName("jointCount")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public uint JointCount; + + [NativeName("joints")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public BodySkeletonJointHTC* Joints; + + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public BodySkeletonHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodySkeletonJointFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodySkeletonJointFB.gen.cs new file mode 100644 index 0000000000..00c3db19e9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodySkeletonJointFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodySkeletonJointFB")] +[SupportedApiProfile("openxr")] +public partial struct BodySkeletonJointFB +{ + [NativeName("joint")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public int Joint; + + [NativeName("parentJoint")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public int ParentJoint; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public Posef Pose; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodySkeletonJointHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodySkeletonJointHTC.gen.cs new file mode 100644 index 0000000000..381f26f52c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodySkeletonJointHTC.gen.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodySkeletonJointHTC")] +[SupportedApiProfile("openxr")] +public partial struct BodySkeletonJointHTC +{ + [NativeName("pose")] + [SupportedApiProfile("openxr")] + public Posef Pose; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyTrackerCreateInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyTrackerCreateInfoBD.gen.cs new file mode 100644 index 0000000000..8f371e47ef --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyTrackerCreateInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyTrackerCreateInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodyTrackerCreateInfoBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public StructureType Type = StructureType.TypeBodyTrackerCreateInfoBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public void* Next; + + [NativeName("jointSet")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public BodyJointSetBD JointSet; + + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public BodyTrackerCreateInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyTrackerCreateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyTrackerCreateInfoFB.gen.cs new file mode 100644 index 0000000000..0ebaae4b52 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyTrackerCreateInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyTrackerCreateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodyTrackerCreateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public StructureType Type = StructureType.TypeBodyTrackerCreateInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public void* Next; + + [NativeName("bodyJointSet")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public BodyJointSetFB BodyJointSet; + + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public BodyTrackerCreateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyTrackerCreateInfoHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyTrackerCreateInfoHTC.gen.cs new file mode 100644 index 0000000000..d2b79b2bf5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyTrackerCreateInfoHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyTrackerCreateInfoHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodyTrackerCreateInfoHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public StructureType Type = StructureType.TypeBodyTrackerCreateInfoHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public void* Next; + + [NativeName("bodyJointSet")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public BodyJointSetHTC BodyJointSet; + + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public BodyTrackerCreateInfoHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyTrackingCalibrationInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyTrackingCalibrationInfoMETA.gen.cs new file mode 100644 index 0000000000..fd7f9f96bc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyTrackingCalibrationInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyTrackingCalibrationInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodyTrackingCalibrationInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public StructureType Type = StructureType.TypeBodyTrackingCalibrationInfoMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public void* Next; + + [NativeName("bodyHeight")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public float BodyHeight; + + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public BodyTrackingCalibrationInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyTrackingCalibrationStateMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyTrackingCalibrationStateMETA.gen.cs new file mode 100644 index 0000000000..898c4e608b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyTrackingCalibrationStateMETA.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyTrackingCalibrationStateMETA")] +[SupportedApiProfile("openxr")] +public enum BodyTrackingCalibrationStateMETA : uint +{ + [NativeName("XR_BODY_TRACKING_CALIBRATION_STATE_VALID_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + Valid = 1, + + [NativeName("XR_BODY_TRACKING_CALIBRATION_STATE_CALIBRATING_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + Calibrating = 2, + + [NativeName("XR_BODY_TRACKING_CALIBRATION_STATE_INVALID_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + Invalid = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyTrackingCalibrationStatusMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyTrackingCalibrationStatusMETA.gen.cs new file mode 100644 index 0000000000..2907c06570 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyTrackingCalibrationStatusMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyTrackingCalibrationStatusMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodyTrackingCalibrationStatusMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public StructureType Type = StructureType.TypeBodyTrackingCalibrationStatusMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public void* Next; + + [NativeName("status")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public BodyTrackingCalibrationStateMETA Status; + + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public BodyTrackingCalibrationStatusMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyTrackingFidelityMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyTrackingFidelityMETA.gen.cs new file mode 100644 index 0000000000..a761e84991 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyTrackingFidelityMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyTrackingFidelityMETA")] +[SupportedApiProfile("openxr")] +public enum BodyTrackingFidelityMETA : uint +{ + [NativeName("XR_BODY_TRACKING_FIDELITY_LOW_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + Low = 1, + + [NativeName("XR_BODY_TRACKING_FIDELITY_HIGH_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + High = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BodyTrackingFidelityStatusMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BodyTrackingFidelityStatusMETA.gen.cs new file mode 100644 index 0000000000..c1b9987899 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BodyTrackingFidelityStatusMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBodyTrackingFidelityStatusMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BodyTrackingFidelityStatusMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeBodyTrackingFidelityStatusMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("fidelity")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + public BodyTrackingFidelityMETA Fidelity; + + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + public BodyTrackingFidelityStatusMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BoundSourcesForActionEnumerateInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BoundSourcesForActionEnumerateInfo.gen.cs new file mode 100644 index 0000000000..7fa59a12d3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BoundSourcesForActionEnumerateInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBoundSourcesForActionEnumerateInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct BoundSourcesForActionEnumerateInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeBoundSourcesForActionEnumerateInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("action")] + [SupportedApiProfile("openxr")] + public ActionHandle Action; + + [SupportedApiProfile("openxr")] + public BoundSourcesForActionEnumerateInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Boundary2DFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Boundary2DFB.gen.cs new file mode 100644 index 0000000000..1c25b6347d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Boundary2DFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBoundary2DFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct Boundary2DFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeBoundary2DFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("vertexCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint VertexCapacityInput; + + [NativeName("vertexCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint VertexCountOutput; + + [NativeName("vertices")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Vector2F* Vertices; + + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Boundary2DFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/BoundaryVisibilityMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/BoundaryVisibilityMETA.gen.cs new file mode 100644 index 0000000000..89129a41e1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/BoundaryVisibilityMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBoundaryVisibilityMETA")] +[SupportedApiProfile("openxr")] +public enum BoundaryVisibilityMETA : uint +{ + [NativeName("XR_BOUNDARY_VISIBILITY_NOT_SUPPRESSED_META")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + NotSuppressed = 1, + + [NativeName("XR_BOUNDARY_VISIBILITY_SUPPRESSED_META")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + Suppressed = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Boxf.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Boxf.gen.cs new file mode 100644 index 0000000000..699656330c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Boxf.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrBoxf")] +[SupportedApiProfile("openxr")] +public partial struct Boxf +{ + [NativeName("center")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public Posef Center; + + [NativeName("extents")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public Extent3Df Extents; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ColocationAdvertisementStartInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ColocationAdvertisementStartInfoMETA.gen.cs new file mode 100644 index 0000000000..9303bcb2b8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ColocationAdvertisementStartInfoMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrColocationAdvertisementStartInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ColocationAdvertisementStartInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public StructureType Type = StructureType.TypeColocationAdvertisementStartInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public void* Next; + + [NativeName("bufferSize")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public uint BufferSize; + + [NativeName("buffer")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public byte* Buffer; + + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public ColocationAdvertisementStartInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ColocationAdvertisementStopInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ColocationAdvertisementStopInfoMETA.gen.cs new file mode 100644 index 0000000000..19fd0abc2b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ColocationAdvertisementStopInfoMETA.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrColocationAdvertisementStopInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ColocationAdvertisementStopInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public StructureType Type = StructureType.TypeColocationAdvertisementStopInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public ColocationAdvertisementStopInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ColocationDiscoveryStartInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ColocationDiscoveryStartInfoMETA.gen.cs new file mode 100644 index 0000000000..79e2d09aad --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ColocationDiscoveryStartInfoMETA.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrColocationDiscoveryStartInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ColocationDiscoveryStartInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public StructureType Type = StructureType.TypeColocationDiscoveryStartInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public ColocationDiscoveryStartInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ColocationDiscoveryStopInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ColocationDiscoveryStopInfoMETA.gen.cs new file mode 100644 index 0000000000..cb65cbc4ad --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ColocationDiscoveryStopInfoMETA.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrColocationDiscoveryStopInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ColocationDiscoveryStopInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public StructureType Type = StructureType.TypeColocationDiscoveryStopInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public ColocationDiscoveryStopInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Color3F.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Color3F.gen.cs new file mode 100644 index 0000000000..c3d9582423 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Color3F.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrColor3f")] +[SupportedApiProfile("openxr")] +public partial struct Color3F +{ + [NativeName("r")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public float R; + + [NativeName("g")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public float G; + + [NativeName("b")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public float B; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Color4F.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Color4F.gen.cs new file mode 100644 index 0000000000..301e367288 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Color4F.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrColor4f")] +[SupportedApiProfile("openxr")] +public partial struct Color4F +{ + [NativeName("r")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float R; + + [NativeName("g")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float G; + + [NativeName("b")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float B; + + [NativeName("a")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float A; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ColorSpaceFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ColorSpaceFB.gen.cs new file mode 100644 index 0000000000..8e8d988690 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ColorSpaceFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrColorSpaceFB")] +[SupportedApiProfile("openxr")] +public enum ColorSpaceFB : uint +{ + [NativeName("XR_COLOR_SPACE_UNMANAGED_FB")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + Unmanaged = 0, + + [NativeName("XR_COLOR_SPACE_REC2020_FB")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + Rec2020 = 1, + + [NativeName("XR_COLOR_SPACE_REC709_FB")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + Rec709 = 2, + + [NativeName("XR_COLOR_SPACE_RIFT_CV1_FB")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + RiftCv1 = 3, + + [NativeName("XR_COLOR_SPACE_RIFT_S_FB")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + RiftS = 4, + + [NativeName("XR_COLOR_SPACE_QUEST_FB")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + Quest = 5, + + [NativeName("XR_COLOR_SPACE_P3_FB")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + P3 = 6, + + [NativeName("XR_COLOR_SPACE_ADOBE_RGB_FB")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + AdobeRgb = 7, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompareOpFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompareOpFB.gen.cs new file mode 100644 index 0000000000..00a084b4ea --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompareOpFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompareOpFB")] +[SupportedApiProfile("openxr")] +public enum CompareOpFB : uint +{ + [NativeName("XR_COMPARE_OP_NEVER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + Never = 0, + + [NativeName("XR_COMPARE_OP_LESS_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + Less = 1, + + [NativeName("XR_COMPARE_OP_EQUAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + Equal = 2, + + [NativeName("XR_COMPARE_OP_LESS_OR_EQUAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + LessOrEqual = 3, + + [NativeName("XR_COMPARE_OP_GREATER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + Greater = 4, + + [NativeName("XR_COMPARE_OP_NOT_EQUAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + NotEqual = 5, + + [NativeName("XR_COMPARE_OP_GREATER_OR_EQUAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + GreaterOrEqual = 6, + + [NativeName("XR_COMPARE_OP_ALWAYS_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + Always = 7, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerAlphaBlendFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerAlphaBlendFB.gen.cs new file mode 100644 index 0000000000..6ed51b79f6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerAlphaBlendFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerAlphaBlendFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerAlphaBlendFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + public StructureType Type = StructureType.TypeCompositionLayerAlphaBlendFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + public void* Next; + + [NativeName("srcFactorColor")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + public BlendFactorFB SrcFactorColor; + + [NativeName("dstFactorColor")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + public BlendFactorFB DstFactorColor; + + [NativeName("srcFactorAlpha")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + public BlendFactorFB SrcFactorAlpha; + + [NativeName("dstFactorAlpha")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + public BlendFactorFB DstFactorAlpha; + + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + public CompositionLayerAlphaBlendFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerBaseHeader.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerBaseHeader.gen.cs new file mode 100644 index 0000000000..c134e95689 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerBaseHeader.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerBaseHeader")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerBaseHeader +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("layerFlags")] + [SupportedApiProfile("openxr")] + public CompositionLayerFlags LayerFlags; + + [NativeName("space")] + [SupportedApiProfile("openxr")] + public SpaceHandle Space; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerColorScaleBiasKHR.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerColorScaleBiasKHR.gen.cs new file mode 100644 index 0000000000..d9ac1435d7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerColorScaleBiasKHR.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerColorScaleBiasKHR")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerColorScaleBiasKHR +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_color_scale_bias"])] + public StructureType Type = StructureType.TypeCompositionLayerColorScaleBiasKHR; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_color_scale_bias"])] + public void* Next; + + [NativeName("colorScale")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_color_scale_bias"])] + public Color4F ColorScale; + + [NativeName("colorBias")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_color_scale_bias"])] + public Color4F ColorBias; + + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_color_scale_bias"])] + public CompositionLayerColorScaleBiasKHR() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerCubeKHR.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerCubeKHR.gen.cs new file mode 100644 index 0000000000..459a85a351 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerCubeKHR.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerCubeKHR")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerCubeKHR +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cube"])] + public StructureType Type = StructureType.TypeCompositionLayerCubeKHR; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cube"])] + public void* Next; + + [NativeName("layerFlags")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cube"])] + public CompositionLayerFlags LayerFlags; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cube"])] + public SpaceHandle Space; + + [NativeName("eyeVisibility")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cube"])] + public EyeVisibility EyeVisibility; + + [NativeName("swapchain")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cube"])] + public SwapchainHandle Swapchain; + + [NativeName("imageArrayIndex")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cube"])] + public uint ImageArrayIndex; + + [NativeName("orientation")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cube"])] + public Quaternionf Orientation; + + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cube"])] + public CompositionLayerCubeKHR() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerCylinderKHR.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerCylinderKHR.gen.cs new file mode 100644 index 0000000000..27e3c820ac --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerCylinderKHR.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerCylinderKHR")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerCylinderKHR +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public StructureType Type = StructureType.TypeCompositionLayerCylinderKHR; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public void* Next; + + [NativeName("layerFlags")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public CompositionLayerFlags LayerFlags; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public SpaceHandle Space; + + [NativeName("eyeVisibility")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public EyeVisibility EyeVisibility; + + [NativeName("subImage")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public SwapchainSubImage SubImage; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public Posef Pose; + + [NativeName("radius")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public float Radius; + + [NativeName("centralAngle")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public float CentralAngle; + + [NativeName("aspectRatio")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public float AspectRatio; + + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public CompositionLayerCylinderKHR() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerDepthInfoKHR.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerDepthInfoKHR.gen.cs new file mode 100644 index 0000000000..4b3dc78ca5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerDepthInfoKHR.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerDepthInfoKHR")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerDepthInfoKHR +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_depth"])] + public StructureType Type = StructureType.TypeCompositionLayerDepthInfoKHR; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_depth"])] + public void* Next; + + [NativeName("subImage")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_depth"])] + public SwapchainSubImage SubImage; + + [NativeName("minDepth")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_depth"])] + public float MinDepth; + + [NativeName("maxDepth")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_depth"])] + public float MaxDepth; + + [NativeName("nearZ")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_depth"])] + public float NearZ; + + [NativeName("farZ")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_depth"])] + public float FarZ; + + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_depth"])] + public CompositionLayerDepthInfoKHR() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerDepthTestFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerDepthTestFB.gen.cs new file mode 100644 index 0000000000..8b8ebb6836 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerDepthTestFB.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerDepthTestFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerDepthTestFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + public StructureType Type = StructureType.TypeCompositionLayerDepthTestFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + public void* Next; + + [NativeName("depthMask")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + public MaybeBool DepthMask; + + [NativeName("compareOp")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + public CompareOpFB CompareOp; + + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + public CompositionLayerDepthTestFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerDepthTestVARJO.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerDepthTestVARJO.gen.cs new file mode 100644 index 0000000000..527a4f677d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerDepthTestVARJO.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerDepthTestVARJO")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerDepthTestVARJO +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_composition_layer_depth_test"], + ImpliesSets = ["XR_KHR_composition_layer_depth", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeCompositionLayerDepthTestVARJO; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_composition_layer_depth_test"], + ImpliesSets = ["XR_KHR_composition_layer_depth", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("depthTestRangeNearZ")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_composition_layer_depth_test"], + ImpliesSets = ["XR_KHR_composition_layer_depth", "XR_VERSION_1_0"] + )] + public float DepthTestRangeNearZ; + + [NativeName("depthTestRangeFarZ")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_composition_layer_depth_test"], + ImpliesSets = ["XR_KHR_composition_layer_depth", "XR_VERSION_1_0"] + )] + public float DepthTestRangeFarZ; + + [SupportedApiProfile( + "openxr", + ["XR_VARJO_composition_layer_depth_test"], + ImpliesSets = ["XR_KHR_composition_layer_depth", "XR_VERSION_1_0"] + )] + public CompositionLayerDepthTestVARJO() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerEquirect2KHR.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerEquirect2KHR.gen.cs new file mode 100644 index 0000000000..e1003b4f2f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerEquirect2KHR.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerEquirect2KHR")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerEquirect2KHR +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public StructureType Type = StructureType.TypeCompositionLayerEquirect2KHR; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public void* Next; + + [NativeName("layerFlags")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public CompositionLayerFlags LayerFlags; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public SpaceHandle Space; + + [NativeName("eyeVisibility")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public EyeVisibility EyeVisibility; + + [NativeName("subImage")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public SwapchainSubImage SubImage; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public Posef Pose; + + [NativeName("radius")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public float Radius; + + [NativeName("centralHorizontalAngle")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public float CentralHorizontalAngle; + + [NativeName("upperVerticalAngle")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public float UpperVerticalAngle; + + [NativeName("lowerVerticalAngle")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public float LowerVerticalAngle; + + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public CompositionLayerEquirect2KHR() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerEquirectKHR.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerEquirectKHR.gen.cs new file mode 100644 index 0000000000..fcb135b814 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerEquirectKHR.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerEquirectKHR")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerEquirectKHR +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public StructureType Type = StructureType.TypeCompositionLayerEquirectKHR; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public void* Next; + + [NativeName("layerFlags")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public CompositionLayerFlags LayerFlags; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public SpaceHandle Space; + + [NativeName("eyeVisibility")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public EyeVisibility EyeVisibility; + + [NativeName("subImage")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public SwapchainSubImage SubImage; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public Posef Pose; + + [NativeName("radius")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public float Radius; + + [NativeName("scale")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public Vector2F Scale; + + [NativeName("bias")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public Vector2F Bias; + + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public CompositionLayerEquirectKHR() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerImageLayoutFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerImageLayoutFB.gen.cs new file mode 100644 index 0000000000..b54ee58d0c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerImageLayoutFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerImageLayoutFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerImageLayoutFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_image_layout"])] + public StructureType Type = StructureType.TypeCompositionLayerImageLayoutFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_image_layout"])] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_image_layout"])] + public CompositionLayerImageLayoutFlagsFB Flags; + + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_image_layout"])] + public CompositionLayerImageLayoutFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerPassthroughANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerPassthroughANDROID.gen.cs new file mode 100644 index 0000000000..b51ed8f87c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerPassthroughANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerPassthroughANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerPassthroughANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public StructureType Type = StructureType.TypeCompositionLayerPassthroughANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public void* Next; + + [NativeName("layerFlags")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public CompositionLayerFlags LayerFlags; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public SpaceHandle Space; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public Posef Pose; + + [NativeName("scale")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public Vector3F Scale; + + [NativeName("opacity")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public float Opacity; + + [NativeName("layer")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public PassthroughLayerHandleANDROID Layer; + + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public CompositionLayerPassthroughANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerPassthroughFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerPassthroughFB.gen.cs new file mode 100644 index 0000000000..1c718b73d7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerPassthroughFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerPassthroughFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerPassthroughFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public StructureType Type = StructureType.TypeCompositionLayerPassthroughFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public CompositionLayerFlags Flags; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public SpaceHandle Space; + + [NativeName("layerHandle")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughLayerHandleFB LayerHandle; + + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public CompositionLayerPassthroughFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerPassthroughHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerPassthroughHTC.gen.cs new file mode 100644 index 0000000000..03863fd753 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerPassthroughHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerPassthroughHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerPassthroughHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public StructureType Type = StructureType.TypeCompositionLayerPassthroughHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public void* Next; + + [NativeName("layerFlags")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public CompositionLayerFlags LayerFlags; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public SpaceHandle Space; + + [NativeName("passthrough")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public PassthroughHandleHTC Passthrough; + + [NativeName("color")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public PassthroughColorHTC Color; + + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public CompositionLayerPassthroughHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerProjection.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerProjection.gen.cs new file mode 100644 index 0000000000..cddc663328 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerProjection.gen.cs @@ -0,0 +1,69 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerProjection")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerProjection +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public StructureType Type = StructureType.TypeCompositionLayerProjection; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public void* Next; + + [NativeName("layerFlags")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public CompositionLayerFlags LayerFlags; + + [NativeName("space")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public SpaceHandle Space; + + [NativeName("viewCount")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public uint ViewCount; + + [NativeName("views")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public CompositionLayerProjectionView* Views; + + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public CompositionLayerProjection() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerProjectionView.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerProjectionView.gen.cs new file mode 100644 index 0000000000..ada79b7a63 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerProjectionView.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerProjectionView")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerProjectionView +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeCompositionLayerProjectionView; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("pose")] + [SupportedApiProfile("openxr")] + public Posef Pose; + + [NativeName("fov")] + [SupportedApiProfile("openxr")] + public Fovf Fov; + + [NativeName("subImage")] + [SupportedApiProfile("openxr")] + public SwapchainSubImage SubImage; + + [SupportedApiProfile("openxr")] + public CompositionLayerProjectionView() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerQuad.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerQuad.gen.cs new file mode 100644 index 0000000000..f2b554b3b3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerQuad.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerQuad")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerQuad +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public StructureType Type = StructureType.TypeCompositionLayerQuad; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public void* Next; + + [NativeName("layerFlags")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public CompositionLayerFlags LayerFlags; + + [NativeName("space")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public SpaceHandle Space; + + [NativeName("eyeVisibility")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public EyeVisibility EyeVisibility; + + [NativeName("subImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public SwapchainSubImage SubImage; + + [NativeName("pose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public Posef Pose; + + [NativeName("size")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public Extent2Df Size; + + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public CompositionLayerQuad() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerReprojectionInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerReprojectionInfoMSFT.gen.cs new file mode 100644 index 0000000000..74bb1c90e0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerReprojectionInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerReprojectionInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerReprojectionInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + public StructureType Type = StructureType.TypeCompositionLayerReprojectionInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + public void* Next; + + [NativeName("reprojectionMode")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + public ReprojectionModeMSFT ReprojectionMode; + + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + public CompositionLayerReprojectionInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerReprojectionPlaneOverrideMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerReprojectionPlaneOverrideMSFT.gen.cs new file mode 100644 index 0000000000..aa6befd721 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerReprojectionPlaneOverrideMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerReprojectionPlaneOverrideMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerReprojectionPlaneOverrideMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + public StructureType Type = StructureType.TypeCompositionLayerReprojectionPlaneOverrideMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + public void* Next; + + [NativeName("position")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + public Vector3F Position; + + [NativeName("normal")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + public Vector3F Normal; + + [NativeName("velocity")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + public Vector3F Velocity; + + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + public CompositionLayerReprojectionPlaneOverrideMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerSecureContentFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerSecureContentFB.gen.cs new file mode 100644 index 0000000000..22fc6efb6b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerSecureContentFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerSecureContentFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerSecureContentFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_secure_content"])] + public StructureType Type = StructureType.TypeCompositionLayerSecureContentFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_secure_content"])] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_secure_content"])] + public CompositionLayerSecureContentFlagsFB Flags; + + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_secure_content"])] + public CompositionLayerSecureContentFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerSettingsFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerSettingsFB.gen.cs new file mode 100644 index 0000000000..c44d0d7c2c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerSettingsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerSettingsFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerSettingsFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_settings"])] + public StructureType Type = StructureType.TypeCompositionLayerSettingsFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_settings"])] + public void* Next; + + [NativeName("layerFlags")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_settings"])] + public CompositionLayerSettingsFlagsFB LayerFlags; + + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_settings"])] + public CompositionLayerSettingsFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CompositionLayerSpaceWarpInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerSpaceWarpInfoFB.gen.cs new file mode 100644 index 0000000000..f49561ad33 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CompositionLayerSpaceWarpInfoFB.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCompositionLayerSpaceWarpInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CompositionLayerSpaceWarpInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public StructureType Type = StructureType.TypeCompositionLayerSpaceWarpInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public void* Next; + + [NativeName("layerFlags")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public CompositionLayerSpaceWarpInfoFlagsFB LayerFlags; + + [NativeName("motionVectorSubImage")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public SwapchainSubImage MotionVectorSubImage; + + [NativeName("appSpaceDeltaPose")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public Posef AppSpaceDeltaPose; + + [NativeName("depthSubImage")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public SwapchainSubImage DepthSubImage; + + [NativeName("minDepth")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public float MinDepth; + + [NativeName("maxDepth")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public float MaxDepth; + + [NativeName("nearZ")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public float NearZ; + + [NativeName("farZ")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public float FarZ; + + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public CompositionLayerSpaceWarpInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ControllerModelKeyStateMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ControllerModelKeyStateMSFT.gen.cs new file mode 100644 index 0000000000..916a484b50 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ControllerModelKeyStateMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrControllerModelKeyStateMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ControllerModelKeyStateMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public StructureType Type = StructureType.TypeControllerModelKeyStateMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public void* Next; + + [NativeName("modelKey")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public ulong ModelKey; + + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public ControllerModelKeyStateMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ControllerModelNodePropertiesMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ControllerModelNodePropertiesMSFT.gen.cs new file mode 100644 index 0000000000..fb436aa0a7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ControllerModelNodePropertiesMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrControllerModelNodePropertiesMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ControllerModelNodePropertiesMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public StructureType Type = StructureType.TypeControllerModelNodePropertiesMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public void* Next; + + [NativeName("parentNodeName")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public ControllerModelNodePropertiesMSFTParentNodeName ParentNodeName; + + [NativeName("nodeName")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public ControllerModelNodePropertiesMSFTNodeName NodeName; + + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public ControllerModelNodePropertiesMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ControllerModelNodePropertiesMSFTNodeName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ControllerModelNodePropertiesMSFTNodeName.gen.cs new file mode 100644 index 0000000000..dd0bff2748 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ControllerModelNodePropertiesMSFTNodeName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_nodeName_e__FixedBuffer")] +[InlineArray(64)] +[SupportedApiProfile("openxr")] +public partial struct ControllerModelNodePropertiesMSFTNodeName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ControllerModelNodePropertiesMSFTParentNodeName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ControllerModelNodePropertiesMSFTParentNodeName.gen.cs new file mode 100644 index 0000000000..97a80cf3c9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ControllerModelNodePropertiesMSFTParentNodeName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_parentNodeName_e__FixedBuffer")] +[InlineArray(64)] +[SupportedApiProfile("openxr")] +public partial struct ControllerModelNodePropertiesMSFTParentNodeName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ControllerModelNodeStateMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ControllerModelNodeStateMSFT.gen.cs new file mode 100644 index 0000000000..8cede391d4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ControllerModelNodeStateMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrControllerModelNodeStateMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ControllerModelNodeStateMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public StructureType Type = StructureType.TypeControllerModelNodeStateMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public void* Next; + + [NativeName("nodePose")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public Posef NodePose; + + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public ControllerModelNodeStateMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ControllerModelPropertiesMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ControllerModelPropertiesMSFT.gen.cs new file mode 100644 index 0000000000..1e01a2a49d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ControllerModelPropertiesMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrControllerModelPropertiesMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ControllerModelPropertiesMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public StructureType Type = StructureType.TypeControllerModelPropertiesMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public void* Next; + + [NativeName("nodeCapacityInput")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public uint NodeCapacityInput; + + [NativeName("nodeCountOutput")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public uint NodeCountOutput; + + [NativeName("nodeProperties")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public ControllerModelNodePropertiesMSFT* NodeProperties; + + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public ControllerModelPropertiesMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ControllerModelStateMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ControllerModelStateMSFT.gen.cs new file mode 100644 index 0000000000..5fe859c29d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ControllerModelStateMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrControllerModelStateMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ControllerModelStateMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public StructureType Type = StructureType.TypeControllerModelStateMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public void* Next; + + [NativeName("nodeCapacityInput")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public uint NodeCapacityInput; + + [NativeName("nodeCountOutput")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public uint NodeCountOutput; + + [NativeName("nodeStates")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public ControllerModelNodeStateMSFT* NodeStates; + + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public ControllerModelStateMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CreateSpatialAnchorsCompletionML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CreateSpatialAnchorsCompletionML.gen.cs new file mode 100644 index 0000000000..e94e9bc700 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CreateSpatialAnchorsCompletionML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCreateSpatialAnchorsCompletionML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CreateSpatialAnchorsCompletionML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeCreateSpatialAnchorsCompletionML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public Result FutureResult; + + [NativeName("spaceCount")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public uint SpaceCount; + + [NativeName("spaces")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public SpaceHandle* Spaces; + + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public CreateSpatialAnchorsCompletionML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CreateSpatialContextCompletionEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CreateSpatialContextCompletionEXT.gen.cs new file mode 100644 index 0000000000..62db26687a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CreateSpatialContextCompletionEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCreateSpatialContextCompletionEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CreateSpatialContextCompletionEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeCreateSpatialContextCompletionEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public Result FutureResult; + + [NativeName("spatialContext")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialContextHandleEXT SpatialContext; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public CreateSpatialContextCompletionEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CreateSpatialDiscoverySnapshotCompletionEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CreateSpatialDiscoverySnapshotCompletionEXT.gen.cs new file mode 100644 index 0000000000..594f7edbd8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CreateSpatialDiscoverySnapshotCompletionEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCreateSpatialDiscoverySnapshotCompletionEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CreateSpatialDiscoverySnapshotCompletionEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeCreateSpatialDiscoverySnapshotCompletionEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public Result FutureResult; + + [NativeName("snapshot")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialSnapshotHandleEXT Snapshot; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public CreateSpatialDiscoverySnapshotCompletionEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CreateSpatialDiscoverySnapshotCompletionInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CreateSpatialDiscoverySnapshotCompletionInfoEXT.gen.cs new file mode 100644 index 0000000000..32c5cb79e9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CreateSpatialDiscoverySnapshotCompletionInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCreateSpatialDiscoverySnapshotCompletionInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CreateSpatialDiscoverySnapshotCompletionInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeCreateSpatialDiscoverySnapshotCompletionInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public long Time; + + [NativeName("future")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public FutureHandleEXT Future; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public CreateSpatialDiscoverySnapshotCompletionInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CreateSpatialPersistenceContextCompletionEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CreateSpatialPersistenceContextCompletionEXT.gen.cs new file mode 100644 index 0000000000..5f2b331513 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CreateSpatialPersistenceContextCompletionEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCreateSpatialPersistenceContextCompletionEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CreateSpatialPersistenceContextCompletionEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeCreateSpatialPersistenceContextCompletionEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public Result FutureResult; + + [NativeName("createResult")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public SpatialPersistenceContextResultEXT CreateResult; + + [NativeName("persistenceContext")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public SpatialPersistenceContextHandleEXT PersistenceContext; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public CreateSpatialPersistenceContextCompletionEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/CreateTrackableImageDatabaseCompletionANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/CreateTrackableImageDatabaseCompletionANDROID.gen.cs new file mode 100644 index 0000000000..beb3ba5fe9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/CreateTrackableImageDatabaseCompletionANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrCreateTrackableImageDatabaseCompletionANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct CreateTrackableImageDatabaseCompletionANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeCreateTrackableImageDatabaseCompletionANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public Result FutureResult; + + [NativeName("database")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public TrackableImageDatabaseHandleANDROID Database; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public CreateTrackableImageDatabaseCompletionANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/DebugUtilsLabelEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/DebugUtilsLabelEXT.gen.cs new file mode 100644 index 0000000000..7b966875a3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/DebugUtilsLabelEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrDebugUtilsLabelEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct DebugUtilsLabelEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public StructureType Type = StructureType.TypeDebugUtilsLabelEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public void* Next; + + [NativeName("labelName")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public sbyte* LabelName; + + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public DebugUtilsLabelEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/DebugUtilsMessengerCallbackDataEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/DebugUtilsMessengerCallbackDataEXT.gen.cs new file mode 100644 index 0000000000..e74258b4c1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/DebugUtilsMessengerCallbackDataEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrDebugUtilsMessengerCallbackDataEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct DebugUtilsMessengerCallbackDataEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public StructureType Type = StructureType.TypeDebugUtilsMessengerCallbackDataEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public void* Next; + + [NativeName("messageId")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public sbyte* MessageId; + + [NativeName("functionName")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public sbyte* FunctionName; + + [NativeName("message")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public sbyte* Message; + + [NativeName("objectCount")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public uint ObjectCount; + + [NativeName("objects")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public DebugUtilsObjectNameInfoEXT* Objects; + + [NativeName("sessionLabelCount")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public uint SessionLabelCount; + + [NativeName("sessionLabels")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public DebugUtilsLabelEXT* SessionLabels; + + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public DebugUtilsMessengerCallbackDataEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/DebugUtilsMessengerCallbackEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/DebugUtilsMessengerCallbackEXT.gen.cs new file mode 100644 index 0000000000..49da83dde4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/DebugUtilsMessengerCallbackEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("PFN_xrDebugUtilsMessengerCallbackEXT")] +[SupportedApiProfile("openxr")] +public readonly unsafe struct DebugUtilsMessengerCallbackEXT : IDisposable +{ + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + private readonly void* Pointer; + + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public delegate* unmanaged< + ulong, + ulong, + DebugUtilsMessengerCallbackDataEXT*, + void*, + uint> Handle => + (delegate* unmanaged< + ulong, + ulong, + DebugUtilsMessengerCallbackDataEXT*, + void*, + uint>)Pointer; + + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public DebugUtilsMessengerCallbackEXT( + delegate* unmanaged ptr + ) => Pointer = ptr; + + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public DebugUtilsMessengerCallbackEXT(DebugUtilsMessengerCallbackEXTDelegate proc) => + Pointer = SilkMarshal.DelegateToPtr(proc); + + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public void Dispose() => SilkMarshal.Free(Pointer); + + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public static implicit operator DebugUtilsMessengerCallbackEXT( + delegate* unmanaged pfn + ) => new(pfn); + + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public static implicit operator delegate* unmanaged< + ulong, + ulong, + DebugUtilsMessengerCallbackDataEXT*, + void*, + uint>(DebugUtilsMessengerCallbackEXT pfn) => + (delegate* unmanaged) + pfn.Pointer; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/DebugUtilsMessengerCallbackEXTDelegate.gen.cs b/sources/OpenXR/OpenXR/OpenXR/DebugUtilsMessengerCallbackEXTDelegate.gen.cs new file mode 100644 index 0000000000..58d63d2f9e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/DebugUtilsMessengerCallbackEXTDelegate.gen.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("PFN_xrDebugUtilsMessengerCallbackEXT")] +[SupportedApiProfile("openxr")] +public unsafe delegate uint DebugUtilsMessengerCallbackEXTDelegate( + ulong arg0, + ulong arg1, + DebugUtilsMessengerCallbackDataEXT* arg2, + void* arg3 +); diff --git a/sources/OpenXR/OpenXR/OpenXR/DebugUtilsMessengerCreateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/DebugUtilsMessengerCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..c7ca733060 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/DebugUtilsMessengerCreateInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrDebugUtilsMessengerCreateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct DebugUtilsMessengerCreateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public StructureType Type = StructureType.TypeDebugUtilsMessengerCreateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public void* Next; + + [NativeName("messageSeverities")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public DebugUtilsMessageSeverityFlagsEXT MessageSeverities; + + [NativeName("messageTypes")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public DebugUtilsMessageTypeFlagsEXT MessageTypes; + + [NativeName("userCallback")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public DebugUtilsMessengerCallbackEXT UserCallback; + + [NativeName("userData")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public void* UserData; + + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public DebugUtilsMessengerCreateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/DebugUtilsObjectNameInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/DebugUtilsObjectNameInfoEXT.gen.cs new file mode 100644 index 0000000000..070b2646c7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/DebugUtilsObjectNameInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrDebugUtilsObjectNameInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct DebugUtilsObjectNameInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public StructureType Type = StructureType.TypeDebugUtilsObjectNameInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public void* Next; + + [NativeName("objectType")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public ObjectType ObjectType; + + [NativeName("objectHandle")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public ulong ObjectHandle; + + [NativeName("objectName")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public sbyte* ObjectName; + + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public DebugUtilsObjectNameInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/DeserializeSceneFragmentMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/DeserializeSceneFragmentMSFT.gen.cs new file mode 100644 index 0000000000..bfa43754a0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/DeserializeSceneFragmentMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrDeserializeSceneFragmentMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct DeserializeSceneFragmentMSFT +{ + [NativeName("bufferSize")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public uint BufferSize; + + [NativeName("buffer")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public byte* Buffer; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/DeviceAnchorPersistenceCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/DeviceAnchorPersistenceCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..45b7ade7c3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/DeviceAnchorPersistenceCreateInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrDeviceAnchorPersistenceCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct DeviceAnchorPersistenceCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public StructureType Type = StructureType.TypeDeviceAnchorPersistenceCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public DeviceAnchorPersistenceCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/DevicePcmSampleRateStateFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/DevicePcmSampleRateStateFB.gen.cs new file mode 100644 index 0000000000..aea3593683 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/DevicePcmSampleRateStateFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrDevicePcmSampleRateStateFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct DevicePcmSampleRateStateFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public StructureType Type = StructureType.TypeDevicePcmSampleRateStateFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public void* Next; + + [NativeName("sampleRate")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public float SampleRate; + + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public DevicePcmSampleRateStateFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/DigitalLensControlALMALENCE.gen.cs b/sources/OpenXR/OpenXR/OpenXR/DigitalLensControlALMALENCE.gen.cs new file mode 100644 index 0000000000..4d8c820fec --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/DigitalLensControlALMALENCE.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrDigitalLensControlALMALENCE")] +[SupportedApiProfile("openxr")] +public unsafe partial struct DigitalLensControlALMALENCE +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeDigitalLensControlALMALENCE; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile("openxr")] + public DigitalLensControlFlagsALMALENCE Flags; + + [SupportedApiProfile("openxr")] + public DigitalLensControlALMALENCE() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/DirectionalLightANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/DirectionalLightANDROID.gen.cs new file mode 100644 index 0000000000..fa588787d0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/DirectionalLightANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrDirectionalLightANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct DirectionalLightANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public StructureType Type = StructureType.TypeDirectionalLightANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public void* Next; + + [NativeName("state")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public LightEstimateStateANDROID State; + + [NativeName("intensity")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public Vector3F Intensity; + + [NativeName("direction")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public Vector3F Direction; + + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public DirectionalLightANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentBlendMode.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentBlendMode.gen.cs new file mode 100644 index 0000000000..04227831e7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentBlendMode.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentBlendMode")] +[SupportedApiProfile("openxr")] +public enum EnvironmentBlendMode : uint +{ + [NativeName("XR_ENVIRONMENT_BLEND_MODE_OPAQUE")] + [SupportedApiProfile("openxr")] + Opaque = 1, + + [NativeName("XR_ENVIRONMENT_BLEND_MODE_ADDITIVE")] + [SupportedApiProfile("openxr")] + Additive = 2, + + [NativeName("XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND")] + [SupportedApiProfile("openxr")] + AlphaBlend = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthHandRemovalSetInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthHandRemovalSetInfoMETA.gen.cs new file mode 100644 index 0000000000..f4f73191f1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthHandRemovalSetInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentDepthHandRemovalSetInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentDepthHandRemovalSetInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public StructureType Type = StructureType.TypeEnvironmentDepthHandRemovalSetInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public void* Next; + + [NativeName("enabled")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public MaybeBool Enabled; + + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public EnvironmentDepthHandRemovalSetInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageAcquireInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageAcquireInfoMETA.gen.cs new file mode 100644 index 0000000000..37b0fa8afc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageAcquireInfoMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentDepthImageAcquireInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentDepthImageAcquireInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public StructureType Type = StructureType.TypeEnvironmentDepthImageAcquireInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public void* Next; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public SpaceHandle Space; + + [NativeName("displayTime")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public long DisplayTime; + + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public EnvironmentDepthImageAcquireInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageMETA.gen.cs new file mode 100644 index 0000000000..b644f26fe5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentDepthImageMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentDepthImageMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public StructureType Type = StructureType.TypeEnvironmentDepthImageMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public void* Next; + + [NativeName("swapchainIndex")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public uint SwapchainIndex; + + [NativeName("nearZ")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public float NearZ; + + [NativeName("farZ")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public float FarZ; + + [NativeName("views")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public EnvironmentDepthImageMETAViews Views; + + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public EnvironmentDepthImageMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageMETAViews.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageMETAViews.gen.cs new file mode 100644 index 0000000000..ebd39cca9f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageMETAViews.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_views_e__FixedBuffer")] +[InlineArray(2)] +[SupportedApiProfile("openxr")] +public partial struct EnvironmentDepthImageMETAViews +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public EnvironmentDepthImageViewMETA E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageTimestampMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageTimestampMETA.gen.cs new file mode 100644 index 0000000000..78f43ccd76 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageTimestampMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentDepthImageTimestampMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentDepthImageTimestampMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public StructureType Type = StructureType.TypeEnvironmentDepthImageTimestampMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public void* Next; + + [NativeName("captureTime")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public long CaptureTime; + + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public EnvironmentDepthImageTimestampMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageViewMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageViewMETA.gen.cs new file mode 100644 index 0000000000..c75a8be05b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthImageViewMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentDepthImageViewMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentDepthImageViewMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public StructureType Type = StructureType.TypeEnvironmentDepthImageViewMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public void* Next; + + [NativeName("fov")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public Fovf Fov; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public Posef Pose; + + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public EnvironmentDepthImageViewMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthProviderCreateInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthProviderCreateInfoMETA.gen.cs new file mode 100644 index 0000000000..9fc007cccb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthProviderCreateInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentDepthProviderCreateInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentDepthProviderCreateInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public StructureType Type = StructureType.TypeEnvironmentDepthProviderCreateInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public void* Next; + + [NativeName("createFlags")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public EnvironmentDepthProviderCreateFlagsMETA CreateFlags; + + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public EnvironmentDepthProviderCreateInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthSwapchainCreateInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthSwapchainCreateInfoMETA.gen.cs new file mode 100644 index 0000000000..d65a70f5d2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthSwapchainCreateInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentDepthSwapchainCreateInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentDepthSwapchainCreateInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public StructureType Type = StructureType.TypeEnvironmentDepthSwapchainCreateInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public void* Next; + + [NativeName("createFlags")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public EnvironmentDepthSwapchainCreateFlagsMETA CreateFlags; + + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public EnvironmentDepthSwapchainCreateInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthSwapchainStateMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthSwapchainStateMETA.gen.cs new file mode 100644 index 0000000000..b52195d76a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentDepthSwapchainStateMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentDepthSwapchainStateMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentDepthSwapchainStateMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public StructureType Type = StructureType.TypeEnvironmentDepthSwapchainStateMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public void* Next; + + [NativeName("width")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public uint Width; + + [NativeName("height")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public uint Height; + + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public EnvironmentDepthSwapchainStateMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastFilterBaseHeaderMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastFilterBaseHeaderMETA.gen.cs new file mode 100644 index 0000000000..a8c25e5ef0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastFilterBaseHeaderMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentRaycastFilterBaseHeaderMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentRaycastFilterBaseHeaderMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastFilterDistanceMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastFilterDistanceMETA.gen.cs new file mode 100644 index 0000000000..826c6cb161 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastFilterDistanceMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentRaycastFilterDistanceMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentRaycastFilterDistanceMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeEnvironmentRaycastFilterDistanceMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public void* Next; + + [NativeName("maxDistance")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public float MaxDistance; + + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public EnvironmentRaycastFilterDistanceMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastHitGetInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastHitGetInfoMETA.gen.cs new file mode 100644 index 0000000000..34374d3fb6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastHitGetInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentRaycastHitGetInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentRaycastHitGetInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeEnvironmentRaycastHitGetInfoMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public long Time; + + [NativeName("origin")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public Vector3F Origin; + + [NativeName("direction")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public Vector3F Direction; + + [NativeName("filterCount")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public uint FilterCount; + + [NativeName("filters")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public EnvironmentRaycastFilterBaseHeaderMETA** Filters; + + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public EnvironmentRaycastHitGetInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastHitMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastHitMETA.gen.cs new file mode 100644 index 0000000000..18b1d5083e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastHitMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentRaycastHitMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentRaycastHitMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeEnvironmentRaycastHitMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public void* Next; + + [NativeName("status")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public EnvironmentRaycastHitStatusMETA Status; + + [NativeName("pose")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public Posef Pose; + + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public EnvironmentRaycastHitMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastHitStatusMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastHitStatusMETA.gen.cs new file mode 100644 index 0000000000..518d486932 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycastHitStatusMETA.gen.cs @@ -0,0 +1,62 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentRaycastHitStatusMETA")] +[SupportedApiProfile("openxr")] +public enum EnvironmentRaycastHitStatusMETA : uint +{ + [NativeName("XR_ENVIRONMENT_RAYCAST_HIT_STATUS_HIT_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + Hit = 1, + + [NativeName("XR_ENVIRONMENT_RAYCAST_HIT_STATUS_NO_HIT_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + NoHit = 2, + + [NativeName("XR_ENVIRONMENT_RAYCAST_HIT_STATUS_HIT_POINT_OCCLUDED_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + HitPointOccluded = 3, + + [NativeName("XR_ENVIRONMENT_RAYCAST_HIT_STATUS_HIT_POINT_OUTSIDE_OF_FOV_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + HitPointOutsideOfFov = 4, + + [NativeName("XR_ENVIRONMENT_RAYCAST_HIT_STATUS_RAY_OCCLUDED_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + RayOccluded = 5, + + [NativeName("XR_ENVIRONMENT_RAYCAST_HIT_STATUS_HIT_INVALID_ORIENTATION_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + HitInvalidOrientation = 6, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycasterCreateCompletionMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycasterCreateCompletionMETA.gen.cs new file mode 100644 index 0000000000..5e2fdac63e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycasterCreateCompletionMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentRaycasterCreateCompletionMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentRaycasterCreateCompletionMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeEnvironmentRaycasterCreateCompletionMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public Result FutureResult; + + [NativeName("environmentRaycaster")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public EnvironmentRaycasterHandleMETA EnvironmentRaycaster; + + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public EnvironmentRaycasterCreateCompletionMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycasterCreateInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycasterCreateInfoMETA.gen.cs new file mode 100644 index 0000000000..cfb43db6e7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EnvironmentRaycasterCreateInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEnvironmentRaycasterCreateInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EnvironmentRaycasterCreateInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeEnvironmentRaycasterCreateInfoMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public EnvironmentRaycasterCreateInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataBaseHeader.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataBaseHeader.gen.cs new file mode 100644 index 0000000000..4831db1ead --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataBaseHeader.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataBaseHeader")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataBaseHeader +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataBoundaryVisibilityChangedMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataBoundaryVisibilityChangedMETA.gen.cs new file mode 100644 index 0000000000..3149df935d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataBoundaryVisibilityChangedMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataBoundaryVisibilityChangedMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataBoundaryVisibilityChangedMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + public StructureType Type = StructureType.TypeEventDataBoundaryVisibilityChangedMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + public void* Next; + + [NativeName("boundaryVisibility")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + public BoundaryVisibilityMETA BoundaryVisibility; + + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + public EventDataBoundaryVisibilityChangedMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataBuffer.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataBuffer.gen.cs new file mode 100644 index 0000000000..6d78bb0268 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataBuffer.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataBuffer")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataBuffer +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeEventDataBuffer; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("varying")] + [SupportedApiProfile("openxr")] + public EventDataBufferVarying Varying; + + [SupportedApiProfile("openxr")] + public EventDataBuffer() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataBufferVarying.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataBufferVarying.gen.cs new file mode 100644 index 0000000000..970ed7a9d5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataBufferVarying.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_varying_e__FixedBuffer")] +[InlineArray(4000)] +[SupportedApiProfile("openxr")] +public partial struct EventDataBufferVarying +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public byte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataColocationAdvertisementCompleteMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataColocationAdvertisementCompleteMETA.gen.cs new file mode 100644 index 0000000000..a00510cf74 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataColocationAdvertisementCompleteMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataColocationAdvertisementCompleteMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataColocationAdvertisementCompleteMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public StructureType Type = StructureType.TypeEventDataColocationAdvertisementCompleteMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public void* Next; + + [NativeName("advertisementRequestId")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public ulong AdvertisementRequestId; + + [NativeName("result")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public Result Result; + + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public EventDataColocationAdvertisementCompleteMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataColocationDiscoveryCompleteMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataColocationDiscoveryCompleteMETA.gen.cs new file mode 100644 index 0000000000..79a7156f11 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataColocationDiscoveryCompleteMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataColocationDiscoveryCompleteMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataColocationDiscoveryCompleteMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public StructureType Type = StructureType.TypeEventDataColocationDiscoveryCompleteMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public void* Next; + + [NativeName("discoveryRequestId")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public ulong DiscoveryRequestId; + + [NativeName("result")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public Result Result; + + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public EventDataColocationDiscoveryCompleteMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataColocationDiscoveryResultMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataColocationDiscoveryResultMETA.gen.cs new file mode 100644 index 0000000000..5668804717 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataColocationDiscoveryResultMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataColocationDiscoveryResultMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataColocationDiscoveryResultMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public StructureType Type = StructureType.TypeEventDataColocationDiscoveryResultMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public void* Next; + + [NativeName("discoveryRequestId")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public ulong DiscoveryRequestId; + + [NativeName("advertisementUuid")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public Uuid AdvertisementUuid; + + [NativeName("bufferSize")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public uint BufferSize; + + [NativeName("buffer")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public EventDataColocationDiscoveryResultMETABuffer Buffer; + + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public EventDataColocationDiscoveryResultMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataColocationDiscoveryResultMETABuffer.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataColocationDiscoveryResultMETABuffer.gen.cs new file mode 100644 index 0000000000..be7dffd5a9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataColocationDiscoveryResultMETABuffer.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_buffer_e__FixedBuffer")] +[InlineArray(1024)] +[SupportedApiProfile("openxr")] +public partial struct EventDataColocationDiscoveryResultMETABuffer +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public byte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataDisplayRefreshRateChangedFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataDisplayRefreshRateChangedFB.gen.cs new file mode 100644 index 0000000000..0ef1cf885c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataDisplayRefreshRateChangedFB.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataDisplayRefreshRateChangedFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataDisplayRefreshRateChangedFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_display_refresh_rate"])] + public StructureType Type = StructureType.TypeEventDataDisplayRefreshRateChangedFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_display_refresh_rate"])] + public void* Next; + + [NativeName("fromDisplayRefreshRate")] + [SupportedApiProfile("openxr", ["XR_FB_display_refresh_rate"])] + public float FromDisplayRefreshRate; + + [NativeName("toDisplayRefreshRate")] + [SupportedApiProfile("openxr", ["XR_FB_display_refresh_rate"])] + public float ToDisplayRefreshRate; + + [SupportedApiProfile("openxr", ["XR_FB_display_refresh_rate"])] + public EventDataDisplayRefreshRateChangedFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataEventsLost.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataEventsLost.gen.cs new file mode 100644 index 0000000000..df25318483 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataEventsLost.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataEventsLost")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataEventsLost +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public StructureType Type = StructureType.TypeEventDataEventsLost; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public void* Next; + + [NativeName("lostEventCount")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public uint LostEventCount; + + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public EventDataEventsLost() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataEyeCalibrationChangedML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataEyeCalibrationChangedML.gen.cs new file mode 100644 index 0000000000..57fc965999 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataEyeCalibrationChangedML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataEyeCalibrationChangedML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataEyeCalibrationChangedML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public StructureType Type = StructureType.TypeEventDataEyeCalibrationChangedML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public void* Next; + + [NativeName("status")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public EyeCalibrationStatusML Status; + + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public EventDataEyeCalibrationChangedML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataHeadsetFitChangedML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataHeadsetFitChangedML.gen.cs new file mode 100644 index 0000000000..533672d0f7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataHeadsetFitChangedML.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataHeadsetFitChangedML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataHeadsetFitChangedML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public StructureType Type = StructureType.TypeEventDataHeadsetFitChangedML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public void* Next; + + [NativeName("status")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public HeadsetFitStatusML Status; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public EventDataHeadsetFitChangedML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataImageTrackingLostANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataImageTrackingLostANDROID.gen.cs new file mode 100644 index 0000000000..e856d383ca --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataImageTrackingLostANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataImageTrackingLostANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataImageTrackingLostANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeEventDataImageTrackingLostANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public void* Next; + + [NativeName("time")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public long Time; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public EventDataImageTrackingLostANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataInstanceLossPending.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataInstanceLossPending.gen.cs new file mode 100644 index 0000000000..14d3164f12 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataInstanceLossPending.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataInstanceLossPending")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataInstanceLossPending +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public StructureType Type = StructureType.TypeEventDataInstanceLossPending; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public void* Next; + + [NativeName("lossTime")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public long LossTime; + + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public EventDataInstanceLossPending() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataInteractionProfileChanged.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataInteractionProfileChanged.gen.cs new file mode 100644 index 0000000000..82fb4483a0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataInteractionProfileChanged.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataInteractionProfileChanged")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataInteractionProfileChanged +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public StructureType Type = StructureType.TypeEventDataInteractionProfileChanged; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public void* Next; + + [NativeName("session")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public SessionHandle Session; + + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public EventDataInteractionProfileChanged() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataInteractionRenderModelsChangedEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataInteractionRenderModelsChangedEXT.gen.cs new file mode 100644 index 0000000000..0172949d11 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataInteractionRenderModelsChangedEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataInteractionRenderModelsChangedEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataInteractionRenderModelsChangedEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public StructureType Type = StructureType.TypeEventDataInteractionRenderModelsChangedEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public EventDataInteractionRenderModelsChangedEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataLocalizationChangedML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataLocalizationChangedML.gen.cs new file mode 100644 index 0000000000..7ecfe5bbd5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataLocalizationChangedML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataLocalizationChangedML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataLocalizationChangedML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeEventDataLocalizationChangedML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("session")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public SessionHandle Session; + + [NativeName("state")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public LocalizationMapStateML State; + + [NativeName("map")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public LocalizationMapML Map; + + [NativeName("confidence")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public LocalizationMapConfidenceML Confidence; + + [NativeName("errorFlags")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public LocalizationMapErrorFlagsML ErrorFlags; + + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public EventDataLocalizationChangedML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataMainSessionVisibilityChangedEXTX.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataMainSessionVisibilityChangedEXTX.gen.cs new file mode 100644 index 0000000000..18c8ad10ba --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataMainSessionVisibilityChangedEXTX.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataMainSessionVisibilityChangedEXTX")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataMainSessionVisibilityChangedEXTX +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + public StructureType Type = StructureType.TypeEventDataMainSessionVisibilityChangedEXTX; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + public void* Next; + + [NativeName("visible")] + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + public MaybeBool Visible; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + public OverlayMainSessionFlagsEXTX Flags; + + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + public EventDataMainSessionVisibilityChangedEXTX() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataMarkerTrackingUpdateVARJO.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataMarkerTrackingUpdateVARJO.gen.cs new file mode 100644 index 0000000000..e1fd12cab8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataMarkerTrackingUpdateVARJO.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataMarkerTrackingUpdateVARJO")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataMarkerTrackingUpdateVARJO +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public StructureType Type = StructureType.TypeEventDataMarkerTrackingUpdateVARJO; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public void* Next; + + [NativeName("markerId")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public ulong MarkerId; + + [NativeName("isActive")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public MaybeBool IsActive; + + [NativeName("isPredicted")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public MaybeBool IsPredicted; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public EventDataMarkerTrackingUpdateVARJO() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataPassthroughLayerResumedMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataPassthroughLayerResumedMETA.gen.cs new file mode 100644 index 0000000000..ddd8f1bdeb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataPassthroughLayerResumedMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataPassthroughLayerResumedMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataPassthroughLayerResumedMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_layer_resumed_event"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeEventDataPassthroughLayerResumedMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_layer_resumed_event"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("layer")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_layer_resumed_event"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public PassthroughLayerHandleFB Layer; + + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_layer_resumed_event"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public EventDataPassthroughLayerResumedMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataPassthroughStateChangedFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataPassthroughStateChangedFB.gen.cs new file mode 100644 index 0000000000..72fd768ced --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataPassthroughStateChangedFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataPassthroughStateChangedFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataPassthroughStateChangedFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public StructureType Type = StructureType.TypeEventDataPassthroughStateChangedFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughStateChangedFlagsFB Flags; + + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public EventDataPassthroughStateChangedFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataPerfSettingsEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataPerfSettingsEXT.gen.cs new file mode 100644 index 0000000000..61e0393935 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataPerfSettingsEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataPerfSettingsEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataPerfSettingsEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + public StructureType Type = StructureType.TypeEventDataPerfSettingsEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + public void* Next; + + [NativeName("domain")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + public PerfSettingsDomainEXT Domain; + + [NativeName("subDomain")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + public PerfSettingsSubDomainEXT SubDomain; + + [NativeName("fromLevel")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + public PerfSettingsNotificationLevelEXT FromLevel; + + [NativeName("toLevel")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + public PerfSettingsNotificationLevelEXT ToLevel; + + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + public EventDataPerfSettingsEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataRecommendedResolutionChangedANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataRecommendedResolutionChangedANDROID.gen.cs new file mode 100644 index 0000000000..e87e1b8e05 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataRecommendedResolutionChangedANDROID.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataRecommendedResolutionChangedANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataRecommendedResolutionChangedANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_recommended_resolution"])] + public StructureType Type = StructureType.TypeEventDataRecommendedResolutionChangedANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_recommended_resolution"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_ANDROID_recommended_resolution"])] + public EventDataRecommendedResolutionChangedANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataReferenceSpaceChangePending.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataReferenceSpaceChangePending.gen.cs new file mode 100644 index 0000000000..a7d4e18c23 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataReferenceSpaceChangePending.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataReferenceSpaceChangePending")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataReferenceSpaceChangePending +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public StructureType Type = StructureType.TypeEventDataReferenceSpaceChangePending; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public void* Next; + + [NativeName("session")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public SessionHandle Session; + + [NativeName("referenceSpaceType")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public ReferenceSpaceType ReferenceSpaceType; + + [NativeName("changeTime")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public long ChangeTime; + + [NativeName("poseValid")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public MaybeBool PoseValid; + + [NativeName("poseInPreviousSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public Posef PoseInPreviousSpace; + + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public EventDataReferenceSpaceChangePending() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSceneCaptureCompleteFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSceneCaptureCompleteFB.gen.cs new file mode 100644 index 0000000000..b8dd0e08e4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSceneCaptureCompleteFB.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSceneCaptureCompleteFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSceneCaptureCompleteFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + public StructureType Type = StructureType.TypeEventDataSceneCaptureCompleteFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + public Result Result; + + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + public EventDataSceneCaptureCompleteFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSenseDataProviderStateChangedBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSenseDataProviderStateChangedBD.gen.cs new file mode 100644 index 0000000000..666fa6e0e9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSenseDataProviderStateChangedBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSenseDataProviderStateChangedBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSenseDataProviderStateChangedBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeEventDataSenseDataProviderStateChangedBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("provider")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SenseDataProviderHandleBD Provider; + + [NativeName("newState")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SenseDataProviderStateBD NewState; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public EventDataSenseDataProviderStateChangedBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSenseDataUpdatedBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSenseDataUpdatedBD.gen.cs new file mode 100644 index 0000000000..19f5a4597c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSenseDataUpdatedBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSenseDataUpdatedBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSenseDataUpdatedBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeEventDataSenseDataUpdatedBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("provider")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SenseDataProviderHandleBD Provider; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public EventDataSenseDataUpdatedBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSessionStateChanged.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSessionStateChanged.gen.cs new file mode 100644 index 0000000000..5c13fd0c0f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSessionStateChanged.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSessionStateChanged")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSessionStateChanged +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public StructureType Type = StructureType.TypeEventDataSessionStateChanged; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public void* Next; + + [NativeName("session")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public SessionHandle Session; + + [NativeName("state")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public SessionState State; + + [NativeName("time")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public long Time; + + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public EventDataSessionStateChanged() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataShareSpacesCompleteMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataShareSpacesCompleteMETA.gen.cs new file mode 100644 index 0000000000..268bff4051 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataShareSpacesCompleteMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataShareSpacesCompleteMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataShareSpacesCompleteMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public StructureType Type = StructureType.TypeEventDataShareSpacesCompleteMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public Result Result; + + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public EventDataShareSpacesCompleteMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceDiscoveryCompleteMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceDiscoveryCompleteMETA.gen.cs new file mode 100644 index 0000000000..b52105a9b2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceDiscoveryCompleteMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpaceDiscoveryCompleteMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpaceDiscoveryCompleteMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public StructureType Type = StructureType.TypeEventDataSpaceDiscoveryCompleteMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public Result Result; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public EventDataSpaceDiscoveryCompleteMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceDiscoveryResultsAvailableMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceDiscoveryResultsAvailableMETA.gen.cs new file mode 100644 index 0000000000..f6bfa59722 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceDiscoveryResultsAvailableMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpaceDiscoveryResultsAvailableMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpaceDiscoveryResultsAvailableMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public StructureType Type = StructureType.TypeEventDataSpaceDiscoveryResultsAvailableMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public ulong RequestId; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public EventDataSpaceDiscoveryResultsAvailableMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceEraseCompleteFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceEraseCompleteFB.gen.cs new file mode 100644 index 0000000000..bceb35e5af --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceEraseCompleteFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpaceEraseCompleteFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpaceEraseCompleteFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeEventDataSpaceEraseCompleteFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Result Result; + + [NativeName("space")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceHandle Space; + + [NativeName("uuid")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Uuid Uuid; + + [NativeName("location")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceStorageLocationFB Location; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public EventDataSpaceEraseCompleteFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceListSaveCompleteFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceListSaveCompleteFB.gen.cs new file mode 100644 index 0000000000..367f6f15a8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceListSaveCompleteFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpaceListSaveCompleteFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpaceListSaveCompleteFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeEventDataSpaceListSaveCompleteFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public Result Result; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public EventDataSpaceListSaveCompleteFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceQueryCompleteFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceQueryCompleteFB.gen.cs new file mode 100644 index 0000000000..b8b19b2f4a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceQueryCompleteFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpaceQueryCompleteFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpaceQueryCompleteFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeEventDataSpaceQueryCompleteFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public Result Result; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public EventDataSpaceQueryCompleteFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceQueryResultsAvailableFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceQueryResultsAvailableFB.gen.cs new file mode 100644 index 0000000000..7ea35288fa --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceQueryResultsAvailableFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpaceQueryResultsAvailableFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpaceQueryResultsAvailableFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeEventDataSpaceQueryResultsAvailableFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public ulong RequestId; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public EventDataSpaceQueryResultsAvailableFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceSaveCompleteFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceSaveCompleteFB.gen.cs new file mode 100644 index 0000000000..57481863b7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceSaveCompleteFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpaceSaveCompleteFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpaceSaveCompleteFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeEventDataSpaceSaveCompleteFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Result Result; + + [NativeName("space")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceHandle Space; + + [NativeName("uuid")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Uuid Uuid; + + [NativeName("location")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceStorageLocationFB Location; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public EventDataSpaceSaveCompleteFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceSetStatusCompleteFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceSetStatusCompleteFB.gen.cs new file mode 100644 index 0000000000..8474324604 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceSetStatusCompleteFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpaceSetStatusCompleteFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpaceSetStatusCompleteFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public StructureType Type = StructureType.TypeEventDataSpaceSetStatusCompleteFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public Result Result; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public SpaceHandle Space; + + [NativeName("uuid")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public Uuid Uuid; + + [NativeName("componentType")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public SpaceComponentTypeFB ComponentType; + + [NativeName("enabled")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public MaybeBool Enabled; + + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public EventDataSpaceSetStatusCompleteFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceShareCompleteFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceShareCompleteFB.gen.cs new file mode 100644 index 0000000000..5dcfea3756 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpaceShareCompleteFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpaceShareCompleteFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpaceShareCompleteFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeEventDataSpaceShareCompleteFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Result Result; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public EventDataSpaceShareCompleteFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpacesEraseResultMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpacesEraseResultMETA.gen.cs new file mode 100644 index 0000000000..7c0c69b0f9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpacesEraseResultMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpacesEraseResultMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpacesEraseResultMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public StructureType Type = StructureType.TypeEventDataSpacesEraseResultMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public Result Result; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public EventDataSpacesEraseResultMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpacesSaveResultMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpacesSaveResultMETA.gen.cs new file mode 100644 index 0000000000..08a7024739 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpacesSaveResultMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpacesSaveResultMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpacesSaveResultMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public StructureType Type = StructureType.TypeEventDataSpacesSaveResultMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public Result Result; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public EventDataSpacesSaveResultMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpatialAnchorCreateCompleteFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpatialAnchorCreateCompleteFB.gen.cs new file mode 100644 index 0000000000..5a3609741b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpatialAnchorCreateCompleteFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpatialAnchorCreateCompleteFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpatialAnchorCreateCompleteFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public StructureType Type = StructureType.TypeEventDataSpatialAnchorCreateCompleteFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public Result Result; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public SpaceHandle Space; + + [NativeName("uuid")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public Uuid Uuid; + + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public EventDataSpatialAnchorCreateCompleteFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataSpatialDiscoveryRecommendedEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataSpatialDiscoveryRecommendedEXT.gen.cs new file mode 100644 index 0000000000..5b46b6faa6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataSpatialDiscoveryRecommendedEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataSpatialDiscoveryRecommendedEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataSpatialDiscoveryRecommendedEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeEventDataSpatialDiscoveryRecommendedEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("spatialContext")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialContextHandleEXT SpatialContext; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public EventDataSpatialDiscoveryRecommendedEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataStartColocationAdvertisementCompleteMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataStartColocationAdvertisementCompleteMETA.gen.cs new file mode 100644 index 0000000000..aa0e3debed --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataStartColocationAdvertisementCompleteMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataStartColocationAdvertisementCompleteMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataStartColocationAdvertisementCompleteMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public StructureType Type = StructureType.TypeEventDataStartColocationAdvertisementCompleteMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public void* Next; + + [NativeName("advertisementRequestId")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public ulong AdvertisementRequestId; + + [NativeName("result")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public Result Result; + + [NativeName("advertisementUuid")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public Uuid AdvertisementUuid; + + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public EventDataStartColocationAdvertisementCompleteMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataStartColocationDiscoveryCompleteMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataStartColocationDiscoveryCompleteMETA.gen.cs new file mode 100644 index 0000000000..14a3f690ac --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataStartColocationDiscoveryCompleteMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataStartColocationDiscoveryCompleteMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataStartColocationDiscoveryCompleteMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public StructureType Type = StructureType.TypeEventDataStartColocationDiscoveryCompleteMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public void* Next; + + [NativeName("discoveryRequestId")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public ulong DiscoveryRequestId; + + [NativeName("result")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public Result Result; + + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public EventDataStartColocationDiscoveryCompleteMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataStopColocationAdvertisementCompleteMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataStopColocationAdvertisementCompleteMETA.gen.cs new file mode 100644 index 0000000000..da8a27c611 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataStopColocationAdvertisementCompleteMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataStopColocationAdvertisementCompleteMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataStopColocationAdvertisementCompleteMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public StructureType Type = StructureType.TypeEventDataStopColocationAdvertisementCompleteMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public Result Result; + + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public EventDataStopColocationAdvertisementCompleteMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataStopColocationDiscoveryCompleteMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataStopColocationDiscoveryCompleteMETA.gen.cs new file mode 100644 index 0000000000..b4d9a39d64 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataStopColocationDiscoveryCompleteMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataStopColocationDiscoveryCompleteMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataStopColocationDiscoveryCompleteMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public StructureType Type = StructureType.TypeEventDataStopColocationDiscoveryCompleteMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public void* Next; + + [NativeName("requestId")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public ulong RequestId; + + [NativeName("result")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public Result Result; + + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public EventDataStopColocationDiscoveryCompleteMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataUserPresenceChangedEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataUserPresenceChangedEXT.gen.cs new file mode 100644 index 0000000000..6f74cc5acc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataUserPresenceChangedEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataUserPresenceChangedEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataUserPresenceChangedEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + public StructureType Type = StructureType.TypeEventDataUserPresenceChangedEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + public void* Next; + + [NativeName("session")] + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + public SessionHandle Session; + + [NativeName("isUserPresent")] + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + public MaybeBool IsUserPresent; + + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + public EventDataUserPresenceChangedEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataViewConfigurationViewsChangedEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataViewConfigurationViewsChangedEXT.gen.cs new file mode 100644 index 0000000000..7fcea53e12 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataViewConfigurationViewsChangedEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataViewConfigurationViewsChangedEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataViewConfigurationViewsChangedEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_views_change"])] + public StructureType Type = StructureType.TypeEventDataViewConfigurationViewsChangedEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_views_change"])] + public void* Next; + + [NativeName("systemId")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_views_change"])] + public ulong SystemId; + + [NativeName("viewConfigurationType")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_views_change"])] + public ViewConfigurationType ViewConfigurationType; + + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_views_change"])] + public EventDataViewConfigurationViewsChangedEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardBackspaceMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardBackspaceMETA.gen.cs new file mode 100644 index 0000000000..a7fc8df716 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardBackspaceMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataVirtualKeyboardBackspaceMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataVirtualKeyboardBackspaceMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeEventDataVirtualKeyboardBackspaceMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("keyboard")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardHandleMETA Keyboard; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public EventDataVirtualKeyboardBackspaceMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardCommitTextMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardCommitTextMETA.gen.cs new file mode 100644 index 0000000000..893115e637 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardCommitTextMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataVirtualKeyboardCommitTextMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataVirtualKeyboardCommitTextMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeEventDataVirtualKeyboardCommitTextMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("keyboard")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardHandleMETA Keyboard; + + [NativeName("text")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public EventDataVirtualKeyboardCommitTextMETAText Text; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public EventDataVirtualKeyboardCommitTextMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardCommitTextMETAText.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardCommitTextMETAText.gen.cs new file mode 100644 index 0000000000..da5cf52b49 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardCommitTextMETAText.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_text_e__FixedBuffer")] +[InlineArray(3992)] +[SupportedApiProfile("openxr")] +public partial struct EventDataVirtualKeyboardCommitTextMETAText +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardEnterMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardEnterMETA.gen.cs new file mode 100644 index 0000000000..1e96f4786f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardEnterMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataVirtualKeyboardEnterMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataVirtualKeyboardEnterMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeEventDataVirtualKeyboardEnterMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("keyboard")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardHandleMETA Keyboard; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public EventDataVirtualKeyboardEnterMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardHiddenMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardHiddenMETA.gen.cs new file mode 100644 index 0000000000..375d5b3f45 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardHiddenMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataVirtualKeyboardHiddenMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataVirtualKeyboardHiddenMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeEventDataVirtualKeyboardHiddenMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("keyboard")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardHandleMETA Keyboard; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public EventDataVirtualKeyboardHiddenMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardShownMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardShownMETA.gen.cs new file mode 100644 index 0000000000..f1e39e045c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataVirtualKeyboardShownMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataVirtualKeyboardShownMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataVirtualKeyboardShownMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeEventDataVirtualKeyboardShownMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("keyboard")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardHandleMETA Keyboard; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public EventDataVirtualKeyboardShownMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataVisibilityMaskChangedKHR.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataVisibilityMaskChangedKHR.gen.cs new file mode 100644 index 0000000000..cc748c70cc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataVisibilityMaskChangedKHR.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataVisibilityMaskChangedKHR")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataVisibilityMaskChangedKHR +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public StructureType Type = StructureType.TypeEventDataVisibilityMaskChangedKHR; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public void* Next; + + [NativeName("session")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public SessionHandle Session; + + [NativeName("viewConfigurationType")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public ViewConfigurationType ViewConfigurationType; + + [NativeName("viewIndex")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public uint ViewIndex; + + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public EventDataVisibilityMaskChangedKHR() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EventDataViveTrackerConnectedHTCX.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EventDataViveTrackerConnectedHTCX.gen.cs new file mode 100644 index 0000000000..b509d8f966 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EventDataViveTrackerConnectedHTCX.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEventDataViveTrackerConnectedHTCX")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EventDataViveTrackerConnectedHTCX +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + public StructureType Type = StructureType.TypeEventDataViveTrackerConnectedHTCX; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + public void* Next; + + [NativeName("paths")] + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + public ViveTrackerPathsHTCX* Paths; + + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + public EventDataViveTrackerConnectedHTCX() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ExtensionProperties.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ExtensionProperties.gen.cs new file mode 100644 index 0000000000..f6cbb039a8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ExtensionProperties.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrExtensionProperties")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ExtensionProperties +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeExtensionProperties; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("extensionName")] + [SupportedApiProfile("openxr")] + public ExtensionPropertiesExtensionName ExtensionName; + + [NativeName("extensionVersion")] + [SupportedApiProfile("openxr")] + public uint ExtensionVersion; + + [SupportedApiProfile("openxr")] + public ExtensionProperties() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ExtensionPropertiesExtensionName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ExtensionPropertiesExtensionName.gen.cs new file mode 100644 index 0000000000..9070547aa0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ExtensionPropertiesExtensionName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_extensionName_e__FixedBuffer")] +[InlineArray(128)] +[SupportedApiProfile("openxr")] +public partial struct ExtensionPropertiesExtensionName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Extent2Df.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Extent2Df.gen.cs new file mode 100644 index 0000000000..2f70c1045d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Extent2Df.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrExtent2Df")] +[SupportedApiProfile("openxr")] +public partial struct Extent2Df +{ + [NativeName("width")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float Width; + + [NativeName("height")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float Height; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Extent2Di.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Extent2Di.gen.cs new file mode 100644 index 0000000000..22ff6d0efd --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Extent2Di.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrExtent2Di")] +[SupportedApiProfile("openxr")] +public partial struct Extent2Di +{ + [NativeName("width")] + [SupportedApiProfile("openxr")] + public int Width; + + [NativeName("height")] + [SupportedApiProfile("openxr")] + public int Height; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Extent3Df.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Extent3Df.gen.cs new file mode 100644 index 0000000000..f7b90c3112 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Extent3Df.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrExtent3Df")] +[SupportedApiProfile("openxr")] +public partial struct Extent3Df +{ + [NativeName("width")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public float Width; + + [NativeName("height")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public float Height; + + [NativeName("depth")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public float Depth; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Extent3DiMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Extent3DiMETA.gen.cs new file mode 100644 index 0000000000..6267f4760b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Extent3DiMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrExtent3DiMETA")] +[SupportedApiProfile("openxr")] +public partial struct Extent3DiMETA +{ + [NativeName("width")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public int Width; + + [NativeName("height")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public int Height; + + [NativeName("depth")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public int Depth; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ExternalCameraAttachedToDeviceOCULUS.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ExternalCameraAttachedToDeviceOCULUS.gen.cs new file mode 100644 index 0000000000..9f51b41f03 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ExternalCameraAttachedToDeviceOCULUS.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrExternalCameraAttachedToDeviceOCULUS")] +[SupportedApiProfile("openxr")] +public enum ExternalCameraAttachedToDeviceOCULUS : uint +{ + [NativeName("XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_NONE_OCULUS")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + None = 0, + + [NativeName("XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_HMD_OCULUS")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + Hmd = 1, + + [NativeName("XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_LTOUCH_OCULUS")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + Ltouch = 2, + + [NativeName("XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_RTOUCH_OCULUS")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + Rtouch = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ExternalCameraExtrinsicsOCULUS.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ExternalCameraExtrinsicsOCULUS.gen.cs new file mode 100644 index 0000000000..8e18f0d2b6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ExternalCameraExtrinsicsOCULUS.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrExternalCameraExtrinsicsOCULUS")] +[SupportedApiProfile("openxr")] +public partial struct ExternalCameraExtrinsicsOCULUS +{ + [NativeName("lastChangeTime")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public long LastChangeTime; + + [NativeName("cameraStatusFlags")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public ExternalCameraStatusFlagsOCULUS CameraStatusFlags; + + [NativeName("attachedToDevice")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public ExternalCameraAttachedToDeviceOCULUS AttachedToDevice; + + [NativeName("relativePose")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public Posef RelativePose; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ExternalCameraIntrinsicsOCULUS.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ExternalCameraIntrinsicsOCULUS.gen.cs new file mode 100644 index 0000000000..7d645dddc4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ExternalCameraIntrinsicsOCULUS.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrExternalCameraIntrinsicsOCULUS")] +[SupportedApiProfile("openxr")] +public partial struct ExternalCameraIntrinsicsOCULUS +{ + [NativeName("lastChangeTime")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public long LastChangeTime; + + [NativeName("fov")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public Fovf Fov; + + [NativeName("virtualNearPlaneDistance")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public float VirtualNearPlaneDistance; + + [NativeName("virtualFarPlaneDistance")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public float VirtualFarPlaneDistance; + + [NativeName("imageSensorPixelResolution")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public Extent2Di ImageSensorPixelResolution; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ExternalCameraOCULUS.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ExternalCameraOCULUS.gen.cs new file mode 100644 index 0000000000..3b9d83b17f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ExternalCameraOCULUS.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrExternalCameraOCULUS")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ExternalCameraOCULUS +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public StructureType Type = StructureType.TypeExternalCameraOCULUS; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public void* Next; + + [NativeName("name")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public ExternalCameraOCULUSName Name; + + [NativeName("intrinsics")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public ExternalCameraIntrinsicsOCULUS Intrinsics; + + [NativeName("extrinsics")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public ExternalCameraExtrinsicsOCULUS Extrinsics; + + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public ExternalCameraOCULUS() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ExternalCameraOCULUSName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ExternalCameraOCULUSName.gen.cs new file mode 100644 index 0000000000..68e735ea25 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ExternalCameraOCULUSName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_name_e__FixedBuffer")] +[InlineArray(32)] +[SupportedApiProfile("openxr")] +public partial struct ExternalCameraOCULUSName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeANDROID.gen.cs new file mode 100644 index 0000000000..19d9d3ec0d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeANDROID")] +[SupportedApiProfile("openxr")] +public partial struct EyeANDROID +{ + [NativeName("eyeState")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public EyeStateANDROID EyeState; + + [NativeName("eyePose")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public Posef EyePose; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeCalibrationStatusML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeCalibrationStatusML.gen.cs new file mode 100644 index 0000000000..6847f49922 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeCalibrationStatusML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeCalibrationStatusML")] +[SupportedApiProfile("openxr")] +public enum EyeCalibrationStatusML : uint +{ + [NativeName("XR_EYE_CALIBRATION_STATUS_UNKNOWN_ML")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + Unknown = 0, + + [NativeName("XR_EYE_CALIBRATION_STATUS_NONE_ML")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + None = 1, + + [NativeName("XR_EYE_CALIBRATION_STATUS_COARSE_ML")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + Coarse = 2, + + [NativeName("XR_EYE_CALIBRATION_STATUS_FINE_ML")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + Fine = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeExpressionHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeExpressionHTC.gen.cs new file mode 100644 index 0000000000..4aa481cc2f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeExpressionHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeExpressionHTC")] +[SupportedApiProfile("openxr")] +public enum EyeExpressionHTC : uint +{ + [NativeName("XR_EYE_EXPRESSION_LEFT_BLINK_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + LeftBlink = 0, + + [NativeName("XR_EYE_EXPRESSION_LEFT_WIDE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + LeftWide = 1, + + [NativeName("XR_EYE_EXPRESSION_RIGHT_BLINK_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + RightBlink = 2, + + [NativeName("XR_EYE_EXPRESSION_RIGHT_WIDE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + RightWide = 3, + + [NativeName("XR_EYE_EXPRESSION_LEFT_SQUEEZE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + LeftSqueeze = 4, + + [NativeName("XR_EYE_EXPRESSION_RIGHT_SQUEEZE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + RightSqueeze = 5, + + [NativeName("XR_EYE_EXPRESSION_LEFT_DOWN_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + LeftDown = 6, + + [NativeName("XR_EYE_EXPRESSION_RIGHT_DOWN_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + RightDown = 7, + + [NativeName("XR_EYE_EXPRESSION_LEFT_OUT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + LeftOut = 8, + + [NativeName("XR_EYE_EXPRESSION_RIGHT_IN_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + RightIn = 9, + + [NativeName("XR_EYE_EXPRESSION_LEFT_IN_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + LeftIn = 10, + + [NativeName("XR_EYE_EXPRESSION_RIGHT_OUT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + RightOut = 11, + + [NativeName("XR_EYE_EXPRESSION_LEFT_UP_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + LeftUp = 12, + + [NativeName("XR_EYE_EXPRESSION_RIGHT_UP_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + RightUp = 13, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeGazeFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeGazeFB.gen.cs new file mode 100644 index 0000000000..2b86fa6043 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeGazeFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeGazeFB")] +[SupportedApiProfile("openxr")] +public partial struct EyeGazeFB +{ + [NativeName("isValid")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public MaybeBool IsValid; + + [NativeName("gazePose")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public Posef GazePose; + + [NativeName("gazeConfidence")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public float GazeConfidence; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeGazeSampleTimeEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeGazeSampleTimeEXT.gen.cs new file mode 100644 index 0000000000..4de24cbf20 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeGazeSampleTimeEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeGazeSampleTimeEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EyeGazeSampleTimeEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_eye_gaze_interaction"])] + public StructureType Type = StructureType.TypeEyeGazeSampleTimeEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_eye_gaze_interaction"])] + public void* Next; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_EXT_eye_gaze_interaction"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_EXT_eye_gaze_interaction"])] + public EyeGazeSampleTimeEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeGazesFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeGazesFB.gen.cs new file mode 100644 index 0000000000..517d478ded --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeGazesFB.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeGazesFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EyeGazesFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public StructureType Type = StructureType.TypeEyeGazesFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public void* Next; + + [NativeName("gaze")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public EyeGazesFBGaze Gaze; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public EyeGazesFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeGazesFBGaze.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeGazesFBGaze.gen.cs new file mode 100644 index 0000000000..41b725a101 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeGazesFBGaze.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_gaze_e__FixedBuffer")] +[InlineArray(2)] +[SupportedApiProfile("openxr")] +public partial struct EyeGazesFBGaze +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public EyeGazeFB E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeGazesInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeGazesInfoFB.gen.cs new file mode 100644 index 0000000000..7c96f4a03c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeGazesInfoFB.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeGazesInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EyeGazesInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public StructureType Type = StructureType.TypeEyeGazesInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public EyeGazesInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeIndexANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeIndexANDROID.gen.cs new file mode 100644 index 0000000000..f42025e5d6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeIndexANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeIndexANDROID")] +[SupportedApiProfile("openxr")] +public enum EyeIndexANDROID : uint +{ + [NativeName("XR_EYE_INDEX_LEFT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + Left = 0, + + [NativeName("XR_EYE_INDEX_RIGHT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + Right = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyePositionFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyePositionFB.gen.cs new file mode 100644 index 0000000000..6a5da9ceb3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyePositionFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyePositionFB")] +[SupportedApiProfile("openxr")] +public enum EyePositionFB : uint +{ + [NativeName("XR_EYE_POSITION_LEFT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + Left = 0, + + [NativeName("XR_EYE_POSITION_RIGHT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + Right = 1, + + [NativeName("XR_EYE_POSITION_COUNT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + Count = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeStateANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeStateANDROID.gen.cs new file mode 100644 index 0000000000..44b69b63f5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeStateANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeStateANDROID")] +[SupportedApiProfile("openxr")] +public enum EyeStateANDROID : uint +{ + [NativeName("XR_EYE_STATE_INVALID_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + Invalid = 0, + + [NativeName("XR_EYE_STATE_GAZING_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + Gazing = 1, + + [NativeName("XR_EYE_STATE_SHUT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + Shut = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeTrackerCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeTrackerCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..9c69f33a8b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeTrackerCreateInfoANDROID.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeTrackerCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EyeTrackerCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public StructureType Type = StructureType.TypeEyeTrackerCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public EyeTrackerCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeTrackerCreateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeTrackerCreateInfoFB.gen.cs new file mode 100644 index 0000000000..cc2dfcf1f8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeTrackerCreateInfoFB.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeTrackerCreateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EyeTrackerCreateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public StructureType Type = StructureType.TypeEyeTrackerCreateInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public EyeTrackerCreateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeTrackingModeANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeTrackingModeANDROID.gen.cs new file mode 100644 index 0000000000..3c1f523519 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeTrackingModeANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeTrackingModeANDROID")] +[SupportedApiProfile("openxr")] +public enum EyeTrackingModeANDROID : uint +{ + [NativeName("XR_EYE_TRACKING_MODE_NOT_TRACKING_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + NotTracking = 0, + + [NativeName("XR_EYE_TRACKING_MODE_RIGHT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + Right = 1, + + [NativeName("XR_EYE_TRACKING_MODE_LEFT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + Left = 2, + + [NativeName("XR_EYE_TRACKING_MODE_BOTH_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + Both = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyeVisibility.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyeVisibility.gen.cs new file mode 100644 index 0000000000..70871ef032 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyeVisibility.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyeVisibility")] +[SupportedApiProfile("openxr")] +public enum EyeVisibility : uint +{ + [NativeName("XR_EYE_VISIBILITY_BOTH")] + [SupportedApiProfile("openxr")] + Both = 0, + + [NativeName("XR_EYE_VISIBILITY_LEFT")] + [SupportedApiProfile("openxr")] + Left = 1, + + [NativeName("XR_EYE_VISIBILITY_RIGHT")] + [SupportedApiProfile("openxr")] + Right = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyesANDROID.gen.cs new file mode 100644 index 0000000000..e07d181325 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyesANDROID.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyesANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EyesANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public StructureType Type = StructureType.TypeEyesANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public void* Next; + + [NativeName("eyes")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public EyesANDROIDEyes Eyes; + + [NativeName("mode")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public EyeTrackingModeANDROID Mode; + + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public EyesANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyesANDROIDEyes.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyesANDROIDEyes.gen.cs new file mode 100644 index 0000000000..560fdeba86 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyesANDROIDEyes.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_eyes_e__FixedBuffer")] +[InlineArray(2)] +[SupportedApiProfile("openxr")] +public partial struct EyesANDROIDEyes +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public EyeANDROID E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/EyesGetInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/EyesGetInfoANDROID.gen.cs new file mode 100644 index 0000000000..bfe7f497cd --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/EyesGetInfoANDROID.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrEyesGetInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct EyesGetInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public StructureType Type = StructureType.TypeEyesGetInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public void* Next; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public long Time; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public SpaceHandle BaseSpace; + + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public EyesGetInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceConfidence2FB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceConfidence2FB.gen.cs new file mode 100644 index 0000000000..456ec83d10 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceConfidence2FB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceConfidence2FB")] +[SupportedApiProfile("openxr")] +public enum FaceConfidence2FB : uint +{ + [NativeName("XR_FACE_CONFIDENCE2_LOWER_FACE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LowerFace = 0, + + [NativeName("XR_FACE_CONFIDENCE2_UPPER_FACE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + UpperFace = 1, + + [NativeName("XR_FACE_CONFIDENCE2_COUNT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + Count = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceConfidenceFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceConfidenceFB.gen.cs new file mode 100644 index 0000000000..833057aa90 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceConfidenceFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceConfidenceFB")] +[SupportedApiProfile("openxr")] +public enum FaceConfidenceFB : uint +{ + [NativeName("XR_FACE_CONFIDENCE_LOWER_FACE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LowerFace = 0, + + [NativeName("XR_FACE_CONFIDENCE_UPPER_FACE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + UpperFace = 1, + + [NativeName("XR_FACE_CONFIDENCE_COUNT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + Count = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceConfidenceRegionsANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceConfidenceRegionsANDROID.gen.cs new file mode 100644 index 0000000000..b9fd386db0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceConfidenceRegionsANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceConfidenceRegionsANDROID")] +[SupportedApiProfile("openxr")] +public enum FaceConfidenceRegionsANDROID : uint +{ + [NativeName("XR_FACE_CONFIDENCE_REGIONS_LOWER_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + Lower = 0, + + [NativeName("XR_FACE_CONFIDENCE_REGIONS_LEFT_UPPER_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LeftUpper = 1, + + [NativeName("XR_FACE_CONFIDENCE_REGIONS_RIGHT_UPPER_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + RightUpper = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceExpression2FB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceExpression2FB.gen.cs new file mode 100644 index 0000000000..cbf7d4c461 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceExpression2FB.gen.cs @@ -0,0 +1,298 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceExpression2FB")] +[SupportedApiProfile("openxr")] +public enum FaceExpression2FB : uint +{ + [NativeName("XR_FACE_EXPRESSION2_BROW_LOWERER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + BrowLowererL = 0, + + [NativeName("XR_FACE_EXPRESSION2_BROW_LOWERER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + BrowLowererR = 1, + + [NativeName("XR_FACE_EXPRESSION2_CHEEK_PUFF_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + CheekPuffL = 2, + + [NativeName("XR_FACE_EXPRESSION2_CHEEK_PUFF_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + CheekPuffR = 3, + + [NativeName("XR_FACE_EXPRESSION2_CHEEK_RAISER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + CheekRaiserL = 4, + + [NativeName("XR_FACE_EXPRESSION2_CHEEK_RAISER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + CheekRaiserR = 5, + + [NativeName("XR_FACE_EXPRESSION2_CHEEK_SUCK_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + CheekSuckL = 6, + + [NativeName("XR_FACE_EXPRESSION2_CHEEK_SUCK_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + CheekSuckR = 7, + + [NativeName("XR_FACE_EXPRESSION2_CHIN_RAISER_B_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + ChinRaiserB = 8, + + [NativeName("XR_FACE_EXPRESSION2_CHIN_RAISER_T_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + ChinRaiserT = 9, + + [NativeName("XR_FACE_EXPRESSION2_DIMPLER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + DimplerL = 10, + + [NativeName("XR_FACE_EXPRESSION2_DIMPLER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + DimplerR = 11, + + [NativeName("XR_FACE_EXPRESSION2_EYES_CLOSED_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + EyesClosedL = 12, + + [NativeName("XR_FACE_EXPRESSION2_EYES_CLOSED_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + EyesClosedR = 13, + + [NativeName("XR_FACE_EXPRESSION2_EYES_LOOK_DOWN_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + EyesLookDownL = 14, + + [NativeName("XR_FACE_EXPRESSION2_EYES_LOOK_DOWN_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + EyesLookDownR = 15, + + [NativeName("XR_FACE_EXPRESSION2_EYES_LOOK_LEFT_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + EyesLookLeftL = 16, + + [NativeName("XR_FACE_EXPRESSION2_EYES_LOOK_LEFT_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + EyesLookLeftR = 17, + + [NativeName("XR_FACE_EXPRESSION2_EYES_LOOK_RIGHT_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + EyesLookRightL = 18, + + [NativeName("XR_FACE_EXPRESSION2_EYES_LOOK_RIGHT_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + EyesLookRightR = 19, + + [NativeName("XR_FACE_EXPRESSION2_EYES_LOOK_UP_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + EyesLookUpL = 20, + + [NativeName("XR_FACE_EXPRESSION2_EYES_LOOK_UP_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + EyesLookUpR = 21, + + [NativeName("XR_FACE_EXPRESSION2_INNER_BROW_RAISER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + InnerBrowRaiserL = 22, + + [NativeName("XR_FACE_EXPRESSION2_INNER_BROW_RAISER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + InnerBrowRaiserR = 23, + + [NativeName("XR_FACE_EXPRESSION2_JAW_DROP_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + JawDrop = 24, + + [NativeName("XR_FACE_EXPRESSION2_JAW_SIDEWAYS_LEFT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + JawSidewaysLeft = 25, + + [NativeName("XR_FACE_EXPRESSION2_JAW_SIDEWAYS_RIGHT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + JawSidewaysRight = 26, + + [NativeName("XR_FACE_EXPRESSION2_JAW_THRUST_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + JawThrust = 27, + + [NativeName("XR_FACE_EXPRESSION2_LID_TIGHTENER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LidTightenerL = 28, + + [NativeName("XR_FACE_EXPRESSION2_LID_TIGHTENER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LidTightenerR = 29, + + [NativeName("XR_FACE_EXPRESSION2_LIP_CORNER_DEPRESSOR_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipCornerDepressorL = 30, + + [NativeName("XR_FACE_EXPRESSION2_LIP_CORNER_DEPRESSOR_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipCornerDepressorR = 31, + + [NativeName("XR_FACE_EXPRESSION2_LIP_CORNER_PULLER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipCornerPullerL = 32, + + [NativeName("XR_FACE_EXPRESSION2_LIP_CORNER_PULLER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipCornerPullerR = 33, + + [NativeName("XR_FACE_EXPRESSION2_LIP_FUNNELER_LB_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipFunnelerLb = 34, + + [NativeName("XR_FACE_EXPRESSION2_LIP_FUNNELER_LT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipFunnelerLt = 35, + + [NativeName("XR_FACE_EXPRESSION2_LIP_FUNNELER_RB_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipFunnelerRb = 36, + + [NativeName("XR_FACE_EXPRESSION2_LIP_FUNNELER_RT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipFunnelerRt = 37, + + [NativeName("XR_FACE_EXPRESSION2_LIP_PRESSOR_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipPressorL = 38, + + [NativeName("XR_FACE_EXPRESSION2_LIP_PRESSOR_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipPressorR = 39, + + [NativeName("XR_FACE_EXPRESSION2_LIP_PUCKER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipPuckerL = 40, + + [NativeName("XR_FACE_EXPRESSION2_LIP_PUCKER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipPuckerR = 41, + + [NativeName("XR_FACE_EXPRESSION2_LIP_STRETCHER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipStretcherL = 42, + + [NativeName("XR_FACE_EXPRESSION2_LIP_STRETCHER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipStretcherR = 43, + + [NativeName("XR_FACE_EXPRESSION2_LIP_SUCK_LB_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipSuckLb = 44, + + [NativeName("XR_FACE_EXPRESSION2_LIP_SUCK_LT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipSuckLt = 45, + + [NativeName("XR_FACE_EXPRESSION2_LIP_SUCK_RB_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipSuckRb = 46, + + [NativeName("XR_FACE_EXPRESSION2_LIP_SUCK_RT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipSuckRt = 47, + + [NativeName("XR_FACE_EXPRESSION2_LIP_TIGHTENER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipTightenerL = 48, + + [NativeName("XR_FACE_EXPRESSION2_LIP_TIGHTENER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipTightenerR = 49, + + [NativeName("XR_FACE_EXPRESSION2_LIPS_TOWARD_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LipsToward = 50, + + [NativeName("XR_FACE_EXPRESSION2_LOWER_LIP_DEPRESSOR_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LowerLipDepressorL = 51, + + [NativeName("XR_FACE_EXPRESSION2_LOWER_LIP_DEPRESSOR_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + LowerLipDepressorR = 52, + + [NativeName("XR_FACE_EXPRESSION2_MOUTH_LEFT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + MouthLeft = 53, + + [NativeName("XR_FACE_EXPRESSION2_MOUTH_RIGHT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + MouthRight = 54, + + [NativeName("XR_FACE_EXPRESSION2_NOSE_WRINKLER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + NoseWrinklerL = 55, + + [NativeName("XR_FACE_EXPRESSION2_NOSE_WRINKLER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + NoseWrinklerR = 56, + + [NativeName("XR_FACE_EXPRESSION2_OUTER_BROW_RAISER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + OuterBrowRaiserL = 57, + + [NativeName("XR_FACE_EXPRESSION2_OUTER_BROW_RAISER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + OuterBrowRaiserR = 58, + + [NativeName("XR_FACE_EXPRESSION2_UPPER_LID_RAISER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + UpperLidRaiserL = 59, + + [NativeName("XR_FACE_EXPRESSION2_UPPER_LID_RAISER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + UpperLidRaiserR = 60, + + [NativeName("XR_FACE_EXPRESSION2_UPPER_LIP_RAISER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + UpperLipRaiserL = 61, + + [NativeName("XR_FACE_EXPRESSION2_UPPER_LIP_RAISER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + UpperLipRaiserR = 62, + + [NativeName("XR_FACE_EXPRESSION2_TONGUE_TIP_INTERDENTAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + TongueTipInterdental = 63, + + [NativeName("XR_FACE_EXPRESSION2_TONGUE_TIP_ALVEOLAR_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + TongueTipAlveolar = 64, + + [NativeName("XR_FACE_EXPRESSION2_TONGUE_FRONT_DORSAL_PALATE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + TongueFrontDorsalPalate = 65, + + [NativeName("XR_FACE_EXPRESSION2_TONGUE_MID_DORSAL_PALATE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + TongueMidDorsalPalate = 66, + + [NativeName("XR_FACE_EXPRESSION2_TONGUE_BACK_DORSAL_VELAR_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + TongueBackDorsalVelar = 67, + + [NativeName("XR_FACE_EXPRESSION2_TONGUE_OUT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + TongueOut = 68, + + [NativeName("XR_FACE_EXPRESSION2_TONGUE_RETREAT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + TongueRetreat = 69, + + [NativeName("XR_FACE_EXPRESSION2_COUNT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + Count = 70, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceExpressionBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionBD.gen.cs new file mode 100644 index 0000000000..5741bad4a8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionBD.gen.cs @@ -0,0 +1,222 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceExpressionBD")] +[SupportedApiProfile("openxr")] +public enum FaceExpressionBD : uint +{ + [NativeName("XR_FACE_EXPRESSION_BROW_DROP_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + BrowDropL = 0, + + [NativeName("XR_FACE_EXPRESSION_BROW_DROP_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + BrowDropR = 1, + + [NativeName("XR_FACE_EXPRESSION_BROW_INNER_UPWARDS_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + BrowInnerUpwards = 2, + + [NativeName("XR_FACE_EXPRESSION_BROW_OUTER_UPWARDS_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + BrowOuterUpwardsL = 3, + + [NativeName("XR_FACE_EXPRESSION_BROW_OUTER_UPWARDS_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + BrowOuterUpwardsR = 4, + + [NativeName("XR_FACE_EXPRESSION_EYE_BLINK_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeBlinkL = 5, + + [NativeName("XR_FACE_EXPRESSION_EYE_LOOK_DROP_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeLookDropL = 6, + + [NativeName("XR_FACE_EXPRESSION_EYE_LOOK_IN_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeLookInL = 7, + + [NativeName("XR_FACE_EXPRESSION_EYE_LOOK_OUT_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeLookOutL = 8, + + [NativeName("XR_FACE_EXPRESSION_EYE_LOOK_UPWARDS_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeLookUpwardsL = 9, + + [NativeName("XR_FACE_EXPRESSION_EYE_LOOK_SQUINT_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeLookSquintL = 10, + + [NativeName("XR_FACE_EXPRESSION_EYE_LOOK_WIDE_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeLookWideL = 11, + + [NativeName("XR_FACE_EXPRESSION_EYE_BLINK_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeBlinkR = 12, + + [NativeName("XR_FACE_EXPRESSION_EYE_LOOK_DROP_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeLookDropR = 13, + + [NativeName("XR_FACE_EXPRESSION_EYE_LOOK_IN_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeLookInR = 14, + + [NativeName("XR_FACE_EXPRESSION_EYE_LOOK_OUT_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeLookOutR = 15, + + [NativeName("XR_FACE_EXPRESSION_EYE_LOOK_UPWARDS_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeLookUpwardsR = 16, + + [NativeName("XR_FACE_EXPRESSION_EYE_LOOK_SQUINT_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeLookSquintR = 17, + + [NativeName("XR_FACE_EXPRESSION_EYE_LOOK_WIDE_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + EyeLookWideR = 18, + + [NativeName("XR_FACE_EXPRESSION_NOSE_SNEER_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + NoseSneerL = 19, + + [NativeName("XR_FACE_EXPRESSION_NOSE_SNEER_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + NoseSneerR = 20, + + [NativeName("XR_FACE_EXPRESSION_CHEEK_PUFF_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + CheekPuff = 21, + + [NativeName("XR_FACE_EXPRESSION_CHEEK_SQUINT_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + CheekSquintL = 22, + + [NativeName("XR_FACE_EXPRESSION_CHEEK_SQUINT_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + CheekSquintR = 23, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_CLOSE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthClose = 24, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_FUNNEL_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthFunnel = 25, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_PUCKER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthPucker = 26, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthL = 27, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthR = 28, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_SMILE_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthSmileL = 29, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_SMILE_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthSmileR = 30, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_FROWN_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthFrownL = 31, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_FROWN_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthFrownR = 32, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_DIMPLE_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthDimpleL = 33, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_DIMPLE_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthDimpleR = 34, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_STRETCH_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthStretchL = 35, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_STRETCH_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthStretchR = 36, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_ROLL_LOWER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthRollLower = 37, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_ROLL_UPPER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthRollUpper = 38, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_SHRUG_LOWER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthShrugLower = 39, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_SHRUG_UPPER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthShrugUpper = 40, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_PRESS_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthPressL = 41, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_PRESS_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthPressR = 42, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_LOWER_DROP_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthLowerDropL = 43, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_LOWER_DROP_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthLowerDropR = 44, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_UPPER_UPWARDS_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthUpperUpwardsL = 45, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_UPPER_UPWARDS_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + MouthUpperUpwardsR = 46, + + [NativeName("XR_FACE_EXPRESSION_JAW_FORWARD_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + JawForward = 47, + + [NativeName("XR_FACE_EXPRESSION_JAW_L_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + JawL = 48, + + [NativeName("XR_FACE_EXPRESSION_JAW_R_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + JawR = 49, + + [NativeName("XR_FACE_EXPRESSION_JAW_OPEN_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + JawOpen = 50, + + [NativeName("XR_FACE_EXPRESSION_TONGUE_OUT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + TongueOut = 51, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceExpressionFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionFB.gen.cs new file mode 100644 index 0000000000..37f8ed63fc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionFB.gen.cs @@ -0,0 +1,270 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceExpressionFB")] +[SupportedApiProfile("openxr")] +public enum FaceExpressionFB : uint +{ + [NativeName("XR_FACE_EXPRESSION_BROW_LOWERER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + BrowLowererL = 0, + + [NativeName("XR_FACE_EXPRESSION_BROW_LOWERER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + BrowLowererR = 1, + + [NativeName("XR_FACE_EXPRESSION_CHEEK_PUFF_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + CheekPuffL = 2, + + [NativeName("XR_FACE_EXPRESSION_CHEEK_PUFF_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + CheekPuffR = 3, + + [NativeName("XR_FACE_EXPRESSION_CHEEK_RAISER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + CheekRaiserL = 4, + + [NativeName("XR_FACE_EXPRESSION_CHEEK_RAISER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + CheekRaiserR = 5, + + [NativeName("XR_FACE_EXPRESSION_CHEEK_SUCK_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + CheekSuckL = 6, + + [NativeName("XR_FACE_EXPRESSION_CHEEK_SUCK_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + CheekSuckR = 7, + + [NativeName("XR_FACE_EXPRESSION_CHIN_RAISER_B_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + ChinRaiserB = 8, + + [NativeName("XR_FACE_EXPRESSION_CHIN_RAISER_T_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + ChinRaiserT = 9, + + [NativeName("XR_FACE_EXPRESSION_DIMPLER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + DimplerL = 10, + + [NativeName("XR_FACE_EXPRESSION_DIMPLER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + DimplerR = 11, + + [NativeName("XR_FACE_EXPRESSION_EYES_CLOSED_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + EyesClosedL = 12, + + [NativeName("XR_FACE_EXPRESSION_EYES_CLOSED_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + EyesClosedR = 13, + + [NativeName("XR_FACE_EXPRESSION_EYES_LOOK_DOWN_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + EyesLookDownL = 14, + + [NativeName("XR_FACE_EXPRESSION_EYES_LOOK_DOWN_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + EyesLookDownR = 15, + + [NativeName("XR_FACE_EXPRESSION_EYES_LOOK_LEFT_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + EyesLookLeftL = 16, + + [NativeName("XR_FACE_EXPRESSION_EYES_LOOK_LEFT_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + EyesLookLeftR = 17, + + [NativeName("XR_FACE_EXPRESSION_EYES_LOOK_RIGHT_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + EyesLookRightL = 18, + + [NativeName("XR_FACE_EXPRESSION_EYES_LOOK_RIGHT_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + EyesLookRightR = 19, + + [NativeName("XR_FACE_EXPRESSION_EYES_LOOK_UP_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + EyesLookUpL = 20, + + [NativeName("XR_FACE_EXPRESSION_EYES_LOOK_UP_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + EyesLookUpR = 21, + + [NativeName("XR_FACE_EXPRESSION_INNER_BROW_RAISER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + InnerBrowRaiserL = 22, + + [NativeName("XR_FACE_EXPRESSION_INNER_BROW_RAISER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + InnerBrowRaiserR = 23, + + [NativeName("XR_FACE_EXPRESSION_JAW_DROP_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + JawDrop = 24, + + [NativeName("XR_FACE_EXPRESSION_JAW_SIDEWAYS_LEFT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + JawSidewaysLeft = 25, + + [NativeName("XR_FACE_EXPRESSION_JAW_SIDEWAYS_RIGHT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + JawSidewaysRight = 26, + + [NativeName("XR_FACE_EXPRESSION_JAW_THRUST_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + JawThrust = 27, + + [NativeName("XR_FACE_EXPRESSION_LID_TIGHTENER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LidTightenerL = 28, + + [NativeName("XR_FACE_EXPRESSION_LID_TIGHTENER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LidTightenerR = 29, + + [NativeName("XR_FACE_EXPRESSION_LIP_CORNER_DEPRESSOR_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipCornerDepressorL = 30, + + [NativeName("XR_FACE_EXPRESSION_LIP_CORNER_DEPRESSOR_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipCornerDepressorR = 31, + + [NativeName("XR_FACE_EXPRESSION_LIP_CORNER_PULLER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipCornerPullerL = 32, + + [NativeName("XR_FACE_EXPRESSION_LIP_CORNER_PULLER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipCornerPullerR = 33, + + [NativeName("XR_FACE_EXPRESSION_LIP_FUNNELER_LB_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipFunnelerLb = 34, + + [NativeName("XR_FACE_EXPRESSION_LIP_FUNNELER_LT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipFunnelerLt = 35, + + [NativeName("XR_FACE_EXPRESSION_LIP_FUNNELER_RB_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipFunnelerRb = 36, + + [NativeName("XR_FACE_EXPRESSION_LIP_FUNNELER_RT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipFunnelerRt = 37, + + [NativeName("XR_FACE_EXPRESSION_LIP_PRESSOR_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipPressorL = 38, + + [NativeName("XR_FACE_EXPRESSION_LIP_PRESSOR_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipPressorR = 39, + + [NativeName("XR_FACE_EXPRESSION_LIP_PUCKER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipPuckerL = 40, + + [NativeName("XR_FACE_EXPRESSION_LIP_PUCKER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipPuckerR = 41, + + [NativeName("XR_FACE_EXPRESSION_LIP_STRETCHER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipStretcherL = 42, + + [NativeName("XR_FACE_EXPRESSION_LIP_STRETCHER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipStretcherR = 43, + + [NativeName("XR_FACE_EXPRESSION_LIP_SUCK_LB_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipSuckLb = 44, + + [NativeName("XR_FACE_EXPRESSION_LIP_SUCK_LT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipSuckLt = 45, + + [NativeName("XR_FACE_EXPRESSION_LIP_SUCK_RB_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipSuckRb = 46, + + [NativeName("XR_FACE_EXPRESSION_LIP_SUCK_RT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipSuckRt = 47, + + [NativeName("XR_FACE_EXPRESSION_LIP_TIGHTENER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipTightenerL = 48, + + [NativeName("XR_FACE_EXPRESSION_LIP_TIGHTENER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipTightenerR = 49, + + [NativeName("XR_FACE_EXPRESSION_LIPS_TOWARD_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LipsToward = 50, + + [NativeName("XR_FACE_EXPRESSION_LOWER_LIP_DEPRESSOR_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LowerLipDepressorL = 51, + + [NativeName("XR_FACE_EXPRESSION_LOWER_LIP_DEPRESSOR_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + LowerLipDepressorR = 52, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_LEFT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + MouthLeft = 53, + + [NativeName("XR_FACE_EXPRESSION_MOUTH_RIGHT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + MouthRight = 54, + + [NativeName("XR_FACE_EXPRESSION_NOSE_WRINKLER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + NoseWrinklerL = 55, + + [NativeName("XR_FACE_EXPRESSION_NOSE_WRINKLER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + NoseWrinklerR = 56, + + [NativeName("XR_FACE_EXPRESSION_OUTER_BROW_RAISER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + OuterBrowRaiserL = 57, + + [NativeName("XR_FACE_EXPRESSION_OUTER_BROW_RAISER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + OuterBrowRaiserR = 58, + + [NativeName("XR_FACE_EXPRESSION_UPPER_LID_RAISER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + UpperLidRaiserL = 59, + + [NativeName("XR_FACE_EXPRESSION_UPPER_LID_RAISER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + UpperLidRaiserR = 60, + + [NativeName("XR_FACE_EXPRESSION_UPPER_LIP_RAISER_L_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + UpperLipRaiserL = 61, + + [NativeName("XR_FACE_EXPRESSION_UPPER_LIP_RAISER_R_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + UpperLipRaiserR = 62, + + [NativeName("XR_FACE_EXPRESSION_COUNT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + Count = 63, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceExpressionInfo2FB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionInfo2FB.gen.cs new file mode 100644 index 0000000000..7657872f6a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionInfo2FB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceExpressionInfo2FB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FaceExpressionInfo2FB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public StructureType Type = StructureType.TypeFaceExpressionInfo2FB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public void* Next; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public FaceExpressionInfo2FB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceExpressionInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionInfoFB.gen.cs new file mode 100644 index 0000000000..516142b187 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceExpressionInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FaceExpressionInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public StructureType Type = StructureType.TypeFaceExpressionInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public void* Next; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public FaceExpressionInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceExpressionSet2FB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionSet2FB.gen.cs new file mode 100644 index 0000000000..66421605f1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionSet2FB.gen.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceExpressionSet2FB")] +[SupportedApiProfile("openxr")] +public enum FaceExpressionSet2FB : uint +{ + [NativeName("XR_FACE_EXPRESSION_SET2_DEFAULT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + Default = 0, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceExpressionSetFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionSetFB.gen.cs new file mode 100644 index 0000000000..7e871d5e10 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionSetFB.gen.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceExpressionSetFB")] +[SupportedApiProfile("openxr")] +public enum FaceExpressionSetFB : uint +{ + [NativeName("XR_FACE_EXPRESSION_SET_DEFAULT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + Default = 0, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceExpressionStatusFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionStatusFB.gen.cs new file mode 100644 index 0000000000..38bab356f3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionStatusFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceExpressionStatusFB")] +[SupportedApiProfile("openxr")] +public partial struct FaceExpressionStatusFB +{ + [NativeName("isValid")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public MaybeBool IsValid; + + [NativeName("isEyeFollowingBlendshapesValid")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public MaybeBool IsEyeFollowingBlendshapesValid; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceExpressionWeights2FB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionWeights2FB.gen.cs new file mode 100644 index 0000000000..b19b2b5b7d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionWeights2FB.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceExpressionWeights2FB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FaceExpressionWeights2FB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public StructureType Type = StructureType.TypeFaceExpressionWeights2FB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public void* Next; + + [NativeName("weightCount")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public uint WeightCount; + + [NativeName("weights")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public float* Weights; + + [NativeName("confidenceCount")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public uint ConfidenceCount; + + [NativeName("confidences")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public float* Confidences; + + [NativeName("isValid")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public MaybeBool IsValid; + + [NativeName("isEyeFollowingBlendshapesValid")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public MaybeBool IsEyeFollowingBlendshapesValid; + + [NativeName("dataSource")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public FaceTrackingDataSource2FB DataSource; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public FaceExpressionWeights2FB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceExpressionWeightsFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionWeightsFB.gen.cs new file mode 100644 index 0000000000..7069a2e3c8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceExpressionWeightsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceExpressionWeightsFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FaceExpressionWeightsFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public StructureType Type = StructureType.TypeFaceExpressionWeightsFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public void* Next; + + [NativeName("weightCount")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public uint WeightCount; + + [NativeName("weights")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public float* Weights; + + [NativeName("confidenceCount")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public uint ConfidenceCount; + + [NativeName("confidences")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public float* Confidences; + + [NativeName("status")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public FaceExpressionStatusFB Status; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public FaceExpressionWeightsFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceParameterIndicesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceParameterIndicesANDROID.gen.cs new file mode 100644 index 0000000000..06a734a67c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceParameterIndicesANDROID.gen.cs @@ -0,0 +1,286 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceParameterIndicesANDROID")] +[SupportedApiProfile("openxr")] +public enum FaceParameterIndicesANDROID : uint +{ + [NativeName("XR_FACE_PARAMETER_INDICES_BROW_LOWERER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + BrowLowererL = 0, + + [NativeName("XR_FACE_PARAMETER_INDICES_BROW_LOWERER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + BrowLowererR = 1, + + [NativeName("XR_FACE_PARAMETER_INDICES_CHEEK_PUFF_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + CheekPuffL = 2, + + [NativeName("XR_FACE_PARAMETER_INDICES_CHEEK_PUFF_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + CheekPuffR = 3, + + [NativeName("XR_FACE_PARAMETER_INDICES_CHEEK_RAISER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + CheekRaiserL = 4, + + [NativeName("XR_FACE_PARAMETER_INDICES_CHEEK_RAISER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + CheekRaiserR = 5, + + [NativeName("XR_FACE_PARAMETER_INDICES_CHEEK_SUCK_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + CheekSuckL = 6, + + [NativeName("XR_FACE_PARAMETER_INDICES_CHEEK_SUCK_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + CheekSuckR = 7, + + [NativeName("XR_FACE_PARAMETER_INDICES_CHIN_RAISER_B_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + ChinRaiserB = 8, + + [NativeName("XR_FACE_PARAMETER_INDICES_CHIN_RAISER_T_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + ChinRaiserT = 9, + + [NativeName("XR_FACE_PARAMETER_INDICES_DIMPLER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + DimplerL = 10, + + [NativeName("XR_FACE_PARAMETER_INDICES_DIMPLER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + DimplerR = 11, + + [NativeName("XR_FACE_PARAMETER_INDICES_EYES_CLOSED_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + EyesClosedL = 12, + + [NativeName("XR_FACE_PARAMETER_INDICES_EYES_CLOSED_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + EyesClosedR = 13, + + [NativeName("XR_FACE_PARAMETER_INDICES_EYES_LOOK_DOWN_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + EyesLookDownL = 14, + + [NativeName("XR_FACE_PARAMETER_INDICES_EYES_LOOK_DOWN_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + EyesLookDownR = 15, + + [NativeName("XR_FACE_PARAMETER_INDICES_EYES_LOOK_LEFT_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + EyesLookLeftL = 16, + + [NativeName("XR_FACE_PARAMETER_INDICES_EYES_LOOK_LEFT_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + EyesLookLeftR = 17, + + [NativeName("XR_FACE_PARAMETER_INDICES_EYES_LOOK_RIGHT_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + EyesLookRightL = 18, + + [NativeName("XR_FACE_PARAMETER_INDICES_EYES_LOOK_RIGHT_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + EyesLookRightR = 19, + + [NativeName("XR_FACE_PARAMETER_INDICES_EYES_LOOK_UP_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + EyesLookUpL = 20, + + [NativeName("XR_FACE_PARAMETER_INDICES_EYES_LOOK_UP_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + EyesLookUpR = 21, + + [NativeName("XR_FACE_PARAMETER_INDICES_INNER_BROW_RAISER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + InnerBrowRaiserL = 22, + + [NativeName("XR_FACE_PARAMETER_INDICES_INNER_BROW_RAISER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + InnerBrowRaiserR = 23, + + [NativeName("XR_FACE_PARAMETER_INDICES_JAW_DROP_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + JawDrop = 24, + + [NativeName("XR_FACE_PARAMETER_INDICES_JAW_SIDEWAYS_LEFT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + JawSidewaysLeft = 25, + + [NativeName("XR_FACE_PARAMETER_INDICES_JAW_SIDEWAYS_RIGHT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + JawSidewaysRight = 26, + + [NativeName("XR_FACE_PARAMETER_INDICES_JAW_THRUST_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + JawThrust = 27, + + [NativeName("XR_FACE_PARAMETER_INDICES_LID_TIGHTENER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LidTightenerL = 28, + + [NativeName("XR_FACE_PARAMETER_INDICES_LID_TIGHTENER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LidTightenerR = 29, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_CORNER_DEPRESSOR_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipCornerDepressorL = 30, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_CORNER_DEPRESSOR_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipCornerDepressorR = 31, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_CORNER_PULLER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipCornerPullerL = 32, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_CORNER_PULLER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipCornerPullerR = 33, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_FUNNELER_LB_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipFunnelerLb = 34, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_FUNNELER_LT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipFunnelerLt = 35, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_FUNNELER_RB_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipFunnelerRb = 36, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_FUNNELER_RT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipFunnelerRt = 37, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_PRESSOR_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipPressorL = 38, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_PRESSOR_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipPressorR = 39, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_PUCKER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipPuckerL = 40, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_PUCKER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipPuckerR = 41, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_STRETCHER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipStretcherL = 42, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_STRETCHER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipStretcherR = 43, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_SUCK_LB_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipSuckLb = 44, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_SUCK_LT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipSuckLt = 45, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_SUCK_RB_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipSuckRb = 46, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_SUCK_RT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipSuckRt = 47, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_TIGHTENER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipTightenerL = 48, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIP_TIGHTENER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipTightenerR = 49, + + [NativeName("XR_FACE_PARAMETER_INDICES_LIPS_TOWARD_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LipsToward = 50, + + [NativeName("XR_FACE_PARAMETER_INDICES_LOWER_LIP_DEPRESSOR_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LowerLipDepressorL = 51, + + [NativeName("XR_FACE_PARAMETER_INDICES_LOWER_LIP_DEPRESSOR_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + LowerLipDepressorR = 52, + + [NativeName("XR_FACE_PARAMETER_INDICES_MOUTH_LEFT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + MouthLeft = 53, + + [NativeName("XR_FACE_PARAMETER_INDICES_MOUTH_RIGHT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + MouthRight = 54, + + [NativeName("XR_FACE_PARAMETER_INDICES_NOSE_WRINKLER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + NoseWrinklerL = 55, + + [NativeName("XR_FACE_PARAMETER_INDICES_NOSE_WRINKLER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + NoseWrinklerR = 56, + + [NativeName("XR_FACE_PARAMETER_INDICES_OUTER_BROW_RAISER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + OuterBrowRaiserL = 57, + + [NativeName("XR_FACE_PARAMETER_INDICES_OUTER_BROW_RAISER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + OuterBrowRaiserR = 58, + + [NativeName("XR_FACE_PARAMETER_INDICES_UPPER_LID_RAISER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + UpperLidRaiserL = 59, + + [NativeName("XR_FACE_PARAMETER_INDICES_UPPER_LID_RAISER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + UpperLidRaiserR = 60, + + [NativeName("XR_FACE_PARAMETER_INDICES_UPPER_LIP_RAISER_L_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + UpperLipRaiserL = 61, + + [NativeName("XR_FACE_PARAMETER_INDICES_UPPER_LIP_RAISER_R_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + UpperLipRaiserR = 62, + + [NativeName("XR_FACE_PARAMETER_INDICES_TONGUE_OUT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + TongueOut = 63, + + [NativeName("XR_FACE_PARAMETER_INDICES_TONGUE_LEFT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + TongueLeft = 64, + + [NativeName("XR_FACE_PARAMETER_INDICES_TONGUE_RIGHT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + TongueRight = 65, + + [NativeName("XR_FACE_PARAMETER_INDICES_TONGUE_UP_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + TongueUp = 66, + + [NativeName("XR_FACE_PARAMETER_INDICES_TONGUE_DOWN_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + TongueDown = 67, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceStateANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceStateANDROID.gen.cs new file mode 100644 index 0000000000..a51127203e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceStateANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceStateANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FaceStateANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public StructureType Type = StructureType.TypeFaceStateANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public void* Next; + + [NativeName("parametersCapacityInput")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public uint ParametersCapacityInput; + + [NativeName("parametersCountOutput")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public uint ParametersCountOutput; + + [NativeName("parameters")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public float* Parameters; + + [NativeName("faceTrackingState")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public FaceTrackingStateANDROID FaceTrackingState; + + [NativeName("sampleTime")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public long SampleTime; + + [NativeName("isValid")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public MaybeBool IsValid; + + [NativeName("regionConfidencesCapacityInput")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public uint RegionConfidencesCapacityInput; + + [NativeName("regionConfidencesCountOutput")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public uint RegionConfidencesCountOutput; + + [NativeName("regionConfidences")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public float* RegionConfidences; + + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public FaceStateANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceStateGetInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceStateGetInfoANDROID.gen.cs new file mode 100644 index 0000000000..fa4f1aa625 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceStateGetInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceStateGetInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FaceStateGetInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public StructureType Type = StructureType.TypeFaceStateGetInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public void* Next; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public FaceStateGetInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceTrackerCreateInfo2FB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceTrackerCreateInfo2FB.gen.cs new file mode 100644 index 0000000000..f12043931b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceTrackerCreateInfo2FB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceTrackerCreateInfo2FB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FaceTrackerCreateInfo2FB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public StructureType Type = StructureType.TypeFaceTrackerCreateInfo2FB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public void* Next; + + [NativeName("faceExpressionSet")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public FaceExpressionSet2FB FaceExpressionSet; + + [NativeName("requestedDataSourceCount")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public uint RequestedDataSourceCount; + + [NativeName("requestedDataSources")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public FaceTrackingDataSource2FB* RequestedDataSources; + + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public FaceTrackerCreateInfo2FB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceTrackerCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceTrackerCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..71d71869ad --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceTrackerCreateInfoANDROID.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceTrackerCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FaceTrackerCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public StructureType Type = StructureType.TypeFaceTrackerCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public FaceTrackerCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceTrackerCreateInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceTrackerCreateInfoBD.gen.cs new file mode 100644 index 0000000000..cb989cc5b5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceTrackerCreateInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceTrackerCreateInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FaceTrackerCreateInfoBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public StructureType Type = StructureType.TypeFaceTrackerCreateInfoBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public void* Next; + + [NativeName("mode")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public FacialSimulationModeBD Mode; + + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public FaceTrackerCreateInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceTrackerCreateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceTrackerCreateInfoFB.gen.cs new file mode 100644 index 0000000000..6d839dd3f3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceTrackerCreateInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceTrackerCreateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FaceTrackerCreateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public StructureType Type = StructureType.TypeFaceTrackerCreateInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public void* Next; + + [NativeName("faceExpressionSet")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public FaceExpressionSetFB FaceExpressionSet; + + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public FaceTrackerCreateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceTrackingDataSource2FB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceTrackingDataSource2FB.gen.cs new file mode 100644 index 0000000000..4f8d11ab63 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceTrackingDataSource2FB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceTrackingDataSource2FB")] +[SupportedApiProfile("openxr")] +public enum FaceTrackingDataSource2FB : uint +{ + [NativeName("XR_FACE_TRACKING_DATA_SOURCE2_VISUAL_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + Visual = 0, + + [NativeName("XR_FACE_TRACKING_DATA_SOURCE2_AUDIO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + Audio = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceTrackingStateANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceTrackingStateANDROID.gen.cs new file mode 100644 index 0000000000..471b99dad8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceTrackingStateANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceTrackingStateANDROID")] +[SupportedApiProfile("openxr")] +public enum FaceTrackingStateANDROID : uint +{ + [NativeName("XR_FACE_TRACKING_STATE_PAUSED_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + Paused = 0, + + [NativeName("XR_FACE_TRACKING_STATE_STOPPED_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + Stopped = 1, + + [NativeName("XR_FACE_TRACKING_STATE_TRACKING_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + Tracking = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceTrackingVisemeMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceTrackingVisemeMETA.gen.cs new file mode 100644 index 0000000000..4298461878 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceTrackingVisemeMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceTrackingVisemeMETA")] +[SupportedApiProfile("openxr")] +public enum FaceTrackingVisemeMETA : uint +{ + [NativeName("XR_FACE_TRACKING_VISEME_SIL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Sil = 0, + + [NativeName("XR_FACE_TRACKING_VISEME_PP_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Pp = 1, + + [NativeName("XR_FACE_TRACKING_VISEME_FF_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Ff = 2, + + [NativeName("XR_FACE_TRACKING_VISEME_TH_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Th = 3, + + [NativeName("XR_FACE_TRACKING_VISEME_DD_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Dd = 4, + + [NativeName("XR_FACE_TRACKING_VISEME_KK_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Kk = 5, + + [NativeName("XR_FACE_TRACKING_VISEME_CH_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Ch = 6, + + [NativeName("XR_FACE_TRACKING_VISEME_SS_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Ss = 7, + + [NativeName("XR_FACE_TRACKING_VISEME_NN_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Nn = 8, + + [NativeName("XR_FACE_TRACKING_VISEME_RR_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Rr = 9, + + [NativeName("XR_FACE_TRACKING_VISEME_AA_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Aa = 10, + + [NativeName("XR_FACE_TRACKING_VISEME_E_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + E = 11, + + [NativeName("XR_FACE_TRACKING_VISEME_IH_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Ih = 12, + + [NativeName("XR_FACE_TRACKING_VISEME_OH_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Oh = 13, + + [NativeName("XR_FACE_TRACKING_VISEME_OU_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + Ou = 14, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceTrackingVisemesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceTrackingVisemesMETA.gen.cs new file mode 100644 index 0000000000..5bcbf67c9c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceTrackingVisemesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFaceTrackingVisemesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FaceTrackingVisemesMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeFaceTrackingVisemesMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("isValid")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + public MaybeBool IsValid; + + [NativeName("visemes")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + public FaceTrackingVisemesMETAVisemes Visemes; + + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + public FaceTrackingVisemesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FaceTrackingVisemesMETAVisemes.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FaceTrackingVisemesMETAVisemes.gen.cs new file mode 100644 index 0000000000..1b9a3b0eaf --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FaceTrackingVisemesMETAVisemes.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_visemes_e__FixedBuffer")] +[InlineArray(15)] +[SupportedApiProfile("openxr")] +public partial struct FaceTrackingVisemesMETAVisemes +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public float E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FacialBlendShapeML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FacialBlendShapeML.gen.cs new file mode 100644 index 0000000000..7f7ceaccd1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FacialBlendShapeML.gen.cs @@ -0,0 +1,198 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFacialBlendShapeML")] +[SupportedApiProfile("openxr")] +public enum FacialBlendShapeML : uint +{ + [NativeName("XR_FACIAL_BLEND_SHAPE_BROW_LOWERER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + BrowLowererL = 0, + + [NativeName("XR_FACIAL_BLEND_SHAPE_BROW_LOWERER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + BrowLowererR = 1, + + [NativeName("XR_FACIAL_BLEND_SHAPE_CHEEK_RAISER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + CheekRaiserL = 2, + + [NativeName("XR_FACIAL_BLEND_SHAPE_CHEEK_RAISER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + CheekRaiserR = 3, + + [NativeName("XR_FACIAL_BLEND_SHAPE_CHIN_RAISER_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + ChinRaiser = 4, + + [NativeName("XR_FACIAL_BLEND_SHAPE_DIMPLER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + DimplerL = 5, + + [NativeName("XR_FACIAL_BLEND_SHAPE_DIMPLER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + DimplerR = 6, + + [NativeName("XR_FACIAL_BLEND_SHAPE_EYES_CLOSED_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + EyesClosedL = 7, + + [NativeName("XR_FACIAL_BLEND_SHAPE_EYES_CLOSED_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + EyesClosedR = 8, + + [NativeName("XR_FACIAL_BLEND_SHAPE_INNER_BROW_RAISER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + InnerBrowRaiserL = 9, + + [NativeName("XR_FACIAL_BLEND_SHAPE_INNER_BROW_RAISER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + InnerBrowRaiserR = 10, + + [NativeName("XR_FACIAL_BLEND_SHAPE_JAW_DROP_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + JawDrop = 11, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LID_TIGHTENER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LidTightenerL = 12, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LID_TIGHTENER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LidTightenerR = 13, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_CORNER_DEPRESSOR_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipCornerDepressorL = 14, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_CORNER_DEPRESSOR_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipCornerDepressorR = 15, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_CORNER_PULLER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipCornerPullerL = 16, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_CORNER_PULLER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipCornerPullerR = 17, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_FUNNELER_LB_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipFunnelerLb = 18, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_FUNNELER_LT_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipFunnelerLt = 19, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_FUNNELER_RB_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipFunnelerRb = 20, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_FUNNELER_RT_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipFunnelerRt = 21, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_PRESSOR_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipPressorL = 22, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_PRESSOR_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipPressorR = 23, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_PUCKER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipPuckerL = 24, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_PUCKER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipPuckerR = 25, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_STRETCHER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipStretcherL = 26, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_STRETCHER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipStretcherR = 27, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_SUCK_LB_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipSuckLb = 28, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_SUCK_LT_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipSuckLt = 29, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_SUCK_RB_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipSuckRb = 30, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_SUCK_RT_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipSuckRt = 31, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_TIGHTENER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipTightenerL = 32, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIP_TIGHTENER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipTightenerR = 33, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LIPS_TOWARD_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LipsToward = 34, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LOWER_LIP_DEPRESSOR_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LowerLipDepressorL = 35, + + [NativeName("XR_FACIAL_BLEND_SHAPE_LOWER_LIP_DEPRESSOR_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + LowerLipDepressorR = 36, + + [NativeName("XR_FACIAL_BLEND_SHAPE_NOSE_WRINKLER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + NoseWrinklerL = 37, + + [NativeName("XR_FACIAL_BLEND_SHAPE_NOSE_WRINKLER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + NoseWrinklerR = 38, + + [NativeName("XR_FACIAL_BLEND_SHAPE_OUTER_BROW_RAISER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + OuterBrowRaiserL = 39, + + [NativeName("XR_FACIAL_BLEND_SHAPE_OUTER_BROW_RAISER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + OuterBrowRaiserR = 40, + + [NativeName("XR_FACIAL_BLEND_SHAPE_UPPER_LID_RAISER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + UpperLidRaiserL = 41, + + [NativeName("XR_FACIAL_BLEND_SHAPE_UPPER_LID_RAISER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + UpperLidRaiserR = 42, + + [NativeName("XR_FACIAL_BLEND_SHAPE_UPPER_LIP_RAISER_L_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + UpperLipRaiserL = 43, + + [NativeName("XR_FACIAL_BLEND_SHAPE_UPPER_LIP_RAISER_R_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + UpperLipRaiserR = 44, + + [NativeName("XR_FACIAL_BLEND_SHAPE_TONGUE_OUT_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + TongueOut = 45, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FacialExpressionBlendShapeGetInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FacialExpressionBlendShapeGetInfoML.gen.cs new file mode 100644 index 0000000000..484297585c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FacialExpressionBlendShapeGetInfoML.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFacialExpressionBlendShapeGetInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FacialExpressionBlendShapeGetInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public StructureType Type = StructureType.TypeFacialExpressionBlendShapeGetInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public FacialExpressionBlendShapeGetInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FacialExpressionBlendShapePropertiesML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FacialExpressionBlendShapePropertiesML.gen.cs new file mode 100644 index 0000000000..a2f2eb0d34 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FacialExpressionBlendShapePropertiesML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFacialExpressionBlendShapePropertiesML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FacialExpressionBlendShapePropertiesML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public StructureType Type = StructureType.TypeFacialExpressionBlendShapePropertiesML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public void* Next; + + [NativeName("requestedFacialBlendShape")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public FacialBlendShapeML RequestedFacialBlendShape; + + [NativeName("weight")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public float Weight; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public FacialExpressionBlendShapePropertiesFlagsML Flags; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public FacialExpressionBlendShapePropertiesML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FacialExpressionClientCreateInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FacialExpressionClientCreateInfoML.gen.cs new file mode 100644 index 0000000000..6c77f792ee --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FacialExpressionClientCreateInfoML.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFacialExpressionClientCreateInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FacialExpressionClientCreateInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public StructureType Type = StructureType.TypeFacialExpressionClientCreateInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public void* Next; + + [NativeName("requestedCount")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public uint RequestedCount; + + [NativeName("requestedFacialBlendShapes")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public FacialBlendShapeML* RequestedFacialBlendShapes; + + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public FacialExpressionClientCreateInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FacialExpressionsHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FacialExpressionsHTC.gen.cs new file mode 100644 index 0000000000..35f4270640 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FacialExpressionsHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFacialExpressionsHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FacialExpressionsHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public StructureType Type = StructureType.TypeFacialExpressionsHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public void* Next; + + [NativeName("isActive")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public MaybeBool IsActive; + + [NativeName("sampleTime")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public long SampleTime; + + [NativeName("expressionCount")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public uint ExpressionCount; + + [NativeName("expressionWeightings")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public float* ExpressionWeightings; + + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public FacialExpressionsHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FacialSimulationDataBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FacialSimulationDataBD.gen.cs new file mode 100644 index 0000000000..1b9236ef2b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FacialSimulationDataBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFacialSimulationDataBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FacialSimulationDataBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public StructureType Type = StructureType.TypeFacialSimulationDataBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public void* Next; + + [NativeName("faceExpressionWeightCount")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public uint FaceExpressionWeightCount; + + [NativeName("faceExpressionWeights")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public float* FaceExpressionWeights; + + [NativeName("isUpperFaceDataValid")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public MaybeBool IsUpperFaceDataValid; + + [NativeName("isLowerFaceDataValid")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public MaybeBool IsLowerFaceDataValid; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public FacialSimulationDataBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FacialSimulationDataGetInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FacialSimulationDataGetInfoBD.gen.cs new file mode 100644 index 0000000000..18b94f8b39 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FacialSimulationDataGetInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFacialSimulationDataGetInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FacialSimulationDataGetInfoBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public StructureType Type = StructureType.TypeFacialSimulationDataGetInfoBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public void* Next; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public FacialSimulationDataGetInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FacialSimulationModeBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FacialSimulationModeBD.gen.cs new file mode 100644 index 0000000000..e63195672b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FacialSimulationModeBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFacialSimulationModeBD")] +[SupportedApiProfile("openxr")] +public enum FacialSimulationModeBD : uint +{ + [NativeName("XR_FACIAL_SIMULATION_MODE_DEFAULT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Default = 0, + + [NativeName("XR_FACIAL_SIMULATION_MODE_COMBINED_AUDIO_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + CombinedAudio = 1, + + [NativeName("XR_FACIAL_SIMULATION_MODE_COMBINED_AUDIO_WITH_LIP_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + CombinedAudioWithLip = 2, + + [NativeName("XR_FACIAL_SIMULATION_MODE_ONLY_AUDIO_WITH_LIP_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + OnlyAudioWithLip = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FacialTrackerCreateInfoHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FacialTrackerCreateInfoHTC.gen.cs new file mode 100644 index 0000000000..d300c05643 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FacialTrackerCreateInfoHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFacialTrackerCreateInfoHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FacialTrackerCreateInfoHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public StructureType Type = StructureType.TypeFacialTrackerCreateInfoHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public void* Next; + + [NativeName("facialTrackingType")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public FacialTrackingTypeHTC FacialTrackingType; + + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public FacialTrackerCreateInfoHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FacialTrackingTypeHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FacialTrackingTypeHTC.gen.cs new file mode 100644 index 0000000000..e64d1e3df8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FacialTrackingTypeHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFacialTrackingTypeHTC")] +[SupportedApiProfile("openxr")] +public enum FacialTrackingTypeHTC : uint +{ + [NativeName("XR_FACIAL_TRACKING_TYPE_EYE_DEFAULT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + EyeDefault = 1, + + [NativeName("XR_FACIAL_TRACKING_TYPE_LIP_DEFAULT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + LipDefault = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ForceFeedbackCurlApplyLocationMNDX.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ForceFeedbackCurlApplyLocationMNDX.gen.cs new file mode 100644 index 0000000000..da346494cd --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ForceFeedbackCurlApplyLocationMNDX.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrForceFeedbackCurlApplyLocationMNDX")] +[SupportedApiProfile("openxr")] +public partial struct ForceFeedbackCurlApplyLocationMNDX +{ + [NativeName("location")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public ForceFeedbackCurlLocationMNDX Location; + + [NativeName("value")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public float Value; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ForceFeedbackCurlApplyLocationsMNDX.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ForceFeedbackCurlApplyLocationsMNDX.gen.cs new file mode 100644 index 0000000000..f3843adf5f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ForceFeedbackCurlApplyLocationsMNDX.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrForceFeedbackCurlApplyLocationsMNDX")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ForceFeedbackCurlApplyLocationsMNDX +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeForceFeedbackCurlApplyLocationsMNDX; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("locationCount")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint LocationCount; + + [NativeName("locations")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public ForceFeedbackCurlApplyLocationMNDX* Locations; + + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public ForceFeedbackCurlApplyLocationsMNDX() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ForceFeedbackCurlLocationMNDX.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ForceFeedbackCurlLocationMNDX.gen.cs new file mode 100644 index 0000000000..c2ed71c967 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ForceFeedbackCurlLocationMNDX.gen.cs @@ -0,0 +1,54 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrForceFeedbackCurlLocationMNDX")] +[SupportedApiProfile("openxr")] +public enum ForceFeedbackCurlLocationMNDX : uint +{ + [NativeName("XR_FORCE_FEEDBACK_CURL_LOCATION_THUMB_CURL_MNDX")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + ThumbCurl = 0, + + [NativeName("XR_FORCE_FEEDBACK_CURL_LOCATION_INDEX_CURL_MNDX")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + IndexCurl = 1, + + [NativeName("XR_FORCE_FEEDBACK_CURL_LOCATION_MIDDLE_CURL_MNDX")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + MiddleCurl = 2, + + [NativeName("XR_FORCE_FEEDBACK_CURL_LOCATION_RING_CURL_MNDX")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + RingCurl = 3, + + [NativeName("XR_FORCE_FEEDBACK_CURL_LOCATION_LITTLE_CURL_MNDX")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + LittleCurl = 4, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FormFactor.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FormFactor.gen.cs new file mode 100644 index 0000000000..7ebcd1452a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FormFactor.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFormFactor")] +[SupportedApiProfile("openxr")] +public enum FormFactor : uint +{ + [NativeName("XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY")] + [SupportedApiProfile("openxr")] + HeadMountedDisplay = 1, + + [NativeName("XR_FORM_FACTOR_HANDHELD_DISPLAY")] + [SupportedApiProfile("openxr")] + HandheldDisplay = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveatedViewConfigurationViewVARJO.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveatedViewConfigurationViewVARJO.gen.cs new file mode 100644 index 0000000000..5726659d0e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveatedViewConfigurationViewVARJO.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveatedViewConfigurationViewVARJO")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FoveatedViewConfigurationViewVARJO +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeFoveatedViewConfigurationViewVARJO; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("foveatedRenderingActive")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public MaybeBool FoveatedRenderingActive; + + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public FoveatedViewConfigurationViewVARJO() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationApplyInfoHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationApplyInfoHTC.gen.cs new file mode 100644 index 0000000000..b2c9eac697 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationApplyInfoHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationApplyInfoHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FoveationApplyInfoHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public StructureType Type = StructureType.TypeFoveationApplyInfoHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public void* Next; + + [NativeName("mode")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public FoveationModeHTC Mode; + + [NativeName("subImageCount")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public uint SubImageCount; + + [NativeName("subImages")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public SwapchainSubImage* SubImages; + + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public FoveationApplyInfoHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationConfigurationHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationConfigurationHTC.gen.cs new file mode 100644 index 0000000000..f2a4c63c4c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationConfigurationHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationConfigurationHTC")] +[SupportedApiProfile("openxr")] +public partial struct FoveationConfigurationHTC +{ + [NativeName("level")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public FoveationLevelHTC Level; + + [NativeName("clearFovDegree")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public float ClearFovDegree; + + [NativeName("focalCenterOffset")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public Vector2F FocalCenterOffset; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationCustomModeInfoHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationCustomModeInfoHTC.gen.cs new file mode 100644 index 0000000000..87e1c85277 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationCustomModeInfoHTC.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationCustomModeInfoHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FoveationCustomModeInfoHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public StructureType Type = StructureType.TypeFoveationCustomModeInfoHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public void* Next; + + [NativeName("configCount")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public uint ConfigCount; + + [NativeName("configs")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public FoveationConfigurationHTC* Configs; + + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public FoveationCustomModeInfoHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationDynamicFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationDynamicFB.gen.cs new file mode 100644 index 0000000000..c1ec41c357 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationDynamicFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationDynamicFB")] +[SupportedApiProfile("openxr")] +public enum FoveationDynamicFB : uint +{ + [NativeName("XR_FOVEATION_DYNAMIC_DISABLED_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + Disabled = 0, + + [NativeName("XR_FOVEATION_DYNAMIC_LEVEL_ENABLED_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + LevelEnabled = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationDynamicModeInfoHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationDynamicModeInfoHTC.gen.cs new file mode 100644 index 0000000000..7b2092843a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationDynamicModeInfoHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationDynamicModeInfoHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FoveationDynamicModeInfoHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public StructureType Type = StructureType.TypeFoveationDynamicModeInfoHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public void* Next; + + [NativeName("dynamicFlags")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public FoveationDynamicFlagsHTC DynamicFlags; + + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public FoveationDynamicModeInfoHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationEyeTrackedProfileCreateInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationEyeTrackedProfileCreateInfoMETA.gen.cs new file mode 100644 index 0000000000..7f41e02d6d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationEyeTrackedProfileCreateInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationEyeTrackedProfileCreateInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FoveationEyeTrackedProfileCreateInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeFoveationEyeTrackedProfileCreateInfoMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public FoveationEyeTrackedProfileCreateFlagsMETA Flags; + + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public FoveationEyeTrackedProfileCreateInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationEyeTrackedStateMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationEyeTrackedStateMETA.gen.cs new file mode 100644 index 0000000000..b457da2549 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationEyeTrackedStateMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationEyeTrackedStateMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FoveationEyeTrackedStateMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeFoveationEyeTrackedStateMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("foveationCenter")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public FoveationEyeTrackedStateMETAFoveationCenter FoveationCenter; + + [NativeName("flags")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public FoveationEyeTrackedStateFlagsMETA Flags; + + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public FoveationEyeTrackedStateMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationEyeTrackedStateMETAFoveationCenter.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationEyeTrackedStateMETAFoveationCenter.gen.cs new file mode 100644 index 0000000000..1cdbfd9038 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationEyeTrackedStateMETAFoveationCenter.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_foveationCenter_e__FixedBuffer")] +[InlineArray(2)] +[SupportedApiProfile("openxr")] +public partial struct FoveationEyeTrackedStateMETAFoveationCenter +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public Vector2F E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationLevelFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationLevelFB.gen.cs new file mode 100644 index 0000000000..de2535f470 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationLevelFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationLevelFB")] +[SupportedApiProfile("openxr")] +public enum FoveationLevelFB : uint +{ + [NativeName("XR_FOVEATION_LEVEL_NONE_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + None = 0, + + [NativeName("XR_FOVEATION_LEVEL_LOW_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + Low = 1, + + [NativeName("XR_FOVEATION_LEVEL_MEDIUM_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + Medium = 2, + + [NativeName("XR_FOVEATION_LEVEL_HIGH_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + High = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationLevelHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationLevelHTC.gen.cs new file mode 100644 index 0000000000..790c562c34 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationLevelHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationLevelHTC")] +[SupportedApiProfile("openxr")] +public enum FoveationLevelHTC : uint +{ + [NativeName("XR_FOVEATION_LEVEL_NONE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + None = 0, + + [NativeName("XR_FOVEATION_LEVEL_LOW_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + Low = 1, + + [NativeName("XR_FOVEATION_LEVEL_MEDIUM_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + Medium = 2, + + [NativeName("XR_FOVEATION_LEVEL_HIGH_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + High = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationLevelProfileCreateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationLevelProfileCreateInfoFB.gen.cs new file mode 100644 index 0000000000..4931bdf3b8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationLevelProfileCreateInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationLevelProfileCreateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FoveationLevelProfileCreateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeFoveationLevelProfileCreateInfoFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("level")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + public FoveationLevelFB Level; + + [NativeName("verticalOffset")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + public float VerticalOffset; + + [NativeName("dynamic")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + public FoveationDynamicFB Dynamic; + + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + public FoveationLevelProfileCreateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationModeHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationModeHTC.gen.cs new file mode 100644 index 0000000000..b67276bd0b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationModeHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationModeHTC")] +[SupportedApiProfile("openxr")] +public enum FoveationModeHTC : uint +{ + [NativeName("XR_FOVEATION_MODE_DISABLE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + Disable = 0, + + [NativeName("XR_FOVEATION_MODE_FIXED_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + Fixed = 1, + + [NativeName("XR_FOVEATION_MODE_DYNAMIC_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + Dynamic = 2, + + [NativeName("XR_FOVEATION_MODE_CUSTOM_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + Custom = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FoveationProfileCreateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FoveationProfileCreateInfoFB.gen.cs new file mode 100644 index 0000000000..dc0f714737 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FoveationProfileCreateInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFoveationProfileCreateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FoveationProfileCreateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeFoveationProfileCreateInfoFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public FoveationProfileCreateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Fovf.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Fovf.gen.cs new file mode 100644 index 0000000000..5b24a01641 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Fovf.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFovf")] +[SupportedApiProfile("openxr")] +public partial struct Fovf +{ + [NativeName("angleLeft")] + [SupportedApiProfile("openxr")] + public float AngleLeft; + + [NativeName("angleRight")] + [SupportedApiProfile("openxr")] + public float AngleRight; + + [NativeName("angleUp")] + [SupportedApiProfile("openxr")] + public float AngleUp; + + [NativeName("angleDown")] + [SupportedApiProfile("openxr")] + public float AngleDown; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FrameBeginInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FrameBeginInfo.gen.cs new file mode 100644 index 0000000000..7d1a34ea03 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FrameBeginInfo.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFrameBeginInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FrameBeginInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeFrameBeginInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [SupportedApiProfile("openxr")] + public FrameBeginInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FrameEndInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FrameEndInfo.gen.cs new file mode 100644 index 0000000000..2777fd2937 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FrameEndInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFrameEndInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FrameEndInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeFrameEndInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("displayTime")] + [SupportedApiProfile("openxr")] + public long DisplayTime; + + [NativeName("environmentBlendMode")] + [SupportedApiProfile("openxr")] + public EnvironmentBlendMode EnvironmentBlendMode; + + [NativeName("layerCount")] + [SupportedApiProfile("openxr")] + public uint LayerCount; + + [NativeName("layers")] + [SupportedApiProfile("openxr")] + public CompositionLayerBaseHeader** Layers; + + [SupportedApiProfile("openxr")] + public FrameEndInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FrameEndInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FrameEndInfoML.gen.cs new file mode 100644 index 0000000000..9871c062fb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FrameEndInfoML.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFrameEndInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FrameEndInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_frame_end_info"])] + public StructureType Type = StructureType.TypeFrameEndInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_frame_end_info"])] + public void* Next; + + [NativeName("focusDistance")] + [SupportedApiProfile("openxr", ["XR_ML_frame_end_info"])] + public float FocusDistance; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_ML_frame_end_info"])] + public FrameEndInfoFlagsML Flags; + + [SupportedApiProfile("openxr", ["XR_ML_frame_end_info"])] + public FrameEndInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FrameState.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FrameState.gen.cs new file mode 100644 index 0000000000..a8ec90411d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FrameState.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFrameState")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FrameState +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeFrameState; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("predictedDisplayTime")] + [SupportedApiProfile("openxr")] + public long PredictedDisplayTime; + + [NativeName("predictedDisplayPeriod")] + [SupportedApiProfile("openxr")] + public long PredictedDisplayPeriod; + + [NativeName("shouldRender")] + [SupportedApiProfile("openxr")] + public MaybeBool ShouldRender; + + [SupportedApiProfile("openxr")] + public FrameState() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FrameSynthesisConfigViewEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FrameSynthesisConfigViewEXT.gen.cs new file mode 100644 index 0000000000..b4ca8f3d33 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FrameSynthesisConfigViewEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFrameSynthesisConfigViewEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FrameSynthesisConfigViewEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public StructureType Type = StructureType.TypeFrameSynthesisConfigViewEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public void* Next; + + [NativeName("recommendedMotionVectorImageRectWidth")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public uint RecommendedMotionVectorImageRectWidth; + + [NativeName("recommendedMotionVectorImageRectHeight")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public uint RecommendedMotionVectorImageRectHeight; + + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public FrameSynthesisConfigViewEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FrameSynthesisInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FrameSynthesisInfoEXT.gen.cs new file mode 100644 index 0000000000..b249ddfd8e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FrameSynthesisInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFrameSynthesisInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FrameSynthesisInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public StructureType Type = StructureType.TypeFrameSynthesisInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public void* Next; + + [NativeName("layerFlags")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public FrameSynthesisInfoFlagsEXT LayerFlags; + + [NativeName("motionVectorSubImage")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public SwapchainSubImage MotionVectorSubImage; + + [NativeName("motionVectorScale")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public Vector4F MotionVectorScale; + + [NativeName("motionVectorOffset")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public Vector4F MotionVectorOffset; + + [NativeName("appSpaceDeltaPose")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public Posef AppSpaceDeltaPose; + + [NativeName("depthSubImage")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public SwapchainSubImage DepthSubImage; + + [NativeName("minDepth")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public float MinDepth; + + [NativeName("maxDepth")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public float MaxDepth; + + [NativeName("nearZ")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public float NearZ; + + [NativeName("farZ")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public float FarZ; + + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public FrameSynthesisInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FrameWaitInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FrameWaitInfo.gen.cs new file mode 100644 index 0000000000..635fd3da90 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FrameWaitInfo.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFrameWaitInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FrameWaitInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeFrameWaitInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [SupportedApiProfile("openxr")] + public FrameWaitInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Frustumf.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Frustumf.gen.cs new file mode 100644 index 0000000000..308d11f6e9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Frustumf.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFrustumf")] +[SupportedApiProfile("openxr")] +public partial struct Frustumf +{ + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public Posef Pose; + + [NativeName("fov")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public Fovf Fov; + + [NativeName("nearZ")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public float NearZ; + + [NativeName("farZ")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public float FarZ; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FullBodyJointMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FullBodyJointMETA.gen.cs new file mode 100644 index 0000000000..84b7052f58 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FullBodyJointMETA.gen.cs @@ -0,0 +1,702 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFullBodyJointMETA")] +[SupportedApiProfile("openxr")] +public enum FullBodyJointMETA : uint +{ + [NativeName("XR_FULL_BODY_JOINT_ROOT_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + Root = 0, + + [NativeName("XR_FULL_BODY_JOINT_HIPS_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + Hips = 1, + + [NativeName("XR_FULL_BODY_JOINT_SPINE_LOWER_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + SpineLower = 2, + + [NativeName("XR_FULL_BODY_JOINT_SPINE_MIDDLE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + SpineMiddle = 3, + + [NativeName("XR_FULL_BODY_JOINT_SPINE_UPPER_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + SpineUpper = 4, + + [NativeName("XR_FULL_BODY_JOINT_CHEST_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + Chest = 5, + + [NativeName("XR_FULL_BODY_JOINT_NECK_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + Neck = 6, + + [NativeName("XR_FULL_BODY_JOINT_HEAD_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + Head = 7, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_SHOULDER_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftShoulder = 8, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_SCAPULA_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftScapula = 9, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_ARM_UPPER_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftArmUpper = 10, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_ARM_LOWER_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftArmLower = 11, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_WRIST_TWIST_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandWristTwist = 12, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_SHOULDER_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightShoulder = 13, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_SCAPULA_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightScapula = 14, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_ARM_UPPER_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightArmUpper = 15, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_ARM_LOWER_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightArmLower = 16, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_WRIST_TWIST_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandWristTwist = 17, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_PALM_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandPalm = 18, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_WRIST_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandWrist = 19, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_THUMB_METACARPAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandThumbMetacarpal = 20, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_THUMB_PROXIMAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandThumbProximal = 21, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_THUMB_DISTAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandThumbDistal = 22, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_THUMB_TIP_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandThumbTip = 23, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_METACARPAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandIndexMetacarpal = 24, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_PROXIMAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandIndexProximal = 25, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_INTERMEDIATE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandIndexIntermediate = 26, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_DISTAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandIndexDistal = 27, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_INDEX_TIP_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandIndexTip = 28, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_METACARPAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandMiddleMetacarpal = 29, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_PROXIMAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandMiddleProximal = 30, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_INTERMEDIATE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandMiddleIntermediate = 31, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_DISTAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandMiddleDistal = 32, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_MIDDLE_TIP_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandMiddleTip = 33, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_RING_METACARPAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandRingMetacarpal = 34, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_RING_PROXIMAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandRingProximal = 35, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_RING_INTERMEDIATE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandRingIntermediate = 36, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_RING_DISTAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandRingDistal = 37, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_RING_TIP_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandRingTip = 38, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_METACARPAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandLittleMetacarpal = 39, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_PROXIMAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandLittleProximal = 40, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_INTERMEDIATE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandLittleIntermediate = 41, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_DISTAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandLittleDistal = 42, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_HAND_LITTLE_TIP_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftHandLittleTip = 43, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_PALM_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandPalm = 44, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_WRIST_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandWrist = 45, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_THUMB_METACARPAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandThumbMetacarpal = 46, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_THUMB_PROXIMAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandThumbProximal = 47, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_THUMB_DISTAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandThumbDistal = 48, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_THUMB_TIP_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandThumbTip = 49, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_METACARPAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandIndexMetacarpal = 50, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_PROXIMAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandIndexProximal = 51, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_INTERMEDIATE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandIndexIntermediate = 52, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_DISTAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandIndexDistal = 53, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_INDEX_TIP_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandIndexTip = 54, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_METACARPAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandMiddleMetacarpal = 55, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_PROXIMAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandMiddleProximal = 56, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_INTERMEDIATE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandMiddleIntermediate = 57, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_DISTAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandMiddleDistal = 58, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_MIDDLE_TIP_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandMiddleTip = 59, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_RING_METACARPAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandRingMetacarpal = 60, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_RING_PROXIMAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandRingProximal = 61, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_RING_INTERMEDIATE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandRingIntermediate = 62, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_RING_DISTAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandRingDistal = 63, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_RING_TIP_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandRingTip = 64, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_METACARPAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandLittleMetacarpal = 65, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_PROXIMAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandLittleProximal = 66, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_INTERMEDIATE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandLittleIntermediate = 67, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_DISTAL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandLittleDistal = 68, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_HAND_LITTLE_TIP_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightHandLittleTip = 69, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_UPPER_LEG_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftUpperLeg = 70, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_LOWER_LEG_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftLowerLeg = 71, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_FOOT_ANKLE_TWIST_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftFootAnkleTwist = 72, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_FOOT_ANKLE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftFootAnkle = 73, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_FOOT_SUBTALAR_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftFootSubtalar = 74, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_FOOT_TRANSVERSE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftFootTransverse = 75, + + [NativeName("XR_FULL_BODY_JOINT_LEFT_FOOT_BALL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + LeftFootBall = 76, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_UPPER_LEG_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightUpperLeg = 77, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_LOWER_LEG_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightLowerLeg = 78, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_FOOT_ANKLE_TWIST_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightFootAnkleTwist = 79, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_FOOT_ANKLE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightFootAnkle = 80, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_FOOT_SUBTALAR_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightFootSubtalar = 81, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_FOOT_TRANSVERSE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightFootTransverse = 82, + + [NativeName("XR_FULL_BODY_JOINT_RIGHT_FOOT_BALL_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + RightFootBall = 83, + + [NativeName("XR_FULL_BODY_JOINT_COUNT_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + Count = 84, + + [NativeName("XR_FULL_BODY_JOINT_NONE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + None = 85, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FutureCancelInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FutureCancelInfoEXT.gen.cs new file mode 100644 index 0000000000..8cf9b62cf2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FutureCancelInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFutureCancelInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FutureCancelInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeFutureCancelInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public void* Next; + + [NativeName("future")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public FutureHandleEXT Future; + + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public FutureCancelInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FutureCompletionBaseHeaderEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FutureCompletionBaseHeaderEXT.gen.cs new file mode 100644 index 0000000000..78526c5585 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FutureCompletionBaseHeaderEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFutureCompletionBaseHeaderEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FutureCompletionBaseHeaderEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public Result FutureResult; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FutureCompletionEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FutureCompletionEXT.gen.cs new file mode 100644 index 0000000000..2066c4dbc8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FutureCompletionEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFutureCompletionEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FutureCompletionEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeFutureCompletionEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public Result FutureResult; + + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public FutureCompletionEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FuturePollInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FuturePollInfoEXT.gen.cs new file mode 100644 index 0000000000..5f88f70c82 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FuturePollInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFuturePollInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FuturePollInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeFuturePollInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public void* Next; + + [NativeName("future")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public FutureHandleEXT Future; + + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public FuturePollInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FuturePollResultEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FuturePollResultEXT.gen.cs new file mode 100644 index 0000000000..1308e3b882 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FuturePollResultEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFuturePollResultEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FuturePollResultEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeFuturePollResultEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public void* Next; + + [NativeName("state")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public FutureStateEXT State; + + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public FuturePollResultEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FuturePollResultProgressBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FuturePollResultProgressBD.gen.cs new file mode 100644 index 0000000000..74cb2d9e73 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FuturePollResultProgressBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFuturePollResultProgressBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct FuturePollResultProgressBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_future_progress"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeFuturePollResultProgressBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_future_progress"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("isSupported")] + [SupportedApiProfile( + "openxr", + ["XR_BD_future_progress"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public MaybeBool IsSupported; + + [NativeName("progressPercentage")] + [SupportedApiProfile( + "openxr", + ["XR_BD_future_progress"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint ProgressPercentage; + + [SupportedApiProfile( + "openxr", + ["XR_BD_future_progress"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public FuturePollResultProgressBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/FutureStateEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/FutureStateEXT.gen.cs new file mode 100644 index 0000000000..bdb6996429 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/FutureStateEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrFutureStateEXT")] +[SupportedApiProfile("openxr")] +public enum FutureStateEXT : uint +{ + [NativeName("XR_FUTURE_STATE_PENDING_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + Pending = 1, + + [NativeName("XR_FUTURE_STATE_READY_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + Ready = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/GeometryInstanceCreateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/GeometryInstanceCreateInfoFB.gen.cs new file mode 100644 index 0000000000..7f2b191c4e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/GeometryInstanceCreateInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrGeometryInstanceCreateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct GeometryInstanceCreateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public StructureType Type = StructureType.TypeGeometryInstanceCreateInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public void* Next; + + [NativeName("layer")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughLayerHandleFB Layer; + + [NativeName("mesh")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public TriangleMeshHandleFB Mesh; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public SpaceHandle BaseSpace; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public Posef Pose; + + [NativeName("scale")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public Vector3F Scale; + + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public GeometryInstanceCreateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/GeometryInstanceTransformFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/GeometryInstanceTransformFB.gen.cs new file mode 100644 index 0000000000..b00fca5e80 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/GeometryInstanceTransformFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrGeometryInstanceTransformFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct GeometryInstanceTransformFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public StructureType Type = StructureType.TypeGeometryInstanceTransformFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public long Time; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public Posef Pose; + + [NativeName("scale")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public Vector3F Scale; + + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public GeometryInstanceTransformFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/GlobalDimmerFrameEndInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/GlobalDimmerFrameEndInfoML.gen.cs new file mode 100644 index 0000000000..2bc6894fc8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/GlobalDimmerFrameEndInfoML.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrGlobalDimmerFrameEndInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct GlobalDimmerFrameEndInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_global_dimmer"])] + public StructureType Type = StructureType.TypeGlobalDimmerFrameEndInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_global_dimmer"])] + public void* Next; + + [NativeName("dimmerValue")] + [SupportedApiProfile("openxr", ["XR_ML_global_dimmer"])] + public float DimmerValue; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_ML_global_dimmer"])] + public GlobalDimmerFrameEndInfoFlagsML Flags; + + [SupportedApiProfile("openxr", ["XR_ML_global_dimmer"])] + public GlobalDimmerFrameEndInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandCapsuleFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandCapsuleFB.gen.cs new file mode 100644 index 0000000000..0945e704c0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandCapsuleFB.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandCapsuleFB")] +[SupportedApiProfile("openxr")] +public partial struct HandCapsuleFB +{ + [NativeName("points")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandCapsuleFBPoints Points; + + [NativeName("radius")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public float Radius; + + [NativeName("joint")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandJointEXT Joint; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandCapsuleFBPoints.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandCapsuleFBPoints.gen.cs new file mode 100644 index 0000000000..f5a24f47d7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandCapsuleFBPoints.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_points_e__FixedBuffer")] +[InlineArray(2)] +[SupportedApiProfile("openxr")] +public partial struct HandCapsuleFBPoints +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public Vector3F E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandEXT.gen.cs new file mode 100644 index 0000000000..8292bb2ed0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandEXT")] +[SupportedApiProfile("openxr")] +public enum HandEXT : uint +{ + [NativeName("XR_HAND_LEFT_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + Left = 1, + + [NativeName("XR_HAND_RIGHT_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + Right = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandForearmJointULTRALEAP.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandForearmJointULTRALEAP.gen.cs new file mode 100644 index 0000000000..24c9ef71fd --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandForearmJointULTRALEAP.gen.cs @@ -0,0 +1,230 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandForearmJointULTRALEAP")] +[SupportedApiProfile("openxr")] +public enum HandForearmJointULTRALEAP : uint +{ + [NativeName("XR_HAND_FOREARM_JOINT_PALM_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + Palm = 0, + + [NativeName("XR_HAND_FOREARM_JOINT_WRIST_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + Wrist = 1, + + [NativeName("XR_HAND_FOREARM_JOINT_THUMB_METACARPAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + ThumbMetacarpal = 2, + + [NativeName("XR_HAND_FOREARM_JOINT_THUMB_PROXIMAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + ThumbProximal = 3, + + [NativeName("XR_HAND_FOREARM_JOINT_THUMB_DISTAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + ThumbDistal = 4, + + [NativeName("XR_HAND_FOREARM_JOINT_THUMB_TIP_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + ThumbTip = 5, + + [NativeName("XR_HAND_FOREARM_JOINT_INDEX_METACARPAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + IndexMetacarpal = 6, + + [NativeName("XR_HAND_FOREARM_JOINT_INDEX_PROXIMAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + IndexProximal = 7, + + [NativeName("XR_HAND_FOREARM_JOINT_INDEX_INTERMEDIATE_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + IndexIntermediate = 8, + + [NativeName("XR_HAND_FOREARM_JOINT_INDEX_DISTAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + IndexDistal = 9, + + [NativeName("XR_HAND_FOREARM_JOINT_INDEX_TIP_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + IndexTip = 10, + + [NativeName("XR_HAND_FOREARM_JOINT_MIDDLE_METACARPAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + MiddleMetacarpal = 11, + + [NativeName("XR_HAND_FOREARM_JOINT_MIDDLE_PROXIMAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + MiddleProximal = 12, + + [NativeName("XR_HAND_FOREARM_JOINT_MIDDLE_INTERMEDIATE_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + MiddleIntermediate = 13, + + [NativeName("XR_HAND_FOREARM_JOINT_MIDDLE_DISTAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + MiddleDistal = 14, + + [NativeName("XR_HAND_FOREARM_JOINT_MIDDLE_TIP_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + MiddleTip = 15, + + [NativeName("XR_HAND_FOREARM_JOINT_RING_METACARPAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + RingMetacarpal = 16, + + [NativeName("XR_HAND_FOREARM_JOINT_RING_PROXIMAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + RingProximal = 17, + + [NativeName("XR_HAND_FOREARM_JOINT_RING_INTERMEDIATE_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + RingIntermediate = 18, + + [NativeName("XR_HAND_FOREARM_JOINT_RING_DISTAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + RingDistal = 19, + + [NativeName("XR_HAND_FOREARM_JOINT_RING_TIP_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + RingTip = 20, + + [NativeName("XR_HAND_FOREARM_JOINT_LITTLE_METACARPAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + LittleMetacarpal = 21, + + [NativeName("XR_HAND_FOREARM_JOINT_LITTLE_PROXIMAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + LittleProximal = 22, + + [NativeName("XR_HAND_FOREARM_JOINT_LITTLE_INTERMEDIATE_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + LittleIntermediate = 23, + + [NativeName("XR_HAND_FOREARM_JOINT_LITTLE_DISTAL_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + LittleDistal = 24, + + [NativeName("XR_HAND_FOREARM_JOINT_LITTLE_TIP_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + LittleTip = 25, + + [NativeName("XR_HAND_FOREARM_JOINT_ELBOW_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + Elbow = 26, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandGestureQCOM.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandGestureQCOM.gen.cs new file mode 100644 index 0000000000..db8e0d36ec --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandGestureQCOM.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandGestureQCOM")] +[SupportedApiProfile("openxr")] +public partial struct HandGestureQCOM +{ + [NativeName("gesture")] + [SupportedApiProfile( + "openxr", + ["XR_QCOM_hand_tracking_gesture"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandGestureTypeQCOM Gesture; + + [NativeName("gestureRatio")] + [SupportedApiProfile( + "openxr", + ["XR_QCOM_hand_tracking_gesture"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public float GestureRatio; + + [NativeName("flipRatio")] + [SupportedApiProfile( + "openxr", + ["XR_QCOM_hand_tracking_gesture"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public float FlipRatio; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandGestureTypeQCOM.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandGestureTypeQCOM.gen.cs new file mode 100644 index 0000000000..245014044d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandGestureTypeQCOM.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandGestureTypeQCOM")] +[SupportedApiProfile("openxr")] +public enum HandGestureTypeQCOM +{ + [NativeName("XR_HAND_GESTURE_TYPE_UNKNOWN_QCOM")] + [SupportedApiProfile( + "openxr", + ["XR_QCOM_hand_tracking_gesture"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + Unknown = -1, + + [NativeName("XR_HAND_GESTURE_TYPE_OPEN_HAND_QCOM")] + [SupportedApiProfile( + "openxr", + ["XR_QCOM_hand_tracking_gesture"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + OpenHand = 0, + + [NativeName("XR_HAND_GESTURE_TYPE_GRAB_QCOM")] + [SupportedApiProfile( + "openxr", + ["XR_QCOM_hand_tracking_gesture"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + Grab = 2, + + [NativeName("XR_HAND_GESTURE_TYPE_PINCH_QCOM")] + [SupportedApiProfile( + "openxr", + ["XR_QCOM_hand_tracking_gesture"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + Pinch = 7, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandJointEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandJointEXT.gen.cs new file mode 100644 index 0000000000..63750ac218 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandJointEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandJointEXT")] +[SupportedApiProfile("openxr")] +public enum HandJointEXT : uint +{ + [NativeName("XR_HAND_JOINT_PALM_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + Palm = 0, + + [NativeName("XR_HAND_JOINT_WRIST_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + Wrist = 1, + + [NativeName("XR_HAND_JOINT_THUMB_METACARPAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + ThumbMetacarpal = 2, + + [NativeName("XR_HAND_JOINT_THUMB_PROXIMAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + ThumbProximal = 3, + + [NativeName("XR_HAND_JOINT_THUMB_DISTAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + ThumbDistal = 4, + + [NativeName("XR_HAND_JOINT_THUMB_TIP_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + ThumbTip = 5, + + [NativeName("XR_HAND_JOINT_INDEX_METACARPAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + IndexMetacarpal = 6, + + [NativeName("XR_HAND_JOINT_INDEX_PROXIMAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + IndexProximal = 7, + + [NativeName("XR_HAND_JOINT_INDEX_INTERMEDIATE_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + IndexIntermediate = 8, + + [NativeName("XR_HAND_JOINT_INDEX_DISTAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + IndexDistal = 9, + + [NativeName("XR_HAND_JOINT_INDEX_TIP_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + IndexTip = 10, + + [NativeName("XR_HAND_JOINT_MIDDLE_METACARPAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + MiddleMetacarpal = 11, + + [NativeName("XR_HAND_JOINT_MIDDLE_PROXIMAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + MiddleProximal = 12, + + [NativeName("XR_HAND_JOINT_MIDDLE_INTERMEDIATE_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + MiddleIntermediate = 13, + + [NativeName("XR_HAND_JOINT_MIDDLE_DISTAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + MiddleDistal = 14, + + [NativeName("XR_HAND_JOINT_MIDDLE_TIP_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + MiddleTip = 15, + + [NativeName("XR_HAND_JOINT_RING_METACARPAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + RingMetacarpal = 16, + + [NativeName("XR_HAND_JOINT_RING_PROXIMAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + RingProximal = 17, + + [NativeName("XR_HAND_JOINT_RING_INTERMEDIATE_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + RingIntermediate = 18, + + [NativeName("XR_HAND_JOINT_RING_DISTAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + RingDistal = 19, + + [NativeName("XR_HAND_JOINT_RING_TIP_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + RingTip = 20, + + [NativeName("XR_HAND_JOINT_LITTLE_METACARPAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + LittleMetacarpal = 21, + + [NativeName("XR_HAND_JOINT_LITTLE_PROXIMAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + LittleProximal = 22, + + [NativeName("XR_HAND_JOINT_LITTLE_INTERMEDIATE_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + LittleIntermediate = 23, + + [NativeName("XR_HAND_JOINT_LITTLE_DISTAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + LittleDistal = 24, + + [NativeName("XR_HAND_JOINT_LITTLE_TIP_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + LittleTip = 25, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandJointLocationEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandJointLocationEXT.gen.cs new file mode 100644 index 0000000000..955aba2f6e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandJointLocationEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandJointLocationEXT")] +[SupportedApiProfile("openxr")] +public partial struct HandJointLocationEXT +{ + [NativeName("locationFlags")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public SpaceLocationFlags LocationFlags; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public Posef Pose; + + [NativeName("radius")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public float Radius; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandJointLocationsEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandJointLocationsEXT.gen.cs new file mode 100644 index 0000000000..8460482e65 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandJointLocationsEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandJointLocationsEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandJointLocationsEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public StructureType Type = StructureType.TypeHandJointLocationsEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public void* Next; + + [NativeName("isActive")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public MaybeBool IsActive; + + [NativeName("jointCount")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public uint JointCount; + + [NativeName("jointLocations")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public HandJointLocationEXT* JointLocations; + + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public HandJointLocationsEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandJointSetEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandJointSetEXT.gen.cs new file mode 100644 index 0000000000..52d879746f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandJointSetEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandJointSetEXT")] +[SupportedApiProfile("openxr")] +public enum HandJointSetEXT : uint +{ + [NativeName("XR_HAND_JOINT_SET_DEFAULT_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + Default = 0, + + [NativeName("XR_HAND_JOINT_SET_HAND_WITH_FOREARM_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + HandWithForearmULTRALEAP = 1000149000, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandJointVelocitiesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandJointVelocitiesEXT.gen.cs new file mode 100644 index 0000000000..62cdc94662 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandJointVelocitiesEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandJointVelocitiesEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandJointVelocitiesEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public StructureType Type = StructureType.TypeHandJointVelocitiesEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public void* Next; + + [NativeName("jointCount")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public uint JointCount; + + [NativeName("jointVelocities")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public HandJointVelocityEXT* JointVelocities; + + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public HandJointVelocitiesEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandJointVelocityEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandJointVelocityEXT.gen.cs new file mode 100644 index 0000000000..c8f9669344 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandJointVelocityEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandJointVelocityEXT")] +[SupportedApiProfile("openxr")] +public partial struct HandJointVelocityEXT +{ + [NativeName("velocityFlags")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public SpaceVelocityFlags VelocityFlags; + + [NativeName("linearVelocity")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public Vector3F LinearVelocity; + + [NativeName("angularVelocity")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public Vector3F AngularVelocity; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandJointsLocateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandJointsLocateInfoEXT.gen.cs new file mode 100644 index 0000000000..9f359234cb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandJointsLocateInfoEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandJointsLocateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandJointsLocateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public StructureType Type = StructureType.TypeHandJointsLocateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public HandJointsLocateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandJointsMotionRangeEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandJointsMotionRangeEXT.gen.cs new file mode 100644 index 0000000000..1656016949 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandJointsMotionRangeEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandJointsMotionRangeEXT")] +[SupportedApiProfile("openxr")] +public enum HandJointsMotionRangeEXT : uint +{ + [NativeName("XR_HAND_JOINTS_MOTION_RANGE_UNOBSTRUCTED_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_joints_motion_range"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + Unobstructed = 1, + + [NativeName("XR_HAND_JOINTS_MOTION_RANGE_CONFORMING_TO_CONTROLLER_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_joints_motion_range"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + ConformingToController = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandJointsMotionRangeInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandJointsMotionRangeInfoEXT.gen.cs new file mode 100644 index 0000000000..8ccf6b83c6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandJointsMotionRangeInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandJointsMotionRangeInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandJointsMotionRangeInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_joints_motion_range"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeHandJointsMotionRangeInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_joints_motion_range"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("handJointsMotionRange")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_joints_motion_range"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandJointsMotionRangeEXT HandJointsMotionRange; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_joints_motion_range"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandJointsMotionRangeInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandMeshIndexBufferMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandMeshIndexBufferMSFT.gen.cs new file mode 100644 index 0000000000..86cdca9a89 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandMeshIndexBufferMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandMeshIndexBufferMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandMeshIndexBufferMSFT +{ + [NativeName("indexBufferKey")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint IndexBufferKey; + + [NativeName("indexCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint IndexCapacityInput; + + [NativeName("indexCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint IndexCountOutput; + + [NativeName("indices")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint* Indices; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandMeshMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandMeshMSFT.gen.cs new file mode 100644 index 0000000000..e9e4ec6544 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandMeshMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandMeshMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandMeshMSFT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeHandMeshMSFT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("isActive")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public MaybeBool IsActive; + + [NativeName("indexBufferChanged")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public MaybeBool IndexBufferChanged; + + [NativeName("vertexBufferChanged")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public MaybeBool VertexBufferChanged; + + [NativeName("indexBuffer")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandMeshIndexBufferMSFT IndexBuffer; + + [NativeName("vertexBuffer")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandMeshVertexBufferMSFT VertexBuffer; + + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandMeshMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandMeshSpaceCreateInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandMeshSpaceCreateInfoMSFT.gen.cs new file mode 100644 index 0000000000..42b062c6c8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandMeshSpaceCreateInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandMeshSpaceCreateInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandMeshSpaceCreateInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeHandMeshSpaceCreateInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("handPoseType")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandPoseTypeMSFT HandPoseType; + + [NativeName("poseInHandMeshSpace")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public Posef PoseInHandMeshSpace; + + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandMeshSpaceCreateInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandMeshUpdateInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandMeshUpdateInfoMSFT.gen.cs new file mode 100644 index 0000000000..4b2bce4bab --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandMeshUpdateInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandMeshUpdateInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandMeshUpdateInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeHandMeshUpdateInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("time")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public long Time; + + [NativeName("handPoseType")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandPoseTypeMSFT HandPoseType; + + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandMeshUpdateInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandMeshVertexBufferMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandMeshVertexBufferMSFT.gen.cs new file mode 100644 index 0000000000..a4dc8bf5ac --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandMeshVertexBufferMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandMeshVertexBufferMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandMeshVertexBufferMSFT +{ + [NativeName("vertexUpdateTime")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public long VertexUpdateTime; + + [NativeName("vertexCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint VertexCapacityInput; + + [NativeName("vertexCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint VertexCountOutput; + + [NativeName("vertices")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandMeshVertexMSFT* Vertices; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandMeshVertexMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandMeshVertexMSFT.gen.cs new file mode 100644 index 0000000000..896c0a4a80 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandMeshVertexMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandMeshVertexMSFT")] +[SupportedApiProfile("openxr")] +public partial struct HandMeshVertexMSFT +{ + [NativeName("position")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public Vector3F Position; + + [NativeName("normal")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public Vector3F Normal; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandPoseTypeInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandPoseTypeInfoMSFT.gen.cs new file mode 100644 index 0000000000..f02d82c0e3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandPoseTypeInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandPoseTypeInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandPoseTypeInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeHandPoseTypeInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("handPoseType")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandPoseTypeMSFT HandPoseType; + + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandPoseTypeInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandPoseTypeMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandPoseTypeMSFT.gen.cs new file mode 100644 index 0000000000..fecf74d327 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandPoseTypeMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandPoseTypeMSFT")] +[SupportedApiProfile("openxr")] +public enum HandPoseTypeMSFT : uint +{ + [NativeName("XR_HAND_POSE_TYPE_TRACKED_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + Tracked = 0, + + [NativeName("XR_HAND_POSE_TYPE_REFERENCE_OPEN_PALM_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + ReferenceOpenPalm = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandTrackerCreateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandTrackerCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..8f6f1050b2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandTrackerCreateInfoEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandTrackerCreateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandTrackerCreateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public StructureType Type = StructureType.TypeHandTrackerCreateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public void* Next; + + [NativeName("hand")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public HandEXT Hand; + + [NativeName("handJointSet")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public HandJointSetEXT HandJointSet; + + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public HandTrackerCreateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandTrackingAimStateFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandTrackingAimStateFB.gen.cs new file mode 100644 index 0000000000..73bfdf785b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandTrackingAimStateFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandTrackingAimStateFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandTrackingAimStateFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_aim"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeHandTrackingAimStateFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_aim"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("status")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_aim"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandTrackingAimFlagsFB Status; + + [NativeName("aimPose")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_aim"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public Posef AimPose; + + [NativeName("pinchStrengthIndex")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_aim"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public float PinchStrengthIndex; + + [NativeName("pinchStrengthMiddle")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_aim"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public float PinchStrengthMiddle; + + [NativeName("pinchStrengthRing")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_aim"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public float PinchStrengthRing; + + [NativeName("pinchStrengthLittle")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_aim"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public float PinchStrengthLittle; + + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_aim"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandTrackingAimStateFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandTrackingCapsulesStateFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandTrackingCapsulesStateFB.gen.cs new file mode 100644 index 0000000000..7bfef59542 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandTrackingCapsulesStateFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandTrackingCapsulesStateFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandTrackingCapsulesStateFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeHandTrackingCapsulesStateFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("capsules")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandTrackingCapsulesStateFBCapsules Capsules; + + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandTrackingCapsulesStateFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandTrackingCapsulesStateFBCapsules.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandTrackingCapsulesStateFBCapsules.gen.cs new file mode 100644 index 0000000000..79419a9e9d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandTrackingCapsulesStateFBCapsules.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_capsules_e__FixedBuffer")] +[InlineArray(19)] +[SupportedApiProfile("openxr")] +public partial struct HandTrackingCapsulesStateFBCapsules +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public HandCapsuleFB E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandTrackingDataSourceEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandTrackingDataSourceEXT.gen.cs new file mode 100644 index 0000000000..6ff8c22de0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandTrackingDataSourceEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandTrackingDataSourceEXT")] +[SupportedApiProfile("openxr")] +public enum HandTrackingDataSourceEXT : uint +{ + [NativeName("XR_HAND_TRACKING_DATA_SOURCE_UNOBSTRUCTED_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + Unobstructed = 1, + + [NativeName("XR_HAND_TRACKING_DATA_SOURCE_CONTROLLER_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + Controller = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandTrackingDataSourceInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandTrackingDataSourceInfoEXT.gen.cs new file mode 100644 index 0000000000..7f13c9dd72 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandTrackingDataSourceInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandTrackingDataSourceInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandTrackingDataSourceInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeHandTrackingDataSourceInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("requestedDataSourceCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint RequestedDataSourceCount; + + [NativeName("requestedDataSources")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandTrackingDataSourceEXT* RequestedDataSources; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandTrackingDataSourceInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandTrackingDataSourceStateEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandTrackingDataSourceStateEXT.gen.cs new file mode 100644 index 0000000000..4b98e9f7bb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandTrackingDataSourceStateEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandTrackingDataSourceStateEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandTrackingDataSourceStateEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeHandTrackingDataSourceStateEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("isActive")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public MaybeBool IsActive; + + [NativeName("dataSource")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandTrackingDataSourceEXT DataSource; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandTrackingDataSourceStateEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandTrackingMeshFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandTrackingMeshFB.gen.cs new file mode 100644 index 0000000000..774931a137 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandTrackingMeshFB.gen.cs @@ -0,0 +1,157 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandTrackingMeshFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandTrackingMeshFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeHandTrackingMeshFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("jointCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint JointCapacityInput; + + [NativeName("jointCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint JointCountOutput; + + [NativeName("jointBindPoses")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public Posef* JointBindPoses; + + [NativeName("jointRadii")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public float* JointRadii; + + [NativeName("jointParents")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandJointEXT* JointParents; + + [NativeName("vertexCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint VertexCapacityInput; + + [NativeName("vertexCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint VertexCountOutput; + + [NativeName("vertexPositions")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public Vector3F* VertexPositions; + + [NativeName("vertexNormals")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public Vector3F* VertexNormals; + + [NativeName("vertexUVs")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public Vector2F* VertexUVs; + + [NativeName("vertexBlendIndices")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public Vector4SFB* VertexBlendIndices; + + [NativeName("vertexBlendWeights")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public Vector4F* VertexBlendWeights; + + [NativeName("indexCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint IndexCapacityInput; + + [NativeName("indexCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint IndexCountOutput; + + [NativeName("indices")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public short* Indices; + + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandTrackingMeshFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HandTrackingScaleFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HandTrackingScaleFB.gen.cs new file mode 100644 index 0000000000..2a63793fce --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HandTrackingScaleFB.gen.cs @@ -0,0 +1,69 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHandTrackingScaleFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HandTrackingScaleFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeHandTrackingScaleFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("sensorOutput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public float SensorOutput; + + [NativeName("currentOutput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public float CurrentOutput; + + [NativeName("overrideHandScale")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public MaybeBool OverrideHandScale; + + [NativeName("overrideValueInput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public float OverrideValueInput; + + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public HandTrackingScaleFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HapticActionInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HapticActionInfo.gen.cs new file mode 100644 index 0000000000..e556519fec --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HapticActionInfo.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHapticActionInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HapticActionInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeHapticActionInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("action")] + [SupportedApiProfile("openxr")] + public ActionHandle Action; + + [NativeName("subactionPath")] + [SupportedApiProfile("openxr")] + public ulong SubactionPath; + + [SupportedApiProfile("openxr")] + public HapticActionInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HapticAmplitudeEnvelopeVibrationFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HapticAmplitudeEnvelopeVibrationFB.gen.cs new file mode 100644 index 0000000000..4907e3e74f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HapticAmplitudeEnvelopeVibrationFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHapticAmplitudeEnvelopeVibrationFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HapticAmplitudeEnvelopeVibrationFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_amplitude_envelope"])] + public StructureType Type = StructureType.TypeHapticAmplitudeEnvelopeVibrationFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_amplitude_envelope"])] + public void* Next; + + [NativeName("duration")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_amplitude_envelope"])] + public long Duration; + + [NativeName("amplitudeCount")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_amplitude_envelope"])] + public uint AmplitudeCount; + + [NativeName("amplitudes")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_amplitude_envelope"])] + public float* Amplitudes; + + [SupportedApiProfile("openxr", ["XR_FB_haptic_amplitude_envelope"])] + public HapticAmplitudeEnvelopeVibrationFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HapticBaseHeader.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HapticBaseHeader.gen.cs new file mode 100644 index 0000000000..60aaf2fc12 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HapticBaseHeader.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHapticBaseHeader")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HapticBaseHeader +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HapticParametricPointEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HapticParametricPointEXT.gen.cs new file mode 100644 index 0000000000..6e1e114b49 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HapticParametricPointEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHapticParametricPointEXT")] +[SupportedApiProfile("openxr")] +public partial struct HapticParametricPointEXT +{ + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public long Time; + + [NativeName("value")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public float Value; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HapticParametricPropertiesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HapticParametricPropertiesEXT.gen.cs new file mode 100644 index 0000000000..a5837d0009 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HapticParametricPropertiesEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHapticParametricPropertiesEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HapticParametricPropertiesEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public StructureType Type = StructureType.TypeHapticParametricPropertiesEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public void* Next; + + [NativeName("idealFrameSubmissionRate")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public long IdealFrameSubmissionRate; + + [NativeName("minimumFirstFrameDuration")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public long MinimumFirstFrameDuration; + + [NativeName("minFrequencyHz")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public float MinFrequencyHz; + + [NativeName("maxFrequencyHz")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public float MaxFrequencyHz; + + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public HapticParametricPropertiesEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HapticParametricStreamFrameTypeEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HapticParametricStreamFrameTypeEXT.gen.cs new file mode 100644 index 0000000000..db62a17951 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HapticParametricStreamFrameTypeEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHapticParametricStreamFrameTypeEXT")] +[SupportedApiProfile("openxr")] +public enum HapticParametricStreamFrameTypeEXT : uint +{ + [NativeName("XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_NONE_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + None = 0, + + [NativeName("XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_FIRST_FRAME_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + FirstFrame = 1, + + [NativeName("XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_INTERMEDIATE_FRAME_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + IntermediateFrame = 2, + + [NativeName("XR_HAPTIC_PARAMETRIC_STREAM_FRAME_TYPE_LAST_FRAME_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + LastFrame = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HapticParametricTransientEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HapticParametricTransientEXT.gen.cs new file mode 100644 index 0000000000..9b06dd9b00 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HapticParametricTransientEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHapticParametricTransientEXT")] +[SupportedApiProfile("openxr")] +public partial struct HapticParametricTransientEXT +{ + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public long Time; + + [NativeName("amplitude")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public float Amplitude; + + [NativeName("frequency")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public float Frequency; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HapticParametricVibrationEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HapticParametricVibrationEXT.gen.cs new file mode 100644 index 0000000000..c67a510b95 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HapticParametricVibrationEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHapticParametricVibrationEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HapticParametricVibrationEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public StructureType Type = StructureType.TypeHapticParametricVibrationEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public void* Next; + + [NativeName("amplitudePointCount")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public uint AmplitudePointCount; + + [NativeName("amplitudePoints")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public HapticParametricPointEXT* AmplitudePoints; + + [NativeName("frequencyPointCount")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public uint FrequencyPointCount; + + [NativeName("frequencyPoints")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public HapticParametricPointEXT* FrequencyPoints; + + [NativeName("transientCount")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public uint TransientCount; + + [NativeName("transients")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public HapticParametricTransientEXT* Transients; + + [NativeName("minFrequencyHz")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public float MinFrequencyHz; + + [NativeName("maxFrequencyHz")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public float MaxFrequencyHz; + + [NativeName("streamFrameType")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public HapticParametricStreamFrameTypeEXT StreamFrameType; + + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public HapticParametricVibrationEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HapticPcmVibrationFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HapticPcmVibrationFB.gen.cs new file mode 100644 index 0000000000..9d70ded766 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HapticPcmVibrationFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHapticPcmVibrationFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HapticPcmVibrationFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public StructureType Type = StructureType.TypeHapticPcmVibrationFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public void* Next; + + [NativeName("bufferSize")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public uint BufferSize; + + [NativeName("buffer")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public float* Buffer; + + [NativeName("sampleRate")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public float SampleRate; + + [NativeName("append")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public MaybeBool Append; + + [NativeName("samplesConsumed")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public uint* SamplesConsumed; + + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public HapticPcmVibrationFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HapticVibration.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HapticVibration.gen.cs new file mode 100644 index 0000000000..246e11c32e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HapticVibration.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHapticVibration")] +[SupportedApiProfile("openxr")] +public unsafe partial struct HapticVibration +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public StructureType Type = StructureType.TypeHapticVibration; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public void* Next; + + [NativeName("duration")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public long Duration; + + [NativeName("frequency")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float Frequency; + + [NativeName("amplitude")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float Amplitude; + + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public HapticVibration() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/HeadsetFitStatusML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/HeadsetFitStatusML.gen.cs new file mode 100644 index 0000000000..1cdd140efe --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/HeadsetFitStatusML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrHeadsetFitStatusML")] +[SupportedApiProfile("openxr")] +public enum HeadsetFitStatusML : uint +{ + [NativeName("XR_HEADSET_FIT_STATUS_UNKNOWN_ML")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + Unknown = 0, + + [NativeName("XR_HEADSET_FIT_STATUS_NOT_WORN_ML")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + NotWorn = 1, + + [NativeName("XR_HEADSET_FIT_STATUS_GOOD_FIT_ML")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + GoodFit = 2, + + [NativeName("XR_HEADSET_FIT_STATUS_BAD_FIT_ML")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + BadFit = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/IXr.gen.cs b/sources/OpenXR/OpenXR/OpenXR/IXr.gen.cs new file mode 100644 index 0000000000..36a9a74981 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/IXr.gen.cs @@ -0,0 +1,2565 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +public unsafe partial interface IXr +{ + public partial interface Static + { + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + static abstract Result AcquireSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageAcquireInfo* acquireInfo, + uint* index + ); + + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + static abstract Result AcquireSwapchainImage( + SwapchainHandle swapchain, + Ref acquireInfo, + Ref index + ); + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + [ + "XR_EXT_haptic_parametric", + "XR_LOADER_VERSION_1_0", + "XR_VERSION_1_0", + "XR_VERSION_1_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + static abstract Result ApplyHapticFeedback( + SessionHandle session, + HapticActionInfo* hapticActionInfo, + HapticBaseHeader* hapticFeedback + ); + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + [ + "XR_EXT_haptic_parametric", + "XR_LOADER_VERSION_1_0", + "XR_VERSION_1_0", + "XR_VERSION_1_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + static abstract Result ApplyHapticFeedback( + SessionHandle session, + Ref hapticActionInfo, + Ref hapticFeedback + ); + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + static abstract Result AttachSessionActionSets( + SessionHandle session, + SessionActionSetsAttachInfo* attachInfo + ); + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + static abstract Result AttachSessionActionSets( + SessionHandle session, + Ref attachInfo + ); + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + static abstract Result BeginFrame(SessionHandle session, FrameBeginInfo* frameBeginInfo); + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + static abstract Result BeginFrame( + SessionHandle session, + Ref frameBeginInfo + ); + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + static abstract Result BeginSession(SessionHandle session, SessionBeginInfo* beginInfo); + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + static abstract Result BeginSession(SessionHandle session, Ref beginInfo); + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + static abstract Result CreateAction( + ActionSetHandle actionSet, + ActionCreateInfo* createInfo, + ActionHandle* action + ); + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + static abstract Result CreateAction( + ActionSetHandle actionSet, + Ref createInfo, + Ref action + ); + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + static abstract Result CreateActionSet( + InstanceHandle instance, + ActionSetCreateInfo* createInfo, + ActionSetHandle* actionSet + ); + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + static abstract Result CreateActionSet( + InstanceHandle instance, + Ref createInfo, + Ref actionSet + ); + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + static abstract Result CreateActionSpace( + SessionHandle session, + ActionSpaceCreateInfo* createInfo, + SpaceHandle* space + ); + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + static abstract Result CreateActionSpace( + SessionHandle session, + Ref createInfo, + Ref space + ); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + static abstract Result CreateInstance( + InstanceCreateInfo* createInfo, + InstanceHandle* instance + ); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + static abstract Result CreateInstance( + Ref createInfo, + Ref instance + ); + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + static abstract Result CreateReferenceSpace( + SessionHandle session, + ReferenceSpaceCreateInfo* createInfo, + SpaceHandle* space + ); + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + static abstract Result CreateReferenceSpace( + SessionHandle session, + Ref createInfo, + Ref space + ); + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + static abstract Result CreateSession( + InstanceHandle instance, + SessionCreateInfo* createInfo, + SessionHandle* session + ); + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + static abstract Result CreateSession( + InstanceHandle instance, + Ref createInfo, + Ref session + ); + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + static abstract Result CreateSwapchain( + SessionHandle session, + SwapchainCreateInfo* createInfo, + SwapchainHandle* swapchain + ); + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + static abstract Result CreateSwapchain( + SessionHandle session, + Ref createInfo, + Ref swapchain + ); + + [NativeName("xrDestroyAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyAction")] + static abstract Result DestroyAction(ActionHandle action); + + [NativeName("xrDestroyActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyActionSet")] + static abstract Result DestroyActionSet(ActionSetHandle actionSet); + + [NativeName("xrDestroyInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyInstance")] + static abstract Result DestroyInstance(InstanceHandle instance); + + [NativeName("xrDestroySession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySession")] + static abstract Result DestroySession(SessionHandle session); + + [NativeName("xrDestroySpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySpace")] + static abstract Result DestroySpace(SpaceHandle space); + + [NativeName("xrDestroySwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySwapchain")] + static abstract Result DestroySwapchain(SwapchainHandle swapchain); + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + static abstract Result EndFrame(SessionHandle session, FrameEndInfo* frameEndInfo); + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + static abstract Result EndFrame(SessionHandle session, Ref frameEndInfo); + + [NativeName("xrEndSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndSession")] + static abstract Result EndSession(SessionHandle session); + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + static abstract Result EnumerateApiLayerProperties( + uint propertyCapacityInput, + uint* propertyCountOutput, + ApiLayerProperties* properties + ); + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + static abstract Result EnumerateApiLayerProperties( + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ); + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + static abstract Result EnumerateBoundSourcesForAction( + SessionHandle session, + BoundSourcesForActionEnumerateInfo* enumerateInfo, + uint sourceCapacityInput, + uint* sourceCountOutput, + ulong* sources + ); + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + static abstract Result EnumerateBoundSourcesForAction( + SessionHandle session, + Ref enumerateInfo, + uint sourceCapacityInput, + Ref sourceCountOutput, + Ref sources + ); + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + static abstract Result EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + uint* environmentBlendModeCountOutput, + EnvironmentBlendMode* environmentBlendModes + ); + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + static abstract Result EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + Ref environmentBlendModeCountOutput, + Ref environmentBlendModes + ); + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + static abstract Result EnumerateInstanceExtensionProperties( + sbyte* layerName, + uint propertyCapacityInput, + uint* propertyCountOutput, + ExtensionProperties* properties + ); + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + static abstract Result EnumerateInstanceExtensionProperties( + Ref layerName, + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ); + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + static abstract Result EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + uint* spaceCountOutput, + ReferenceSpaceType* spaces + ); + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + static abstract Result EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + Ref spaceCountOutput, + Ref spaces + ); + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + static abstract Result EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + uint* formatCountOutput, + long* formats + ); + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + static abstract Result EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + Ref formatCountOutput, + Ref formats + ); + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + static abstract Result EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + uint* imageCountOutput, + SwapchainImageBaseHeader* images + ); + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + static abstract Result EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + Ref imageCountOutput, + Ref images + ); + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + static abstract Result EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + uint* viewConfigurationTypeCountOutput, + ViewConfigurationType* viewConfigurationTypes + ); + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + static abstract Result EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + Ref viewConfigurationTypeCountOutput, + Ref viewConfigurationTypes + ); + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + static abstract Result EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + uint* viewCountOutput, + ViewConfigurationView* views + ); + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + static abstract Result EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ); + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + static abstract Result GetActionStateBoolean( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateBoolean* state + ); + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + static abstract Result GetActionStateBoolean( + SessionHandle session, + Ref getInfo, + Ref state + ); + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + static abstract Result GetActionStateFloat( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateFloat* state + ); + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + static abstract Result GetActionStateFloat( + SessionHandle session, + Ref getInfo, + Ref state + ); + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + static abstract Result GetActionStatePose( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStatePose* state + ); + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + static abstract Result GetActionStatePose( + SessionHandle session, + Ref getInfo, + Ref state + ); + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + static abstract Result GetActionStateVector2F( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateVector2F* state + ); + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + static abstract Result GetActionStateVector2F( + SessionHandle session, + Ref getInfo, + Ref state + ); + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + static abstract Result GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + InteractionProfileState* interactionProfile + ); + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + static abstract Result GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + Ref interactionProfile + ); + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + static abstract Result GetInputSourceLocalizedName( + SessionHandle session, + InputSourceLocalizedNameGetInfo* getInfo, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ); + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + static abstract Result GetInputSourceLocalizedName( + SessionHandle session, + Ref getInfo, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ); + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + static abstract Result GetInstanceProcAddr( + InstanceHandle instance, + sbyte* name, + VoidFunction* function + ); + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + static abstract Result GetInstanceProcAddr( + InstanceHandle instance, + Ref name, + Ref function + ); + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + static abstract Result GetInstanceProperties( + InstanceHandle instance, + InstanceProperties* instanceProperties + ); + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + static abstract Result GetInstanceProperties( + InstanceHandle instance, + Ref instanceProperties + ); + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + static abstract Result GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Extent2Df* bounds + ); + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + static abstract Result GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Ref bounds + ); + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + static abstract Result GetSystem( + InstanceHandle instance, + SystemGetInfo* getInfo, + ulong* systemId + ); + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + static abstract Result GetSystem( + InstanceHandle instance, + Ref getInfo, + Ref systemId + ); + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + static abstract Result GetSystemProperties( + InstanceHandle instance, + ulong systemId, + SystemProperties* properties + ); + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + static abstract Result GetSystemProperties( + InstanceHandle instance, + ulong systemId, + Ref properties + ); + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + static abstract Result GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + ViewConfigurationProperties* configurationProperties + ); + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + static abstract Result GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + Ref configurationProperties + ); + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + static abstract Result LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + SpaceLocation* location + ); + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + static abstract Result LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + Ref location + ); + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + static abstract Result LocateSpaces( + SessionHandle session, + SpacesLocateInfo* locateInfo, + SpaceLocations* spaceLocations + ); + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + static abstract Result LocateSpaces( + SessionHandle session, + Ref locateInfo, + Ref spaceLocations + ); + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + static abstract Result LocateViews( + SessionHandle session, + ViewLocateInfo* viewLocateInfo, + ViewState* viewState, + uint viewCapacityInput, + uint* viewCountOutput, + View* views + ); + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + static abstract Result LocateViews( + SessionHandle session, + Ref viewLocateInfo, + Ref viewState, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ); + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + static abstract Result PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ); + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + static abstract Result PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ); + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + static abstract Result PollEvent(InstanceHandle instance, EventDataBuffer* eventData); + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + static abstract Result PollEvent(InstanceHandle instance, Ref eventData); + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + static abstract Result ReleaseSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageReleaseInfo* releaseInfo + ); + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + static abstract Result ReleaseSwapchainImage( + SwapchainHandle swapchain, + Ref releaseInfo + ); + + [NativeName("xrRequestExitSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrRequestExitSession")] + static abstract Result RequestExitSession(SessionHandle session); + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + static abstract Result ResultToString(InstanceHandle instance, Result value, sbyte* buffer); + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + static abstract Result ResultToString( + InstanceHandle instance, + Result value, + Ref buffer + ); + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + static abstract Result StopHapticFeedback( + SessionHandle session, + HapticActionInfo* hapticActionInfo + ); + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + static abstract Result StopHapticFeedback( + SessionHandle session, + Ref hapticActionInfo + ); + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + static abstract Result StringToPath( + InstanceHandle instance, + sbyte* pathString, + ulong* path + ); + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + static abstract Result StringToPath( + InstanceHandle instance, + Ref pathString, + Ref path + ); + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + static abstract Result StructureTypeToString( + InstanceHandle instance, + StructureType value, + sbyte* buffer + ); + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + static abstract Result StructureTypeToString( + InstanceHandle instance, + StructureType value, + Ref buffer + ); + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + static abstract Result SuggestInteractionProfileBindings( + InstanceHandle instance, + InteractionProfileSuggestedBinding* suggestedBindings + ); + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + static abstract Result SuggestInteractionProfileBindings( + InstanceHandle instance, + Ref suggestedBindings + ); + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + static abstract Result SyncActions(SessionHandle session, ActionsSyncInfo* syncInfo); + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + static abstract Result SyncActions(SessionHandle session, Ref syncInfo); + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + static abstract Result WaitFrame( + SessionHandle session, + FrameWaitInfo* frameWaitInfo, + FrameState* frameState + ); + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + static abstract Result WaitFrame( + SessionHandle session, + Ref frameWaitInfo, + Ref frameState + ); + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + static abstract Result WaitSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageWaitInfo* waitInfo + ); + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + static abstract Result WaitSwapchainImage( + SwapchainHandle swapchain, + Ref waitInfo + ); + } + + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + Result AcquireSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageAcquireInfo* acquireInfo, + uint* index + ); + + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + Result AcquireSwapchainImage( + SwapchainHandle swapchain, + Ref acquireInfo, + Ref index + ); + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_haptic_parametric", "XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + Result ApplyHapticFeedback( + SessionHandle session, + HapticActionInfo* hapticActionInfo, + HapticBaseHeader* hapticFeedback + ); + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_haptic_parametric", "XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + Result ApplyHapticFeedback( + SessionHandle session, + Ref hapticActionInfo, + Ref hapticFeedback + ); + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + Result AttachSessionActionSets(SessionHandle session, SessionActionSetsAttachInfo* attachInfo); + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + Result AttachSessionActionSets( + SessionHandle session, + Ref attachInfo + ); + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + Result BeginFrame(SessionHandle session, FrameBeginInfo* frameBeginInfo); + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + Result BeginFrame(SessionHandle session, Ref frameBeginInfo); + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + Result BeginSession(SessionHandle session, SessionBeginInfo* beginInfo); + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + Result BeginSession(SessionHandle session, Ref beginInfo); + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + Result CreateAction( + ActionSetHandle actionSet, + ActionCreateInfo* createInfo, + ActionHandle* action + ); + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + Result CreateAction( + ActionSetHandle actionSet, + Ref createInfo, + Ref action + ); + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + Result CreateActionSet( + InstanceHandle instance, + ActionSetCreateInfo* createInfo, + ActionSetHandle* actionSet + ); + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + Result CreateActionSet( + InstanceHandle instance, + Ref createInfo, + Ref actionSet + ); + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + Result CreateActionSpace( + SessionHandle session, + ActionSpaceCreateInfo* createInfo, + SpaceHandle* space + ); + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + Result CreateActionSpace( + SessionHandle session, + Ref createInfo, + Ref space + ); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + Result CreateInstance(InstanceCreateInfo* createInfo, InstanceHandle* instance); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + Result CreateInstance(Ref createInfo, Ref instance); + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + Result CreateReferenceSpace( + SessionHandle session, + ReferenceSpaceCreateInfo* createInfo, + SpaceHandle* space + ); + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + Result CreateReferenceSpace( + SessionHandle session, + Ref createInfo, + Ref space + ); + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + Result CreateSession( + InstanceHandle instance, + SessionCreateInfo* createInfo, + SessionHandle* session + ); + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + Result CreateSession( + InstanceHandle instance, + Ref createInfo, + Ref session + ); + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + Result CreateSwapchain( + SessionHandle session, + SwapchainCreateInfo* createInfo, + SwapchainHandle* swapchain + ); + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + Result CreateSwapchain( + SessionHandle session, + Ref createInfo, + Ref swapchain + ); + + [NativeName("xrDestroyAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyAction")] + Result DestroyAction(ActionHandle action); + + [NativeName("xrDestroyActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyActionSet")] + Result DestroyActionSet(ActionSetHandle actionSet); + + [NativeName("xrDestroyInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyInstance")] + Result DestroyInstance(InstanceHandle instance); + + [NativeName("xrDestroySession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySession")] + Result DestroySession(SessionHandle session); + + [NativeName("xrDestroySpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySpace")] + Result DestroySpace(SpaceHandle space); + + [NativeName("xrDestroySwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySwapchain")] + Result DestroySwapchain(SwapchainHandle swapchain); + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + Result EndFrame(SessionHandle session, FrameEndInfo* frameEndInfo); + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + Result EndFrame(SessionHandle session, Ref frameEndInfo); + + [NativeName("xrEndSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndSession")] + Result EndSession(SessionHandle session); + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + Result EnumerateApiLayerProperties( + uint propertyCapacityInput, + uint* propertyCountOutput, + ApiLayerProperties* properties + ); + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + Result EnumerateApiLayerProperties( + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ); + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + Result EnumerateBoundSourcesForAction( + SessionHandle session, + BoundSourcesForActionEnumerateInfo* enumerateInfo, + uint sourceCapacityInput, + uint* sourceCountOutput, + ulong* sources + ); + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + Result EnumerateBoundSourcesForAction( + SessionHandle session, + Ref enumerateInfo, + uint sourceCapacityInput, + Ref sourceCountOutput, + Ref sources + ); + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + Result EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + uint* environmentBlendModeCountOutput, + EnvironmentBlendMode* environmentBlendModes + ); + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + Result EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + Ref environmentBlendModeCountOutput, + Ref environmentBlendModes + ); + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + Result EnumerateInstanceExtensionProperties( + sbyte* layerName, + uint propertyCapacityInput, + uint* propertyCountOutput, + ExtensionProperties* properties + ); + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + Result EnumerateInstanceExtensionProperties( + Ref layerName, + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ); + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + Result EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + uint* spaceCountOutput, + ReferenceSpaceType* spaces + ); + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + Result EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + Ref spaceCountOutput, + Ref spaces + ); + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + Result EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + uint* formatCountOutput, + long* formats + ); + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + Result EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + Ref formatCountOutput, + Ref formats + ); + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + Result EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + uint* imageCountOutput, + SwapchainImageBaseHeader* images + ); + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + Result EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + Ref imageCountOutput, + Ref images + ); + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + Result EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + uint* viewConfigurationTypeCountOutput, + ViewConfigurationType* viewConfigurationTypes + ); + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + Result EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + Ref viewConfigurationTypeCountOutput, + Ref viewConfigurationTypes + ); + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + Result EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + uint* viewCountOutput, + ViewConfigurationView* views + ); + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + Result EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ); + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + Result GetActionStateBoolean( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateBoolean* state + ); + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + Result GetActionStateBoolean( + SessionHandle session, + Ref getInfo, + Ref state + ); + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + Result GetActionStateFloat( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateFloat* state + ); + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + Result GetActionStateFloat( + SessionHandle session, + Ref getInfo, + Ref state + ); + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + Result GetActionStatePose( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStatePose* state + ); + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + Result GetActionStatePose( + SessionHandle session, + Ref getInfo, + Ref state + ); + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + Result GetActionStateVector2F( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateVector2F* state + ); + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + Result GetActionStateVector2F( + SessionHandle session, + Ref getInfo, + Ref state + ); + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + Result GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + InteractionProfileState* interactionProfile + ); + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + Result GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + Ref interactionProfile + ); + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + Result GetInputSourceLocalizedName( + SessionHandle session, + InputSourceLocalizedNameGetInfo* getInfo, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ); + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + Result GetInputSourceLocalizedName( + SessionHandle session, + Ref getInfo, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ); + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + Result GetInstanceProcAddr(InstanceHandle instance, sbyte* name, VoidFunction* function); + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + Result GetInstanceProcAddr( + InstanceHandle instance, + Ref name, + Ref function + ); + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + Result GetInstanceProperties(InstanceHandle instance, InstanceProperties* instanceProperties); + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + Result GetInstanceProperties( + InstanceHandle instance, + Ref instanceProperties + ); + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + Result GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Extent2Df* bounds + ); + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + Result GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Ref bounds + ); + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + Result GetSystem(InstanceHandle instance, SystemGetInfo* getInfo, ulong* systemId); + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + Result GetSystem(InstanceHandle instance, Ref getInfo, Ref systemId); + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + Result GetSystemProperties( + InstanceHandle instance, + ulong systemId, + SystemProperties* properties + ); + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + Result GetSystemProperties( + InstanceHandle instance, + ulong systemId, + Ref properties + ); + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + Result GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + ViewConfigurationProperties* configurationProperties + ); + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + Result GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + Ref configurationProperties + ); + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + Result LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + SpaceLocation* location + ); + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + Result LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + Ref location + ); + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + Result LocateSpaces( + SessionHandle session, + SpacesLocateInfo* locateInfo, + SpaceLocations* spaceLocations + ); + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + Result LocateSpaces( + SessionHandle session, + Ref locateInfo, + Ref spaceLocations + ); + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + Result LocateViews( + SessionHandle session, + ViewLocateInfo* viewLocateInfo, + ViewState* viewState, + uint viewCapacityInput, + uint* viewCountOutput, + View* views + ); + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + Result LocateViews( + SessionHandle session, + Ref viewLocateInfo, + Ref viewState, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ); + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + Result PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ); + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + Result PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ); + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + Result PollEvent(InstanceHandle instance, EventDataBuffer* eventData); + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + Result PollEvent(InstanceHandle instance, Ref eventData); + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + Result ReleaseSwapchainImage(SwapchainHandle swapchain, SwapchainImageReleaseInfo* releaseInfo); + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + Result ReleaseSwapchainImage( + SwapchainHandle swapchain, + Ref releaseInfo + ); + + [NativeName("xrRequestExitSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrRequestExitSession")] + Result RequestExitSession(SessionHandle session); + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + Result ResultToString(InstanceHandle instance, Result value, sbyte* buffer); + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + Result ResultToString(InstanceHandle instance, Result value, Ref buffer); + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + Result StopHapticFeedback(SessionHandle session, HapticActionInfo* hapticActionInfo); + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + Result StopHapticFeedback(SessionHandle session, Ref hapticActionInfo); + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + Result StringToPath(InstanceHandle instance, sbyte* pathString, ulong* path); + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + Result StringToPath(InstanceHandle instance, Ref pathString, Ref path); + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + Result StructureTypeToString(InstanceHandle instance, StructureType value, sbyte* buffer); + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + Result StructureTypeToString(InstanceHandle instance, StructureType value, Ref buffer); + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + Result SuggestInteractionProfileBindings( + InstanceHandle instance, + InteractionProfileSuggestedBinding* suggestedBindings + ); + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + Result SuggestInteractionProfileBindings( + InstanceHandle instance, + Ref suggestedBindings + ); + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + Result SyncActions(SessionHandle session, ActionsSyncInfo* syncInfo); + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + Result SyncActions(SessionHandle session, Ref syncInfo); + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + Result WaitFrame(SessionHandle session, FrameWaitInfo* frameWaitInfo, FrameState* frameState); + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + Result WaitFrame( + SessionHandle session, + Ref frameWaitInfo, + Ref frameState + ); + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + Result WaitSwapchainImage(SwapchainHandle swapchain, SwapchainImageWaitInfo* waitInfo); + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + Result WaitSwapchainImage(SwapchainHandle swapchain, Ref waitInfo); +} diff --git a/sources/OpenXR/OpenXR/OpenXR/InputSourceLocalizedNameGetInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/InputSourceLocalizedNameGetInfo.gen.cs new file mode 100644 index 0000000000..2e9cf91559 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/InputSourceLocalizedNameGetInfo.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInputSourceLocalizedNameGetInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct InputSourceLocalizedNameGetInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeInputSourceLocalizedNameGetInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("sourcePath")] + [SupportedApiProfile("openxr")] + public ulong SourcePath; + + [NativeName("whichComponents")] + [SupportedApiProfile("openxr")] + public InputSourceLocalizedNameFlags WhichComponents; + + [SupportedApiProfile("openxr")] + public InputSourceLocalizedNameGetInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/InstanceCreateInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/InstanceCreateInfo.gen.cs new file mode 100644 index 0000000000..3aaed5f314 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/InstanceCreateInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInstanceCreateInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct InstanceCreateInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeInstanceCreateInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("createFlags")] + [SupportedApiProfile("openxr")] + public InstanceCreateFlags CreateFlags; + + [NativeName("applicationInfo")] + [SupportedApiProfile("openxr")] + public ApplicationInfo ApplicationInfo; + + [NativeName("enabledApiLayerCount")] + [SupportedApiProfile("openxr")] + public uint EnabledApiLayerCount; + + [NativeName("enabledApiLayerNames")] + [SupportedApiProfile("openxr")] + public sbyte** EnabledApiLayerNames; + + [NativeName("enabledExtensionCount")] + [SupportedApiProfile("openxr")] + public uint EnabledExtensionCount; + + [NativeName("enabledExtensionNames")] + [SupportedApiProfile("openxr")] + public sbyte** EnabledExtensionNames; + + [SupportedApiProfile("openxr")] + public InstanceCreateInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/InstanceProperties.gen.cs b/sources/OpenXR/OpenXR/OpenXR/InstanceProperties.gen.cs new file mode 100644 index 0000000000..755790dcae --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/InstanceProperties.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInstanceProperties")] +[SupportedApiProfile("openxr")] +public unsafe partial struct InstanceProperties +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeInstanceProperties; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("runtimeVersion")] + [SupportedApiProfile("openxr")] + public Version RuntimeVersion; + + [NativeName("runtimeName")] + [SupportedApiProfile("openxr")] + public InstancePropertiesRuntimeName RuntimeName; + + [SupportedApiProfile("openxr")] + public InstanceProperties() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/InstancePropertiesRuntimeName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/InstancePropertiesRuntimeName.gen.cs new file mode 100644 index 0000000000..016343d619 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/InstancePropertiesRuntimeName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_runtimeName_e__FixedBuffer")] +[InlineArray(128)] +[SupportedApiProfile("openxr")] +public partial struct InstancePropertiesRuntimeName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/InteractionProfileAnalogThresholdVALVE.gen.cs b/sources/OpenXR/OpenXR/OpenXR/InteractionProfileAnalogThresholdVALVE.gen.cs new file mode 100644 index 0000000000..8e5f9c7c49 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/InteractionProfileAnalogThresholdVALVE.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInteractionProfileAnalogThresholdVALVE")] +[SupportedApiProfile("openxr")] +public unsafe partial struct InteractionProfileAnalogThresholdVALVE +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_VALVE_analog_threshold"])] + public StructureType Type = StructureType.TypeInteractionProfileAnalogThresholdVALVE; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_VALVE_analog_threshold"])] + public void* Next; + + [NativeName("action")] + [SupportedApiProfile("openxr", ["XR_VALVE_analog_threshold"])] + public ActionHandle Action; + + [NativeName("binding")] + [SupportedApiProfile("openxr", ["XR_VALVE_analog_threshold"])] + public ulong Binding; + + [NativeName("onThreshold")] + [SupportedApiProfile("openxr", ["XR_VALVE_analog_threshold"])] + public float OnThreshold; + + [NativeName("offThreshold")] + [SupportedApiProfile("openxr", ["XR_VALVE_analog_threshold"])] + public float OffThreshold; + + [NativeName("onHaptic")] + [SupportedApiProfile("openxr", ["XR_VALVE_analog_threshold"])] + public HapticBaseHeader* OnHaptic; + + [NativeName("offHaptic")] + [SupportedApiProfile("openxr", ["XR_VALVE_analog_threshold"])] + public HapticBaseHeader* OffHaptic; + + [SupportedApiProfile("openxr", ["XR_VALVE_analog_threshold"])] + public InteractionProfileAnalogThresholdVALVE() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/InteractionProfileDpadBindingEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/InteractionProfileDpadBindingEXT.gen.cs new file mode 100644 index 0000000000..035ff37c14 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/InteractionProfileDpadBindingEXT.gen.cs @@ -0,0 +1,109 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInteractionProfileDpadBindingEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct InteractionProfileDpadBindingEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeInteractionProfileDpadBindingEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("binding")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public ulong Binding; + + [NativeName("actionSet")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public ActionSetHandle ActionSet; + + [NativeName("forceThreshold")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public float ForceThreshold; + + [NativeName("forceThresholdReleased")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public float ForceThresholdReleased; + + [NativeName("centerRegion")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public float CenterRegion; + + [NativeName("wedgeAngle")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public float WedgeAngle; + + [NativeName("isSticky")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public MaybeBool IsSticky; + + [NativeName("onHaptic")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public HapticBaseHeader* OnHaptic; + + [NativeName("offHaptic")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public HapticBaseHeader* OffHaptic; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public InteractionProfileDpadBindingEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/InteractionProfileState.gen.cs b/sources/OpenXR/OpenXR/OpenXR/InteractionProfileState.gen.cs new file mode 100644 index 0000000000..fbdce90f6a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/InteractionProfileState.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInteractionProfileState")] +[SupportedApiProfile("openxr")] +public unsafe partial struct InteractionProfileState +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeInteractionProfileState; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("interactionProfile")] + [SupportedApiProfile("openxr")] + public ulong InteractionProfile; + + [SupportedApiProfile("openxr")] + public InteractionProfileState() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/InteractionProfileSuggestedBinding.gen.cs b/sources/OpenXR/OpenXR/OpenXR/InteractionProfileSuggestedBinding.gen.cs new file mode 100644 index 0000000000..90f39d4882 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/InteractionProfileSuggestedBinding.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInteractionProfileSuggestedBinding")] +[SupportedApiProfile("openxr")] +public unsafe partial struct InteractionProfileSuggestedBinding +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeInteractionProfileSuggestedBinding; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("interactionProfile")] + [SupportedApiProfile("openxr")] + public ulong InteractionProfile; + + [NativeName("countSuggestedBindings")] + [SupportedApiProfile("openxr")] + public uint CountSuggestedBindings; + + [NativeName("suggestedBindings")] + [SupportedApiProfile("openxr")] + public ActionSuggestedBinding* SuggestedBindings; + + [SupportedApiProfile("openxr")] + public InteractionProfileSuggestedBinding() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/InteractionRenderModelIdsEnumerateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/InteractionRenderModelIdsEnumerateInfoEXT.gen.cs new file mode 100644 index 0000000000..8964b7af80 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/InteractionRenderModelIdsEnumerateInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInteractionRenderModelIdsEnumerateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct InteractionRenderModelIdsEnumerateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public StructureType Type = StructureType.TypeInteractionRenderModelIdsEnumerateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public InteractionRenderModelIdsEnumerateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/InteractionRenderModelSubactionPathInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/InteractionRenderModelSubactionPathInfoEXT.gen.cs new file mode 100644 index 0000000000..04a086e270 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/InteractionRenderModelSubactionPathInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInteractionRenderModelSubactionPathInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct InteractionRenderModelSubactionPathInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public StructureType Type = StructureType.TypeInteractionRenderModelSubactionPathInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public InteractionRenderModelSubactionPathInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/InteractionRenderModelTopLevelUserPathGetInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/InteractionRenderModelTopLevelUserPathGetInfoEXT.gen.cs new file mode 100644 index 0000000000..6d1bb7fc9d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/InteractionRenderModelTopLevelUserPathGetInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrInteractionRenderModelTopLevelUserPathGetInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct InteractionRenderModelTopLevelUserPathGetInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public StructureType Type = StructureType.TypeInteractionRenderModelTopLevelUserPathGetInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public void* Next; + + [NativeName("topLevelUserPathCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public uint TopLevelUserPathCount; + + [NativeName("topLevelUserPaths")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public ulong* TopLevelUserPaths; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public InteractionRenderModelTopLevelUserPathGetInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/KeyboardSpaceCreateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/KeyboardSpaceCreateInfoFB.gen.cs new file mode 100644 index 0000000000..5b491b3ad0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/KeyboardSpaceCreateInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrKeyboardSpaceCreateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct KeyboardSpaceCreateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public StructureType Type = StructureType.TypeKeyboardSpaceCreateInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public void* Next; + + [NativeName("trackedKeyboardId")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public ulong TrackedKeyboardId; + + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public KeyboardSpaceCreateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/KeyboardTrackingDescriptionFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/KeyboardTrackingDescriptionFB.gen.cs new file mode 100644 index 0000000000..79cb4fe396 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/KeyboardTrackingDescriptionFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrKeyboardTrackingDescriptionFB")] +[SupportedApiProfile("openxr")] +public partial struct KeyboardTrackingDescriptionFB +{ + [NativeName("trackedKeyboardId")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public ulong TrackedKeyboardId; + + [NativeName("size")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public Vector3F Size; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public KeyboardTrackingFlagsFB Flags; + + [NativeName("name")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public KeyboardTrackingDescriptionFBName Name; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/KeyboardTrackingDescriptionFBName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/KeyboardTrackingDescriptionFBName.gen.cs new file mode 100644 index 0000000000..63ac322f95 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/KeyboardTrackingDescriptionFBName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_name_e__FixedBuffer")] +[InlineArray(128)] +[SupportedApiProfile("openxr")] +public partial struct KeyboardTrackingDescriptionFBName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/KeyboardTrackingQueryFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/KeyboardTrackingQueryFB.gen.cs new file mode 100644 index 0000000000..c1e71471ca --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/KeyboardTrackingQueryFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrKeyboardTrackingQueryFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct KeyboardTrackingQueryFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public StructureType Type = StructureType.TypeKeyboardTrackingQueryFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public KeyboardTrackingQueryFlagsFB Flags; + + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public KeyboardTrackingQueryFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LightEstimateANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LightEstimateANDROID.gen.cs new file mode 100644 index 0000000000..c4029f4be7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LightEstimateANDROID.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLightEstimateANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct LightEstimateANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public StructureType Type = StructureType.TypeLightEstimateANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public void* Next; + + [NativeName("state")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public LightEstimateStateANDROID State; + + [NativeName("lastUpdatedTime")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public long LastUpdatedTime; + + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public LightEstimateANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LightEstimateGetInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LightEstimateGetInfoANDROID.gen.cs new file mode 100644 index 0000000000..dac3448dae --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LightEstimateGetInfoANDROID.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLightEstimateGetInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct LightEstimateGetInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public StructureType Type = StructureType.TypeLightEstimateGetInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public void* Next; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public SpaceHandle Space; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public LightEstimateGetInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LightEstimateStateANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LightEstimateStateANDROID.gen.cs new file mode 100644 index 0000000000..68dfdc6a49 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LightEstimateStateANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLightEstimateStateANDROID")] +[SupportedApiProfile("openxr")] +public enum LightEstimateStateANDROID : uint +{ + [NativeName("XR_LIGHT_ESTIMATE_STATE_VALID_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + Valid = 0, + + [NativeName("XR_LIGHT_ESTIMATE_STATE_INVALID_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + Invalid = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LightEstimatorCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LightEstimatorCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..b648e358ba --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LightEstimatorCreateInfoANDROID.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLightEstimatorCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct LightEstimatorCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public StructureType Type = StructureType.TypeLightEstimatorCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public LightEstimatorCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LipExpressionBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LipExpressionBD.gen.cs new file mode 100644 index 0000000000..e838b80141 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LipExpressionBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLipExpressionBD")] +[SupportedApiProfile("openxr")] +public enum LipExpressionBD : uint +{ + [NativeName("XR_LIP_EXPRESSION_PP_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Pp = 0, + + [NativeName("XR_LIP_EXPRESSION_CH_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Ch = 1, + + [NativeName("XR_LIP_EXPRESSION_LO_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Lo = 2, + + [NativeName("XR_LIP_EXPRESSION_O_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + O = 3, + + [NativeName("XR_LIP_EXPRESSION_I_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + I = 4, + + [NativeName("XR_LIP_EXPRESSION_LU_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Lu = 5, + + [NativeName("XR_LIP_EXPRESSION_RR_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Rr = 6, + + [NativeName("XR_LIP_EXPRESSION_XX_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Xx = 7, + + [NativeName("XR_LIP_EXPRESSION_LAA_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Laa = 8, + + [NativeName("XR_LIP_EXPRESSION_LI_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Li = 9, + + [NativeName("XR_LIP_EXPRESSION_FF_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Ff = 10, + + [NativeName("XR_LIP_EXPRESSION_U_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + U = 11, + + [NativeName("XR_LIP_EXPRESSION_TH_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Th = 12, + + [NativeName("XR_LIP_EXPRESSION_LKK_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Lkk = 13, + + [NativeName("XR_LIP_EXPRESSION_SS_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Ss = 14, + + [NativeName("XR_LIP_EXPRESSION_LE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Le = 15, + + [NativeName("XR_LIP_EXPRESSION_DD_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Dd = 16, + + [NativeName("XR_LIP_EXPRESSION_E_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + E = 17, + + [NativeName("XR_LIP_EXPRESSION_LNN_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Lnn = 18, + + [NativeName("XR_LIP_EXPRESSION_SIL_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + Sil = 19, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LipExpressionDataBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LipExpressionDataBD.gen.cs new file mode 100644 index 0000000000..0f4abd7dd3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LipExpressionDataBD.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLipExpressionDataBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct LipExpressionDataBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public StructureType Type = StructureType.TypeLipExpressionDataBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public void* Next; + + [NativeName("lipsyncExpressionWeightCount")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public uint LipsyncExpressionWeightCount; + + [NativeName("lipsyncExpressionWeights")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public float* LipsyncExpressionWeights; + + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public LipExpressionDataBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LipExpressionHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LipExpressionHTC.gen.cs new file mode 100644 index 0000000000..16e305fa7e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LipExpressionHTC.gen.cs @@ -0,0 +1,178 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLipExpressionHTC")] +[SupportedApiProfile("openxr")] +public enum LipExpressionHTC : uint +{ + [NativeName("XR_LIP_EXPRESSION_JAW_RIGHT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + JawRight = 0, + + [NativeName("XR_LIP_EXPRESSION_JAW_LEFT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + JawLeft = 1, + + [NativeName("XR_LIP_EXPRESSION_JAW_FORWARD_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + JawForward = 2, + + [NativeName("XR_LIP_EXPRESSION_JAW_OPEN_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + JawOpen = 3, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_APE_SHAPE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthApeShape = 4, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_UPPER_RIGHT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthUpperRight = 5, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_UPPER_LEFT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthUpperLeft = 6, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_LOWER_RIGHT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthLowerRight = 7, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_LOWER_LEFT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthLowerLeft = 8, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_UPPER_OVERTURN_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthUpperOverturn = 9, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_LOWER_OVERTURN_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthLowerOverturn = 10, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_POUT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthPout = 11, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_RAISER_RIGHT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthRaiserRight = 12, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_RAISER_LEFT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthRaiserLeft = 13, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_STRETCHER_RIGHT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthStretcherRight = 14, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_STRETCHER_LEFT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthStretcherLeft = 15, + + [NativeName("XR_LIP_EXPRESSION_CHEEK_PUFF_RIGHT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + CheekPuffRight = 16, + + [NativeName("XR_LIP_EXPRESSION_CHEEK_PUFF_LEFT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + CheekPuffLeft = 17, + + [NativeName("XR_LIP_EXPRESSION_CHEEK_SUCK_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + CheekSuck = 18, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_UPPER_UPRIGHT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthUpperUpright = 19, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_UPPER_UPLEFT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthUpperUpleft = 20, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_LOWER_DOWNRIGHT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthLowerDownright = 21, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_LOWER_DOWNLEFT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthLowerDownleft = 22, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_UPPER_INSIDE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthUpperInside = 23, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_LOWER_INSIDE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthLowerInside = 24, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_LOWER_OVERLAY_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthLowerOverlay = 25, + + [NativeName("XR_LIP_EXPRESSION_TONGUE_LONGSTEP1_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TongueLongstep1 = 26, + + [NativeName("XR_LIP_EXPRESSION_TONGUE_LEFT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TongueLeft = 27, + + [NativeName("XR_LIP_EXPRESSION_TONGUE_RIGHT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TongueRight = 28, + + [NativeName("XR_LIP_EXPRESSION_TONGUE_UP_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TongueUp = 29, + + [NativeName("XR_LIP_EXPRESSION_TONGUE_DOWN_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TongueDown = 30, + + [NativeName("XR_LIP_EXPRESSION_TONGUE_ROLL_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TongueRoll = 31, + + [NativeName("XR_LIP_EXPRESSION_TONGUE_LONGSTEP2_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TongueLongstep2 = 32, + + [NativeName("XR_LIP_EXPRESSION_TONGUE_UPRIGHT_MORPH_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TongueUprightMorph = 33, + + [NativeName("XR_LIP_EXPRESSION_TONGUE_UPLEFT_MORPH_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TongueUpleftMorph = 34, + + [NativeName("XR_LIP_EXPRESSION_TONGUE_DOWNRIGHT_MORPH_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TongueDownrightMorph = 35, + + [NativeName("XR_LIP_EXPRESSION_TONGUE_DOWNLEFT_MORPH_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TongueDownleftMorph = 36, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_SMILE_RIGHT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthSmileRight = MouthRaiserRight, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_SMILE_LEFT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthSmileLeft = MouthRaiserLeft, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_SAD_RIGHT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthSadRight = MouthStretcherRight, + + [NativeName("XR_LIP_EXPRESSION_MOUTH_SAD_LEFT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + MouthSadLeft = MouthStretcherLeft, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LoaderInitInfoBaseHeaderKHR.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LoaderInitInfoBaseHeaderKHR.gen.cs new file mode 100644 index 0000000000..70d20109f6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LoaderInitInfoBaseHeaderKHR.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLoaderInitInfoBaseHeaderKHR")] +[SupportedApiProfile("openxr")] +public unsafe partial struct LoaderInitInfoBaseHeaderKHR +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_KHR_loader_init"])] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_KHR_loader_init"])] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LoaderInitInfoPropertiesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LoaderInitInfoPropertiesEXT.gen.cs new file mode 100644 index 0000000000..087714bc58 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LoaderInitInfoPropertiesEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLoaderInitInfoPropertiesEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct LoaderInitInfoPropertiesEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_loader_init_properties"])] + public StructureType Type = StructureType.TypeLoaderInitInfoPropertiesEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_loader_init_properties"])] + public void* Next; + + [NativeName("propertyValueCount")] + [SupportedApiProfile("openxr", ["XR_EXT_loader_init_properties"])] + public uint PropertyValueCount; + + [NativeName("propertyValues")] + [SupportedApiProfile("openxr", ["XR_EXT_loader_init_properties"])] + public LoaderInitPropertyValueEXT* PropertyValues; + + [SupportedApiProfile("openxr", ["XR_EXT_loader_init_properties"])] + public LoaderInitInfoPropertiesEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LoaderInitPropertyValueEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LoaderInitPropertyValueEXT.gen.cs new file mode 100644 index 0000000000..a2098a92e2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LoaderInitPropertyValueEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLoaderInitPropertyValueEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct LoaderInitPropertyValueEXT +{ + [NativeName("name")] + [SupportedApiProfile("openxr")] + public sbyte* Name; + + [NativeName("value")] + [SupportedApiProfile("openxr")] + public sbyte* Value; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LocalDimmingFrameEndInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LocalDimmingFrameEndInfoMETA.gen.cs new file mode 100644 index 0000000000..9049e58886 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LocalDimmingFrameEndInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLocalDimmingFrameEndInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct LocalDimmingFrameEndInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_local_dimming"])] + public StructureType Type = StructureType.TypeLocalDimmingFrameEndInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_local_dimming"])] + public void* Next; + + [NativeName("localDimmingMode")] + [SupportedApiProfile("openxr", ["XR_META_local_dimming"])] + public LocalDimmingModeMETA LocalDimmingMode; + + [SupportedApiProfile("openxr", ["XR_META_local_dimming"])] + public LocalDimmingFrameEndInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LocalDimmingModeMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LocalDimmingModeMETA.gen.cs new file mode 100644 index 0000000000..1bec1270e0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LocalDimmingModeMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLocalDimmingModeMETA")] +[SupportedApiProfile("openxr")] +public enum LocalDimmingModeMETA : uint +{ + [NativeName("XR_LOCAL_DIMMING_MODE_OFF_META")] + [SupportedApiProfile("openxr", ["XR_META_local_dimming"])] + Off = 0, + + [NativeName("XR_LOCAL_DIMMING_MODE_ON_META")] + [SupportedApiProfile("openxr", ["XR_META_local_dimming"])] + On = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LocalizationEnableEventsInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LocalizationEnableEventsInfoML.gen.cs new file mode 100644 index 0000000000..3df65da202 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LocalizationEnableEventsInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLocalizationEnableEventsInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct LocalizationEnableEventsInfoML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeLocalizationEnableEventsInfoML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("enabled")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public MaybeBool Enabled; + + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public LocalizationEnableEventsInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LocalizationMapConfidenceML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapConfidenceML.gen.cs new file mode 100644 index 0000000000..e54db4c994 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapConfidenceML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLocalizationMapConfidenceML")] +[SupportedApiProfile("openxr")] +public enum LocalizationMapConfidenceML : uint +{ + [NativeName("XR_LOCALIZATION_MAP_CONFIDENCE_POOR_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + Poor = 0, + + [NativeName("XR_LOCALIZATION_MAP_CONFIDENCE_FAIR_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + Fair = 1, + + [NativeName("XR_LOCALIZATION_MAP_CONFIDENCE_GOOD_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + Good = 2, + + [NativeName("XR_LOCALIZATION_MAP_CONFIDENCE_EXCELLENT_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + Excellent = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LocalizationMapImportInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapImportInfoML.gen.cs new file mode 100644 index 0000000000..9674bd4ac0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapImportInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLocalizationMapImportInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct LocalizationMapImportInfoML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeLocalizationMapImportInfoML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("size")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public uint Size; + + [NativeName("data")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public sbyte* Data; + + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public LocalizationMapImportInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LocalizationMapML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapML.gen.cs new file mode 100644 index 0000000000..d5cc3899d6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLocalizationMapML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct LocalizationMapML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeLocalizationMapML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("name")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public LocalizationMapMLName Name; + + [NativeName("mapUuid")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public Uuid MapUuid; + + [NativeName("mapType")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public LocalizationMapTypeML MapType; + + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public LocalizationMapML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LocalizationMapMLName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapMLName.gen.cs new file mode 100644 index 0000000000..70cca0e5e9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapMLName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_name_e__FixedBuffer")] +[InlineArray(64)] +[SupportedApiProfile("openxr")] +public partial struct LocalizationMapMLName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LocalizationMapQueryInfoBaseHeaderML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapQueryInfoBaseHeaderML.gen.cs new file mode 100644 index 0000000000..39b62c8134 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapQueryInfoBaseHeaderML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLocalizationMapQueryInfoBaseHeaderML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct LocalizationMapQueryInfoBaseHeaderML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LocalizationMapStateML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapStateML.gen.cs new file mode 100644 index 0000000000..b4eb188a8f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapStateML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLocalizationMapStateML")] +[SupportedApiProfile("openxr")] +public enum LocalizationMapStateML : uint +{ + [NativeName("XR_LOCALIZATION_MAP_STATE_NOT_LOCALIZED_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + NotLocalized = 0, + + [NativeName("XR_LOCALIZATION_MAP_STATE_LOCALIZED_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + Localized = 1, + + [NativeName("XR_LOCALIZATION_MAP_STATE_LOCALIZATION_PENDING_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + LocalizationPending = 2, + + [NativeName("XR_LOCALIZATION_MAP_STATE_LOCALIZATION_SLEEPING_BEFORE_RETRY_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + LocalizationSleepingBeforeRetry = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/LocalizationMapTypeML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapTypeML.gen.cs new file mode 100644 index 0000000000..e19eb85a4e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/LocalizationMapTypeML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrLocalizationMapTypeML")] +[SupportedApiProfile("openxr")] +public enum LocalizationMapTypeML : uint +{ + [NativeName("XR_LOCALIZATION_MAP_TYPE_ON_DEVICE_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + OnDevice = 0, + + [NativeName("XR_LOCALIZATION_MAP_TYPE_CLOUD_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + Cloud = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MapLocalizationRequestInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MapLocalizationRequestInfoML.gen.cs new file mode 100644 index 0000000000..2f9fb8b3ce --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MapLocalizationRequestInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMapLocalizationRequestInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct MapLocalizationRequestInfoML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeMapLocalizationRequestInfoML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("mapUuid")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public Uuid MapUuid; + + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public MapLocalizationRequestInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerAprilTagDictML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerAprilTagDictML.gen.cs new file mode 100644 index 0000000000..87c14b7921 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerAprilTagDictML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerAprilTagDictML")] +[SupportedApiProfile("openxr")] +public enum MarkerAprilTagDictML : uint +{ + [NativeName("XR_MARKER_APRIL_TAG_DICT_16H5_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict16H5 = 0, + + [NativeName("XR_MARKER_APRIL_TAG_DICT_25H9_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict25H9 = 1, + + [NativeName("XR_MARKER_APRIL_TAG_DICT_36H10_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict36H10 = 2, + + [NativeName("XR_MARKER_APRIL_TAG_DICT_36H11_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict36H11 = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerArucoDictML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerArucoDictML.gen.cs new file mode 100644 index 0000000000..501fe1fa05 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerArucoDictML.gen.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerArucoDictML")] +[SupportedApiProfile("openxr")] +public enum MarkerArucoDictML : uint +{ + [NativeName("XR_MARKER_ARUCO_DICT_4X4_50_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict4x4x50 = 0, + + [NativeName("XR_MARKER_ARUCO_DICT_4X4_100_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict4x4x100 = 1, + + [NativeName("XR_MARKER_ARUCO_DICT_4X4_250_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict4x4x250 = 2, + + [NativeName("XR_MARKER_ARUCO_DICT_4X4_1000_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict4x4x1000 = 3, + + [NativeName("XR_MARKER_ARUCO_DICT_5X5_50_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict5x5x50 = 4, + + [NativeName("XR_MARKER_ARUCO_DICT_5X5_100_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict5x5x100 = 5, + + [NativeName("XR_MARKER_ARUCO_DICT_5X5_250_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict5x5x250 = 6, + + [NativeName("XR_MARKER_ARUCO_DICT_5X5_1000_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict5x5x1000 = 7, + + [NativeName("XR_MARKER_ARUCO_DICT_6X6_50_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict6x6x50 = 8, + + [NativeName("XR_MARKER_ARUCO_DICT_6X6_100_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict6x6x100 = 9, + + [NativeName("XR_MARKER_ARUCO_DICT_6X6_250_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict6x6x250 = 10, + + [NativeName("XR_MARKER_ARUCO_DICT_6X6_1000_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict6x6x1000 = 11, + + [NativeName("XR_MARKER_ARUCO_DICT_7X7_50_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict7x7x50 = 12, + + [NativeName("XR_MARKER_ARUCO_DICT_7X7_100_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict7x7x100 = 13, + + [NativeName("XR_MARKER_ARUCO_DICT_7X7_250_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict7x7x250 = 14, + + [NativeName("XR_MARKER_ARUCO_DICT_7X7_1000_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Dict7x7x1000 = 15, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorAprilTagInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorAprilTagInfoML.gen.cs new file mode 100644 index 0000000000..17d05a969f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorAprilTagInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorAprilTagInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct MarkerDetectorAprilTagInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public StructureType Type = StructureType.TypeMarkerDetectorAprilTagInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public void* Next; + + [NativeName("aprilTagDict")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerAprilTagDictML AprilTagDict; + + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorAprilTagInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorArucoInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorArucoInfoML.gen.cs new file mode 100644 index 0000000000..b6db684498 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorArucoInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorArucoInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct MarkerDetectorArucoInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public StructureType Type = StructureType.TypeMarkerDetectorArucoInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public void* Next; + + [NativeName("arucoDict")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerArucoDictML ArucoDict; + + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorArucoInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorCameraML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorCameraML.gen.cs new file mode 100644 index 0000000000..fb311a998b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorCameraML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorCameraML")] +[SupportedApiProfile("openxr")] +public enum MarkerDetectorCameraML : uint +{ + [NativeName("XR_MARKER_DETECTOR_CAMERA_RGB_CAMERA_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + RgbCamera = 0, + + [NativeName("XR_MARKER_DETECTOR_CAMERA_WORLD_CAMERAS_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + WorldCameras = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorCornerRefineMethodML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorCornerRefineMethodML.gen.cs new file mode 100644 index 0000000000..c37dc74316 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorCornerRefineMethodML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorCornerRefineMethodML")] +[SupportedApiProfile("openxr")] +public enum MarkerDetectorCornerRefineMethodML : uint +{ + [NativeName("XR_MARKER_DETECTOR_CORNER_REFINE_METHOD_NONE_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + None = 0, + + [NativeName("XR_MARKER_DETECTOR_CORNER_REFINE_METHOD_SUBPIX_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Subpix = 1, + + [NativeName("XR_MARKER_DETECTOR_CORNER_REFINE_METHOD_CONTOUR_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Contour = 2, + + [NativeName("XR_MARKER_DETECTOR_CORNER_REFINE_METHOD_APRIL_TAG_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + AprilTag = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorCreateInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorCreateInfoML.gen.cs new file mode 100644 index 0000000000..32cd4b71f9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorCreateInfoML.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorCreateInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct MarkerDetectorCreateInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public StructureType Type = StructureType.TypeMarkerDetectorCreateInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public void* Next; + + [NativeName("profile")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorProfileML Profile; + + [NativeName("markerType")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerTypeML MarkerType; + + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorCreateInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorCustomProfileInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorCustomProfileInfoML.gen.cs new file mode 100644 index 0000000000..18c39bb405 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorCustomProfileInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorCustomProfileInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct MarkerDetectorCustomProfileInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public StructureType Type = StructureType.TypeMarkerDetectorCustomProfileInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public void* Next; + + [NativeName("fpsHint")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorFpsML FpsHint; + + [NativeName("resolutionHint")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorResolutionML ResolutionHint; + + [NativeName("cameraHint")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorCameraML CameraHint; + + [NativeName("cornerRefineMethod")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorCornerRefineMethodML CornerRefineMethod; + + [NativeName("useEdgeRefinement")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MaybeBool UseEdgeRefinement; + + [NativeName("fullAnalysisIntervalHint")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorFullAnalysisIntervalML FullAnalysisIntervalHint; + + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorCustomProfileInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorFpsML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorFpsML.gen.cs new file mode 100644 index 0000000000..5592d774f2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorFpsML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorFpsML")] +[SupportedApiProfile("openxr")] +public enum MarkerDetectorFpsML : uint +{ + [NativeName("XR_MARKER_DETECTOR_FPS_LOW_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Low = 0, + + [NativeName("XR_MARKER_DETECTOR_FPS_MEDIUM_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Medium = 1, + + [NativeName("XR_MARKER_DETECTOR_FPS_HIGH_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + High = 2, + + [NativeName("XR_MARKER_DETECTOR_FPS_MAX_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Max = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorFullAnalysisIntervalML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorFullAnalysisIntervalML.gen.cs new file mode 100644 index 0000000000..b2bca3e561 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorFullAnalysisIntervalML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorFullAnalysisIntervalML")] +[SupportedApiProfile("openxr")] +public enum MarkerDetectorFullAnalysisIntervalML : uint +{ + [NativeName("XR_MARKER_DETECTOR_FULL_ANALYSIS_INTERVAL_MAX_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Max = 0, + + [NativeName("XR_MARKER_DETECTOR_FULL_ANALYSIS_INTERVAL_FAST_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Fast = 1, + + [NativeName("XR_MARKER_DETECTOR_FULL_ANALYSIS_INTERVAL_MEDIUM_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Medium = 2, + + [NativeName("XR_MARKER_DETECTOR_FULL_ANALYSIS_INTERVAL_SLOW_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Slow = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorProfileML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorProfileML.gen.cs new file mode 100644 index 0000000000..3b02baa4b5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorProfileML.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorProfileML")] +[SupportedApiProfile("openxr")] +public enum MarkerDetectorProfileML : uint +{ + [NativeName("XR_MARKER_DETECTOR_PROFILE_DEFAULT_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Default = 0, + + [NativeName("XR_MARKER_DETECTOR_PROFILE_SPEED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Speed = 1, + + [NativeName("XR_MARKER_DETECTOR_PROFILE_ACCURACY_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Accuracy = 2, + + [NativeName("XR_MARKER_DETECTOR_PROFILE_SMALL_TARGETS_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + SmallTargets = 3, + + [NativeName("XR_MARKER_DETECTOR_PROFILE_LARGE_FOV_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + LargeFov = 4, + + [NativeName("XR_MARKER_DETECTOR_PROFILE_CUSTOM_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Custom = 5, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorResolutionML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorResolutionML.gen.cs new file mode 100644 index 0000000000..6122cd8a39 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorResolutionML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorResolutionML")] +[SupportedApiProfile("openxr")] +public enum MarkerDetectorResolutionML : uint +{ + [NativeName("XR_MARKER_DETECTOR_RESOLUTION_LOW_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Low = 0, + + [NativeName("XR_MARKER_DETECTOR_RESOLUTION_MEDIUM_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Medium = 1, + + [NativeName("XR_MARKER_DETECTOR_RESOLUTION_HIGH_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + High = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorSizeInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorSizeInfoML.gen.cs new file mode 100644 index 0000000000..5c9bc2d645 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorSizeInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorSizeInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct MarkerDetectorSizeInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public StructureType Type = StructureType.TypeMarkerDetectorSizeInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public void* Next; + + [NativeName("markerLength")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public float MarkerLength; + + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorSizeInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorSnapshotInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorSnapshotInfoML.gen.cs new file mode 100644 index 0000000000..854a6614fc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorSnapshotInfoML.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorSnapshotInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct MarkerDetectorSnapshotInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public StructureType Type = StructureType.TypeMarkerDetectorSnapshotInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorSnapshotInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorStateML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorStateML.gen.cs new file mode 100644 index 0000000000..c35b121472 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorStateML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorStateML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct MarkerDetectorStateML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public StructureType Type = StructureType.TypeMarkerDetectorStateML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public void* Next; + + [NativeName("state")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorStatusML State; + + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorStateML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorStatusML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorStatusML.gen.cs new file mode 100644 index 0000000000..abd7eea36e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerDetectorStatusML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerDetectorStatusML")] +[SupportedApiProfile("openxr")] +public enum MarkerDetectorStatusML : uint +{ + [NativeName("XR_MARKER_DETECTOR_STATUS_PENDING_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Pending = 0, + + [NativeName("XR_MARKER_DETECTOR_STATUS_READY_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Ready = 1, + + [NativeName("XR_MARKER_DETECTOR_STATUS_ERROR_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Error = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerSpaceCreateInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerSpaceCreateInfoML.gen.cs new file mode 100644 index 0000000000..b9c98db418 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerSpaceCreateInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerSpaceCreateInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct MarkerSpaceCreateInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public StructureType Type = StructureType.TypeMarkerSpaceCreateInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public void* Next; + + [NativeName("markerDetector")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerDetectorHandleML MarkerDetector; + + [NativeName("marker")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public ulong Marker; + + [NativeName("poseInMarkerSpace")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public Posef PoseInMarkerSpace; + + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MarkerSpaceCreateInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerSpaceCreateInfoVARJO.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerSpaceCreateInfoVARJO.gen.cs new file mode 100644 index 0000000000..29192bb435 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerSpaceCreateInfoVARJO.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerSpaceCreateInfoVARJO")] +[SupportedApiProfile("openxr")] +public unsafe partial struct MarkerSpaceCreateInfoVARJO +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public StructureType Type = StructureType.TypeMarkerSpaceCreateInfoVARJO; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public void* Next; + + [NativeName("markerId")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public ulong MarkerId; + + [NativeName("poseInMarkerSpace")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public Posef PoseInMarkerSpace; + + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public MarkerSpaceCreateInfoVARJO() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MarkerTypeML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MarkerTypeML.gen.cs new file mode 100644 index 0000000000..695d26585d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MarkerTypeML.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMarkerTypeML")] +[SupportedApiProfile("openxr")] +public enum MarkerTypeML : uint +{ + [NativeName("XR_MARKER_TYPE_ARUCO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Aruco = 0, + + [NativeName("XR_MARKER_TYPE_APRIL_TAG_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + AprilTag = 1, + + [NativeName("XR_MARKER_TYPE_QR_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Qr = 2, + + [NativeName("XR_MARKER_TYPE_EAN_13_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Ean13 = 3, + + [NativeName("XR_MARKER_TYPE_UPC_A_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + UpcA = 4, + + [NativeName("XR_MARKER_TYPE_CODE_128_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + Code128 = 5, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/MeshComputeLodMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/MeshComputeLodMSFT.gen.cs new file mode 100644 index 0000000000..f2843be564 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/MeshComputeLodMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrMeshComputeLodMSFT")] +[SupportedApiProfile("openxr")] +public enum MeshComputeLodMSFT : uint +{ + [NativeName("XR_MESH_COMPUTE_LOD_COARSE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Coarse = 1, + + [NativeName("XR_MESH_COMPUTE_LOD_MEDIUM_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Medium = 2, + + [NativeName("XR_MESH_COMPUTE_LOD_FINE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Fine = 3, + + [NativeName("XR_MESH_COMPUTE_LOD_UNLIMITED_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Unlimited = 4, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/NewSceneComputeInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/NewSceneComputeInfoMSFT.gen.cs new file mode 100644 index 0000000000..a85d88049a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/NewSceneComputeInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrNewSceneComputeInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct NewSceneComputeInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeNewSceneComputeInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("requestedFeatureCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint RequestedFeatureCount; + + [NativeName("requestedFeatures")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneComputeFeatureMSFT* RequestedFeatures; + + [NativeName("consistency")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneComputeConsistencyMSFT Consistency; + + [NativeName("bounds")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneBoundsMSFT Bounds; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public NewSceneComputeInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ObjectLabelANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ObjectLabelANDROID.gen.cs new file mode 100644 index 0000000000..409993a565 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ObjectLabelANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrObjectLabelANDROID")] +[SupportedApiProfile("openxr")] +public enum ObjectLabelANDROID : uint +{ + [NativeName("XR_OBJECT_LABEL_UNKNOWN_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Unknown = 0, + + [NativeName("XR_OBJECT_LABEL_KEYBOARD_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Keyboard = 1, + + [NativeName("XR_OBJECT_LABEL_MOUSE_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Mouse = 2, + + [NativeName("XR_OBJECT_LABEL_LAPTOP_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Laptop = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ObjectType.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ObjectType.gen.cs new file mode 100644 index 0000000000..ae36e470a5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ObjectType.gen.cs @@ -0,0 +1,350 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrObjectType")] +[SupportedApiProfile("openxr")] +public enum ObjectType : uint +{ + [NativeName("XR_OBJECT_TYPE_UNKNOWN")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + Unknown = 0, + + [NativeName("XR_OBJECT_TYPE_INSTANCE")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + Instance = 1, + + [NativeName("XR_OBJECT_TYPE_SESSION")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + Session = 2, + + [NativeName("XR_OBJECT_TYPE_SWAPCHAIN")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + Swapchain = 3, + + [NativeName("XR_OBJECT_TYPE_SPACE")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + Space = 4, + + [NativeName("XR_OBJECT_TYPE_ACTION_SET")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + ActionSet = 5, + + [NativeName("XR_OBJECT_TYPE_ACTION")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + Action = 6, + + [NativeName("XR_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + DebugUtilsMessengerEXT = 1000019000, + + [NativeName("XR_OBJECT_TYPE_SPATIAL_ANCHOR_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_anchor"])] + SpatialAnchorMSFT = 1000039000, + + [NativeName("XR_OBJECT_TYPE_SPATIAL_GRAPH_NODE_BINDING_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + SpatialGraphNodeBindingMSFT = 1000049000, + + [NativeName("XR_OBJECT_TYPE_HAND_TRACKER_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + HandTrackerEXT = 1000051000, + + [NativeName("XR_OBJECT_TYPE_BODY_TRACKER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + BodyTrackerFB = 1000076000, + + [NativeName("XR_OBJECT_TYPE_SCENE_OBSERVER_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + SceneObserverMSFT = 1000097000, + + [NativeName("XR_OBJECT_TYPE_SCENE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + SceneMSFT = 1000097001, + + [NativeName("XR_OBJECT_TYPE_FACIAL_TRACKER_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + FacialTrackerHTC = 1000104000, + + [NativeName("XR_OBJECT_TYPE_FOVEATION_PROFILE_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + FoveationProfileFB = 1000114000, + + [NativeName("XR_OBJECT_TYPE_TRIANGLE_MESH_FB")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + TriangleMeshFB = 1000117000, + + [NativeName("XR_OBJECT_TYPE_PASSTHROUGH_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + PassthroughFB = 1000118000, + + [NativeName("XR_OBJECT_TYPE_PASSTHROUGH_LAYER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + PassthroughLayerFB = 1000118002, + + [NativeName("XR_OBJECT_TYPE_GEOMETRY_INSTANCE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + GeometryInstanceFB = 1000118004, + + [NativeName("XR_OBJECT_TYPE_MARKER_DETECTOR_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + MarkerDetectorML = 1000138000, + + [NativeName("XR_OBJECT_TYPE_EXPORTED_LOCALIZATION_MAP_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + ExportedLocalizationMapML = 1000139000, + + [NativeName("XR_OBJECT_TYPE_SPATIAL_ANCHORS_STORAGE_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + SpatialAnchorsStorageML = 1000141000, + + [NativeName("XR_OBJECT_TYPE_SPATIAL_ANCHOR_STORE_CONNECTION_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + SpatialAnchorStoreConnectionMSFT = 1000142000, + + [NativeName("XR_OBJECT_TYPE_FACE_TRACKER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + FaceTrackerFB = 1000201000, + + [NativeName("XR_OBJECT_TYPE_EYE_TRACKER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + EyeTrackerFB = 1000202000, + + [NativeName("XR_OBJECT_TYPE_VIRTUAL_KEYBOARD_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + VirtualKeyboardMETA = 1000219000, + + [NativeName("XR_OBJECT_TYPE_SPACE_USER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity_user"])] + SpaceUserFB = 1000241000, + + [NativeName("XR_OBJECT_TYPE_PASSTHROUGH_COLOR_LUT_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + PassthroughColorLutMETA = 1000266000, + + [NativeName("XR_OBJECT_TYPE_FACE_TRACKER2_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + FaceTracker2FB = 1000287012, + + [NativeName("XR_OBJECT_TYPE_ENVIRONMENT_DEPTH_PROVIDER_META")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + EnvironmentDepthProviderMETA = 1000291000, + + [NativeName("XR_OBJECT_TYPE_ENVIRONMENT_DEPTH_SWAPCHAIN_META")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + EnvironmentDepthSwapchainMETA = 1000291001, + + [NativeName("XR_OBJECT_TYPE_RENDER_MODEL_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + RenderModelEXT = 1000300000, + + [NativeName("XR_OBJECT_TYPE_RENDER_MODEL_ASSET_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + RenderModelAssetEXT = 1000300001, + + [NativeName("XR_OBJECT_TYPE_PASSTHROUGH_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + PassthroughHTC = 1000317000, + + [NativeName("XR_OBJECT_TYPE_BODY_TRACKER_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + BodyTrackerHTC = 1000320000, + + [NativeName("XR_OBJECT_TYPE_BODY_TRACKER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + BodyTrackerBD = 1000385000, + + [NativeName("XR_OBJECT_TYPE_FACE_TRACKER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + FaceTrackerBD = 1000386000, + + [NativeName("XR_OBJECT_TYPE_SENSE_DATA_PROVIDER_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + SenseDataProviderBD = 1000389000, + + [NativeName("XR_OBJECT_TYPE_SENSE_DATA_SNAPSHOT_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + SenseDataSnapshotBD = 1000389001, + + [NativeName("XR_OBJECT_TYPE_ANCHOR_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + AnchorBD = 1000389002, + + [NativeName("XR_OBJECT_TYPE_SPATIAL_AUDIO_RENDERER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + SpatialAudioRendererBD = 1000409000, + + [NativeName("XR_OBJECT_TYPE_SOUND_FIELD_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + SoundFieldBD = 1000409001, + + [NativeName("XR_OBJECT_TYPE_SOUND_OBJECT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + SoundObjectBD = 1000409002, + + [NativeName("XR_OBJECT_TYPE_SOUND_OBSTACLE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + SoundObstacleBD = 1000409003, + + [NativeName("XR_OBJECT_TYPE_SOUND_OBSTACLE_MATERIAL_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + SoundObstacleMaterialBD = 1000409004, + + [NativeName("XR_OBJECT_TYPE_PLANE_DETECTOR_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + PlaneDetectorEXT = 1000429000, + + [NativeName("XR_OBJECT_TYPE_TRACKABLE_TRACKER_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + TrackableTrackerANDROID = 1000455001, + + [NativeName("XR_OBJECT_TYPE_EYE_TRACKER_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + EyeTrackerANDROID = 1000456000, + + [NativeName("XR_OBJECT_TYPE_DEVICE_ANCHOR_PERSISTENCE_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + DeviceAnchorPersistenceANDROID = 1000457000, + + [NativeName("XR_OBJECT_TYPE_FACE_TRACKER_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + FaceTrackerANDROID = 1000458000, + + [NativeName("XR_OBJECT_TYPE_PASSTHROUGH_LAYER_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + PassthroughLayerANDROID = 1000462000, + + [NativeName("XR_OBJECT_TYPE_WORLD_MESH_DETECTOR_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + WorldMeshDetectorML = 1000474000, + + [NativeName("XR_OBJECT_TYPE_FACIAL_EXPRESSION_CLIENT_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + FacialExpressionClientML = 1000482000, + + [NativeName("XR_OBJECT_TYPE_ENVIRONMENT_RAYCASTER_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + EnvironmentRaycasterMETA = 1000592000, + + [NativeName("XR_OBJECT_TYPE_LIGHT_ESTIMATOR_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + LightEstimatorANDROID = 1000700000, + + [NativeName("XR_OBJECT_TYPE_TRACKABLE_IMAGE_DATABASE_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + TrackableImageDatabaseANDROID = 1000709000, + + [NativeName("XR_OBJECT_TYPE_SCENE_MESHING_TRACKER_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + SceneMeshingTrackerANDROID = 1000718000, + + [NativeName("XR_OBJECT_TYPE_SCENE_MESH_SNAPSHOT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + SceneMeshSnapshotANDROID = 1000718001, + + [NativeName("XR_OBJECT_TYPE_SPATIAL_ENTITY_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + SpatialEntityEXT = 1000740000, + + [NativeName("XR_OBJECT_TYPE_SPATIAL_CONTEXT_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + SpatialContextEXT = 1000740001, + + [NativeName("XR_OBJECT_TYPE_SPATIAL_SNAPSHOT_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + SpatialSnapshotEXT = 1000740002, + + [NativeName("XR_OBJECT_TYPE_SPATIAL_PERSISTENCE_CONTEXT_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + SpatialPersistenceContextEXT = 1000763000, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Offset2Df.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Offset2Df.gen.cs new file mode 100644 index 0000000000..2ab72b68b6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Offset2Df.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrOffset2Df")] +[SupportedApiProfile("openxr")] +public partial struct Offset2Df +{ + [NativeName("x")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float X; + + [NativeName("y")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float Y; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Offset2Di.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Offset2Di.gen.cs new file mode 100644 index 0000000000..9c19bd1e19 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Offset2Di.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrOffset2Di")] +[SupportedApiProfile("openxr")] +public partial struct Offset2Di +{ + [NativeName("x")] + [SupportedApiProfile("openxr")] + public int X; + + [NativeName("y")] + [SupportedApiProfile("openxr")] + public int Y; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Offset3DfFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Offset3DfFB.gen.cs new file mode 100644 index 0000000000..76cfa00e14 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Offset3DfFB.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrOffset3DfFB")] +[SupportedApiProfile("openxr")] +public partial struct Offset3DfFB +{ + [NativeName("x")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public float X; + + [NativeName("y")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public float Y; + + [NativeName("z")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public float Z; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughBrightnessContrastSaturationFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughBrightnessContrastSaturationFB.gen.cs new file mode 100644 index 0000000000..20412840ef --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughBrightnessContrastSaturationFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughBrightnessContrastSaturationFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughBrightnessContrastSaturationFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public StructureType Type = StructureType.TypePassthroughBrightnessContrastSaturationFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public void* Next; + + [NativeName("brightness")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public float Brightness; + + [NativeName("contrast")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public float Contrast; + + [NativeName("saturation")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public float Saturation; + + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughBrightnessContrastSaturationFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughCameraStateANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughCameraStateANDROID.gen.cs new file mode 100644 index 0000000000..a555c74b21 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughCameraStateANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughCameraStateANDROID")] +[SupportedApiProfile("openxr")] +public enum PassthroughCameraStateANDROID : uint +{ + [NativeName("XR_PASSTHROUGH_CAMERA_STATE_DISABLED_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + Disabled = 0, + + [NativeName("XR_PASSTHROUGH_CAMERA_STATE_INITIALIZING_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + Initializing = 1, + + [NativeName("XR_PASSTHROUGH_CAMERA_STATE_READY_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + Ready = 2, + + [NativeName("XR_PASSTHROUGH_CAMERA_STATE_ERROR_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + Error = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughCameraStateGetInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughCameraStateGetInfoANDROID.gen.cs new file mode 100644 index 0000000000..df72ed2733 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughCameraStateGetInfoANDROID.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughCameraStateGetInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughCameraStateGetInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + public StructureType Type = StructureType.TypePassthroughCameraStateGetInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + public PassthroughCameraStateGetInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughColorHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorHTC.gen.cs new file mode 100644 index 0000000000..8b88b0ae01 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughColorHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughColorHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public StructureType Type = StructureType.TypePassthroughColorHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public void* Next; + + [NativeName("alpha")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public float Alpha; + + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public PassthroughColorHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughColorLutChannelsMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorLutChannelsMETA.gen.cs new file mode 100644 index 0000000000..df7e1a1404 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorLutChannelsMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughColorLutChannelsMETA")] +[SupportedApiProfile("openxr")] +public enum PassthroughColorLutChannelsMETA : uint +{ + [NativeName("XR_PASSTHROUGH_COLOR_LUT_CHANNELS_RGB_META")] + [SupportedApiProfile("openxr")] + Rgb = 1, + + [NativeName("XR_PASSTHROUGH_COLOR_LUT_CHANNELS_RGBA_META")] + [SupportedApiProfile("openxr")] + Rgba = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughColorLutCreateInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorLutCreateInfoMETA.gen.cs new file mode 100644 index 0000000000..f791b5f76f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorLutCreateInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughColorLutCreateInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughColorLutCreateInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypePassthroughColorLutCreateInfoMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("channels")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public PassthroughColorLutChannelsMETA Channels; + + [NativeName("resolution")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public uint Resolution; + + [NativeName("data")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public PassthroughColorLutDataMETA Data; + + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public PassthroughColorLutCreateInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughColorLutDataMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorLutDataMETA.gen.cs new file mode 100644 index 0000000000..b03b54498f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorLutDataMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughColorLutDataMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughColorLutDataMETA +{ + [NativeName("bufferSize")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public uint BufferSize; + + [NativeName("buffer")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public byte* Buffer; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughColorLutUpdateInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorLutUpdateInfoMETA.gen.cs new file mode 100644 index 0000000000..35c5dc08b3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorLutUpdateInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughColorLutUpdateInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughColorLutUpdateInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypePassthroughColorLutUpdateInfoMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("data")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public PassthroughColorLutDataMETA Data; + + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public PassthroughColorLutUpdateInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapInterpolatedLutMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapInterpolatedLutMETA.gen.cs new file mode 100644 index 0000000000..97500998d2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapInterpolatedLutMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughColorMapInterpolatedLutMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughColorMapInterpolatedLutMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypePassthroughColorMapInterpolatedLutMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("sourceColorLut")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public PassthroughColorLutHandleMETA SourceColorLut; + + [NativeName("targetColorLut")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public PassthroughColorLutHandleMETA TargetColorLut; + + [NativeName("weight")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public float Weight; + + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public PassthroughColorMapInterpolatedLutMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapLutMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapLutMETA.gen.cs new file mode 100644 index 0000000000..64c3a441ba --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapLutMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughColorMapLutMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughColorMapLutMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypePassthroughColorMapLutMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("colorLut")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public PassthroughColorLutHandleMETA ColorLut; + + [NativeName("weight")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public float Weight; + + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public PassthroughColorMapLutMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapMonoToMonoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapMonoToMonoFB.gen.cs new file mode 100644 index 0000000000..c7d73aa426 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapMonoToMonoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughColorMapMonoToMonoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughColorMapMonoToMonoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public StructureType Type = StructureType.TypePassthroughColorMapMonoToMonoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public void* Next; + + [NativeName("textureColorMap")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughColorMapMonoToMonoFBTextureColorMap TextureColorMap; + + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughColorMapMonoToMonoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapMonoToMonoFBTextureColorMap.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapMonoToMonoFBTextureColorMap.gen.cs new file mode 100644 index 0000000000..29bfe8912a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapMonoToMonoFBTextureColorMap.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_textureColorMap_e__FixedBuffer")] +[InlineArray(256)] +[SupportedApiProfile("openxr")] +public partial struct PassthroughColorMapMonoToMonoFBTextureColorMap +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public byte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapMonoToRgbaFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapMonoToRgbaFB.gen.cs new file mode 100644 index 0000000000..9ac98bf5ae --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapMonoToRgbaFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughColorMapMonoToRgbaFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughColorMapMonoToRgbaFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public StructureType Type = StructureType.TypePassthroughColorMapMonoToRgbaFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public void* Next; + + [NativeName("textureColorMap")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughColorMapMonoToRgbaFBTextureColorMap TextureColorMap; + + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughColorMapMonoToRgbaFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapMonoToRgbaFBTextureColorMap.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapMonoToRgbaFBTextureColorMap.gen.cs new file mode 100644 index 0000000000..01cc190dbc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughColorMapMonoToRgbaFBTextureColorMap.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_textureColorMap_e__FixedBuffer")] +[InlineArray(256)] +[SupportedApiProfile("openxr")] +public partial struct PassthroughColorMapMonoToRgbaFBTextureColorMap +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public Color4F E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughCreateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughCreateInfoFB.gen.cs new file mode 100644 index 0000000000..4f9a4687e9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughCreateInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughCreateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughCreateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public StructureType Type = StructureType.TypePassthroughCreateInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughFlagsFB Flags; + + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughCreateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughCreateInfoHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughCreateInfoHTC.gen.cs new file mode 100644 index 0000000000..b7ca774352 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughCreateInfoHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughCreateInfoHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughCreateInfoHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public StructureType Type = StructureType.TypePassthroughCreateInfoHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public void* Next; + + [NativeName("form")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public PassthroughFormHTC Form; + + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public PassthroughCreateInfoHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughFormHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughFormHTC.gen.cs new file mode 100644 index 0000000000..5a093a5724 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughFormHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughFormHTC")] +[SupportedApiProfile("openxr")] +public enum PassthroughFormHTC : uint +{ + [NativeName("XR_PASSTHROUGH_FORM_PLANAR_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + Planar = 0, + + [NativeName("XR_PASSTHROUGH_FORM_PROJECTED_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + Projected = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughKeyboardHandsIntensityFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughKeyboardHandsIntensityFB.gen.cs new file mode 100644 index 0000000000..d54467c600 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughKeyboardHandsIntensityFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughKeyboardHandsIntensityFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughKeyboardHandsIntensityFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_passthrough_keyboard_hands"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypePassthroughKeyboardHandsIntensityFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_passthrough_keyboard_hands"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("leftHandIntensity")] + [SupportedApiProfile( + "openxr", + ["XR_FB_passthrough_keyboard_hands"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public float LeftHandIntensity; + + [NativeName("rightHandIntensity")] + [SupportedApiProfile( + "openxr", + ["XR_FB_passthrough_keyboard_hands"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public float RightHandIntensity; + + [SupportedApiProfile( + "openxr", + ["XR_FB_passthrough_keyboard_hands"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public PassthroughKeyboardHandsIntensityFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughLayerCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughLayerCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..6846393b46 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughLayerCreateInfoANDROID.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughLayerCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughLayerCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public StructureType Type = StructureType.TypePassthroughLayerCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public void* Next; + + [NativeName("vertexCapacity")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public uint VertexCapacity; + + [NativeName("indexCapacity")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public uint IndexCapacity; + + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public PassthroughLayerCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughLayerCreateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughLayerCreateInfoFB.gen.cs new file mode 100644 index 0000000000..e1879c757c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughLayerCreateInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughLayerCreateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughLayerCreateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public StructureType Type = StructureType.TypePassthroughLayerCreateInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public void* Next; + + [NativeName("passthrough")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughHandleFB Passthrough; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughFlagsFB Flags; + + [NativeName("purpose")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughLayerPurposeFB Purpose; + + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughLayerCreateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughLayerMeshANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughLayerMeshANDROID.gen.cs new file mode 100644 index 0000000000..c4486a930a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughLayerMeshANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughLayerMeshANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughLayerMeshANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public StructureType Type = StructureType.TypePassthroughLayerMeshANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public void* Next; + + [NativeName("windingOrder")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public WindingOrderANDROID WindingOrder; + + [NativeName("vertexCount")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public uint VertexCount; + + [NativeName("vertices")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public Vector3F* Vertices; + + [NativeName("indexCount")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public uint IndexCount; + + [NativeName("indices")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public ushort* Indices; + + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public PassthroughLayerMeshANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughLayerPurposeFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughLayerPurposeFB.gen.cs new file mode 100644 index 0000000000..c4ce87ee9c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughLayerPurposeFB.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughLayerPurposeFB")] +[SupportedApiProfile("openxr")] +public enum PassthroughLayerPurposeFB : uint +{ + [NativeName("XR_PASSTHROUGH_LAYER_PURPOSE_RECONSTRUCTION_FB")] + [SupportedApiProfile("openxr")] + Reconstruction = 0, + + [NativeName("XR_PASSTHROUGH_LAYER_PURPOSE_PROJECTED_FB")] + [SupportedApiProfile("openxr")] + Projected = 1, + + [NativeName("XR_PASSTHROUGH_LAYER_PURPOSE_TRACKED_KEYBOARD_HANDS_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_passthrough_keyboard_hands"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + TrackedKeyboardHands = 1000203001, + + [NativeName("XR_PASSTHROUGH_LAYER_PURPOSE_TRACKED_KEYBOARD_MASKED_HANDS_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_passthrough_keyboard_hands"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + TrackedKeyboardMaskedHands = 1000203002, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughMeshTransformInfoHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughMeshTransformInfoHTC.gen.cs new file mode 100644 index 0000000000..486d1a1b0a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughMeshTransformInfoHTC.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughMeshTransformInfoHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughMeshTransformInfoHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public StructureType Type = StructureType.TypePassthroughMeshTransformInfoHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public void* Next; + + [NativeName("vertexCount")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public uint VertexCount; + + [NativeName("vertices")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public Vector3F* Vertices; + + [NativeName("indexCount")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public uint IndexCount; + + [NativeName("indices")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public uint* Indices; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public long Time; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public Posef Pose; + + [NativeName("scale")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public Vector3F Scale; + + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public PassthroughMeshTransformInfoHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughPreferencesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughPreferencesMETA.gen.cs new file mode 100644 index 0000000000..617308dcc4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughPreferencesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughPreferencesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughPreferencesMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_passthrough_preferences"])] + public StructureType Type = StructureType.TypePassthroughPreferencesMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_passthrough_preferences"])] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_META_passthrough_preferences"])] + public PassthroughPreferenceFlagsMETA Flags; + + [SupportedApiProfile("openxr", ["XR_META_passthrough_preferences"])] + public PassthroughPreferencesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PassthroughStyleFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PassthroughStyleFB.gen.cs new file mode 100644 index 0000000000..159aa659c9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PassthroughStyleFB.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPassthroughStyleFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PassthroughStyleFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public StructureType Type = StructureType.TypePassthroughStyleFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public void* Next; + + [NativeName("textureOpacityFactor")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public float TextureOpacityFactor; + + [NativeName("edgeColor")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public Color4F EdgeColor; + + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughStyleFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PerfSettingsDomainEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PerfSettingsDomainEXT.gen.cs new file mode 100644 index 0000000000..770cc2433f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PerfSettingsDomainEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPerfSettingsDomainEXT")] +[SupportedApiProfile("openxr")] +public enum PerfSettingsDomainEXT : uint +{ + [NativeName("XR_PERF_SETTINGS_DOMAIN_CPU_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings", "XR_EXT_thermal_query"])] + Cpu = 1, + + [NativeName("XR_PERF_SETTINGS_DOMAIN_GPU_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings", "XR_EXT_thermal_query"])] + Gpu = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PerfSettingsLevelEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PerfSettingsLevelEXT.gen.cs new file mode 100644 index 0000000000..d3f4fbce68 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PerfSettingsLevelEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPerfSettingsLevelEXT")] +[SupportedApiProfile("openxr")] +public enum PerfSettingsLevelEXT : uint +{ + [NativeName("XR_PERF_SETTINGS_LEVEL_POWER_SAVINGS_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + PowerSavings = 0, + + [NativeName("XR_PERF_SETTINGS_LEVEL_SUSTAINED_LOW_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + SustainedLow = 25, + + [NativeName("XR_PERF_SETTINGS_LEVEL_SUSTAINED_HIGH_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + SustainedHigh = 50, + + [NativeName("XR_PERF_SETTINGS_LEVEL_BOOST_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + Boost = 75, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PerfSettingsNotificationLevelEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PerfSettingsNotificationLevelEXT.gen.cs new file mode 100644 index 0000000000..c5d6896aa9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PerfSettingsNotificationLevelEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPerfSettingsNotificationLevelEXT")] +[SupportedApiProfile("openxr")] +public enum PerfSettingsNotificationLevelEXT : uint +{ + [NativeName("XR_PERF_SETTINGS_NOTIF_LEVEL_NORMAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings", "XR_EXT_thermal_query"])] + NotifLevelNormal = 0, + + [NativeName("XR_PERF_SETTINGS_NOTIF_LEVEL_WARNING_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings", "XR_EXT_thermal_query"])] + NotifLevelWarning = 25, + + [NativeName("XR_PERF_SETTINGS_NOTIF_LEVEL_IMPAIRED_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings", "XR_EXT_thermal_query"])] + NotifLevelImpaired = 75, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PerfSettingsSubDomainEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PerfSettingsSubDomainEXT.gen.cs new file mode 100644 index 0000000000..248c69c756 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PerfSettingsSubDomainEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPerfSettingsSubDomainEXT")] +[SupportedApiProfile("openxr")] +public enum PerfSettingsSubDomainEXT : uint +{ + [NativeName("XR_PERF_SETTINGS_SUB_DOMAIN_COMPOSITING_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + Compositing = 1, + + [NativeName("XR_PERF_SETTINGS_SUB_DOMAIN_RENDERING_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + Rendering = 2, + + [NativeName("XR_PERF_SETTINGS_SUB_DOMAIN_THERMAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + Thermal = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsCounterANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsCounterANDROID.gen.cs new file mode 100644 index 0000000000..143591bd17 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsCounterANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPerformanceMetricsCounterANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PerformanceMetricsCounterANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public StructureType Type = StructureType.TypePerformanceMetricsCounterANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public void* Next; + + [NativeName("counterFlags")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public PerformanceMetricsCounterFlagsANDROID CounterFlags; + + [NativeName("counterUnit")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public PerformanceMetricsCounterUnitANDROID CounterUnit; + + [NativeName("uintValue")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public uint UintValue; + + [NativeName("floatValue")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public float FloatValue; + + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public PerformanceMetricsCounterANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsCounterMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsCounterMETA.gen.cs new file mode 100644 index 0000000000..1b6a4c0000 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsCounterMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPerformanceMetricsCounterMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PerformanceMetricsCounterMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public StructureType Type = StructureType.TypePerformanceMetricsCounterMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public void* Next; + + [NativeName("counterFlags")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public PerformanceMetricsCounterFlagsMETA CounterFlags; + + [NativeName("counterUnit")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public PerformanceMetricsCounterUnitMETA CounterUnit; + + [NativeName("uintValue")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public uint UintValue; + + [NativeName("floatValue")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public float FloatValue; + + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public PerformanceMetricsCounterMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsCounterUnitANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsCounterUnitANDROID.gen.cs new file mode 100644 index 0000000000..9c4a706d23 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsCounterUnitANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPerformanceMetricsCounterUnitANDROID")] +[SupportedApiProfile("openxr")] +public enum PerformanceMetricsCounterUnitANDROID : uint +{ + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_UNIT_GENERIC_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + Generic = 0, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_UNIT_PERCENTAGE_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + Percentage = 1, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_UNIT_MILLISECONDS_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + Milliseconds = 2, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_UNIT_BYTES_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + Bytes = 3, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_UNIT_HERTZ_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + Hertz = 4, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsCounterUnitMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsCounterUnitMETA.gen.cs new file mode 100644 index 0000000000..0447819a92 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsCounterUnitMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPerformanceMetricsCounterUnitMETA")] +[SupportedApiProfile("openxr")] +public enum PerformanceMetricsCounterUnitMETA : uint +{ + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_UNIT_GENERIC_META")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + Generic = 0, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_UNIT_PERCENTAGE_META")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + Percentage = 1, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_UNIT_MILLISECONDS_META")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + Milliseconds = 2, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_UNIT_BYTES_META")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + Bytes = 3, + + [NativeName("XR_PERFORMANCE_METRICS_COUNTER_UNIT_HERTZ_META")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + Hertz = 4, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsStateANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsStateANDROID.gen.cs new file mode 100644 index 0000000000..1776f7ffa2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsStateANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPerformanceMetricsStateANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PerformanceMetricsStateANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public StructureType Type = StructureType.TypePerformanceMetricsStateANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public void* Next; + + [NativeName("enabled")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public MaybeBool Enabled; + + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public PerformanceMetricsStateANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsStateMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsStateMETA.gen.cs new file mode 100644 index 0000000000..583d7ff87b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PerformanceMetricsStateMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPerformanceMetricsStateMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PerformanceMetricsStateMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public StructureType Type = StructureType.TypePerformanceMetricsStateMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public void* Next; + + [NativeName("enabled")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public MaybeBool Enabled; + + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public PerformanceMetricsStateMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PersistSpatialEntityCompletionEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PersistSpatialEntityCompletionEXT.gen.cs new file mode 100644 index 0000000000..791c11d10c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PersistSpatialEntityCompletionEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPersistSpatialEntityCompletionEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PersistSpatialEntityCompletionEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public StructureType Type = StructureType.TypePersistSpatialEntityCompletionEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public Result FutureResult; + + [NativeName("persistResult")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public SpatialPersistenceContextResultEXT PersistResult; + + [NativeName("persistUuid")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public Uuid PersistUuid; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public PersistSpatialEntityCompletionEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PersistedAnchorSpaceCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PersistedAnchorSpaceCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..52d54396bf --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PersistedAnchorSpaceCreateInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPersistedAnchorSpaceCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PersistedAnchorSpaceCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public StructureType Type = StructureType.TypePersistedAnchorSpaceCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public void* Next; + + [NativeName("anchorId")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public Uuid AnchorId; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public PersistedAnchorSpaceCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PersistedAnchorSpaceInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PersistedAnchorSpaceInfoANDROID.gen.cs new file mode 100644 index 0000000000..dbba513bd1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PersistedAnchorSpaceInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPersistedAnchorSpaceInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PersistedAnchorSpaceInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public StructureType Type = StructureType.TypePersistedAnchorSpaceInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public void* Next; + + [NativeName("anchor")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public SpaceHandle Anchor; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public PersistedAnchorSpaceInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PersistenceLocationBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PersistenceLocationBD.gen.cs new file mode 100644 index 0000000000..315c021e13 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PersistenceLocationBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPersistenceLocationBD")] +[SupportedApiProfile("openxr")] +public enum PersistenceLocationBD : uint +{ + [NativeName("XR_PERSISTENCE_LOCATION_LOCAL_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + Local = 0, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PlaneDetectionStateEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectionStateEXT.gen.cs new file mode 100644 index 0000000000..6baa5b5899 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectionStateEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneDetectionStateEXT")] +[SupportedApiProfile("openxr")] +public enum PlaneDetectionStateEXT : uint +{ + [NativeName("XR_PLANE_DETECTION_STATE_NONE_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + None = 0, + + [NativeName("XR_PLANE_DETECTION_STATE_PENDING_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + Pending = 1, + + [NativeName("XR_PLANE_DETECTION_STATE_DONE_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + Done = 2, + + [NativeName("XR_PLANE_DETECTION_STATE_ERROR_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + Error = 3, + + [NativeName("XR_PLANE_DETECTION_STATE_FATAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + Fatal = 4, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorBeginInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorBeginInfoEXT.gen.cs new file mode 100644 index 0000000000..17c4cb1c89 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorBeginInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneDetectorBeginInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PlaneDetectorBeginInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public StructureType Type = StructureType.TypePlaneDetectorBeginInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public long Time; + + [NativeName("orientationCount")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public uint OrientationCount; + + [NativeName("orientations")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectorOrientationEXT* Orientations; + + [NativeName("semanticTypeCount")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public uint SemanticTypeCount; + + [NativeName("semanticTypes")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectorSemanticTypeEXT* SemanticTypes; + + [NativeName("maxPlanes")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public uint MaxPlanes; + + [NativeName("minArea")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public float MinArea; + + [NativeName("boundingBoxPose")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public Posef BoundingBoxPose; + + [NativeName("boundingBoxExtent")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public Extent3Df BoundingBoxExtent; + + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectorBeginInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorCreateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..3e9c282a43 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorCreateInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneDetectorCreateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PlaneDetectorCreateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public StructureType Type = StructureType.TypePlaneDetectorCreateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectorFlagsEXT Flags; + + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectorCreateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorGetInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorGetInfoEXT.gen.cs new file mode 100644 index 0000000000..4222d67c9f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorGetInfoEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneDetectorGetInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PlaneDetectorGetInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public StructureType Type = StructureType.TypePlaneDetectorGetInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectorGetInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorLocationEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorLocationEXT.gen.cs new file mode 100644 index 0000000000..62c0aa33cf --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorLocationEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneDetectorLocationEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PlaneDetectorLocationEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public StructureType Type = StructureType.TypePlaneDetectorLocationEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public void* Next; + + [NativeName("planeId")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public ulong PlaneId; + + [NativeName("locationFlags")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public SpaceLocationFlags LocationFlags; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public Posef Pose; + + [NativeName("extents")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public Extent2Df Extents; + + [NativeName("orientation")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectorOrientationEXT Orientation; + + [NativeName("semanticType")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectorSemanticTypeEXT SemanticType; + + [NativeName("polygonBufferCount")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public uint PolygonBufferCount; + + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectorLocationEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorLocationsEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorLocationsEXT.gen.cs new file mode 100644 index 0000000000..c278cc5c9b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorLocationsEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneDetectorLocationsEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PlaneDetectorLocationsEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public StructureType Type = StructureType.TypePlaneDetectorLocationsEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public void* Next; + + [NativeName("planeLocationCapacityInput")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public uint PlaneLocationCapacityInput; + + [NativeName("planeLocationCountOutput")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public uint PlaneLocationCountOutput; + + [NativeName("planeLocations")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectorLocationEXT* PlaneLocations; + + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectorLocationsEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorOrientationEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorOrientationEXT.gen.cs new file mode 100644 index 0000000000..1c68482ef6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorOrientationEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneDetectorOrientationEXT")] +[SupportedApiProfile("openxr")] +public enum PlaneDetectorOrientationEXT : uint +{ + [NativeName("XR_PLANE_DETECTOR_ORIENTATION_HORIZONTAL_UPWARD_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + HorizontalUpward = 0, + + [NativeName("XR_PLANE_DETECTOR_ORIENTATION_HORIZONTAL_DOWNWARD_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + HorizontalDownward = 1, + + [NativeName("XR_PLANE_DETECTOR_ORIENTATION_VERTICAL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + Vertical = 2, + + [NativeName("XR_PLANE_DETECTOR_ORIENTATION_ARBITRARY_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + Arbitrary = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorPolygonBufferEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorPolygonBufferEXT.gen.cs new file mode 100644 index 0000000000..fe0ff6cf51 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorPolygonBufferEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneDetectorPolygonBufferEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct PlaneDetectorPolygonBufferEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public StructureType Type = StructureType.TypePlaneDetectorPolygonBufferEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public void* Next; + + [NativeName("vertexCapacityInput")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public uint VertexCapacityInput; + + [NativeName("vertexCountOutput")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public uint VertexCountOutput; + + [NativeName("vertices")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public Vector2F* Vertices; + + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectorPolygonBufferEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorSemanticTypeEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorSemanticTypeEXT.gen.cs new file mode 100644 index 0000000000..4cf37ed856 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PlaneDetectorSemanticTypeEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneDetectorSemanticTypeEXT")] +[SupportedApiProfile("openxr")] +public enum PlaneDetectorSemanticTypeEXT : uint +{ + [NativeName("XR_PLANE_DETECTOR_SEMANTIC_TYPE_UNDEFINED_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + Undefined = 0, + + [NativeName("XR_PLANE_DETECTOR_SEMANTIC_TYPE_CEILING_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + Ceiling = 1, + + [NativeName("XR_PLANE_DETECTOR_SEMANTIC_TYPE_FLOOR_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + Floor = 2, + + [NativeName("XR_PLANE_DETECTOR_SEMANTIC_TYPE_WALL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + Wall = 3, + + [NativeName("XR_PLANE_DETECTOR_SEMANTIC_TYPE_PLATFORM_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + Platform = 4, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PlaneLabelANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PlaneLabelANDROID.gen.cs new file mode 100644 index 0000000000..665a2a9d82 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PlaneLabelANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneLabelANDROID")] +[SupportedApiProfile("openxr")] +public enum PlaneLabelANDROID : uint +{ + [NativeName("XR_PLANE_LABEL_UNKNOWN_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + Unknown = 0, + + [NativeName("XR_PLANE_LABEL_WALL_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + Wall = 1, + + [NativeName("XR_PLANE_LABEL_FLOOR_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + Floor = 2, + + [NativeName("XR_PLANE_LABEL_CEILING_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + Ceiling = 3, + + [NativeName("XR_PLANE_LABEL_TABLE_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + Table = 4, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PlaneOrientationBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PlaneOrientationBD.gen.cs new file mode 100644 index 0000000000..83d128c86b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PlaneOrientationBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneOrientationBD")] +[SupportedApiProfile("openxr")] +public enum PlaneOrientationBD : uint +{ + [NativeName("XR_PLANE_ORIENTATION_HORIZONTAL_UPWARD_BD")] + [SupportedApiProfile("openxr")] + HorizontalUpward = 0, + + [NativeName("XR_PLANE_ORIENTATION_HORIZONTAL_DOWNWARD_BD")] + [SupportedApiProfile("openxr")] + HorizontalDownward = 1, + + [NativeName("XR_PLANE_ORIENTATION_VERTICAL_BD")] + [SupportedApiProfile("openxr")] + Vertical = 2, + + [NativeName("XR_PLANE_ORIENTATION_ARBITRARY_BD")] + [SupportedApiProfile("openxr")] + Arbitrary = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/PlaneTypeANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/PlaneTypeANDROID.gen.cs new file mode 100644 index 0000000000..24d1958cf6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/PlaneTypeANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPlaneTypeANDROID")] +[SupportedApiProfile("openxr")] +public enum PlaneTypeANDROID : uint +{ + [NativeName("XR_PLANE_TYPE_HORIZONTAL_DOWNWARD_FACING_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + HorizontalDownwardFacing = 0, + + [NativeName("XR_PLANE_TYPE_HORIZONTAL_UPWARD_FACING_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + HorizontalUpwardFacing = 1, + + [NativeName("XR_PLANE_TYPE_VERTICAL_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + Vertical = 2, + + [NativeName("XR_PLANE_TYPE_ARBITRARY_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + Arbitrary = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Posef.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Posef.gen.cs new file mode 100644 index 0000000000..6a2888ff31 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Posef.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrPosef")] +[SupportedApiProfile("openxr")] +public partial struct Posef +{ + [NativeName("orientation")] + [SupportedApiProfile("openxr")] + public Quaternionf Orientation; + + [NativeName("position")] + [SupportedApiProfile("openxr")] + public Vector3F Position; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/QrCodeTrackingModeANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/QrCodeTrackingModeANDROID.gen.cs new file mode 100644 index 0000000000..3f3812c4cb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/QrCodeTrackingModeANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrQrCodeTrackingModeANDROID")] +[SupportedApiProfile("openxr")] +public enum QrCodeTrackingModeANDROID : uint +{ + [NativeName("XR_QR_CODE_TRACKING_MODE_DYNAMIC_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Dynamic = 0, + + [NativeName("XR_QR_CODE_TRACKING_MODE_STATIC_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Static = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Quaternionf.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Quaternionf.gen.cs new file mode 100644 index 0000000000..cd506b4451 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Quaternionf.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrQuaternionf")] +[SupportedApiProfile("openxr")] +public partial struct Quaternionf +{ + [NativeName("x")] + [SupportedApiProfile("openxr")] + public float X; + + [NativeName("y")] + [SupportedApiProfile("openxr")] + public float Y; + + [NativeName("z")] + [SupportedApiProfile("openxr")] + public float Z; + + [NativeName("w")] + [SupportedApiProfile("openxr")] + public float W; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/QueriedSenseDataBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/QueriedSenseDataBD.gen.cs new file mode 100644 index 0000000000..5209d782eb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/QueriedSenseDataBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrQueriedSenseDataBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct QueriedSenseDataBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeQueriedSenseDataBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("stateCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint StateCapacityInput; + + [NativeName("stateCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint StateCountOutput; + + [NativeName("states")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpatialEntityStateBD* States; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public QueriedSenseDataBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/QueriedSenseDataGetInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/QueriedSenseDataGetInfoBD.gen.cs new file mode 100644 index 0000000000..a8d0f72130 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/QueriedSenseDataGetInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrQueriedSenseDataGetInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct QueriedSenseDataGetInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeQueriedSenseDataGetInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public QueriedSenseDataGetInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RaycastHitResultANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RaycastHitResultANDROID.gen.cs new file mode 100644 index 0000000000..666e55b236 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RaycastHitResultANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRaycastHitResultANDROID")] +[SupportedApiProfile("openxr")] +public partial struct RaycastHitResultANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public TrackableTypeANDROID Type; + + [NativeName("trackable")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public ulong Trackable; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public Posef Pose; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RaycastHitResultsANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RaycastHitResultsANDROID.gen.cs new file mode 100644 index 0000000000..93cb428947 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RaycastHitResultsANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRaycastHitResultsANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RaycastHitResultsANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public StructureType Type = StructureType.TypeRaycastHitResultsANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public void* Next; + + [NativeName("resultsCapacityInput")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public uint ResultsCapacityInput; + + [NativeName("resultsCountOutput")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public uint ResultsCountOutput; + + [NativeName("results")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public RaycastHitResultANDROID* Results; + + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public RaycastHitResultsANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RaycastInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RaycastInfoANDROID.gen.cs new file mode 100644 index 0000000000..f1384b9207 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RaycastInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRaycastInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RaycastInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public StructureType Type = StructureType.TypeRaycastInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public void* Next; + + [NativeName("maxResults")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public uint MaxResults; + + [NativeName("trackerCount")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public uint TrackerCount; + + [NativeName("trackers")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public TrackableTrackerHandleANDROID* Trackers; + + [NativeName("origin")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public Vector3F Origin; + + [NativeName("trajectory")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public Vector3F Trajectory; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public SpaceHandle Space; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public RaycastInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RecommendedLayerResolutionGetInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RecommendedLayerResolutionGetInfoMETA.gen.cs new file mode 100644 index 0000000000..affa5e75dc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RecommendedLayerResolutionGetInfoMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRecommendedLayerResolutionGetInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RecommendedLayerResolutionGetInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + public StructureType Type = StructureType.TypeRecommendedLayerResolutionGetInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + public void* Next; + + [NativeName("layer")] + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + public CompositionLayerBaseHeader* Layer; + + [NativeName("predictedDisplayTime")] + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + public long PredictedDisplayTime; + + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + public RecommendedLayerResolutionGetInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RecommendedLayerResolutionMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RecommendedLayerResolutionMETA.gen.cs new file mode 100644 index 0000000000..aa76f1fb07 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RecommendedLayerResolutionMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRecommendedLayerResolutionMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RecommendedLayerResolutionMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + public StructureType Type = StructureType.TypeRecommendedLayerResolutionMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + public void* Next; + + [NativeName("recommendedImageDimensions")] + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + public Extent2Di RecommendedImageDimensions; + + [NativeName("isValid")] + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + public MaybeBool IsValid; + + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + public RecommendedLayerResolutionMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Rect2Df.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Rect2Df.gen.cs new file mode 100644 index 0000000000..9412540a30 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Rect2Df.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRect2Df")] +[SupportedApiProfile("openxr")] +public partial struct Rect2Df +{ + [NativeName("offset")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public Offset2Df Offset; + + [NativeName("extent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public Extent2Df Extent; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Rect2Di.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Rect2Di.gen.cs new file mode 100644 index 0000000000..54f83d834c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Rect2Di.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRect2Di")] +[SupportedApiProfile("openxr")] +public partial struct Rect2Di +{ + [NativeName("offset")] + [SupportedApiProfile("openxr")] + public Offset2Di Offset; + + [NativeName("extent")] + [SupportedApiProfile("openxr")] + public Extent2Di Extent; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Rect3DfFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Rect3DfFB.gen.cs new file mode 100644 index 0000000000..d08c92964f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Rect3DfFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRect3DfFB")] +[SupportedApiProfile("openxr")] +public partial struct Rect3DfFB +{ + [NativeName("offset")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Offset3DfFB Offset; + + [NativeName("extent")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Extent3Df Extent; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ReferenceSpaceCreateInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ReferenceSpaceCreateInfo.gen.cs new file mode 100644 index 0000000000..861bdadcac --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ReferenceSpaceCreateInfo.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrReferenceSpaceCreateInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ReferenceSpaceCreateInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeReferenceSpaceCreateInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("referenceSpaceType")] + [SupportedApiProfile("openxr")] + public ReferenceSpaceType ReferenceSpaceType; + + [NativeName("poseInReferenceSpace")] + [SupportedApiProfile("openxr")] + public Posef PoseInReferenceSpace; + + [SupportedApiProfile("openxr")] + public ReferenceSpaceCreateInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ReferenceSpaceType.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ReferenceSpaceType.gen.cs new file mode 100644 index 0000000000..5f52308eba --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ReferenceSpaceType.gen.cs @@ -0,0 +1,66 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrReferenceSpaceType")] +[SupportedApiProfile("openxr")] +public enum ReferenceSpaceType : uint +{ + [NativeName("XR_REFERENCE_SPACE_TYPE_VIEW")] + [SupportedApiProfile("openxr")] + View = 1, + + [NativeName("XR_REFERENCE_SPACE_TYPE_LOCAL")] + [SupportedApiProfile("openxr")] + Local = 2, + + [NativeName("XR_REFERENCE_SPACE_TYPE_STAGE")] + [SupportedApiProfile("openxr")] + Stage = 3, + + [NativeName("XR_REFERENCE_SPACE_TYPE_LOCAL_FLOOR")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + LocalFloor = 1000426000, + + [NativeName("XR_REFERENCE_SPACE_TYPE_UNBOUNDED_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_unbounded_reference_space"])] + UnboundedMSFT = 1000038000, + + [NativeName("XR_REFERENCE_SPACE_TYPE_COMBINED_EYE_VARJO")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + CombinedEyeVARJO = 1000121000, + + [NativeName("XR_REFERENCE_SPACE_TYPE_LOCALIZATION_MAP_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + LocalizationMapML = 1000139000, + + [NativeName("XR_REFERENCE_SPACE_TYPE_UNBOUNDED_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_unbounded_reference_space"])] + UnboundedANDROID = 1000467000, + + [NativeName("XR_REFERENCE_SPACE_TYPE_STATIONARY_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_stationary_reference_space"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + StationaryEXT = 1000742000, + + [NativeName("XR_REFERENCE_SPACE_TYPE_LOCAL_FLOOR_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_local_floor"])] + LocalFloorEXT = LocalFloor, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetCreateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..57bb6cf3c8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetCreateInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelAssetCreateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelAssetCreateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public StructureType Type = StructureType.TypeRenderModelAssetCreateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public void* Next; + + [NativeName("cacheId")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public Uuid CacheId; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelAssetCreateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetDataEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetDataEXT.gen.cs new file mode 100644 index 0000000000..0ba6c54684 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetDataEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelAssetDataEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelAssetDataEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public StructureType Type = StructureType.TypeRenderModelAssetDataEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public void* Next; + + [NativeName("bufferCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public uint BufferCapacityInput; + + [NativeName("bufferCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public uint BufferCountOutput; + + [NativeName("buffer")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public byte* Buffer; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelAssetDataEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetDataGetInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetDataGetInfoEXT.gen.cs new file mode 100644 index 0000000000..dc1b14893a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetDataGetInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelAssetDataGetInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelAssetDataGetInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public StructureType Type = StructureType.TypeRenderModelAssetDataGetInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelAssetDataGetInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetNodePropertiesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetNodePropertiesEXT.gen.cs new file mode 100644 index 0000000000..3c3d70b3ee --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetNodePropertiesEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelAssetNodePropertiesEXT")] +[SupportedApiProfile("openxr")] +public partial struct RenderModelAssetNodePropertiesEXT +{ + [NativeName("uniqueName")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelAssetNodePropertiesEXTUniqueName UniqueName; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetNodePropertiesEXTUniqueName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetNodePropertiesEXTUniqueName.gen.cs new file mode 100644 index 0000000000..e99138afbc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetNodePropertiesEXTUniqueName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_uniqueName_e__FixedBuffer")] +[InlineArray(64)] +[SupportedApiProfile("openxr")] +public partial struct RenderModelAssetNodePropertiesEXTUniqueName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetPropertiesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetPropertiesEXT.gen.cs new file mode 100644 index 0000000000..43939d153a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetPropertiesEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelAssetPropertiesEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelAssetPropertiesEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public StructureType Type = StructureType.TypeRenderModelAssetPropertiesEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public void* Next; + + [NativeName("nodePropertyCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public uint NodePropertyCount; + + [NativeName("nodeProperties")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelAssetNodePropertiesEXT* NodeProperties; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelAssetPropertiesEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetPropertiesGetInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetPropertiesGetInfoEXT.gen.cs new file mode 100644 index 0000000000..39988b3395 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelAssetPropertiesGetInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelAssetPropertiesGetInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelAssetPropertiesGetInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public StructureType Type = StructureType.TypeRenderModelAssetPropertiesGetInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelAssetPropertiesGetInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelBufferFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelBufferFB.gen.cs new file mode 100644 index 0000000000..9883441b90 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelBufferFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelBufferFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelBufferFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public StructureType Type = StructureType.TypeRenderModelBufferFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public void* Next; + + [NativeName("bufferCapacityInput")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public uint BufferCapacityInput; + + [NativeName("bufferCountOutput")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public uint BufferCountOutput; + + [NativeName("buffer")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public byte* Buffer; + + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public RenderModelBufferFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelCapabilitiesRequestFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelCapabilitiesRequestFB.gen.cs new file mode 100644 index 0000000000..6aacbc3847 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelCapabilitiesRequestFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelCapabilitiesRequestFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelCapabilitiesRequestFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public StructureType Type = StructureType.TypeRenderModelCapabilitiesRequestFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public RenderModelFlagsFB Flags; + + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public RenderModelCapabilitiesRequestFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelCreateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..d92da2c4df --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelCreateInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelCreateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelCreateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public StructureType Type = StructureType.TypeRenderModelCreateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public void* Next; + + [NativeName("renderModelId")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public ulong RenderModelId; + + [NativeName("gltfExtensionCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public uint GltfExtensionCount; + + [NativeName("gltfExtensions")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public sbyte** GltfExtensions; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelCreateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelLoadInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelLoadInfoFB.gen.cs new file mode 100644 index 0000000000..df0863f94a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelLoadInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelLoadInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelLoadInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public StructureType Type = StructureType.TypeRenderModelLoadInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public void* Next; + + [NativeName("modelKey")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public ulong ModelKey; + + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public RenderModelLoadInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelNodeStateEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelNodeStateEXT.gen.cs new file mode 100644 index 0000000000..3641614bcb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelNodeStateEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelNodeStateEXT")] +[SupportedApiProfile("openxr")] +public partial struct RenderModelNodeStateEXT +{ + [NativeName("nodePose")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public Posef NodePose; + + [NativeName("isVisible")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public MaybeBool IsVisible; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelPathInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelPathInfoFB.gen.cs new file mode 100644 index 0000000000..b4b33d480d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelPathInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelPathInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelPathInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public StructureType Type = StructureType.TypeRenderModelPathInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public void* Next; + + [NativeName("path")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public ulong Path; + + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public RenderModelPathInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelPropertiesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelPropertiesEXT.gen.cs new file mode 100644 index 0000000000..6c6421f8d3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelPropertiesEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelPropertiesEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelPropertiesEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public StructureType Type = StructureType.TypeRenderModelPropertiesEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public void* Next; + + [NativeName("cacheId")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public Uuid CacheId; + + [NativeName("animatableNodeCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public uint AnimatableNodeCount; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelPropertiesEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelPropertiesFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelPropertiesFB.gen.cs new file mode 100644 index 0000000000..01ee694d47 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelPropertiesFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelPropertiesFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelPropertiesFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public StructureType Type = StructureType.TypeRenderModelPropertiesFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public void* Next; + + [NativeName("vendorId")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public uint VendorId; + + [NativeName("modelName")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public RenderModelPropertiesFBModelName ModelName; + + [NativeName("modelKey")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public ulong ModelKey; + + [NativeName("modelVersion")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public uint ModelVersion; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public RenderModelFlagsFB Flags; + + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public RenderModelPropertiesFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelPropertiesFBModelName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelPropertiesFBModelName.gen.cs new file mode 100644 index 0000000000..2f505e2d4b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelPropertiesFBModelName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_modelName_e__FixedBuffer")] +[InlineArray(64)] +[SupportedApiProfile("openxr")] +public partial struct RenderModelPropertiesFBModelName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelPropertiesGetInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelPropertiesGetInfoEXT.gen.cs new file mode 100644 index 0000000000..b3efb74f84 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelPropertiesGetInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelPropertiesGetInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelPropertiesGetInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public StructureType Type = StructureType.TypeRenderModelPropertiesGetInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelPropertiesGetInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelSpaceCreateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelSpaceCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..d36d7b2afb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelSpaceCreateInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelSpaceCreateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelSpaceCreateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public StructureType Type = StructureType.TypeRenderModelSpaceCreateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public void* Next; + + [NativeName("renderModel")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelHandleEXT RenderModel; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelSpaceCreateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelStateEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelStateEXT.gen.cs new file mode 100644 index 0000000000..b7684b4396 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelStateEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelStateEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelStateEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public StructureType Type = StructureType.TypeRenderModelStateEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public void* Next; + + [NativeName("nodeStateCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public uint NodeStateCount; + + [NativeName("nodeStates")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelNodeStateEXT* NodeStates; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelStateEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RenderModelStateGetInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RenderModelStateGetInfoEXT.gen.cs new file mode 100644 index 0000000000..261ac274af --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RenderModelStateGetInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRenderModelStateGetInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RenderModelStateGetInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public StructureType Type = StructureType.TypeRenderModelStateGetInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public void* Next; + + [NativeName("displayTime")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public long DisplayTime; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public RenderModelStateGetInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ReprojectionModeMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ReprojectionModeMSFT.gen.cs new file mode 100644 index 0000000000..4eb18fc54f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ReprojectionModeMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrReprojectionModeMSFT")] +[SupportedApiProfile("openxr")] +public enum ReprojectionModeMSFT : uint +{ + [NativeName("XR_REPROJECTION_MODE_DEPTH_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + Depth = 1, + + [NativeName("XR_REPROJECTION_MODE_PLANAR_FROM_DEPTH_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + PlanarFromDepth = 2, + + [NativeName("XR_REPROJECTION_MODE_PLANAR_MANUAL_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + PlanarManual = 3, + + [NativeName("XR_REPROJECTION_MODE_ORIENTATION_ONLY_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + OrientationOnly = 4, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Result.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Result.gen.cs new file mode 100644 index 0000000000..70c8bec783 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Result.gen.cs @@ -0,0 +1,862 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrResult")] +[SupportedApiProfile("openxr")] +public enum Result +{ + [NativeName("XR_SUCCESS")] + [SupportedApiProfile("openxr")] + Success = 0, + + [NativeName("XR_TIMEOUT_EXPIRED")] + [SupportedApiProfile("openxr")] + TimeoutExpired = 1, + + [NativeName("XR_SESSION_LOSS_PENDING")] + [SupportedApiProfile("openxr")] + SessionLossPending = 3, + + [NativeName("XR_EVENT_UNAVAILABLE")] + [SupportedApiProfile("openxr")] + EventUnavailable = 4, + + [NativeName("XR_SPACE_BOUNDS_UNAVAILABLE")] + [SupportedApiProfile("openxr")] + SpaceBoundsUnavailable = 7, + + [NativeName("XR_SESSION_NOT_FOCUSED")] + [SupportedApiProfile("openxr")] + SessionNotFocused = 8, + + [NativeName("XR_FRAME_DISCARDED")] + [SupportedApiProfile("openxr")] + FrameDiscarded = 9, + + [NativeName("XR_ERROR_VALIDATION_FAILURE")] + [SupportedApiProfile("openxr")] + ErrorValidationFailure = -1, + + [NativeName("XR_ERROR_RUNTIME_FAILURE")] + [SupportedApiProfile("openxr")] + ErrorRuntimeFailure = -2, + + [NativeName("XR_ERROR_OUT_OF_MEMORY")] + [SupportedApiProfile("openxr")] + ErrorOutOfMemory = -3, + + [NativeName("XR_ERROR_API_VERSION_UNSUPPORTED")] + [SupportedApiProfile("openxr")] + ErrorApiVersionUnsupported = -4, + + [NativeName("XR_ERROR_INITIALIZATION_FAILED")] + [SupportedApiProfile("openxr")] + ErrorInitializationFailed = -6, + + [NativeName("XR_ERROR_FUNCTION_UNSUPPORTED")] + [SupportedApiProfile("openxr")] + ErrorFunctionUnsupported = -7, + + [NativeName("XR_ERROR_FEATURE_UNSUPPORTED")] + [SupportedApiProfile("openxr")] + ErrorFeatureUnsupported = -8, + + [NativeName("XR_ERROR_EXTENSION_NOT_PRESENT")] + [SupportedApiProfile("openxr")] + ErrorExtensionNotPresent = -9, + + [NativeName("XR_ERROR_LIMIT_REACHED")] + [SupportedApiProfile("openxr")] + ErrorLimitReached = -10, + + [NativeName("XR_ERROR_SIZE_INSUFFICIENT")] + [SupportedApiProfile("openxr")] + ErrorSizeInsufficient = -11, + + [NativeName("XR_ERROR_HANDLE_INVALID")] + [SupportedApiProfile("openxr")] + ErrorHandleInvalid = -12, + + [NativeName("XR_ERROR_INSTANCE_LOST")] + [SupportedApiProfile("openxr")] + ErrorInstanceLost = -13, + + [NativeName("XR_ERROR_SESSION_RUNNING")] + [SupportedApiProfile("openxr")] + ErrorSessionRunning = -14, + + [NativeName("XR_ERROR_SESSION_NOT_RUNNING")] + [SupportedApiProfile("openxr")] + ErrorSessionNotRunning = -16, + + [NativeName("XR_ERROR_SESSION_LOST")] + [SupportedApiProfile("openxr")] + ErrorSessionLost = -17, + + [NativeName("XR_ERROR_SYSTEM_INVALID")] + [SupportedApiProfile("openxr")] + ErrorSystemInvalid = -18, + + [NativeName("XR_ERROR_PATH_INVALID")] + [SupportedApiProfile("openxr")] + ErrorPathInvalid = -19, + + [NativeName("XR_ERROR_PATH_COUNT_EXCEEDED")] + [SupportedApiProfile("openxr")] + ErrorPathCountExceeded = -20, + + [NativeName("XR_ERROR_PATH_FORMAT_INVALID")] + [SupportedApiProfile("openxr")] + ErrorPathFormatInvalid = -21, + + [NativeName("XR_ERROR_PATH_UNSUPPORTED")] + [SupportedApiProfile("openxr")] + ErrorPathUnsupported = -22, + + [NativeName("XR_ERROR_LAYER_INVALID")] + [SupportedApiProfile("openxr")] + ErrorLayerInvalid = -23, + + [NativeName("XR_ERROR_LAYER_LIMIT_EXCEEDED")] + [SupportedApiProfile("openxr")] + ErrorLayerLimitExceeded = -24, + + [NativeName("XR_ERROR_SWAPCHAIN_RECT_INVALID")] + [SupportedApiProfile("openxr")] + ErrorSwapchainRectInvalid = -25, + + [NativeName("XR_ERROR_SWAPCHAIN_FORMAT_UNSUPPORTED")] + [SupportedApiProfile("openxr")] + ErrorSwapchainFormatUnsupported = -26, + + [NativeName("XR_ERROR_ACTION_TYPE_MISMATCH")] + [SupportedApiProfile("openxr")] + ErrorActionTypeMismatch = -27, + + [NativeName("XR_ERROR_SESSION_NOT_READY")] + [SupportedApiProfile("openxr")] + ErrorSessionNotReady = -28, + + [NativeName("XR_ERROR_SESSION_NOT_STOPPING")] + [SupportedApiProfile("openxr")] + ErrorSessionNotStopping = -29, + + [NativeName("XR_ERROR_TIME_INVALID")] + [SupportedApiProfile("openxr")] + ErrorTimeInvalid = -30, + + [NativeName("XR_ERROR_REFERENCE_SPACE_UNSUPPORTED")] + [SupportedApiProfile("openxr")] + ErrorReferenceSpaceUnsupported = -31, + + [NativeName("XR_ERROR_FILE_ACCESS_ERROR")] + [SupportedApiProfile("openxr")] + ErrorFileAccessError = -32, + + [NativeName("XR_ERROR_FILE_CONTENTS_INVALID")] + [SupportedApiProfile("openxr")] + ErrorFileContentsInvalid = -33, + + [NativeName("XR_ERROR_FORM_FACTOR_UNSUPPORTED")] + [SupportedApiProfile("openxr")] + ErrorFormFactorUnsupported = -34, + + [NativeName("XR_ERROR_FORM_FACTOR_UNAVAILABLE")] + [SupportedApiProfile("openxr")] + ErrorFormFactorUnavailable = -35, + + [NativeName("XR_ERROR_API_LAYER_NOT_PRESENT")] + [SupportedApiProfile("openxr")] + ErrorApiLayerNotPresent = -36, + + [NativeName("XR_ERROR_CALL_ORDER_INVALID")] + [SupportedApiProfile("openxr")] + ErrorCallOrderInvalid = -37, + + [NativeName("XR_ERROR_GRAPHICS_DEVICE_INVALID")] + [SupportedApiProfile("openxr")] + ErrorGraphicsDeviceInvalid = -38, + + [NativeName("XR_ERROR_POSE_INVALID")] + [SupportedApiProfile("openxr")] + ErrorPoseInvalid = -39, + + [NativeName("XR_ERROR_INDEX_OUT_OF_RANGE")] + [SupportedApiProfile("openxr")] + ErrorIndexOutOfRange = -40, + + [NativeName("XR_ERROR_VIEW_CONFIGURATION_TYPE_UNSUPPORTED")] + [SupportedApiProfile("openxr")] + ErrorViewConfigurationTypeUnsupported = -41, + + [NativeName("XR_ERROR_ENVIRONMENT_BLEND_MODE_UNSUPPORTED")] + [SupportedApiProfile("openxr")] + ErrorEnvironmentBlendModeUnsupported = -42, + + [NativeName("XR_ERROR_NAME_DUPLICATED")] + [SupportedApiProfile("openxr")] + ErrorNameDuplicated = -44, + + [NativeName("XR_ERROR_NAME_INVALID")] + [SupportedApiProfile("openxr")] + ErrorNameInvalid = -45, + + [NativeName("XR_ERROR_ACTIONSET_NOT_ATTACHED")] + [SupportedApiProfile("openxr")] + ErrorActionsetNotAttached = -46, + + [NativeName("XR_ERROR_ACTIONSETS_ALREADY_ATTACHED")] + [SupportedApiProfile("openxr")] + ErrorActionsetsAlreadyAttached = -47, + + [NativeName("XR_ERROR_LOCALIZED_NAME_DUPLICATED")] + [SupportedApiProfile("openxr")] + ErrorLocalizedNameDuplicated = -48, + + [NativeName("XR_ERROR_LOCALIZED_NAME_INVALID")] + [SupportedApiProfile("openxr")] + ErrorLocalizedNameInvalid = -49, + + [NativeName("XR_ERROR_GRAPHICS_REQUIREMENTS_CALL_MISSING")] + [SupportedApiProfile("openxr")] + ErrorGraphicsRequirementsCallMissing = -50, + + [NativeName("XR_ERROR_RUNTIME_UNAVAILABLE")] + [SupportedApiProfile("openxr")] + ErrorRuntimeUnavailable = -51, + + [NativeName("XR_ERROR_EXTENSION_DEPENDENCY_NOT_ENABLED")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + ErrorExtensionDependencyNotEnabled = -1000710001, + + [NativeName("XR_ERROR_PERMISSION_INSUFFICIENT")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + ErrorPermissionInsufficient = -1000710000, + + [NativeName("XR_ERROR_ANDROID_THREAD_SETTINGS_ID_INVALID_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_android_thread_settings"])] + ErrorAndroidThreadSettingsIdInvalidKHR = -1000003000, + + [NativeName("XR_ERROR_ANDROID_THREAD_SETTINGS_FAILURE_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_android_thread_settings"])] + ErrorAndroidThreadSettingsFailureKHR = -1000003001, + + [NativeName("XR_ERROR_CREATE_SPATIAL_ANCHOR_FAILED_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_anchor"])] + ErrorCreateSpatialAnchorFailedMSFT = -1000039001, + + [NativeName("XR_ERROR_SECONDARY_VIEW_CONFIGURATION_TYPE_NOT_ENABLED_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + ErrorSecondaryViewConfigurationTypeNotEnabledMSFT = -1000053000, + + [NativeName("XR_ERROR_CONTROLLER_MODEL_KEY_INVALID_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + ErrorControllerModelKeyInvalidMSFT = -1000055000, + + [NativeName("XR_ERROR_REPROJECTION_MODE_UNSUPPORTED_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + ErrorReprojectionModeUnsupportedMSFT = -1000066000, + + [NativeName("XR_ERROR_COMPUTE_NEW_SCENE_NOT_COMPLETED_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + ErrorComputeNewSceneNotCompletedMSFT = -1000097000, + + [NativeName("XR_ERROR_SCENE_COMPONENT_ID_INVALID_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + ErrorSceneComponentIdInvalidMSFT = -1000097001, + + [NativeName("XR_ERROR_SCENE_COMPONENT_TYPE_MISMATCH_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + ErrorSceneComponentTypeMismatchMSFT = -1000097002, + + [NativeName("XR_ERROR_SCENE_MESH_BUFFER_ID_INVALID_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + ErrorSceneMeshBufferIdInvalidMSFT = -1000097003, + + [NativeName("XR_ERROR_SCENE_COMPUTE_FEATURE_INCOMPATIBLE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + ErrorSceneComputeFeatureIncompatibleMSFT = -1000097004, + + [NativeName("XR_ERROR_SCENE_COMPUTE_CONSISTENCY_MISMATCH_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + ErrorSceneComputeConsistencyMismatchMSFT = -1000097005, + + [NativeName("XR_ERROR_DISPLAY_REFRESH_RATE_UNSUPPORTED_FB")] + [SupportedApiProfile("openxr", ["XR_FB_display_refresh_rate"])] + ErrorDisplayRefreshRateUnsupportedFB = -1000101000, + + [NativeName("XR_ERROR_COLOR_SPACE_UNSUPPORTED_FB")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + ErrorColorSpaceUnsupportedFB = -1000108000, + + [NativeName("XR_ERROR_SPACE_COMPONENT_NOT_SUPPORTED_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + ErrorSpaceComponentNotSupportedFB = -1000113000, + + [NativeName("XR_ERROR_SPACE_COMPONENT_NOT_ENABLED_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + ErrorSpaceComponentNotEnabledFB = -1000113001, + + [NativeName("XR_ERROR_SPACE_COMPONENT_STATUS_PENDING_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + ErrorSpaceComponentStatusPendingFB = -1000113002, + + [NativeName("XR_ERROR_SPACE_COMPONENT_STATUS_ALREADY_SET_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + ErrorSpaceComponentStatusAlreadySetFB = -1000113003, + + [NativeName("XR_ERROR_UNEXPECTED_STATE_PASSTHROUGH_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + ErrorUnexpectedStatePassthroughFB = -1000118000, + + [NativeName("XR_ERROR_FEATURE_ALREADY_CREATED_PASSTHROUGH_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + ErrorFeatureAlreadyCreatedPassthroughFB = -1000118001, + + [NativeName("XR_ERROR_FEATURE_REQUIRED_PASSTHROUGH_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + ErrorFeatureRequiredPassthroughFB = -1000118002, + + [NativeName("XR_ERROR_NOT_PERMITTED_PASSTHROUGH_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + ErrorNotPermittedPassthroughFB = -1000118003, + + [NativeName("XR_ERROR_INSUFFICIENT_RESOURCES_PASSTHROUGH_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + ErrorInsufficientResourcesPassthroughFB = -1000118004, + + [NativeName("XR_ERROR_UNKNOWN_PASSTHROUGH_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + ErrorUnknownPassthroughFB = -1000118050, + + [NativeName("XR_ERROR_RENDER_MODEL_KEY_INVALID_FB")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + ErrorRenderModelKeyInvalidFB = -1000119000, + + [NativeName("XR_RENDER_MODEL_UNAVAILABLE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + RenderModelUnavailableFB = 1000119020, + + [NativeName("XR_ERROR_MARKER_NOT_TRACKED_VARJO")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + ErrorMarkerNotTrackedVARJO = -1000124000, + + [NativeName("XR_ERROR_MARKER_ID_INVALID_VARJO")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + ErrorMarkerIdInvalidVARJO = -1000124001, + + [NativeName("XR_ERROR_MARKER_DETECTOR_PERMISSION_DENIED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + ErrorMarkerDetectorPermissionDeniedML = -1000138000, + + [NativeName("XR_ERROR_MARKER_DETECTOR_LOCATE_FAILED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + ErrorMarkerDetectorLocateFailedML = -1000138001, + + [NativeName("XR_ERROR_MARKER_DETECTOR_INVALID_DATA_QUERY_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + ErrorMarkerDetectorInvalidDataQueryML = -1000138002, + + [NativeName("XR_ERROR_MARKER_DETECTOR_INVALID_CREATE_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + ErrorMarkerDetectorInvalidCreateInfoML = -1000138003, + + [NativeName("XR_ERROR_MARKER_INVALID_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + ErrorMarkerInvalidML = -1000138004, + + [NativeName("XR_ERROR_LOCALIZATION_MAP_INCOMPATIBLE_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + ErrorLocalizationMapIncompatibleML = -1000139000, + + [NativeName("XR_ERROR_LOCALIZATION_MAP_UNAVAILABLE_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + ErrorLocalizationMapUnavailableML = -1000139001, + + [NativeName("XR_ERROR_LOCALIZATION_MAP_FAIL_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + ErrorLocalizationMapFailML = -1000139002, + + [NativeName("XR_ERROR_LOCALIZATION_MAP_IMPORT_EXPORT_PERMISSION_DENIED_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + ErrorLocalizationMapImportExportPermissionDeniedML = -1000139003, + + [NativeName("XR_ERROR_LOCALIZATION_MAP_PERMISSION_DENIED_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + ErrorLocalizationMapPermissionDeniedML = -1000139004, + + [NativeName("XR_ERROR_LOCALIZATION_MAP_ALREADY_EXISTS_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + ErrorLocalizationMapAlreadyExistsML = -1000139005, + + [NativeName("XR_ERROR_LOCALIZATION_MAP_CANNOT_EXPORT_CLOUD_MAP_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + ErrorLocalizationMapCannotExportCloudMapML = -1000139006, + + [NativeName("XR_ERROR_SPATIAL_ANCHORS_PERMISSION_DENIED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + ErrorSpatialAnchorsPermissionDeniedML = -1000140000, + + [NativeName("XR_ERROR_SPATIAL_ANCHORS_NOT_LOCALIZED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + ErrorSpatialAnchorsNotLocalizedML = -1000140001, + + [NativeName("XR_ERROR_SPATIAL_ANCHORS_OUT_OF_MAP_BOUNDS_ML")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + ErrorSpatialAnchorsOutOfMapBoundsML = -1000140002, + + [NativeName("XR_ERROR_SPATIAL_ANCHORS_SPACE_NOT_LOCATABLE_ML")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + ErrorSpatialAnchorsSpaceNotLocatableML = -1000140003, + + [NativeName("XR_ERROR_SPATIAL_ANCHORS_ANCHOR_NOT_FOUND_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + ErrorSpatialAnchorsAnchorNotFoundML = -1000141000, + + [NativeName("XR_ERROR_SPATIAL_ANCHOR_NAME_NOT_FOUND_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + ErrorSpatialAnchorNameNotFoundMSFT = -1000142001, + + [NativeName("XR_ERROR_SPATIAL_ANCHOR_NAME_INVALID_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + ErrorSpatialAnchorNameInvalidMSFT = -1000142002, + + [NativeName("XR_SCENE_MARKER_DATA_NOT_STRING_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + SceneMarkerDataNotStringMSFT = 1000147000, + + [NativeName("XR_ERROR_SPACE_MAPPING_INSUFFICIENT_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + ErrorSpaceMappingInsufficientFB = -1000169000, + + [NativeName("XR_ERROR_SPACE_LOCALIZATION_FAILED_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + ErrorSpaceLocalizationFailedFB = -1000169001, + + [NativeName("XR_ERROR_SPACE_NETWORK_TIMEOUT_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + ErrorSpaceNetworkTimeoutFB = -1000169002, + + [NativeName("XR_ERROR_SPACE_NETWORK_REQUEST_FAILED_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + ErrorSpaceNetworkRequestFailedFB = -1000169003, + + [NativeName("XR_ERROR_SPACE_CLOUD_STORAGE_DISABLED_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + ErrorSpaceCloudStorageDisabledFB = -1000169004, + + [NativeName("XR_ERROR_SPACE_INSUFFICIENT_RESOURCES_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + ErrorSpaceInsufficientResourcesMETA = -1000259000, + + [NativeName("XR_ERROR_SPACE_STORAGE_AT_CAPACITY_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + ErrorSpaceStorageAtCapacityMETA = -1000259001, + + [NativeName("XR_ERROR_SPACE_INSUFFICIENT_VIEW_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + ErrorSpaceInsufficientViewMETA = -1000259002, + + [NativeName("XR_ERROR_SPACE_PERMISSION_INSUFFICIENT_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + ErrorSpacePermissionInsufficientMETA = -1000259003, + + [NativeName("XR_ERROR_SPACE_RATE_LIMITED_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + ErrorSpaceRateLimitedMETA = -1000259004, + + [NativeName("XR_ERROR_SPACE_TOO_DARK_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + ErrorSpaceTooDarkMETA = -1000259005, + + [NativeName("XR_ERROR_SPACE_TOO_BRIGHT_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + ErrorSpaceTooBrightMETA = -1000259006, + + [NativeName("XR_ERROR_PASSTHROUGH_COLOR_LUT_BUFFER_SIZE_MISMATCH_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + ErrorPassthroughColorLutBufferSizeMismatchMETA = -1000266000, + + [NativeName("XR_ENVIRONMENT_DEPTH_NOT_AVAILABLE_META")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + EnvironmentDepthNotAvailableMETA = 1000291000, + + [NativeName("XR_ERROR_RENDER_MODEL_ID_INVALID_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + ErrorRenderModelIdInvalidEXT = -1000300000, + + [NativeName("XR_ERROR_RENDER_MODEL_ASSET_UNAVAILABLE_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + ErrorRenderModelAssetUnavailableEXT = -1000300001, + + [NativeName("XR_ERROR_RENDER_MODEL_GLTF_EXTENSION_REQUIRED_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + ErrorRenderModelGltfExtensionRequiredEXT = -1000300002, + + [NativeName("XR_ERROR_NOT_INTERACTION_RENDER_MODEL_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + ErrorNotInteractionRenderModelEXT = -1000301000, + + [NativeName("XR_ERROR_HINT_ALREADY_SET_QCOM")] + [SupportedApiProfile("openxr", ["XR_QCOM_tracking_optimization_settings"])] + ErrorHintAlreadySetQCOM = -1000306000, + + [NativeName("XR_ERROR_NOT_AN_ANCHOR_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + ErrorNotAnAnchorHTC = -1000319000, + + [NativeName("XR_ERROR_SPATIAL_ENTITY_ID_INVALID_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + ErrorSpatialEntityIdInvalidBD = -1000389000, + + [NativeName("XR_ERROR_SPATIAL_SENSING_SERVICE_UNAVAILABLE_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + ErrorSpatialSensingServiceUnavailableBD = -1000389001, + + [NativeName("XR_ERROR_ANCHOR_NOT_SUPPORTED_FOR_ENTITY_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + ErrorAnchorNotSupportedForEntityBD = -1000389002, + + [NativeName("XR_ERROR_SPATIAL_ANCHOR_NOT_FOUND_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + ErrorSpatialAnchorNotFoundBD = -1000390000, + + [NativeName("XR_ERROR_SPATIAL_ANCHOR_SHARING_NETWORK_TIMEOUT_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + ErrorSpatialAnchorSharingNetworkTimeoutBD = -1000391000, + + [NativeName("XR_ERROR_SPATIAL_ANCHOR_SHARING_AUTHENTICATION_FAILURE_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + ErrorSpatialAnchorSharingAuthenticationFailureBD = -1000391001, + + [NativeName("XR_ERROR_SPATIAL_ANCHOR_SHARING_NETWORK_FAILURE_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + ErrorSpatialAnchorSharingNetworkFailureBD = -1000391002, + + [NativeName("XR_ERROR_SPATIAL_ANCHOR_SHARING_LOCALIZATION_FAIL_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + ErrorSpatialAnchorSharingLocalizationFailBD = -1000391003, + + [NativeName("XR_ERROR_SPATIAL_ANCHOR_SHARING_MAP_INSUFFICIENT_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + ErrorSpatialAnchorSharingMapInsufficientBD = -1000391004, + + [NativeName("XR_ERROR_SCENE_CAPTURE_FAILURE_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + ErrorSceneCaptureFailureBD = -1000392000, + + [NativeName("XR_ERROR_SPACE_NOT_LOCATABLE_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + ErrorSpaceNotLocatableEXT = -1000429000, + + [NativeName("XR_ERROR_PLANE_DETECTION_PERMISSION_DENIED_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + ErrorPlaneDetectionPermissionDeniedEXT = -1000429001, + + [NativeName("XR_ERROR_MISMATCHING_TRACKABLE_TYPE_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + ErrorMismatchingTrackableTypeANDROID = -1000455000, + + [NativeName("XR_ERROR_TRACKABLE_TYPE_NOT_SUPPORTED_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + ErrorTrackableTypeNotSupportedANDROID = -1000455001, + + [NativeName("XR_ERROR_ANCHOR_ID_NOT_FOUND_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + ErrorAnchorIdNotFoundANDROID = -1000457000, + + [NativeName("XR_ERROR_ANCHOR_ALREADY_PERSISTED_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + ErrorAnchorAlreadyPersistedANDROID = -1000457001, + + [NativeName("XR_ERROR_ANCHOR_NOT_TRACKING_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + ErrorAnchorNotTrackingANDROID = -1000457002, + + [NativeName("XR_ERROR_PERSISTED_DATA_NOT_READY_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + ErrorPersistedDataNotReadyANDROID = -1000457003, + + [NativeName("XR_ERROR_SERVICE_NOT_READY_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + ErrorServiceNotReadyANDROID = -1000458000, + + [NativeName("XR_ERROR_MESH_DATA_LIMIT_EXCEEDED_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + ErrorMeshDataLimitExceededANDROID = -1000462000, + + [NativeName("XR_ERROR_FUTURE_PENDING_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + ErrorFuturePendingEXT = -1000469001, + + [NativeName("XR_ERROR_FUTURE_INVALID_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + ErrorFutureInvalidEXT = -1000469002, + + [NativeName("XR_ERROR_SYSTEM_NOTIFICATION_PERMISSION_DENIED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_system_notifications"])] + ErrorSystemNotificationPermissionDeniedML = -1000473000, + + [NativeName("XR_ERROR_SYSTEM_NOTIFICATION_INCOMPATIBLE_SKU_ML")] + [SupportedApiProfile("openxr", ["XR_ML_system_notifications"])] + ErrorSystemNotificationIncompatibleSkuML = -1000473001, + + [NativeName("XR_ERROR_WORLD_MESH_DETECTOR_PERMISSION_DENIED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + ErrorWorldMeshDetectorPermissionDeniedML = -1000474000, + + [NativeName("XR_ERROR_WORLD_MESH_DETECTOR_SPACE_NOT_LOCATABLE_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + ErrorWorldMeshDetectorSpaceNotLocatableML = -1000474001, + + [NativeName("XR_ERROR_FACIAL_EXPRESSION_PERMISSION_DENIED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + ErrorFacialExpressionPermissionDeniedML = 1000482000, + + [NativeName("XR_BOUNDARY_VISIBILITY_SUPPRESSION_NOT_ALLOWED_META")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + BoundaryVisibilitySuppressionNotAllowedMETA = 1000528000, + + [NativeName("XR_ERROR_COLOCATION_DISCOVERY_NETWORK_FAILED_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + ErrorColocationDiscoveryNetworkFailedMETA = -1000571001, + + [NativeName("XR_ERROR_COLOCATION_DISCOVERY_NO_DISCOVERY_METHOD_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + ErrorColocationDiscoveryNoDiscoveryMethodMETA = -1000571002, + + [NativeName("XR_COLOCATION_DISCOVERY_ALREADY_ADVERTISING_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + ColocationDiscoveryAlreadyAdvertisingMETA = 1000571003, + + [NativeName("XR_COLOCATION_DISCOVERY_ALREADY_DISCOVERING_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + ColocationDiscoveryAlreadyDiscoveringMETA = 1000571004, + + [NativeName("XR_ERROR_SPACE_GROUP_NOT_FOUND_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_group_sharing"])] + ErrorSpaceGroupNotFoundMETA = -1000572002, + + [NativeName("XR_ERROR_ANCHOR_NOT_OWNED_BY_CALLER_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_anchor_sharing_export"])] + ErrorAnchorNotOwnedByCallerANDROID = -1000701000, + + [NativeName("XR_ERROR_IMAGE_FORMAT_UNSUPPORTED_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + ErrorImageFormatUnsupportedANDROID = -1000709000, + + [NativeName("XR_ERROR_SPATIAL_CAPABILITY_UNSUPPORTED_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + ErrorSpatialCapabilityUnsupportedEXT = -1000740001, + + [NativeName("XR_ERROR_SPATIAL_ENTITY_ID_INVALID_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + ErrorSpatialEntityIdInvalidEXT = -1000740002, + + [NativeName("XR_ERROR_SPATIAL_BUFFER_ID_INVALID_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + ErrorSpatialBufferIdInvalidEXT = -1000740003, + + [NativeName("XR_ERROR_SPATIAL_COMPONENT_UNSUPPORTED_FOR_CAPABILITY_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + ErrorSpatialComponentUnsupportedForCapabilityEXT = -1000740004, + + [NativeName("XR_ERROR_SPATIAL_CAPABILITY_CONFIGURATION_INVALID_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + ErrorSpatialCapabilityConfigurationInvalidEXT = -1000740005, + + [NativeName("XR_ERROR_SPATIAL_COMPONENT_NOT_ENABLED_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + ErrorSpatialComponentNotEnabledEXT = -1000740006, + + [NativeName("XR_ERROR_SPATIAL_PERSISTENCE_SCOPE_UNSUPPORTED_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + ErrorSpatialPersistenceScopeUnsupportedEXT = -1000763001, + + [NativeName("XR_ERROR_SPATIAL_PERSISTENCE_SCOPE_INCOMPATIBLE_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + ErrorSpatialPersistenceScopeIncompatibleEXT = -1000781001, + + [NativeName("XR_ERROR_SPATIAL_ANCHOR_ATTACHABLE_COMPONENT_NOT_FOUND_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_entity_bound_anchor"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + ErrorSpatialAnchorAttachableComponentNotFoundANDROID = -1000790001, + + [NativeName("XR_ERROR_SPATIAL_ANCHOR_ENTITY_ID_INVALID_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_anchor_space"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + ErrorSpatialAnchorEntityIdInvalidANDROID = -1000795001, + + [NativeName("XR_ERROR_EXTENSION_DEPENDENCY_NOT_ENABLED_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_maintenance1"])] + ErrorExtensionDependencyNotEnabledKHR = ErrorExtensionDependencyNotEnabled, + + [NativeName("XR_ERROR_PERMISSION_INSUFFICIENT_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_maintenance1"])] + ErrorPermissionInsufficientKHR = ErrorPermissionInsufficient, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RoomLayoutFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RoomLayoutFB.gen.cs new file mode 100644 index 0000000000..375fbd8ee5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RoomLayoutFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRoomLayoutFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RoomLayoutFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeRoomLayoutFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("floorUuid")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Uuid FloorUuid; + + [NativeName("ceilingUuid")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Uuid CeilingUuid; + + [NativeName("wallUuidCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint WallUuidCapacityInput; + + [NativeName("wallUuidCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint WallUuidCountOutput; + + [NativeName("wallUuids")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Uuid* WallUuids; + + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public RoomLayoutFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RoomMeshFaceIndicesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RoomMeshFaceIndicesMETA.gen.cs new file mode 100644 index 0000000000..028690cb4d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RoomMeshFaceIndicesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRoomMeshFaceIndicesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RoomMeshFaceIndicesMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public StructureType Type = StructureType.TypeRoomMeshFaceIndicesMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public void* Next; + + [NativeName("indexCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public uint IndexCapacityInput; + + [NativeName("indexCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public uint IndexCountOutput; + + [NativeName("indices")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public uint* Indices; + + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public RoomMeshFaceIndicesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RoomMeshFaceMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RoomMeshFaceMETA.gen.cs new file mode 100644 index 0000000000..8d026e85a4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RoomMeshFaceMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRoomMeshFaceMETA")] +[SupportedApiProfile("openxr")] +public partial struct RoomMeshFaceMETA +{ + [NativeName("uuid")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public Uuid Uuid; + + [NativeName("parentUuid")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public Uuid ParentUuid; + + [NativeName("semanticLabel")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public SemanticLabelMETA SemanticLabel; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/RoomMeshMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/RoomMeshMETA.gen.cs new file mode 100644 index 0000000000..f753d34737 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/RoomMeshMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrRoomMeshMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct RoomMeshMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public StructureType Type = StructureType.TypeRoomMeshMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public void* Next; + + [NativeName("vertexCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public uint VertexCapacityInput; + + [NativeName("vertexCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public uint VertexCountOutput; + + [NativeName("vertices")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public Vector3F* Vertices; + + [NativeName("faceCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public uint FaceCapacityInput; + + [NativeName("faceCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public uint FaceCountOutput; + + [NativeName("faces")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public RoomMeshFaceMETA* Faces; + + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public RoomMeshMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneBoundsMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneBoundsMSFT.gen.cs new file mode 100644 index 0000000000..3c86efccbc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneBoundsMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneBoundsMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneBoundsMSFT +{ + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SpaceHandle Space; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public long Time; + + [NativeName("sphereCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint SphereCount; + + [NativeName("spheres")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneSphereBoundMSFT* Spheres; + + [NativeName("boxCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint BoxCount; + + [NativeName("boxes")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneOrientedBoxBoundMSFT* Boxes; + + [NativeName("frustumCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint FrustumCount; + + [NativeName("frustums")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneFrustumBoundMSFT* Frustums; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneCaptureInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneCaptureInfoBD.gen.cs new file mode 100644 index 0000000000..8fa90c254b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneCaptureInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneCaptureInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneCaptureInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public StructureType Type = StructureType.TypeSceneCaptureInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public SceneCaptureInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneCaptureRequestInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneCaptureRequestInfoFB.gen.cs new file mode 100644 index 0000000000..592def81c3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneCaptureRequestInfoFB.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneCaptureRequestInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneCaptureRequestInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + public StructureType Type = StructureType.TypeSceneCaptureRequestInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + public void* Next; + + [NativeName("requestByteCount")] + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + public uint RequestByteCount; + + [NativeName("request")] + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + public sbyte* Request; + + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + public SceneCaptureRequestInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneComponentLocationMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneComponentLocationMSFT.gen.cs new file mode 100644 index 0000000000..6eff4c304c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneComponentLocationMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneComponentLocationMSFT")] +[SupportedApiProfile("openxr")] +public partial struct SceneComponentLocationMSFT +{ + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SpaceLocationFlags Flags; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public Posef Pose; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneComponentLocationsMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneComponentLocationsMSFT.gen.cs new file mode 100644 index 0000000000..5ee08c5c7d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneComponentLocationsMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneComponentLocationsMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneComponentLocationsMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneComponentLocationsMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("locationCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint LocationCount; + + [NativeName("locations")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneComponentLocationMSFT* Locations; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneComponentLocationsMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneComponentMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneComponentMSFT.gen.cs new file mode 100644 index 0000000000..ab997d2409 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneComponentMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneComponentMSFT")] +[SupportedApiProfile("openxr")] +public partial struct SceneComponentMSFT +{ + [NativeName("componentType")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneComponentTypeMSFT ComponentType; + + [NativeName("id")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public UuidMSFT Id; + + [NativeName("parentId")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public UuidMSFT ParentId; + + [NativeName("updateTime")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public long UpdateTime; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneComponentParentFilterInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneComponentParentFilterInfoMSFT.gen.cs new file mode 100644 index 0000000000..207d6adac3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneComponentParentFilterInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneComponentParentFilterInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneComponentParentFilterInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneComponentParentFilterInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("parentId")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public UuidMSFT ParentId; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneComponentParentFilterInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneComponentTypeMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneComponentTypeMSFT.gen.cs new file mode 100644 index 0000000000..4fccb3441f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneComponentTypeMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneComponentTypeMSFT")] +[SupportedApiProfile("openxr")] +public enum SceneComponentTypeMSFT +{ + [NativeName("XR_SCENE_COMPONENT_TYPE_INVALID_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Invalid = -1, + + [NativeName("XR_SCENE_COMPONENT_TYPE_OBJECT_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Object = 1, + + [NativeName("XR_SCENE_COMPONENT_TYPE_PLANE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Plane = 2, + + [NativeName("XR_SCENE_COMPONENT_TYPE_VISUAL_MESH_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + VisualMesh = 3, + + [NativeName("XR_SCENE_COMPONENT_TYPE_COLLIDER_MESH_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + ColliderMesh = 4, + + [NativeName("XR_SCENE_COMPONENT_TYPE_SERIALIZED_SCENE_FRAGMENT_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + SerializedSceneFragment = 1000098000, + + [NativeName("XR_SCENE_COMPONENT_TYPE_MARKER_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + Marker = 1000147000, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneComponentsGetInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneComponentsGetInfoMSFT.gen.cs new file mode 100644 index 0000000000..2ada16fe51 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneComponentsGetInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneComponentsGetInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneComponentsGetInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneComponentsGetInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("componentType")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneComponentTypeMSFT ComponentType; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneComponentsGetInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneComponentsLocateInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneComponentsLocateInfoMSFT.gen.cs new file mode 100644 index 0000000000..356dfc8619 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneComponentsLocateInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneComponentsLocateInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneComponentsLocateInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneComponentsLocateInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public long Time; + + [NativeName("componentIdCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint ComponentIdCount; + + [NativeName("componentIds")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public UuidMSFT* ComponentIds; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneComponentsLocateInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneComponentsMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneComponentsMSFT.gen.cs new file mode 100644 index 0000000000..28af5aafb4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneComponentsMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneComponentsMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneComponentsMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneComponentsMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("componentCapacityInput")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint ComponentCapacityInput; + + [NativeName("componentCountOutput")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint ComponentCountOutput; + + [NativeName("components")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneComponentMSFT* Components; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneComponentsMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneComputeConsistencyMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneComputeConsistencyMSFT.gen.cs new file mode 100644 index 0000000000..f6b42373aa --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneComputeConsistencyMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneComputeConsistencyMSFT")] +[SupportedApiProfile("openxr")] +public enum SceneComputeConsistencyMSFT : uint +{ + [NativeName("XR_SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_COMPLETE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + SnapshotComplete = 1, + + [NativeName("XR_SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_INCOMPLETE_FAST_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + SnapshotIncompleteFast = 2, + + [NativeName("XR_SCENE_COMPUTE_CONSISTENCY_OCCLUSION_OPTIMIZED_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + OcclusionOptimized = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneComputeFeatureMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneComputeFeatureMSFT.gen.cs new file mode 100644 index 0000000000..206f2794aa --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneComputeFeatureMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneComputeFeatureMSFT")] +[SupportedApiProfile("openxr")] +public enum SceneComputeFeatureMSFT : uint +{ + [NativeName("XR_SCENE_COMPUTE_FEATURE_PLANE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Plane = 1, + + [NativeName("XR_SCENE_COMPUTE_FEATURE_PLANE_MESH_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + PlaneMesh = 2, + + [NativeName("XR_SCENE_COMPUTE_FEATURE_VISUAL_MESH_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + VisualMesh = 3, + + [NativeName("XR_SCENE_COMPUTE_FEATURE_COLLIDER_MESH_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + ColliderMesh = 4, + + [NativeName("XR_SCENE_COMPUTE_FEATURE_SERIALIZE_SCENE_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + SerializeScene = 1000098000, + + [NativeName("XR_SCENE_COMPUTE_FEATURE_MARKER_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + Marker = 1000147000, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneComputeStateMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneComputeStateMSFT.gen.cs new file mode 100644 index 0000000000..4757aa3ce6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneComputeStateMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneComputeStateMSFT")] +[SupportedApiProfile("openxr")] +public enum SceneComputeStateMSFT : uint +{ + [NativeName("XR_SCENE_COMPUTE_STATE_NONE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + None = 0, + + [NativeName("XR_SCENE_COMPUTE_STATE_UPDATING_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Updating = 1, + + [NativeName("XR_SCENE_COMPUTE_STATE_COMPLETED_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Completed = 2, + + [NativeName("XR_SCENE_COMPUTE_STATE_COMPLETED_WITH_ERROR_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + CompletedWithError = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneCreateInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneCreateInfoMSFT.gen.cs new file mode 100644 index 0000000000..d737e20328 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneCreateInfoMSFT.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneCreateInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneCreateInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneCreateInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneCreateInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneDeserializeInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneDeserializeInfoMSFT.gen.cs new file mode 100644 index 0000000000..0c7f68fafe --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneDeserializeInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneDeserializeInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneDeserializeInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSceneDeserializeInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("fragmentCount")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public uint FragmentCount; + + [NativeName("fragments")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public DeserializeSceneFragmentMSFT* Fragments; + + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public SceneDeserializeInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneFrustumBoundMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneFrustumBoundMSFT.gen.cs new file mode 100644 index 0000000000..d5015f9066 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneFrustumBoundMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneFrustumBoundMSFT")] +[SupportedApiProfile("openxr")] +public partial struct SceneFrustumBoundMSFT +{ + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public Posef Pose; + + [NativeName("fov")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public Fovf Fov; + + [NativeName("farDistance")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public float FarDistance; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMarkerMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMarkerMSFT.gen.cs new file mode 100644 index 0000000000..d48f7e31b7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMarkerMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMarkerMSFT")] +[SupportedApiProfile("openxr")] +public partial struct SceneMarkerMSFT +{ + [NativeName("markerType")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public SceneMarkerTypeMSFT MarkerType; + + [NativeName("lastSeenTime")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public long LastSeenTime; + + [NativeName("center")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public Offset2Df Center; + + [NativeName("size")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public Extent2Df Size; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMarkerQRCodeMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMarkerQRCodeMSFT.gen.cs new file mode 100644 index 0000000000..bef1a12314 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMarkerQRCodeMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMarkerQRCodeMSFT")] +[SupportedApiProfile("openxr")] +public partial struct SceneMarkerQRCodeMSFT +{ + [NativeName("symbolType")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public SceneMarkerQRCodeSymbolTypeMSFT SymbolType; + + [NativeName("version")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public byte Version; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMarkerQRCodeSymbolTypeMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMarkerQRCodeSymbolTypeMSFT.gen.cs new file mode 100644 index 0000000000..fe84fe7d7e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMarkerQRCodeSymbolTypeMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMarkerQRCodeSymbolTypeMSFT")] +[SupportedApiProfile("openxr")] +public enum SceneMarkerQRCodeSymbolTypeMSFT : uint +{ + [NativeName("XR_SCENE_MARKER_QR_CODE_SYMBOL_TYPE_QR_CODE_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + QrCodeSymbolTypeQrCode = 1, + + [NativeName("XR_SCENE_MARKER_QR_CODE_SYMBOL_TYPE_MICRO_QR_CODE_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + QrCodeSymbolTypeMicroQrCode = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMarkerQRCodesMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMarkerQRCodesMSFT.gen.cs new file mode 100644 index 0000000000..c3c3b084d7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMarkerQRCodesMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMarkerQRCodesMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneMarkerQRCodesMSFT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSceneMarkerQrCodesMSFT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("qrCodeCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public uint QrCodeCapacityInput; + + [NativeName("qrCodes")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public SceneMarkerQRCodeMSFT* QrCodes; + + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public SceneMarkerQRCodesMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMarkerTypeFilterMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMarkerTypeFilterMSFT.gen.cs new file mode 100644 index 0000000000..20c80f5e0e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMarkerTypeFilterMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMarkerTypeFilterMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneMarkerTypeFilterMSFT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSceneMarkerTypeFilterMSFT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("markerTypeCount")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public uint MarkerTypeCount; + + [NativeName("markerTypes")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public SceneMarkerTypeMSFT* MarkerTypes; + + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public SceneMarkerTypeFilterMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMarkerTypeMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMarkerTypeMSFT.gen.cs new file mode 100644 index 0000000000..2265da5268 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMarkerTypeMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMarkerTypeMSFT")] +[SupportedApiProfile("openxr")] +public enum SceneMarkerTypeMSFT : uint +{ + [NativeName("XR_SCENE_MARKER_TYPE_QR_CODE_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + QrCode = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMarkersMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMarkersMSFT.gen.cs new file mode 100644 index 0000000000..fca51dab39 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMarkersMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMarkersMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneMarkersMSFT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSceneMarkersMSFT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("sceneMarkerCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public uint SceneMarkerCapacityInput; + + [NativeName("sceneMarkers")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public SceneMarkerMSFT* SceneMarkers; + + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public SceneMarkersMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshBuffersGetInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshBuffersGetInfoMSFT.gen.cs new file mode 100644 index 0000000000..5effc322bd --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshBuffersGetInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshBuffersGetInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneMeshBuffersGetInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneMeshBuffersGetInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("meshBufferId")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public ulong MeshBufferId; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneMeshBuffersGetInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshBuffersMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshBuffersMSFT.gen.cs new file mode 100644 index 0000000000..05b2d2b67d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshBuffersMSFT.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshBuffersMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneMeshBuffersMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneMeshBuffersMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneMeshBuffersMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshIndicesUint16MSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshIndicesUint16MSFT.gen.cs new file mode 100644 index 0000000000..7786d779e8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshIndicesUint16MSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshIndicesUint16MSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneMeshIndicesUint16MSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneMeshIndicesUint16MSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("indexCapacityInput")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint IndexCapacityInput; + + [NativeName("indexCountOutput")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint IndexCountOutput; + + [NativeName("indices")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public ushort* Indices; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneMeshIndicesUint16MSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshIndicesUint32MSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshIndicesUint32MSFT.gen.cs new file mode 100644 index 0000000000..3d4b8ec239 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshIndicesUint32MSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshIndicesUint32MSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneMeshIndicesUint32MSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneMeshIndicesUint32MSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("indexCapacityInput")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint IndexCapacityInput; + + [NativeName("indexCountOutput")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint IndexCountOutput; + + [NativeName("indices")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint* Indices; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneMeshIndicesUint32MSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshMSFT.gen.cs new file mode 100644 index 0000000000..08f2d6437b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshMSFT")] +[SupportedApiProfile("openxr")] +public partial struct SceneMeshMSFT +{ + [NativeName("meshBufferId")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public ulong MeshBufferId; + + [NativeName("supportsIndicesUint16")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public MaybeBool SupportsIndicesUint16; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshSemanticLabelANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshSemanticLabelANDROID.gen.cs new file mode 100644 index 0000000000..575e5fe400 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshSemanticLabelANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshSemanticLabelANDROID")] +[SupportedApiProfile("openxr")] +public enum SceneMeshSemanticLabelANDROID : uint +{ + [NativeName("XR_SCENE_MESH_SEMANTIC_LABEL_OTHER_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + Other = 0, + + [NativeName("XR_SCENE_MESH_SEMANTIC_LABEL_FLOOR_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + Floor = 1, + + [NativeName("XR_SCENE_MESH_SEMANTIC_LABEL_CEILING_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + Ceiling = 2, + + [NativeName("XR_SCENE_MESH_SEMANTIC_LABEL_WALL_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + Wall = 3, + + [NativeName("XR_SCENE_MESH_SEMANTIC_LABEL_TABLE_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + Table = 4, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshSemanticLabelSetANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshSemanticLabelSetANDROID.gen.cs new file mode 100644 index 0000000000..f1625a1d19 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshSemanticLabelSetANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshSemanticLabelSetANDROID")] +[SupportedApiProfile("openxr")] +public enum SceneMeshSemanticLabelSetANDROID : uint +{ + [NativeName("XR_SCENE_MESH_SEMANTIC_LABEL_SET_NONE_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + None = 0, + + [NativeName("XR_SCENE_MESH_SEMANTIC_LABEL_SET_DEFAULT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + Default = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshSnapshotCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshSnapshotCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..e9bf4aefa9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshSnapshotCreateInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshSnapshotCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneMeshSnapshotCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public StructureType Type = StructureType.TypeSceneMeshSnapshotCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public long Time; + + [NativeName("boundingBox")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public Boxf BoundingBox; + + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public SceneMeshSnapshotCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshSnapshotCreationResultANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshSnapshotCreationResultANDROID.gen.cs new file mode 100644 index 0000000000..bc12455a17 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshSnapshotCreationResultANDROID.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshSnapshotCreationResultANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneMeshSnapshotCreationResultANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public StructureType Type = StructureType.TypeSceneMeshSnapshotCreationResultANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public void* Next; + + [NativeName("snapshot")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public SceneMeshSnapshotHandleANDROID Snapshot; + + [NativeName("trackingState")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public SceneMeshTrackingStateANDROID TrackingState; + + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public SceneMeshSnapshotCreationResultANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshTrackingStateANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshTrackingStateANDROID.gen.cs new file mode 100644 index 0000000000..b96a58bd9c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshTrackingStateANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshTrackingStateANDROID")] +[SupportedApiProfile("openxr")] +public enum SceneMeshTrackingStateANDROID : uint +{ + [NativeName("XR_SCENE_MESH_TRACKING_STATE_INITIALIZING_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + Initializing = 0, + + [NativeName("XR_SCENE_MESH_TRACKING_STATE_TRACKING_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + Tracking = 1, + + [NativeName("XR_SCENE_MESH_TRACKING_STATE_WAITING_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + Waiting = 2, + + [NativeName("XR_SCENE_MESH_TRACKING_STATE_ERROR_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + Error = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshVertexBufferMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshVertexBufferMSFT.gen.cs new file mode 100644 index 0000000000..3353de4514 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshVertexBufferMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshVertexBufferMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneMeshVertexBufferMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneMeshVertexBufferMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("vertexCapacityInput")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint VertexCapacityInput; + + [NativeName("vertexCountOutput")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint VertexCountOutput; + + [NativeName("vertices")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public Vector3F* Vertices; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneMeshVertexBufferMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshesMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshesMSFT.gen.cs new file mode 100644 index 0000000000..3395285100 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshesMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshesMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneMeshesMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneMeshesMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("sceneMeshCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint SceneMeshCount; + + [NativeName("sceneMeshes")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneMeshMSFT* SceneMeshes; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneMeshesMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneMeshingTrackerCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneMeshingTrackerCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..87b3203e5b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneMeshingTrackerCreateInfoANDROID.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneMeshingTrackerCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneMeshingTrackerCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public StructureType Type = StructureType.TypeSceneMeshingTrackerCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public void* Next; + + [NativeName("semanticLabelSet")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public SceneMeshSemanticLabelSetANDROID SemanticLabelSet; + + [NativeName("enableNormals")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public MaybeBool EnableNormals; + + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public SceneMeshingTrackerCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneObjectMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneObjectMSFT.gen.cs new file mode 100644 index 0000000000..cfdf7c2c80 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneObjectMSFT.gen.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneObjectMSFT")] +[SupportedApiProfile("openxr")] +public partial struct SceneObjectMSFT +{ + [NativeName("objectType")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneObjectTypeMSFT ObjectType; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneObjectTypeMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneObjectTypeMSFT.gen.cs new file mode 100644 index 0000000000..27156999e2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneObjectTypeMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneObjectTypeMSFT")] +[SupportedApiProfile("openxr")] +public enum SceneObjectTypeMSFT +{ + [NativeName("XR_SCENE_OBJECT_TYPE_UNCATEGORIZED_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Uncategorized = -1, + + [NativeName("XR_SCENE_OBJECT_TYPE_BACKGROUND_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Background = 1, + + [NativeName("XR_SCENE_OBJECT_TYPE_WALL_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Wall = 2, + + [NativeName("XR_SCENE_OBJECT_TYPE_FLOOR_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Floor = 3, + + [NativeName("XR_SCENE_OBJECT_TYPE_CEILING_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Ceiling = 4, + + [NativeName("XR_SCENE_OBJECT_TYPE_PLATFORM_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Platform = 5, + + [NativeName("XR_SCENE_OBJECT_TYPE_INFERRED_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Inferred = 6, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneObjectTypesFilterInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneObjectTypesFilterInfoMSFT.gen.cs new file mode 100644 index 0000000000..dc14d4ae0b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneObjectTypesFilterInfoMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneObjectTypesFilterInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneObjectTypesFilterInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneObjectTypesFilterInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("objectTypeCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint ObjectTypeCount; + + [NativeName("objectTypes")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneObjectTypeMSFT* ObjectTypes; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneObjectTypesFilterInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneObjectsMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneObjectsMSFT.gen.cs new file mode 100644 index 0000000000..b71dc187ce --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneObjectsMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneObjectsMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneObjectsMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneObjectsMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("sceneObjectCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint SceneObjectCount; + + [NativeName("sceneObjects")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneObjectMSFT* SceneObjects; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneObjectsMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneObserverCreateInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneObserverCreateInfoMSFT.gen.cs new file mode 100644 index 0000000000..bde6b96605 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneObserverCreateInfoMSFT.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneObserverCreateInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneObserverCreateInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeSceneObserverCreateInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public SceneObserverCreateInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneOrientedBoxBoundMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneOrientedBoxBoundMSFT.gen.cs new file mode 100644 index 0000000000..b7581f67c6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneOrientedBoxBoundMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneOrientedBoxBoundMSFT")] +[SupportedApiProfile("openxr")] +public partial struct SceneOrientedBoxBoundMSFT +{ + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public Posef Pose; + + [NativeName("extents")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public Vector3F Extents; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ScenePlaneAlignmentFilterInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ScenePlaneAlignmentFilterInfoMSFT.gen.cs new file mode 100644 index 0000000000..efecf3b17d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ScenePlaneAlignmentFilterInfoMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrScenePlaneAlignmentFilterInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ScenePlaneAlignmentFilterInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeScenePlaneAlignmentFilterInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("alignmentCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint AlignmentCount; + + [NativeName("alignments")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public ScenePlaneAlignmentTypeMSFT* Alignments; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public ScenePlaneAlignmentFilterInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ScenePlaneAlignmentTypeMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ScenePlaneAlignmentTypeMSFT.gen.cs new file mode 100644 index 0000000000..7204cbd230 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ScenePlaneAlignmentTypeMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrScenePlaneAlignmentTypeMSFT")] +[SupportedApiProfile("openxr")] +public enum ScenePlaneAlignmentTypeMSFT : uint +{ + [NativeName("XR_SCENE_PLANE_ALIGNMENT_TYPE_NON_ORTHOGONAL_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + NonOrthogonal = 0, + + [NativeName("XR_SCENE_PLANE_ALIGNMENT_TYPE_HORIZONTAL_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Horizontal = 1, + + [NativeName("XR_SCENE_PLANE_ALIGNMENT_TYPE_VERTICAL_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + Vertical = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ScenePlaneMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ScenePlaneMSFT.gen.cs new file mode 100644 index 0000000000..61e746ba50 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ScenePlaneMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrScenePlaneMSFT")] +[SupportedApiProfile("openxr")] +public partial struct ScenePlaneMSFT +{ + [NativeName("alignment")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public ScenePlaneAlignmentTypeMSFT Alignment; + + [NativeName("size")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public Extent2Df Size; + + [NativeName("meshBufferId")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public ulong MeshBufferId; + + [NativeName("supportsIndicesUint16")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public MaybeBool SupportsIndicesUint16; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ScenePlanesMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ScenePlanesMSFT.gen.cs new file mode 100644 index 0000000000..896d01c02d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ScenePlanesMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrScenePlanesMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ScenePlanesMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeScenePlanesMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("scenePlaneCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public uint ScenePlaneCount; + + [NativeName("scenePlanes")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public ScenePlaneMSFT* ScenePlanes; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public ScenePlanesMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneSphereBoundMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneSphereBoundMSFT.gen.cs new file mode 100644 index 0000000000..c409d9bb0a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneSphereBoundMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneSphereBoundMSFT")] +[SupportedApiProfile("openxr")] +public partial struct SceneSphereBoundMSFT +{ + [NativeName("center")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public Vector3F Center; + + [NativeName("radius")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public float Radius; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneSubmeshDataANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneSubmeshDataANDROID.gen.cs new file mode 100644 index 0000000000..64de7fe67e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneSubmeshDataANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneSubmeshDataANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneSubmeshDataANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public StructureType Type = StructureType.TypeSceneSubmeshDataANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public void* Next; + + [NativeName("submeshId")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public Uuid SubmeshId; + + [NativeName("vertexCapacityInput")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public uint VertexCapacityInput; + + [NativeName("vertexCountOutput")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public uint VertexCountOutput; + + [NativeName("vertexPositions")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public Vector3F* VertexPositions; + + [NativeName("vertexNormals")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public Vector3F* VertexNormals; + + [NativeName("vertexSemantics")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public byte* VertexSemantics; + + [NativeName("indexCapacityInput")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public uint IndexCapacityInput; + + [NativeName("indexCountOutput")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public uint IndexCountOutput; + + [NativeName("indices")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public uint* Indices; + + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public SceneSubmeshDataANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SceneSubmeshStateANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SceneSubmeshStateANDROID.gen.cs new file mode 100644 index 0000000000..ea60dcc13b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SceneSubmeshStateANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSceneSubmeshStateANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SceneSubmeshStateANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public StructureType Type = StructureType.TypeSceneSubmeshStateANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public void* Next; + + [NativeName("submeshId")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public Uuid SubmeshId; + + [NativeName("lastUpdatedTime")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public long LastUpdatedTime; + + [NativeName("submeshPoseInBaseSpace")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public Posef SubmeshPoseInBaseSpace; + + [NativeName("bounds")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public Extent3Df Bounds; + + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public SceneSubmeshStateANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationFrameEndInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationFrameEndInfoMSFT.gen.cs new file mode 100644 index 0000000000..e5b79ff095 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationFrameEndInfoMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSecondaryViewConfigurationFrameEndInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SecondaryViewConfigurationFrameEndInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public StructureType Type = StructureType.TypeSecondaryViewConfigurationFrameEndInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public void* Next; + + [NativeName("viewConfigurationCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public uint ViewConfigurationCount; + + [NativeName("viewConfigurationLayersInfo")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public SecondaryViewConfigurationLayerInfoMSFT* ViewConfigurationLayersInfo; + + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public SecondaryViewConfigurationFrameEndInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationFrameStateMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationFrameStateMSFT.gen.cs new file mode 100644 index 0000000000..7280d9dbca --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationFrameStateMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSecondaryViewConfigurationFrameStateMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SecondaryViewConfigurationFrameStateMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public StructureType Type = StructureType.TypeSecondaryViewConfigurationFrameStateMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public void* Next; + + [NativeName("viewConfigurationCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public uint ViewConfigurationCount; + + [NativeName("viewConfigurationStates")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public SecondaryViewConfigurationStateMSFT* ViewConfigurationStates; + + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public SecondaryViewConfigurationFrameStateMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationLayerInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationLayerInfoMSFT.gen.cs new file mode 100644 index 0000000000..044fa6e9b1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationLayerInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSecondaryViewConfigurationLayerInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SecondaryViewConfigurationLayerInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public StructureType Type = StructureType.TypeSecondaryViewConfigurationLayerInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public void* Next; + + [NativeName("viewConfigurationType")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public ViewConfigurationType ViewConfigurationType; + + [NativeName("environmentBlendMode")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public EnvironmentBlendMode EnvironmentBlendMode; + + [NativeName("layerCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public uint LayerCount; + + [NativeName("layers")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public CompositionLayerBaseHeader** Layers; + + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public SecondaryViewConfigurationLayerInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationSessionBeginInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationSessionBeginInfoMSFT.gen.cs new file mode 100644 index 0000000000..62485d3232 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationSessionBeginInfoMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSecondaryViewConfigurationSessionBeginInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SecondaryViewConfigurationSessionBeginInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public StructureType Type = StructureType.TypeSecondaryViewConfigurationSessionBeginInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public void* Next; + + [NativeName("viewConfigurationCount")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public uint ViewConfigurationCount; + + [NativeName("enabledViewConfigurationTypes")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public ViewConfigurationType* EnabledViewConfigurationTypes; + + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public SecondaryViewConfigurationSessionBeginInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationStateMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationStateMSFT.gen.cs new file mode 100644 index 0000000000..b347404dc3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationStateMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSecondaryViewConfigurationStateMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SecondaryViewConfigurationStateMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public StructureType Type = StructureType.TypeSecondaryViewConfigurationStateMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public void* Next; + + [NativeName("viewConfigurationType")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public ViewConfigurationType ViewConfigurationType; + + [NativeName("active")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public MaybeBool Active; + + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public SecondaryViewConfigurationStateMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationSwapchainCreateInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationSwapchainCreateInfoMSFT.gen.cs new file mode 100644 index 0000000000..5e30576cf7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SecondaryViewConfigurationSwapchainCreateInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSecondaryViewConfigurationSwapchainCreateInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SecondaryViewConfigurationSwapchainCreateInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public StructureType Type = StructureType.TypeSecondaryViewConfigurationSwapchainCreateInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public void* Next; + + [NativeName("viewConfigurationType")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public ViewConfigurationType ViewConfigurationType; + + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public SecondaryViewConfigurationSwapchainCreateInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SemanticLabelBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SemanticLabelBD.gen.cs new file mode 100644 index 0000000000..cc97dad128 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SemanticLabelBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSemanticLabelBD")] +[SupportedApiProfile("openxr")] +public enum SemanticLabelBD : uint +{ + [NativeName("XR_SEMANTIC_LABEL_UNKNOWN_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Unknown = 0, + + [NativeName("XR_SEMANTIC_LABEL_FLOOR_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Floor = 1, + + [NativeName("XR_SEMANTIC_LABEL_CEILING_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Ceiling = 2, + + [NativeName("XR_SEMANTIC_LABEL_WALL_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Wall = 3, + + [NativeName("XR_SEMANTIC_LABEL_DOOR_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Door = 4, + + [NativeName("XR_SEMANTIC_LABEL_WINDOW_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Window = 5, + + [NativeName("XR_SEMANTIC_LABEL_OPENING_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Opening = 6, + + [NativeName("XR_SEMANTIC_LABEL_TABLE_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Table = 7, + + [NativeName("XR_SEMANTIC_LABEL_SOFA_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Sofa = 8, + + [NativeName("XR_SEMANTIC_LABEL_CHAIR_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Chair = 9, + + [NativeName("XR_SEMANTIC_LABEL_HUMAN_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Human = 10, + + [NativeName("XR_SEMANTIC_LABEL_BEAM_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Beam = 11, + + [NativeName("XR_SEMANTIC_LABEL_COLUMN_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Column = 12, + + [NativeName("XR_SEMANTIC_LABEL_CURTAIN_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Curtain = 13, + + [NativeName("XR_SEMANTIC_LABEL_CABINET_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Cabinet = 14, + + [NativeName("XR_SEMANTIC_LABEL_BED_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Bed = 15, + + [NativeName("XR_SEMANTIC_LABEL_PLANT_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Plant = 16, + + [NativeName("XR_SEMANTIC_LABEL_SCREEN_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Screen = 17, + + [NativeName("XR_SEMANTIC_LABEL_VIRTUAL_WALL_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + VirtualWall = 18, + + [NativeName("XR_SEMANTIC_LABEL_REFRIGERATOR_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Refrigerator = 19, + + [NativeName("XR_SEMANTIC_LABEL_WASHING_MACHINE_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + WashingMachine = 20, + + [NativeName("XR_SEMANTIC_LABEL_AIR_CONDITIONER_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + AirConditioner = 21, + + [NativeName("XR_SEMANTIC_LABEL_LAMP_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Lamp = 22, + + [NativeName("XR_SEMANTIC_LABEL_WALL_ART_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + WallArt = 23, + + [NativeName("XR_SEMANTIC_LABEL_STAIRWAY_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Stairway = 24, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SemanticLabelMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SemanticLabelMETA.gen.cs new file mode 100644 index 0000000000..e12e2a7814 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SemanticLabelMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSemanticLabelMETA")] +[SupportedApiProfile("openxr")] +public enum SemanticLabelMETA : uint +{ + [NativeName("XR_SEMANTIC_LABEL_UNKNOWN_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_semantic_label"])] + Unknown = 0, + + [NativeName("XR_SEMANTIC_LABEL_FLOOR_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_semantic_label"])] + Floor = 1, + + [NativeName("XR_SEMANTIC_LABEL_CEILING_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_semantic_label"])] + Ceiling = 2, + + [NativeName("XR_SEMANTIC_LABEL_WALL_FACE_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_semantic_label"])] + WallFace = 3, + + [NativeName("XR_SEMANTIC_LABEL_INNER_WALL_FACE_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_semantic_label"])] + InnerWallFace = 4, + + [NativeName("XR_SEMANTIC_LABEL_INVISIBLE_WALL_FACE_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_semantic_label"])] + InvisibleWallFace = 5, + + [NativeName("XR_SEMANTIC_LABEL_DOOR_FRAME_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_semantic_label"])] + DoorFrame = 6, + + [NativeName("XR_SEMANTIC_LABEL_WINDOW_FRAME_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_semantic_label"])] + WindowFrame = 7, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SemanticLabelsFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SemanticLabelsFB.gen.cs new file mode 100644 index 0000000000..9d66bdbddd --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SemanticLabelsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSemanticLabelsFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SemanticLabelsFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSemanticLabelsFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("bufferCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint BufferCapacityInput; + + [NativeName("bufferCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint BufferCountOutput; + + [NativeName("buffer")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public sbyte* Buffer; + + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SemanticLabelsFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SemanticLabelsSupportInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SemanticLabelsSupportInfoFB.gen.cs new file mode 100644 index 0000000000..c192d4960a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SemanticLabelsSupportInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSemanticLabelsSupportInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SemanticLabelsSupportInfoFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSemanticLabelsSupportInfoFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SemanticLabelsSupportFlagsFB Flags; + + [NativeName("recognizedLabels")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public sbyte* RecognizedLabels; + + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SemanticLabelsSupportInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SenseDataFilterPlaneOrientationBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SenseDataFilterPlaneOrientationBD.gen.cs new file mode 100644 index 0000000000..c12414ae28 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SenseDataFilterPlaneOrientationBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSenseDataFilterPlaneOrientationBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SenseDataFilterPlaneOrientationBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public StructureType Type = StructureType.TypeSenseDataFilterPlaneOrientationBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public void* Next; + + [NativeName("orientationCount")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public uint OrientationCount; + + [NativeName("orientations")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public PlaneOrientationBD* Orientations; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public SenseDataFilterPlaneOrientationBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SenseDataFilterSemanticBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SenseDataFilterSemanticBD.gen.cs new file mode 100644 index 0000000000..84a98fc3e3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SenseDataFilterSemanticBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSenseDataFilterSemanticBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SenseDataFilterSemanticBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSenseDataFilterSemanticBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("labelCount")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint LabelCount; + + [NativeName("labels")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SemanticLabelBD* Labels; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SenseDataFilterSemanticBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SenseDataFilterUuidBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SenseDataFilterUuidBD.gen.cs new file mode 100644 index 0000000000..a2d2bb2352 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SenseDataFilterUuidBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSenseDataFilterUuidBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SenseDataFilterUuidBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSenseDataFilterUuidBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("uuidCount")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint UuidCount; + + [NativeName("uuids")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public Uuid* Uuids; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SenseDataFilterUuidBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderCreateInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderCreateInfoBD.gen.cs new file mode 100644 index 0000000000..4abec838fe --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderCreateInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSenseDataProviderCreateInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SenseDataProviderCreateInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSenseDataProviderCreateInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("providerType")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SenseDataProviderTypeBD ProviderType; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SenseDataProviderCreateInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderCreateInfoSpatialMeshBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderCreateInfoSpatialMeshBD.gen.cs new file mode 100644 index 0000000000..765065542e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderCreateInfoSpatialMeshBD.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSenseDataProviderCreateInfoSpatialMeshBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SenseDataProviderCreateInfoSpatialMeshBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + public StructureType Type = StructureType.TypeSenseDataProviderCreateInfoSpatialMeshBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + public void* Next; + + [NativeName("configFlags")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + public SpatialMeshConfigFlagsBD ConfigFlags; + + [NativeName("lod")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + public SpatialMeshLodBD Lod; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + public SenseDataProviderCreateInfoSpatialMeshBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderStartInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderStartInfoBD.gen.cs new file mode 100644 index 0000000000..808e5ae238 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderStartInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSenseDataProviderStartInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SenseDataProviderStartInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSenseDataProviderStartInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SenseDataProviderStartInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderStateBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderStateBD.gen.cs new file mode 100644 index 0000000000..3bcc50fab2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderStateBD.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSenseDataProviderStateBD")] +[SupportedApiProfile("openxr")] +public enum SenseDataProviderStateBD : uint +{ + [NativeName("XR_SENSE_DATA_PROVIDER_STATE_INITIALIZED_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Initialized = 0, + + [NativeName("XR_SENSE_DATA_PROVIDER_STATE_RUNNING_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Running = 1, + + [NativeName("XR_SENSE_DATA_PROVIDER_STATE_STOPPED_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Stopped = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderTypeBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderTypeBD.gen.cs new file mode 100644 index 0000000000..b5c1714e96 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SenseDataProviderTypeBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSenseDataProviderTypeBD")] +[SupportedApiProfile("openxr")] +public enum SenseDataProviderTypeBD : uint +{ + [NativeName("XR_SENSE_DATA_PROVIDER_TYPE_ANCHOR_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + Anchor = 1000390000, + + [NativeName("XR_SENSE_DATA_PROVIDER_TYPE_SCENE_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + Scene = 1000392000, + + [NativeName("XR_SENSE_DATA_PROVIDER_TYPE_MESH_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + Mesh = 1000393000, + + [NativeName("XR_SENSE_DATA_PROVIDER_TYPE_PLANE_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + Plane = 1000396000, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SenseDataQueryCompletionBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SenseDataQueryCompletionBD.gen.cs new file mode 100644 index 0000000000..3e26e6f938 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SenseDataQueryCompletionBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +namespace Silk.NET.OpenXR; + +[NativeName("XrSenseDataQueryCompletionBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SenseDataQueryCompletionBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSenseDataQueryCompletionBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public Result FutureResult; + + [NativeName("snapshot")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SenseDataSnapshotHandleBD Snapshot; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SenseDataQueryCompletionBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SenseDataQueryInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SenseDataQueryInfoBD.gen.cs new file mode 100644 index 0000000000..a0846812a5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SenseDataQueryInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSenseDataQueryInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SenseDataQueryInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSenseDataQueryInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SenseDataQueryInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SerializedSceneFragmentDataGetInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SerializedSceneFragmentDataGetInfoMSFT.gen.cs new file mode 100644 index 0000000000..4871cb4a95 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SerializedSceneFragmentDataGetInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSerializedSceneFragmentDataGetInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SerializedSceneFragmentDataGetInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSerializedSceneFragmentDataGetInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("sceneFragmentId")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public UuidMSFT SceneFragmentId; + + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public SerializedSceneFragmentDataGetInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SessionActionSetsAttachInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SessionActionSetsAttachInfo.gen.cs new file mode 100644 index 0000000000..9697198f71 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SessionActionSetsAttachInfo.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSessionActionSetsAttachInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SessionActionSetsAttachInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeSessionActionSetsAttachInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("countActionSets")] + [SupportedApiProfile("openxr")] + public uint CountActionSets; + + [NativeName("actionSets")] + [SupportedApiProfile("openxr")] + public ActionSetHandle* ActionSets; + + [SupportedApiProfile("openxr")] + public SessionActionSetsAttachInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SessionBeginInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SessionBeginInfo.gen.cs new file mode 100644 index 0000000000..dee55669b6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SessionBeginInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSessionBeginInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SessionBeginInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeSessionBeginInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("primaryViewConfigurationType")] + [SupportedApiProfile("openxr")] + public ViewConfigurationType PrimaryViewConfigurationType; + + [SupportedApiProfile("openxr")] + public SessionBeginInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SessionCreateInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SessionCreateInfo.gen.cs new file mode 100644 index 0000000000..9b2bdacf84 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SessionCreateInfo.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSessionCreateInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SessionCreateInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeSessionCreateInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("createFlags")] + [SupportedApiProfile("openxr")] + public SessionCreateFlags CreateFlags; + + [NativeName("systemId")] + [SupportedApiProfile("openxr")] + public ulong SystemId; + + [SupportedApiProfile("openxr")] + public SessionCreateInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SessionCreateInfoOverlayEXTX.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SessionCreateInfoOverlayEXTX.gen.cs new file mode 100644 index 0000000000..c8e2a4edde --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SessionCreateInfoOverlayEXTX.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSessionCreateInfoOverlayEXTX")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SessionCreateInfoOverlayEXTX +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + public StructureType Type = StructureType.TypeSessionCreateInfoOverlayEXTX; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + public void* Next; + + [NativeName("createFlags")] + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + public OverlaySessionCreateFlagsEXTX CreateFlags; + + [NativeName("sessionLayersPlacement")] + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + public uint SessionLayersPlacement; + + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + public SessionCreateInfoOverlayEXTX() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SessionState.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SessionState.gen.cs new file mode 100644 index 0000000000..f9c5b05f0b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SessionState.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSessionState")] +[SupportedApiProfile("openxr")] +public enum SessionState : uint +{ + [NativeName("XR_SESSION_STATE_UNKNOWN")] + [SupportedApiProfile("openxr")] + Unknown = 0, + + [NativeName("XR_SESSION_STATE_IDLE")] + [SupportedApiProfile("openxr")] + Idle = 1, + + [NativeName("XR_SESSION_STATE_READY")] + [SupportedApiProfile("openxr")] + Ready = 2, + + [NativeName("XR_SESSION_STATE_SYNCHRONIZED")] + [SupportedApiProfile("openxr")] + Synchronized = 3, + + [NativeName("XR_SESSION_STATE_VISIBLE")] + [SupportedApiProfile("openxr")] + Visible = 4, + + [NativeName("XR_SESSION_STATE_FOCUSED")] + [SupportedApiProfile("openxr")] + Focused = 5, + + [NativeName("XR_SESSION_STATE_STOPPING")] + [SupportedApiProfile("openxr")] + Stopping = 6, + + [NativeName("XR_SESSION_STATE_LOSS_PENDING")] + [SupportedApiProfile("openxr")] + LossPending = 7, + + [NativeName("XR_SESSION_STATE_EXITING")] + [SupportedApiProfile("openxr")] + Exiting = 8, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ShareSpacesInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ShareSpacesInfoMETA.gen.cs new file mode 100644 index 0000000000..4e969f82be --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ShareSpacesInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrShareSpacesInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ShareSpacesInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public StructureType Type = StructureType.TypeShareSpacesInfoMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public void* Next; + + [NativeName("spaceCount")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public uint SpaceCount; + + [NativeName("spaces")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public SpaceHandle* Spaces; + + [NativeName("recipientInfo")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public ShareSpacesRecipientBaseHeaderMETA* RecipientInfo; + + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public ShareSpacesInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ShareSpacesRecipientBaseHeaderMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ShareSpacesRecipientBaseHeaderMETA.gen.cs new file mode 100644 index 0000000000..bcd696065f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ShareSpacesRecipientBaseHeaderMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrShareSpacesRecipientBaseHeaderMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ShareSpacesRecipientBaseHeaderMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ShareSpacesRecipientGroupsMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ShareSpacesRecipientGroupsMETA.gen.cs new file mode 100644 index 0000000000..9851a0fae7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ShareSpacesRecipientGroupsMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrShareSpacesRecipientGroupsMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ShareSpacesRecipientGroupsMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_group_sharing", "XR_META_spatial_entity_sharing"], + RequireAll = true + )] + public StructureType Type = StructureType.TypeShareSpacesRecipientGroupsMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_group_sharing", "XR_META_spatial_entity_sharing"], + RequireAll = true + )] + public void* Next; + + [NativeName("groupCount")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_group_sharing", "XR_META_spatial_entity_sharing"], + RequireAll = true + )] + public uint GroupCount; + + [NativeName("groups")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_group_sharing", "XR_META_spatial_entity_sharing"], + RequireAll = true + )] + public Uuid* Groups; + + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_group_sharing", "XR_META_spatial_entity_sharing"], + RequireAll = true + )] + public ShareSpacesRecipientGroupsMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SharedSpatialAnchorDownloadInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SharedSpatialAnchorDownloadInfoBD.gen.cs new file mode 100644 index 0000000000..b8cba87466 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SharedSpatialAnchorDownloadInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSharedSpatialAnchorDownloadInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SharedSpatialAnchorDownloadInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public StructureType Type = StructureType.TypeSharedSpatialAnchorDownloadInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public void* Next; + + [NativeName("uuid")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public Uuid Uuid; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public SharedSpatialAnchorDownloadInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SimultaneousHandsAndControllersTrackingPauseInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SimultaneousHandsAndControllersTrackingPauseInfoMETA.gen.cs new file mode 100644 index 0000000000..2101ca9101 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SimultaneousHandsAndControllersTrackingPauseInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSimultaneousHandsAndControllersTrackingPauseInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SimultaneousHandsAndControllersTrackingPauseInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + public StructureType Type = + StructureType.TypeSimultaneousHandsAndControllersTrackingPauseInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + public SimultaneousHandsAndControllersTrackingPauseInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SimultaneousHandsAndControllersTrackingResumeInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SimultaneousHandsAndControllersTrackingResumeInfoMETA.gen.cs new file mode 100644 index 0000000000..9fc1c94148 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SimultaneousHandsAndControllersTrackingResumeInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSimultaneousHandsAndControllersTrackingResumeInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SimultaneousHandsAndControllersTrackingResumeInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + public StructureType Type = + StructureType.TypeSimultaneousHandsAndControllersTrackingResumeInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + public SimultaneousHandsAndControllersTrackingResumeInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelDefinitionAmbixBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelDefinitionAmbixBD.gen.cs new file mode 100644 index 0000000000..381e6e4712 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelDefinitionAmbixBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundFieldChannelDefinitionAmbixBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SoundFieldChannelDefinitionAmbixBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSoundFieldChannelDefinitionAmbixBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("channelMask")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundFieldChannelMaskAmbixBD ChannelMask; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundFieldChannelDefinitionAmbixBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelDefinitionFumaBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelDefinitionFumaBD.gen.cs new file mode 100644 index 0000000000..3c9d08b963 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelDefinitionFumaBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundFieldChannelDefinitionFumaBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SoundFieldChannelDefinitionFumaBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSoundFieldChannelDefinitionFumaBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("channelMask")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundFieldChannelMaskFumaBD ChannelMask; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundFieldChannelDefinitionFumaBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelDefinitionSurroundBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelDefinitionSurroundBD.gen.cs new file mode 100644 index 0000000000..103122a404 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelDefinitionSurroundBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundFieldChannelDefinitionSurroundBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SoundFieldChannelDefinitionSurroundBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSoundFieldChannelDefinitionSurroundBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("channelMask")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundFieldChannelMaskSurroundBD ChannelMask; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundFieldChannelDefinitionSurroundBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelMaskAmbixBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelMaskAmbixBD.gen.cs new file mode 100644 index 0000000000..0b5d6531fd --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelMaskAmbixBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundFieldChannelMaskAmbixBD")] +[SupportedApiProfile("openxr")] +public enum SoundFieldChannelMaskAmbixBD : uint +{ + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_AMBIX_1ST_ORDER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Ambix1StOrder = 1, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_AMBIX_2ND_ORDER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Ambix2NdOrder = 2, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_AMBIX_3RD_ORDER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Ambix3RdOrder = 3, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_AMBIX_4TH_ORDER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Ambix4ThOrder = 4, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_AMBIX_5TH_ORDER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Ambix5ThOrder = 5, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_AMBIX_6TH_ORDER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Ambix6ThOrder = 6, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_AMBIX_7TH_ORDER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Ambix7ThOrder = 7, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelMaskFumaBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelMaskFumaBD.gen.cs new file mode 100644 index 0000000000..c9388df059 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelMaskFumaBD.gen.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundFieldChannelMaskFumaBD")] +[SupportedApiProfile("openxr")] +public enum SoundFieldChannelMaskFumaBD : uint +{ + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_FUMA_1ST_ORDER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Fuma1StOrder = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelMaskSurroundBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelMaskSurroundBD.gen.cs new file mode 100644 index 0000000000..3dc48fcbef --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundFieldChannelMaskSurroundBD.gen.cs @@ -0,0 +1,146 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundFieldChannelMaskSurroundBD")] +[SupportedApiProfile("openxr")] +public enum SoundFieldChannelMaskSurroundBD : uint +{ + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_FRONT_LEFT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + FrontLeft = 1, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_FRONT_RIGHT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + FrontRight = 2, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_FRONT_CENTER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + FrontCenter = 4, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_LOW_FREQUENCY_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + LowFrequency = 8, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_BACK_LEFT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + BackLeft = 16, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_BACK_RIGHT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + BackRight = 32, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SIDE_LEFT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + SideLeft = 64, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SIDE_RIGHT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + SideRight = 128, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_TOP_FRONT_LEFT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TopFrontLeft = 256, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_TOP_FRONT_RIGHT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TopFrontRight = 512, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_TOP_BACK_LEFT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TopBackLeft = 1024, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_TOP_BACK_RIGHT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TopBackRight = 2048, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_BACK_CENTER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + BackCenter = 4096, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_TOP_SIDE_LEFT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TopSideLeft = 8192, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_TOP_SIDE_RIGHT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TopSideRight = 16384, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_STEREO_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + SetupStereo = 3, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_2_1_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup2x1 = 11, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_3_0_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup3x0 = 7, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_4_0_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup4x0 = 4099, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_BACK_SURROUND_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + SetupBackSurround = 48, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_QUAD_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + SetupQuad = 51, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_3_1_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup3x1 = 15, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_5_0_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup5x0 = 55, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_SIDE_SURROUND_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + SetupSideSurround = 192, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_5_0_SIDE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup5x0Side = 199, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_5_1_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup5x1 = 63, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_5_1_SIDE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup5x1Side = 207, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_7_0_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup7x0 = 247, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_7_1_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup7x1 = 255, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_5_1_2_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup5x1x2 = 831, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_5_1_4_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup5x1x4 = 3903, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_7_1_2_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup7x1x2 = 24831, + + [NativeName("XR_SOUND_FIELD_CHANNEL_MASK_SURROUND_SETUP_7_1_4_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Setup7x1x4 = 4095, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundFieldConfigBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundFieldConfigBD.gen.cs new file mode 100644 index 0000000000..ba011e8168 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundFieldConfigBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundFieldConfigBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SoundFieldConfigBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSoundFieldConfigBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("enabled")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public MaybeBool Enabled; + + [NativeName("orientation")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public Quaternionf Orientation; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SpaceHandle BaseSpace; + + [NativeName("mainVolume")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float MainVolume; + + [NativeName("lfeGain")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float LfeGain; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundFieldConfigBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundObjectConfigBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundObjectConfigBD.gen.cs new file mode 100644 index 0000000000..56311e667d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundObjectConfigBD.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundObjectConfigBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SoundObjectConfigBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSoundObjectConfigBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("enabled")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public MaybeBool Enabled; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public Posef Pose; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SpaceHandle BaseSpace; + + [NativeName("mainVolume")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float MainVolume; + + [NativeName("reflectionGain")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float ReflectionGain; + + [NativeName("enableDoppler")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public MaybeBool EnableDoppler; + + [NativeName("directSoundAttenuation")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObjectDistanceAttenuationBD* DirectSoundAttenuation; + + [NativeName("indirectSoundAttenuation")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObjectDistanceAttenuationBD* IndirectSoundAttenuation; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObjectConfigBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundObjectDirectivityCardioidBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundObjectDirectivityCardioidBD.gen.cs new file mode 100644 index 0000000000..04c5ff3f82 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundObjectDirectivityCardioidBD.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundObjectDirectivityCardioidBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SoundObjectDirectivityCardioidBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSoundObjectDirectivityCardioidBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("alpha")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float Alpha; + + [NativeName("order")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float Order; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObjectDirectivityCardioidBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundObjectDistanceAttenuationBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundObjectDistanceAttenuationBD.gen.cs new file mode 100644 index 0000000000..3dbd36e675 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundObjectDistanceAttenuationBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundObjectDistanceAttenuationBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SoundObjectDistanceAttenuationBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSoundObjectDistanceAttenuationBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("distanceAttenuationType")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObjectDistanceAttenuationTypeBD DistanceAttenuationType; + + [NativeName("minAttenuationRange")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float MinAttenuationRange; + + [NativeName("maxAttenuationRange")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float MaxAttenuationRange; + + [NativeName("referenceDistance")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float ReferenceDistance; + + [NativeName("rolloffFactor")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float RolloffFactor; + + [NativeName("customDistanceAttenuationCurve")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObjectDistanceAttenuationCurveBD* CustomDistanceAttenuationCurve; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObjectDistanceAttenuationBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundObjectDistanceAttenuationCurveBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundObjectDistanceAttenuationCurveBD.gen.cs new file mode 100644 index 0000000000..7d2517b0ae --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundObjectDistanceAttenuationCurveBD.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundObjectDistanceAttenuationCurveBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SoundObjectDistanceAttenuationCurveBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSoundObjectDistanceAttenuationCurveBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("curvePointCount")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public uint CurvePointCount; + + [NativeName("curvePoints")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public AttenuationCurvePointBD* CurvePoints; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObjectDistanceAttenuationCurveBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundObjectDistanceAttenuationTypeBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundObjectDistanceAttenuationTypeBD.gen.cs new file mode 100644 index 0000000000..d8316aa5f8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundObjectDistanceAttenuationTypeBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundObjectDistanceAttenuationTypeBD")] +[SupportedApiProfile("openxr")] +public enum SoundObjectDistanceAttenuationTypeBD : uint +{ + [NativeName("XR_SOUND_OBJECT_DISTANCE_ATTENUATION_TYPE_NONE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + None = 0, + + [NativeName("XR_SOUND_OBJECT_DISTANCE_ATTENUATION_TYPE_INVERSE_SQUARE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + InverseSquare = 1, + + [NativeName("XR_SOUND_OBJECT_DISTANCE_ATTENUATION_TYPE_ROLLOFF_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Rolloff = 2, + + [NativeName("XR_SOUND_OBJECT_DISTANCE_ATTENUATION_TYPE_CUSTOMIZED_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Customized = 100, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundObjectShapeSphereBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundObjectShapeSphereBD.gen.cs new file mode 100644 index 0000000000..40dc2f2e94 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundObjectShapeSphereBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundObjectShapeSphereBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SoundObjectShapeSphereBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSoundObjectShapeSphereBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("radius")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float Radius; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObjectShapeSphereBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundObstacleConfigBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundObstacleConfigBD.gen.cs new file mode 100644 index 0000000000..56fbc91340 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundObstacleConfigBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundObstacleConfigBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SoundObstacleConfigBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSoundObstacleConfigBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("enabled")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public MaybeBool Enabled; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public Posef Pose; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SpaceHandle BaseSpace; + + [NativeName("materialCount")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public uint MaterialCount; + + [NativeName("materials")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObstacleMaterialHandleBD* Materials; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObstacleConfigBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundObstacleMaterialConfigBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundObstacleMaterialConfigBD.gen.cs new file mode 100644 index 0000000000..bdb0f3178f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundObstacleMaterialConfigBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundObstacleMaterialConfigBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SoundObstacleMaterialConfigBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSoundObstacleMaterialConfigBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("materialType")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObstacleMaterialTypeBD MaterialType; + + [NativeName("bandCount")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public uint BandCount; + + [NativeName("bandFrequencies")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float* BandFrequencies; + + [NativeName("bandAbsorptions")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float* BandAbsorptions; + + [NativeName("bandScatterings")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float* BandScatterings; + + [NativeName("bandTransmissions")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public float* BandTransmissions; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundObstacleMaterialConfigBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundObstacleMaterialTypeBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundObstacleMaterialTypeBD.gen.cs new file mode 100644 index 0000000000..be94f400ed --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundObstacleMaterialTypeBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundObstacleMaterialTypeBD")] +[SupportedApiProfile("openxr")] +public enum SoundObstacleMaterialTypeBD : uint +{ + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_ACOUSTIC_TILE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + AcousticTile = 0, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_BRICK_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Brick = 1, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_BRICK_PAINTED_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + BrickPainted = 2, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_CARPET_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Carpet = 3, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_CARPET_HEAVY_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + CarpetHeavy = 4, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_CARPET_HEAVY_PADDED_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + CarpetHeavyPadded = 5, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_CERAMIC_TILE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + CeramicTile = 6, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_CONCRETE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Concrete = 7, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_CONCRETE_ROUGH_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + ConcreteRough = 8, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_CONCRETE_BLOCK_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + ConcreteBlock = 9, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_CONCRETE_BLOCK_PAINTED_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + ConcreteBlockPainted = 10, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_CURTAIN_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Curtain = 11, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_FOLIAGE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Foliage = 12, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_GLASS_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Glass = 13, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_GLASS_HEAVY_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + GlassHeavy = 14, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_GRASS_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Grass = 15, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_GRAVEL_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Gravel = 16, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_GYPSUM_BOARD_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + GypsumBoard = 17, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_PLASTER_ON_BRICK_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + PlasterOnBrick = 18, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_PLASTER_ON_CONCRETE_BLOCK_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + PlasterOnConcreteBlock = 19, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_SOIL_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Soil = 20, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_SOUND_PROOF_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + SoundProof = 21, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_SNOW_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Snow = 22, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_STEEL_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Steel = 23, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_WATER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Water = 24, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_WOOD_THIN_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + WoodThin = 25, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_WOOD_THICK_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + WoodThick = 26, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_WOOD_FLOOR_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + WoodFloor = 27, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_WOOD_ON_CONCRETE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + WoodOnConcrete = 28, + + [NativeName("XR_SOUND_OBSTACLE_MATERIAL_TYPE_CUSTOM_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + Custom = 29, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SoundTriangleMeshBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SoundTriangleMeshBD.gen.cs new file mode 100644 index 0000000000..5d5a050f9d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SoundTriangleMeshBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSoundTriangleMeshBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SoundTriangleMeshBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSoundTriangleMeshBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("vertexCount")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public uint VertexCount; + + [NativeName("vertices")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public Vector3F* Vertices; + + [NativeName("indexCount")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public uint IndexCount; + + [NativeName("indices")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public uint* Indices; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SoundTriangleMeshBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceComponentFilterInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceComponentFilterInfoFB.gen.cs new file mode 100644 index 0000000000..8bde3c75d5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceComponentFilterInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceComponentFilterInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceComponentFilterInfoFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpaceComponentFilterInfoFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("componentType")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceComponentTypeFB ComponentType; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceComponentFilterInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceComponentStatusFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceComponentStatusFB.gen.cs new file mode 100644 index 0000000000..56b61b8fd7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceComponentStatusFB.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceComponentStatusFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceComponentStatusFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public StructureType Type = StructureType.TypeSpaceComponentStatusFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public void* Next; + + [NativeName("enabled")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public MaybeBool Enabled; + + [NativeName("changePending")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public MaybeBool ChangePending; + + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public SpaceComponentStatusFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceComponentStatusSetInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceComponentStatusSetInfoFB.gen.cs new file mode 100644 index 0000000000..77387bfede --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceComponentStatusSetInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceComponentStatusSetInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceComponentStatusSetInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public StructureType Type = StructureType.TypeSpaceComponentStatusSetInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public void* Next; + + [NativeName("componentType")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public SpaceComponentTypeFB ComponentType; + + [NativeName("enabled")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public MaybeBool Enabled; + + [NativeName("timeout")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public long Timeout; + + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public SpaceComponentStatusSetInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceComponentTypeFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceComponentTypeFB.gen.cs new file mode 100644 index 0000000000..1aadf15bd2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceComponentTypeFB.gen.cs @@ -0,0 +1,66 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceComponentTypeFB")] +[SupportedApiProfile("openxr")] +public enum SpaceComponentTypeFB : uint +{ + [NativeName("XR_SPACE_COMPONENT_TYPE_LOCATABLE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + Locatable = 0, + + [NativeName("XR_SPACE_COMPONENT_TYPE_STORABLE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + Storable = 1, + + [NativeName("XR_SPACE_COMPONENT_TYPE_SHARABLE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + Sharable = 2, + + [NativeName("XR_SPACE_COMPONENT_TYPE_BOUNDED_2D_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + Bounded2D = 3, + + [NativeName("XR_SPACE_COMPONENT_TYPE_BOUNDED_3D_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + Bounded3D = 4, + + [NativeName("XR_SPACE_COMPONENT_TYPE_SEMANTIC_LABELS_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + SemanticLabels = 5, + + [NativeName("XR_SPACE_COMPONENT_TYPE_ROOM_LAYOUT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + RoomLayout = 6, + + [NativeName("XR_SPACE_COMPONENT_TYPE_SPACE_CONTAINER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + SpaceContainer = 7, + + [NativeName("XR_SPACE_COMPONENT_TYPE_TRIANGLE_MESH_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TriangleMeshMETA = 1000269000, + + [NativeName("XR_SPACE_COMPONENT_TYPE_ROOM_MESH_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + RoomMeshMETA = 1000553000, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceContainerFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceContainerFB.gen.cs new file mode 100644 index 0000000000..608c823acf --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceContainerFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceContainerFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceContainerFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_container"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpaceContainerFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_container"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("uuidCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_container"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint UuidCapacityInput; + + [NativeName("uuidCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_container"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint UuidCountOutput; + + [NativeName("uuids")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_container"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Uuid* Uuids; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_container"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceContainerFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceDiscoveryInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceDiscoveryInfoMETA.gen.cs new file mode 100644 index 0000000000..41ed2784b2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceDiscoveryInfoMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceDiscoveryInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceDiscoveryInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public StructureType Type = StructureType.TypeSpaceDiscoveryInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public void* Next; + + [NativeName("filterCount")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public uint FilterCount; + + [NativeName("filters")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public SpaceFilterBaseHeaderMETA** Filters; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public SpaceDiscoveryInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceDiscoveryResultMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceDiscoveryResultMETA.gen.cs new file mode 100644 index 0000000000..9832c45297 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceDiscoveryResultMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceDiscoveryResultMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceDiscoveryResultMETA +{ + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public SpaceHandle Space; + + [NativeName("uuid")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public Uuid Uuid; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceDiscoveryResultsMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceDiscoveryResultsMETA.gen.cs new file mode 100644 index 0000000000..12dcd997c0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceDiscoveryResultsMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceDiscoveryResultsMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceDiscoveryResultsMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public StructureType Type = StructureType.TypeSpaceDiscoveryResultsMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public void* Next; + + [NativeName("resultCapacityInput")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public uint ResultCapacityInput; + + [NativeName("resultCountOutput")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public uint ResultCountOutput; + + [NativeName("results")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public SpaceDiscoveryResultMETA* Results; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public SpaceDiscoveryResultsMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceEraseInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceEraseInfoFB.gen.cs new file mode 100644 index 0000000000..eade65eae0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceEraseInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceEraseInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceEraseInfoFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpaceEraseInfoFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("space")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceHandle Space; + + [NativeName("location")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceStorageLocationFB Location; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceEraseInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceFilterBaseHeaderMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceFilterBaseHeaderMETA.gen.cs new file mode 100644 index 0000000000..f00f95cde5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceFilterBaseHeaderMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceFilterBaseHeaderMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceFilterBaseHeaderMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceFilterComponentMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceFilterComponentMETA.gen.cs new file mode 100644 index 0000000000..443699763b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceFilterComponentMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceFilterComponentMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceFilterComponentMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public StructureType Type = StructureType.TypeSpaceFilterComponentMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public void* Next; + + [NativeName("componentType")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public SpaceComponentTypeFB ComponentType; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public SpaceFilterComponentMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceFilterInfoBaseHeaderFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceFilterInfoBaseHeaderFB.gen.cs new file mode 100644 index 0000000000..90d5f67ca7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceFilterInfoBaseHeaderFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceFilterInfoBaseHeaderFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceFilterInfoBaseHeaderFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceFilterUuidMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceFilterUuidMETA.gen.cs new file mode 100644 index 0000000000..8635958a03 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceFilterUuidMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceFilterUuidMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceFilterUuidMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public StructureType Type = StructureType.TypeSpaceFilterUuidMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public void* Next; + + [NativeName("uuidCount")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public uint UuidCount; + + [NativeName("uuids")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public Uuid* Uuids; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public SpaceFilterUuidMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceGroupUuidFilterInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceGroupUuidFilterInfoMETA.gen.cs new file mode 100644 index 0000000000..0192538524 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceGroupUuidFilterInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceGroupUuidFilterInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceGroupUuidFilterInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query", "XR_META_spatial_entity_group_sharing"], + RequireAll = true + )] + public StructureType Type = StructureType.TypeSpaceGroupUuidFilterInfoMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query", "XR_META_spatial_entity_group_sharing"], + RequireAll = true + )] + public void* Next; + + [NativeName("groupUuid")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query", "XR_META_spatial_entity_group_sharing"], + RequireAll = true + )] + public Uuid GroupUuid; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query", "XR_META_spatial_entity_group_sharing"], + RequireAll = true + )] + public SpaceGroupUuidFilterInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceListSaveInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceListSaveInfoFB.gen.cs new file mode 100644 index 0000000000..c70a75c20a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceListSaveInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceListSaveInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceListSaveInfoFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpaceListSaveInfoFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("spaceCount")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public uint SpaceCount; + + [NativeName("spaces")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceHandle* Spaces; + + [NativeName("location")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceStorageLocationFB Location; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceListSaveInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceLocation.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceLocation.gen.cs new file mode 100644 index 0000000000..af85cc90d9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceLocation.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceLocation")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceLocation +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeSpaceLocation; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("locationFlags")] + [SupportedApiProfile("openxr")] + public SpaceLocationFlags LocationFlags; + + [NativeName("pose")] + [SupportedApiProfile("openxr")] + public Posef Pose; + + [SupportedApiProfile("openxr")] + public SpaceLocation() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceLocationData.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceLocationData.gen.cs new file mode 100644 index 0000000000..0985d604a1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceLocationData.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceLocationData")] +[SupportedApiProfile("openxr")] +public partial struct SpaceLocationData +{ + [NativeName("locationFlags")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public SpaceLocationFlags LocationFlags; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public Posef Pose; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceLocations.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceLocations.gen.cs new file mode 100644 index 0000000000..2166d9a7cb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceLocations.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceLocations")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceLocations +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public StructureType Type = StructureType.TypeSpaceLocations; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public void* Next; + + [NativeName("locationCount")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public uint LocationCount; + + [NativeName("locations")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public SpaceLocationData* Locations; + + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public SpaceLocations() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpacePersistenceModeFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpacePersistenceModeFB.gen.cs new file mode 100644 index 0000000000..44b56d6500 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpacePersistenceModeFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpacePersistenceModeFB")] +[SupportedApiProfile("openxr")] +public enum SpacePersistenceModeFB : uint +{ + [NativeName("XR_SPACE_PERSISTENCE_MODE_INVALID_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + Invalid = 0, + + [NativeName("XR_SPACE_PERSISTENCE_MODE_INDEFINITE_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + Indefinite = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceQueryActionFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceQueryActionFB.gen.cs new file mode 100644 index 0000000000..00046bed40 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceQueryActionFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceQueryActionFB")] +[SupportedApiProfile("openxr")] +public enum SpaceQueryActionFB : uint +{ + [NativeName("XR_SPACE_QUERY_ACTION_LOAD_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + Load = 0, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceQueryInfoBaseHeaderFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceQueryInfoBaseHeaderFB.gen.cs new file mode 100644 index 0000000000..ed6846b68a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceQueryInfoBaseHeaderFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceQueryInfoBaseHeaderFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceQueryInfoBaseHeaderFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceQueryInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceQueryInfoFB.gen.cs new file mode 100644 index 0000000000..a81f90a8d6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceQueryInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceQueryInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceQueryInfoFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpaceQueryInfoFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("queryAction")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceQueryActionFB QueryAction; + + [NativeName("maxResultCount")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public uint MaxResultCount; + + [NativeName("timeout")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public long Timeout; + + [NativeName("filter")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceFilterInfoBaseHeaderFB* Filter; + + [NativeName("excludeFilter")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceFilterInfoBaseHeaderFB* ExcludeFilter; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceQueryInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceQueryResultFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceQueryResultFB.gen.cs new file mode 100644 index 0000000000..45480e00cd --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceQueryResultFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceQueryResultFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceQueryResultFB +{ + [NativeName("space")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceHandle Space; + + [NativeName("uuid")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public Uuid Uuid; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceQueryResultsFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceQueryResultsFB.gen.cs new file mode 100644 index 0000000000..1deb83930b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceQueryResultsFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceQueryResultsFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceQueryResultsFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpaceQueryResultsFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("resultCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public uint ResultCapacityInput; + + [NativeName("resultCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public uint ResultCountOutput; + + [NativeName("results")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceQueryResultFB* Results; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceQueryResultsFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceRoomMeshGetInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceRoomMeshGetInfoMETA.gen.cs new file mode 100644 index 0000000000..627f5c8f32 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceRoomMeshGetInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceRoomMeshGetInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceRoomMeshGetInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public StructureType Type = StructureType.TypeSpaceRoomMeshGetInfoMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public void* Next; + + [NativeName("recognizedSemanticLabelCount")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public uint RecognizedSemanticLabelCount; + + [NativeName("recognizedSemanticLabels")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public SemanticLabelMETA* RecognizedSemanticLabels; + + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public SpaceRoomMeshGetInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceSaveInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceSaveInfoFB.gen.cs new file mode 100644 index 0000000000..0a6a0f68ad --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceSaveInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceSaveInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceSaveInfoFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpaceSaveInfoFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("space")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceHandle Space; + + [NativeName("location")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceStorageLocationFB Location; + + [NativeName("persistenceMode")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpacePersistenceModeFB PersistenceMode; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceSaveInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceShareInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceShareInfoFB.gen.cs new file mode 100644 index 0000000000..77fb278efe --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceShareInfoFB.gen.cs @@ -0,0 +1,69 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceShareInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceShareInfoFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpaceShareInfoFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("spaceCount")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint SpaceCount; + + [NativeName("spaces")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceHandle* Spaces; + + [NativeName("userCount")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint UserCount; + + [NativeName("users")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceUserHandleFB* Users; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceShareInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceStorageLocationFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceStorageLocationFB.gen.cs new file mode 100644 index 0000000000..6c9a8b1a20 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceStorageLocationFB.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceStorageLocationFB")] +[SupportedApiProfile("openxr")] +public enum SpaceStorageLocationFB : uint +{ + [NativeName("XR_SPACE_STORAGE_LOCATION_INVALID_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + Invalid = 0, + + [NativeName("XR_SPACE_STORAGE_LOCATION_LOCAL_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + Local = 1, + + [NativeName("XR_SPACE_STORAGE_LOCATION_CLOUD_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + Cloud = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceStorageLocationFilterInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceStorageLocationFilterInfoFB.gen.cs new file mode 100644 index 0000000000..3528c7694c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceStorageLocationFilterInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceStorageLocationFilterInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceStorageLocationFilterInfoFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpaceStorageLocationFilterInfoFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("location")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceStorageLocationFB Location; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceStorageLocationFilterInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceTriangleMeshGetInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceTriangleMeshGetInfoMETA.gen.cs new file mode 100644 index 0000000000..0362fc40c4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceTriangleMeshGetInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceTriangleMeshGetInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceTriangleMeshGetInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpaceTriangleMeshGetInfoMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceTriangleMeshGetInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceTriangleMeshMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceTriangleMeshMETA.gen.cs new file mode 100644 index 0000000000..f8ec060014 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceTriangleMeshMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceTriangleMeshMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceTriangleMeshMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpaceTriangleMeshMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("vertexCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint VertexCapacityInput; + + [NativeName("vertexCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint VertexCountOutput; + + [NativeName("vertices")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public Vector3F* Vertices; + + [NativeName("indexCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint IndexCapacityInput; + + [NativeName("indexCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint IndexCountOutput; + + [NativeName("indices")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public uint* Indices; + + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public SpaceTriangleMeshMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceUserCreateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceUserCreateInfoFB.gen.cs new file mode 100644 index 0000000000..59227eeb19 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceUserCreateInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceUserCreateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceUserCreateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity_user"])] + public StructureType Type = StructureType.TypeSpaceUserCreateInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity_user"])] + public void* Next; + + [NativeName("userId")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity_user"])] + public ulong UserId; + + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity_user"])] + public SpaceUserCreateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceUuidFilterInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceUuidFilterInfoFB.gen.cs new file mode 100644 index 0000000000..cd6306a0b8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceUuidFilterInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceUuidFilterInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceUuidFilterInfoFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpaceUuidFilterInfoFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("uuidCount")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public uint UuidCount; + + [NativeName("uuids")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public Uuid* Uuids; + + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public SpaceUuidFilterInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceVelocities.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceVelocities.gen.cs new file mode 100644 index 0000000000..6e94db1710 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceVelocities.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceVelocities")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceVelocities +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public StructureType Type = StructureType.TypeSpaceVelocities; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public void* Next; + + [NativeName("velocityCount")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public uint VelocityCount; + + [NativeName("velocities")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public SpaceVelocityData* Velocities; + + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public SpaceVelocities() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceVelocity.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceVelocity.gen.cs new file mode 100644 index 0000000000..5872fc8e4b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceVelocity.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceVelocity")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpaceVelocity +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public StructureType Type = StructureType.TypeSpaceVelocity; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public void* Next; + + [NativeName("velocityFlags")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public SpaceVelocityFlags VelocityFlags; + + [NativeName("linearVelocity")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public Vector3F LinearVelocity; + + [NativeName("angularVelocity")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public Vector3F AngularVelocity; + + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public SpaceVelocity() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpaceVelocityData.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpaceVelocityData.gen.cs new file mode 100644 index 0000000000..95355d33ba --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpaceVelocityData.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpaceVelocityData")] +[SupportedApiProfile("openxr")] +public partial struct SpaceVelocityData +{ + [NativeName("velocityFlags")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public SpaceVelocityFlags VelocityFlags; + + [NativeName("linearVelocity")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public Vector3F LinearVelocity; + + [NativeName("angularVelocity")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public Vector3F AngularVelocity; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpacesEraseInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpacesEraseInfoMETA.gen.cs new file mode 100644 index 0000000000..b776989f42 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpacesEraseInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpacesEraseInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpacesEraseInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public StructureType Type = StructureType.TypeSpacesEraseInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public void* Next; + + [NativeName("spaceCount")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public uint SpaceCount; + + [NativeName("spaces")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public SpaceHandle* Spaces; + + [NativeName("uuidCount")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public uint UuidCount; + + [NativeName("uuids")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public Uuid* Uuids; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public SpacesEraseInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpacesLocateInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpacesLocateInfo.gen.cs new file mode 100644 index 0000000000..1661a75f9a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpacesLocateInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpacesLocateInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpacesLocateInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public StructureType Type = StructureType.TypeSpacesLocateInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public long Time; + + [NativeName("spaceCount")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public uint SpaceCount; + + [NativeName("spaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public SpaceHandle* Spaces; + + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public SpacesLocateInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpacesSaveInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpacesSaveInfoMETA.gen.cs new file mode 100644 index 0000000000..367e5dbbe8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpacesSaveInfoMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpacesSaveInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpacesSaveInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public StructureType Type = StructureType.TypeSpacesSaveInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public void* Next; + + [NativeName("spaceCount")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public uint SpaceCount; + + [NativeName("spaces")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public SpaceHandle* Spaces; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public SpacesSaveInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCompletionResultML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCompletionResultML.gen.cs new file mode 100644 index 0000000000..3628f16547 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCompletionResultML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorCompletionResultML")] +[SupportedApiProfile("openxr")] +public partial struct SpatialAnchorCompletionResultML +{ + [NativeName("uuid")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public Uuid Uuid; + + [NativeName("result")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public Result Result; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorConfidenceML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorConfidenceML.gen.cs new file mode 100644 index 0000000000..d70b09e4e9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorConfidenceML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorConfidenceML")] +[SupportedApiProfile("openxr")] +public enum SpatialAnchorConfidenceML : uint +{ + [NativeName("XR_SPATIAL_ANCHOR_CONFIDENCE_LOW_ML")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + Low = 0, + + [NativeName("XR_SPATIAL_ANCHOR_CONFIDENCE_MEDIUM_ML")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + Medium = 1, + + [NativeName("XR_SPATIAL_ANCHOR_CONFIDENCE_HIGH_ML")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + High = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateCompletionBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateCompletionBD.gen.cs new file mode 100644 index 0000000000..72c099a6b6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateCompletionBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorCreateCompletionBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorCreateCompletionBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorCreateCompletionBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public Result FutureResult; + + [NativeName("uuid")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public Uuid Uuid; + + [NativeName("anchor")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public AnchorHandleBD Anchor; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public SpatialAnchorCreateCompletionBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoBD.gen.cs new file mode 100644 index 0000000000..50a9cf7b7f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorCreateInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorCreateInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorCreateInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public void* Next; + + [NativeName("space")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public SpaceHandle Space; + + [NativeName("pose")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public Posef Pose; + + [NativeName("time")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public long Time; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public SpatialAnchorCreateInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..b74e487681 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorCreateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorCreateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorCreateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public long Time; + + [NativeName("pose")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public Posef Pose; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialAnchorCreateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoFB.gen.cs new file mode 100644 index 0000000000..64dce1ccd0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorCreateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorCreateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public StructureType Type = StructureType.TypeSpatialAnchorCreateInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public void* Next; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public SpaceHandle Space; + + [NativeName("poseInSpace")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public Posef PoseInSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public SpatialAnchorCreateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoHTC.gen.cs new file mode 100644 index 0000000000..a9f1c785bc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorCreateInfoHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorCreateInfoHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public StructureType Type = StructureType.TypeSpatialAnchorCreateInfoHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public void* Next; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public SpaceHandle Space; + + [NativeName("poseInSpace")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public Posef PoseInSpace; + + [NativeName("name")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public SpatialAnchorNameHTC Name; + + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public SpatialAnchorCreateInfoHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoMSFT.gen.cs new file mode 100644 index 0000000000..30f220f659 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorCreateInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorCreateInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorCreateInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeSpatialAnchorCreateInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("space")] + [SupportedApiProfile("openxr")] + public SpaceHandle Space; + + [NativeName("pose")] + [SupportedApiProfile("openxr")] + public Posef Pose; + + [NativeName("time")] + [SupportedApiProfile("openxr")] + public long Time; + + [SupportedApiProfile("openxr")] + public SpatialAnchorCreateInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorFromPersistedAnchorCreateInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorFromPersistedAnchorCreateInfoMSFT.gen.cs new file mode 100644 index 0000000000..6be9aab639 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorFromPersistedAnchorCreateInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorFromPersistedAnchorCreateInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorFromPersistedAnchorCreateInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("spatialAnchorStore")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public SpatialAnchorStoreConnectionHandleMSFT SpatialAnchorStore; + + [NativeName("spatialAnchorPersistenceName")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public SpatialAnchorPersistenceNameMSFT SpatialAnchorPersistenceName; + + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public SpatialAnchorFromPersistedAnchorCreateInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorNameHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorNameHTC.gen.cs new file mode 100644 index 0000000000..a07cd11eb0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorNameHTC.gen.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorNameHTC")] +[SupportedApiProfile("openxr")] +public partial struct SpatialAnchorNameHTC +{ + [NativeName("name")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public SpatialAnchorNameHTCName Name; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorNameHTCName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorNameHTCName.gen.cs new file mode 100644 index 0000000000..ea76c1eda5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorNameHTCName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_name_e__FixedBuffer")] +[InlineArray(256)] +[SupportedApiProfile("openxr")] +public partial struct SpatialAnchorNameHTCName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorParentANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorParentANDROID.gen.cs new file mode 100644 index 0000000000..3184358426 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorParentANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorParentANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorParentANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_entity_bound_anchor"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorParentANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_entity_bound_anchor"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + public void* Next; + + [NativeName("parentId")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_entity_bound_anchor"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + public ulong ParentId; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_entity_bound_anchor"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + public SpatialAnchorParentANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorPersistInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorPersistInfoBD.gen.cs new file mode 100644 index 0000000000..32cff67796 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorPersistInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorPersistInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorPersistInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorPersistInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public void* Next; + + [NativeName("location")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public PersistenceLocationBD Location; + + [NativeName("anchor")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public AnchorHandleBD Anchor; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public SpatialAnchorPersistInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorPersistenceInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorPersistenceInfoMSFT.gen.cs new file mode 100644 index 0000000000..b979e7bf06 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorPersistenceInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorPersistenceInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorPersistenceInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorPersistenceInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("spatialAnchorPersistenceName")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public SpatialAnchorPersistenceNameMSFT SpatialAnchorPersistenceName; + + [NativeName("spatialAnchor")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public SpatialAnchorHandleMSFT SpatialAnchor; + + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public SpatialAnchorPersistenceInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorPersistenceNameMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorPersistenceNameMSFT.gen.cs new file mode 100644 index 0000000000..08e20aaaf7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorPersistenceNameMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorPersistenceNameMSFT")] +[SupportedApiProfile("openxr")] +public partial struct SpatialAnchorPersistenceNameMSFT +{ + [NativeName("name")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public SpatialAnchorPersistenceNameMSFTName Name; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorPersistenceNameMSFTName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorPersistenceNameMSFTName.gen.cs new file mode 100644 index 0000000000..7bc32a992f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorPersistenceNameMSFTName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_name_e__FixedBuffer")] +[InlineArray(256)] +[SupportedApiProfile("openxr")] +public partial struct SpatialAnchorPersistenceNameMSFTName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorShareInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorShareInfoBD.gen.cs new file mode 100644 index 0000000000..a2e4b558f5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorShareInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorShareInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorShareInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorShareInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public void* Next; + + [NativeName("anchor")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public AnchorHandleBD Anchor; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public SpatialAnchorShareInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorSpaceCreateInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorSpaceCreateInfoMSFT.gen.cs new file mode 100644 index 0000000000..987d086c5d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorSpaceCreateInfoMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorSpaceCreateInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorSpaceCreateInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeSpatialAnchorSpaceCreateInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("anchor")] + [SupportedApiProfile("openxr")] + public SpatialAnchorHandleMSFT Anchor; + + [NativeName("poseInAnchorSpace")] + [SupportedApiProfile("openxr")] + public Posef PoseInAnchorSpace; + + [SupportedApiProfile("openxr")] + public SpatialAnchorSpaceCreateInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorSpaceFromIdCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorSpaceFromIdCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..5972b7ef38 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorSpaceFromIdCreateInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorSpaceFromIdCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorSpaceFromIdCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_anchor_space"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorSpaceFromIdCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_anchor_space"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + public void* Next; + + [NativeName("anchorEntityId")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_anchor_space"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + public ulong AnchorEntityId; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_anchor_space"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + public SpatialAnchorSpaceFromIdCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorStateML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorStateML.gen.cs new file mode 100644 index 0000000000..381df84e92 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorStateML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorStateML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorStateML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialAnchorStateML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("confidence")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public SpatialAnchorConfidenceML Confidence; + + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public SpatialAnchorStateML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorUnpersistInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorUnpersistInfoBD.gen.cs new file mode 100644 index 0000000000..727f3ce13a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorUnpersistInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorUnpersistInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorUnpersistInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorUnpersistInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public void* Next; + + [NativeName("location")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public PersistenceLocationBD Location; + + [NativeName("anchor")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public AnchorHandleBD Anchor; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public SpatialAnchorUnpersistInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsCreateInfoBaseHeaderML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsCreateInfoBaseHeaderML.gen.cs new file mode 100644 index 0000000000..a1abc85098 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsCreateInfoBaseHeaderML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsCreateInfoBaseHeaderML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsCreateInfoBaseHeaderML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsCreateInfoFromPoseML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsCreateInfoFromPoseML.gen.cs new file mode 100644 index 0000000000..2a3d90495e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsCreateInfoFromPoseML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsCreateInfoFromPoseML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsCreateInfoFromPoseML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialAnchorsCreateInfoFromPoseML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public SpaceHandle BaseSpace; + + [NativeName("poseInBaseSpace")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public Posef PoseInBaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public SpatialAnchorsCreateInfoFromPoseML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsCreateInfoFromUuidsML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsCreateInfoFromUuidsML.gen.cs new file mode 100644 index 0000000000..4a752a0af9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsCreateInfoFromUuidsML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsCreateInfoFromUuidsML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsCreateInfoFromUuidsML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsCreateInfoFromUuidsML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [NativeName("storage")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsStorageHandleML Storage; + + [NativeName("uuidCount")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public uint UuidCount; + + [NativeName("uuids")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public Uuid* Uuids; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsCreateInfoFromUuidsML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsCreateStorageInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsCreateStorageInfoML.gen.cs new file mode 100644 index 0000000000..5f44b45079 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsCreateStorageInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsCreateStorageInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsCreateStorageInfoML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsCreateStorageInfoML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsCreateStorageInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsDeleteCompletionDetailsML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsDeleteCompletionDetailsML.gen.cs new file mode 100644 index 0000000000..791b4be78c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsDeleteCompletionDetailsML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsDeleteCompletionDetailsML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsDeleteCompletionDetailsML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsDeleteCompletionDetailsML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [NativeName("resultCount")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public uint ResultCount; + + [NativeName("results")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorCompletionResultML* Results; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsDeleteCompletionDetailsML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsDeleteCompletionML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsDeleteCompletionML.gen.cs new file mode 100644 index 0000000000..c85d330f55 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsDeleteCompletionML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsDeleteCompletionML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsDeleteCompletionML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsDeleteCompletionML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public Result FutureResult; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsDeleteCompletionML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsDeleteInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsDeleteInfoML.gen.cs new file mode 100644 index 0000000000..54a3140aab --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsDeleteInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsDeleteInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsDeleteInfoML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsDeleteInfoML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [NativeName("uuidCount")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public uint UuidCount; + + [NativeName("uuids")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public Uuid* Uuids; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsDeleteInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsPublishCompletionDetailsML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsPublishCompletionDetailsML.gen.cs new file mode 100644 index 0000000000..fe7c63dbc2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsPublishCompletionDetailsML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsPublishCompletionDetailsML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsPublishCompletionDetailsML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsPublishCompletionDetailsML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [NativeName("resultCount")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public uint ResultCount; + + [NativeName("results")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorCompletionResultML* Results; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsPublishCompletionDetailsML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsPublishCompletionML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsPublishCompletionML.gen.cs new file mode 100644 index 0000000000..7ff43032ed --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsPublishCompletionML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsPublishCompletionML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsPublishCompletionML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsPublishCompletionML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public Result FutureResult; + + [NativeName("uuidCount")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public uint UuidCount; + + [NativeName("uuids")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public Uuid* Uuids; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsPublishCompletionML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsPublishInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsPublishInfoML.gen.cs new file mode 100644 index 0000000000..b18fea7801 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsPublishInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsPublishInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsPublishInfoML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsPublishInfoML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [NativeName("anchorCount")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public uint AnchorCount; + + [NativeName("anchors")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpaceHandle* Anchors; + + [NativeName("expiration")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public ulong Expiration; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsPublishInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsQueryCompletionML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsQueryCompletionML.gen.cs new file mode 100644 index 0000000000..c8b917ca48 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsQueryCompletionML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsQueryCompletionML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsQueryCompletionML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsQueryCompletionML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public Result FutureResult; + + [NativeName("uuidCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public uint UuidCapacityInput; + + [NativeName("uuidCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public uint UuidCountOutput; + + [NativeName("uuids")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public Uuid* Uuids; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsQueryCompletionML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsQueryInfoBaseHeaderML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsQueryInfoBaseHeaderML.gen.cs new file mode 100644 index 0000000000..5605eb9c28 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsQueryInfoBaseHeaderML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsQueryInfoBaseHeaderML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsQueryInfoBaseHeaderML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsQueryInfoRadiusML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsQueryInfoRadiusML.gen.cs new file mode 100644 index 0000000000..f40d863170 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsQueryInfoRadiusML.gen.cs @@ -0,0 +1,69 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsQueryInfoRadiusML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsQueryInfoRadiusML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsQueryInfoRadiusML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpaceHandle BaseSpace; + + [NativeName("center")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public Vector3F Center; + + [NativeName("time")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public long Time; + + [NativeName("radius")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public float Radius; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsQueryInfoRadiusML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsUpdateExpirationCompletionDetailsML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsUpdateExpirationCompletionDetailsML.gen.cs new file mode 100644 index 0000000000..cc83dbc56c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsUpdateExpirationCompletionDetailsML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsUpdateExpirationCompletionDetailsML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsUpdateExpirationCompletionDetailsML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsUpdateExpirationCompletionDetailsML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [NativeName("resultCount")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public uint ResultCount; + + [NativeName("results")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorCompletionResultML* Results; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsUpdateExpirationCompletionDetailsML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsUpdateExpirationCompletionML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsUpdateExpirationCompletionML.gen.cs new file mode 100644 index 0000000000..d89c24419b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsUpdateExpirationCompletionML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsUpdateExpirationCompletionML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsUpdateExpirationCompletionML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsUpdateExpirationCompletionML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public Result FutureResult; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsUpdateExpirationCompletionML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsUpdateExpirationInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsUpdateExpirationInfoML.gen.cs new file mode 100644 index 0000000000..7ec03d2a3c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAnchorsUpdateExpirationInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAnchorsUpdateExpirationInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAnchorsUpdateExpirationInfoML +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public StructureType Type = StructureType.TypeSpatialAnchorsUpdateExpirationInfoML; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public void* Next; + + [NativeName("uuidCount")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public uint UuidCount; + + [NativeName("uuids")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public Uuid* Uuids; + + [NativeName("expiration")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public ulong Expiration; + + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public SpatialAnchorsUpdateExpirationInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialAudioRendererCreateInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialAudioRendererCreateInfoBD.gen.cs new file mode 100644 index 0000000000..673df2fa11 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialAudioRendererCreateInfoBD.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialAudioRendererCreateInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialAudioRendererCreateInfoBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public StructureType Type = StructureType.TypeSpatialAudioRendererCreateInfoBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public void* Next; + + [NativeName("framesPerBuffer")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public uint FramesPerBuffer; + + [NativeName("sampleRate")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public AudioSampleRateBD SampleRate; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public SpatialAudioRendererCreateInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialBounded2DDataEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialBounded2DDataEXT.gen.cs new file mode 100644 index 0000000000..1019d38120 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialBounded2DDataEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialBounded2DDataEXT")] +[SupportedApiProfile("openxr")] +public partial struct SpatialBounded2DDataEXT +{ + [NativeName("center")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public Posef Center; + + [NativeName("extents")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public Extent2Df Extents; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialBufferEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialBufferEXT.gen.cs new file mode 100644 index 0000000000..6bcdd3058b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialBufferEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialBufferEXT")] +[SupportedApiProfile("openxr")] +public partial struct SpatialBufferEXT +{ + [NativeName("bufferId")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public ulong BufferId; + + [NativeName("bufferType")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialBufferTypeEXT BufferType; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialBufferGetInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialBufferGetInfoEXT.gen.cs new file mode 100644 index 0000000000..8b2b808abc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialBufferGetInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialBufferGetInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialBufferGetInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialBufferGetInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("bufferId")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public ulong BufferId; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialBufferGetInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialBufferTypeEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialBufferTypeEXT.gen.cs new file mode 100644 index 0000000000..5b877f4d06 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialBufferTypeEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialBufferTypeEXT")] +[SupportedApiProfile("openxr")] +public enum SpatialBufferTypeEXT : uint +{ + [NativeName("XR_SPATIAL_BUFFER_TYPE_UNKNOWN_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Unknown = 0, + + [NativeName("XR_SPATIAL_BUFFER_TYPE_STRING_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + String = 1, + + [NativeName("XR_SPATIAL_BUFFER_TYPE_UINT8_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Uint8 = 2, + + [NativeName("XR_SPATIAL_BUFFER_TYPE_UINT16_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Uint16 = 3, + + [NativeName("XR_SPATIAL_BUFFER_TYPE_UINT32_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Uint32 = 4, + + [NativeName("XR_SPATIAL_BUFFER_TYPE_FLOAT_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Float = 5, + + [NativeName("XR_SPATIAL_BUFFER_TYPE_VECTOR2F_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Vector2F = 6, + + [NativeName("XR_SPATIAL_BUFFER_TYPE_VECTOR3F_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Vector3F = 7, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityComponentTypesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityComponentTypesEXT.gen.cs new file mode 100644 index 0000000000..07f47596d3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityComponentTypesEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialCapabilityComponentTypesEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialCapabilityComponentTypesEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialCapabilityComponentTypesEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("componentTypeCapacityInput")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint ComponentTypeCapacityInput; + + [NativeName("componentTypeCountOutput")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint ComponentTypeCountOutput; + + [NativeName("componentTypes")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialComponentTypeEXT* ComponentTypes; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialCapabilityComponentTypesEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationAnchorEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationAnchorEXT.gen.cs new file mode 100644 index 0000000000..263f969a16 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationAnchorEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialCapabilityConfigurationAnchorEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialCapabilityConfigurationAnchorEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialCapabilityConfigurationAnchorEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("capability")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityEXT Capability; + + [NativeName("enabledComponentCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint EnabledComponentCount; + + [NativeName("enabledComponents")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentTypeEXT* EnabledComponents; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityConfigurationAnchorEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationAprilTagEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationAprilTagEXT.gen.cs new file mode 100644 index 0000000000..824817572d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationAprilTagEXT.gen.cs @@ -0,0 +1,69 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialCapabilityConfigurationAprilTagEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialCapabilityConfigurationAprilTagEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialCapabilityConfigurationAprilTagEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("capability")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityEXT Capability; + + [NativeName("enabledComponentCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint EnabledComponentCount; + + [NativeName("enabledComponents")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentTypeEXT* EnabledComponents; + + [NativeName("aprilDict")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialMarkerAprilTagDictEXT AprilDict; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityConfigurationAprilTagEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationArucoMarkerEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationArucoMarkerEXT.gen.cs new file mode 100644 index 0000000000..b3080b9fad --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationArucoMarkerEXT.gen.cs @@ -0,0 +1,69 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialCapabilityConfigurationArucoMarkerEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialCapabilityConfigurationArucoMarkerEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialCapabilityConfigurationArucoMarkerEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("capability")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityEXT Capability; + + [NativeName("enabledComponentCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint EnabledComponentCount; + + [NativeName("enabledComponents")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentTypeEXT* EnabledComponents; + + [NativeName("arUcoDict")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialMarkerArucoDictEXT ArUcoDict; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityConfigurationArucoMarkerEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationBaseHeaderEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationBaseHeaderEXT.gen.cs new file mode 100644 index 0000000000..9820ac2ae4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationBaseHeaderEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialCapabilityConfigurationBaseHeaderEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialCapabilityConfigurationBaseHeaderEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("capability")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialCapabilityEXT Capability; + + [NativeName("enabledComponentCount")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint EnabledComponentCount; + + [NativeName("enabledComponents")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialComponentTypeEXT* EnabledComponents; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationDepthRaycastANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationDepthRaycastANDROID.gen.cs new file mode 100644 index 0000000000..20ccb9396e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationDepthRaycastANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialCapabilityConfigurationDepthRaycastANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialCapabilityConfigurationDepthRaycastANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialCapabilityConfigurationDepthRaycastANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("capability")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityEXT Capability; + + [NativeName("enabledComponentCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint EnabledComponentCount; + + [NativeName("enabledComponents")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentTypeEXT* EnabledComponents; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityConfigurationDepthRaycastANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationMicroQrCodeEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationMicroQrCodeEXT.gen.cs new file mode 100644 index 0000000000..900f2a34b6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationMicroQrCodeEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialCapabilityConfigurationMicroQrCodeEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialCapabilityConfigurationMicroQrCodeEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialCapabilityConfigurationMicroQrCodeEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("capability")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityEXT Capability; + + [NativeName("enabledComponentCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint EnabledComponentCount; + + [NativeName("enabledComponents")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentTypeEXT* EnabledComponents; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityConfigurationMicroQrCodeEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationObjectTrackingANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationObjectTrackingANDROID.gen.cs new file mode 100644 index 0000000000..dc037cc7cc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationObjectTrackingANDROID.gen.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialCapabilityConfigurationObjectTrackingANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialCapabilityConfigurationObjectTrackingANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = + StructureType.TypeSpatialCapabilityConfigurationObjectTrackingANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("capability")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityEXT Capability; + + [NativeName("enabledComponentCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint EnabledComponentCount; + + [NativeName("enabledComponents")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentTypeEXT* EnabledComponents; + + [NativeName("activeSemanticLabelCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint ActiveSemanticLabelCount; + + [NativeName("activeSemanticLabels")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialObjectSemanticLabelANDROID* ActiveSemanticLabels; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityConfigurationObjectTrackingANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationPlaneTrackingEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationPlaneTrackingEXT.gen.cs new file mode 100644 index 0000000000..4009abb8c6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationPlaneTrackingEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialCapabilityConfigurationPlaneTrackingEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialCapabilityConfigurationPlaneTrackingEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialCapabilityConfigurationPlaneTrackingEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("capability")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityEXT Capability; + + [NativeName("enabledComponentCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint EnabledComponentCount; + + [NativeName("enabledComponents")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentTypeEXT* EnabledComponents; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityConfigurationPlaneTrackingEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationQrCodeEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationQrCodeEXT.gen.cs new file mode 100644 index 0000000000..47b4219eba --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityConfigurationQrCodeEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialCapabilityConfigurationQrCodeEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialCapabilityConfigurationQrCodeEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialCapabilityConfigurationQrCodeEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("capability")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityEXT Capability; + + [NativeName("enabledComponentCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint EnabledComponentCount; + + [NativeName("enabledComponents")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentTypeEXT* EnabledComponents; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityConfigurationQrCodeEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityEXT.gen.cs new file mode 100644 index 0000000000..f0fbfa152c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityEXT.gen.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialCapabilityEXT")] +[SupportedApiProfile("openxr")] +public enum SpatialCapabilityEXT : uint +{ + [NativeName("XR_SPATIAL_CAPABILITY_PLANE_TRACKING_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + PlaneTracking = 1000741000, + + [NativeName("XR_SPATIAL_CAPABILITY_MARKER_TRACKING_QR_CODE_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + MarkerTrackingQrCode = 1000743000, + + [NativeName("XR_SPATIAL_CAPABILITY_MARKER_TRACKING_MICRO_QR_CODE_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + MarkerTrackingMicroQrCode = 1000743001, + + [NativeName("XR_SPATIAL_CAPABILITY_MARKER_TRACKING_ARUCO_MARKER_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + MarkerTrackingArucoMarker = 1000743002, + + [NativeName("XR_SPATIAL_CAPABILITY_MARKER_TRACKING_APRIL_TAG_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + MarkerTrackingAprilTag = 1000743003, + + [NativeName("XR_SPATIAL_CAPABILITY_ANCHOR_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Anchor = 1000762000, + + [NativeName("XR_SPATIAL_CAPABILITY_OBJECT_TRACKING_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + ObjectTrackingANDROID = 1000785000, + + [NativeName("XR_SPATIAL_CAPABILITY_DEPTH_RAYCAST_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + DepthRaycastANDROID = 1000786000, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityFeatureEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityFeatureEXT.gen.cs new file mode 100644 index 0000000000..a6834b8c8f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialCapabilityFeatureEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialCapabilityFeatureEXT")] +[SupportedApiProfile("openxr")] +public enum SpatialCapabilityFeatureEXT : uint +{ + [NativeName("XR_SPATIAL_CAPABILITY_FEATURE_MARKER_TRACKING_FIXED_SIZE_MARKERS_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + MarkerTrackingFixedSizeMarkers = 1000743000, + + [NativeName("XR_SPATIAL_CAPABILITY_FEATURE_MARKER_TRACKING_STATIC_MARKERS_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + MarkerTrackingStaticMarkers = 1000743001, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentAnchorListEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentAnchorListEXT.gen.cs new file mode 100644 index 0000000000..d5e379f05b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentAnchorListEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentAnchorListEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentAnchorListEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialComponentAnchorListEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("locationCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint LocationCount; + + [NativeName("locations")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public Posef* Locations; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentAnchorListEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentBounded2DListEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentBounded2DListEXT.gen.cs new file mode 100644 index 0000000000..bdab5381f6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentBounded2DListEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentBounded2DListEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentBounded2DListEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialComponentBounded2DListEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("boundCount")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint BoundCount; + + [NativeName("bounds")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialBounded2DDataEXT* Bounds; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialComponentBounded2DListEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentBounded3DListEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentBounded3DListEXT.gen.cs new file mode 100644 index 0000000000..d5720957c0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentBounded3DListEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentBounded3DListEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentBounded3DListEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialComponentBounded3DListEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("boundCount")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint BoundCount; + + [NativeName("bounds")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public Boxf* Bounds; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialComponentBounded3DListEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentDataQueryConditionEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentDataQueryConditionEXT.gen.cs new file mode 100644 index 0000000000..ef1adee002 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentDataQueryConditionEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentDataQueryConditionEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentDataQueryConditionEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialComponentDataQueryConditionEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("componentTypeCount")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint ComponentTypeCount; + + [NativeName("componentTypes")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialComponentTypeEXT* ComponentTypes; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialComponentDataQueryConditionEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentDataQueryResultEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentDataQueryResultEXT.gen.cs new file mode 100644 index 0000000000..a1db48e0f9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentDataQueryResultEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentDataQueryResultEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentDataQueryResultEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialComponentDataQueryResultEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("entityIdCapacityInput")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint EntityIdCapacityInput; + + [NativeName("entityIdCountOutput")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint EntityIdCountOutput; + + [NativeName("entityIds")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public ulong* EntityIds; + + [NativeName("entityStateCapacityInput")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint EntityStateCapacityInput; + + [NativeName("entityStateCountOutput")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint EntityStateCountOutput; + + [NativeName("entityStates")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialEntityTrackingStateEXT* EntityStates; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialComponentDataQueryResultEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentMarkerListEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentMarkerListEXT.gen.cs new file mode 100644 index 0000000000..54f569385f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentMarkerListEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentMarkerListEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentMarkerListEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialComponentMarkerListEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("markerCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint MarkerCount; + + [NativeName("markers")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialMarkerDataEXT* Markers; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentMarkerListEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentMesh2DListEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentMesh2DListEXT.gen.cs new file mode 100644 index 0000000000..14fd9e958f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentMesh2DListEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentMesh2DListEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentMesh2DListEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialComponentMesh2DListEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("meshCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint MeshCount; + + [NativeName("meshes")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialMeshDataEXT* Meshes; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentMesh2DListEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentMesh3DListEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentMesh3DListEXT.gen.cs new file mode 100644 index 0000000000..25113cef25 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentMesh3DListEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentMesh3DListEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentMesh3DListEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialComponentMesh3DListEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("meshCount")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint MeshCount; + + [NativeName("meshes")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialMeshDataEXT* Meshes; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialComponentMesh3DListEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentObjectSemanticLabelListANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentObjectSemanticLabelListANDROID.gen.cs new file mode 100644 index 0000000000..5669651a47 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentObjectSemanticLabelListANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentObjectSemanticLabelListANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentObjectSemanticLabelListANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialComponentObjectSemanticLabelListANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("semanticLabelCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint SemanticLabelCount; + + [NativeName("semanticLabels")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialObjectSemanticLabelANDROID* SemanticLabels; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentObjectSemanticLabelListANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentParentListEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentParentListEXT.gen.cs new file mode 100644 index 0000000000..0ada734534 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentParentListEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentParentListEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentParentListEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialComponentParentListEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("parentCount")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint ParentCount; + + [NativeName("parents")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public ulong* Parents; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialComponentParentListEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentPersistenceListEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentPersistenceListEXT.gen.cs new file mode 100644 index 0000000000..b4acfae5d7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentPersistenceListEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentPersistenceListEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentPersistenceListEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialComponentPersistenceListEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("persistDataCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public uint PersistDataCount; + + [NativeName("persistData")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public SpatialPersistenceDataEXT* PersistData; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public SpatialComponentPersistenceListEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentPlaneAlignmentListEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentPlaneAlignmentListEXT.gen.cs new file mode 100644 index 0000000000..7f84a2453a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentPlaneAlignmentListEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentPlaneAlignmentListEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentPlaneAlignmentListEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialComponentPlaneAlignmentListEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("planeAlignmentCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint PlaneAlignmentCount; + + [NativeName("planeAlignments")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialPlaneAlignmentEXT* PlaneAlignments; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentPlaneAlignmentListEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentPlaneSemanticLabelListEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentPlaneSemanticLabelListEXT.gen.cs new file mode 100644 index 0000000000..8490c078d0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentPlaneSemanticLabelListEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentPlaneSemanticLabelListEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentPlaneSemanticLabelListEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialComponentPlaneSemanticLabelListEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("semanticLabelCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint SemanticLabelCount; + + [NativeName("semanticLabels")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialPlaneSemanticLabelEXT* SemanticLabels; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentPlaneSemanticLabelListEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentPolygon2DListEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentPolygon2DListEXT.gen.cs new file mode 100644 index 0000000000..946d7f84b5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentPolygon2DListEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentPolygon2DListEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentPolygon2DListEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialComponentPolygon2DListEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("polygonCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint PolygonCount; + + [NativeName("polygons")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialPolygon2DDataEXT* Polygons; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentPolygon2DListEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentRaycastResultListANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentRaycastResultListANDROID.gen.cs new file mode 100644 index 0000000000..4c9c616cb2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentRaycastResultListANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentRaycastResultListANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentRaycastResultListANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialComponentRaycastResultListANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("raycastResultCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint RaycastResultCount; + + [NativeName("raycastResults")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialRaycastResultDataANDROID* RaycastResults; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentRaycastResultListANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentSubsumedByListANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentSubsumedByListANDROID.gen.cs new file mode 100644 index 0000000000..50b12a8659 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentSubsumedByListANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentSubsumedByListANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialComponentSubsumedByListANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + public StructureType Type = StructureType.TypeSpatialComponentSubsumedByListANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + public void* Next; + + [NativeName("subsumedUniqueIdCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + public uint SubsumedUniqueIdCount; + + [NativeName("subsumedUniqueIds")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + public ulong* SubsumedUniqueIds; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + public SpatialComponentSubsumedByListANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialComponentTypeEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentTypeEXT.gen.cs new file mode 100644 index 0000000000..96118a700f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialComponentTypeEXT.gen.cs @@ -0,0 +1,110 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialComponentTypeEXT")] +[SupportedApiProfile("openxr")] +public enum SpatialComponentTypeEXT : uint +{ + [NativeName("XR_SPATIAL_COMPONENT_TYPE_BOUNDED_2D_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Bounded2D = 1, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_BOUNDED_3D_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Bounded3D = 2, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_PARENT_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Parent = 3, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_MESH_3D_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Mesh3D = 4, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_PLANE_ALIGNMENT_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + PlaneAlignment = 1000741000, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_MESH_2D_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Mesh2D = 1000741001, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_POLYGON_2D_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Polygon2D = 1000741002, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_PLANE_SEMANTIC_LABEL_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + PlaneSemanticLabel = 1000741003, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_MARKER_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Marker = 1000743000, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_ANCHOR_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Anchor = 1000762000, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_PERSISTENCE_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + Persistence = 1000763000, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_OBJECT_SEMANTIC_LABEL_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + ObjectSemanticLabelANDROID = 1000785000, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_RAYCAST_RESULT_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + RaycastResultANDROID = 1000786000, + + [NativeName("XR_SPATIAL_COMPONENT_TYPE_SUBSUMED_BY_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + SubsumedByANDROID = 1000791000, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialContextCreateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialContextCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..1392d8b837 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialContextCreateInfoEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialContextCreateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialContextCreateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialContextCreateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("capabilityConfigCount")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint CapabilityConfigCount; + + [NativeName("capabilityConfigs")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialCapabilityConfigurationBaseHeaderEXT** CapabilityConfigs; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialContextCreateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialContextPersistenceConfigEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialContextPersistenceConfigEXT.gen.cs new file mode 100644 index 0000000000..eba2544955 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialContextPersistenceConfigEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialContextPersistenceConfigEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialContextPersistenceConfigEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialContextPersistenceConfigEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("persistenceContextCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public uint PersistenceContextCount; + + [NativeName("persistenceContexts")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public SpatialPersistenceContextHandleEXT* PersistenceContexts; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public SpatialContextPersistenceConfigEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialDiscoveryPersistenceUuidFilterEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialDiscoveryPersistenceUuidFilterEXT.gen.cs new file mode 100644 index 0000000000..5952621454 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialDiscoveryPersistenceUuidFilterEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialDiscoveryPersistenceUuidFilterEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialDiscoveryPersistenceUuidFilterEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialDiscoveryPersistenceUuidFilterEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("persistedUuidCount")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public uint PersistedUuidCount; + + [NativeName("persistedUuids")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public Uuid* PersistedUuids; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public SpatialDiscoveryPersistenceUuidFilterEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialDiscoverySnapshotCreateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialDiscoverySnapshotCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..1b81affde9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialDiscoverySnapshotCreateInfoEXT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialDiscoverySnapshotCreateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialDiscoverySnapshotCreateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialDiscoverySnapshotCreateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("componentTypeCount")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint ComponentTypeCount; + + [NativeName("componentTypes")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialComponentTypeEXT* ComponentTypes; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialDiscoverySnapshotCreateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialDiscoveryUniqueEntitiesFilterANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialDiscoveryUniqueEntitiesFilterANDROID.gen.cs new file mode 100644 index 0000000000..e7c2080016 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialDiscoveryUniqueEntitiesFilterANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialDiscoveryUniqueEntitiesFilterANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialDiscoveryUniqueEntitiesFilterANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + public StructureType Type = StructureType.TypeSpatialDiscoveryUniqueEntitiesFilterANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + public SpatialDiscoveryUniqueEntitiesFilterANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityAnchorCreateInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityAnchorCreateInfoBD.gen.cs new file mode 100644 index 0000000000..7e35c819b3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityAnchorCreateInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityAnchorCreateInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityAnchorCreateInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpatialEntityAnchorCreateInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("snapshot")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SenseDataSnapshotHandleBD Snapshot; + + [NativeName("entityId")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public ulong EntityId; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpatialEntityAnchorCreateInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataBaseHeaderBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataBaseHeaderBD.gen.cs new file mode 100644 index 0000000000..b6577f7c3e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataBaseHeaderBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityComponentDataBaseHeaderBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityComponentDataBaseHeaderBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataBoundingBox2DBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataBoundingBox2DBD.gen.cs new file mode 100644 index 0000000000..7b9de0dfa2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataBoundingBox2DBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityComponentDataBoundingBox2DBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityComponentDataBoundingBox2DBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpatialEntityComponentDataBoundingBox2DBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("boundingBox2D")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public Rect2Df BoundingBox2D; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpatialEntityComponentDataBoundingBox2DBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataBoundingBox3DBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataBoundingBox3DBD.gen.cs new file mode 100644 index 0000000000..714e2ca672 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataBoundingBox3DBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityComponentDataBoundingBox3DBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityComponentDataBoundingBox3DBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpatialEntityComponentDataBoundingBox3DBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("boundingBox3D")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public Boxf BoundingBox3D; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpatialEntityComponentDataBoundingBox3DBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataLocationBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataLocationBD.gen.cs new file mode 100644 index 0000000000..bc0592efb0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataLocationBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityComponentDataLocationBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityComponentDataLocationBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpatialEntityComponentDataLocationBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("location")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpaceLocation Location; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpatialEntityComponentDataLocationBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataPlaneOrientationBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataPlaneOrientationBD.gen.cs new file mode 100644 index 0000000000..baf1d4119a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataPlaneOrientationBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityComponentDataPlaneOrientationBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityComponentDataPlaneOrientationBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public StructureType Type = StructureType.TypeSpatialEntityComponentDataPlaneOrientationBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public void* Next; + + [NativeName("orientation")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public PlaneOrientationBD Orientation; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public SpatialEntityComponentDataPlaneOrientationBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataPolygonBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataPolygonBD.gen.cs new file mode 100644 index 0000000000..b039e20a0f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataPolygonBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityComponentDataPolygonBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityComponentDataPolygonBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpatialEntityComponentDataPolygonBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("vertexCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint VertexCapacityInput; + + [NativeName("vertexCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint VertexCountOutput; + + [NativeName("vertices")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public Vector2F* Vertices; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpatialEntityComponentDataPolygonBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataSemanticBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataSemanticBD.gen.cs new file mode 100644 index 0000000000..9c806efe12 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataSemanticBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityComponentDataSemanticBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityComponentDataSemanticBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpatialEntityComponentDataSemanticBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("labelCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint LabelCapacityInput; + + [NativeName("labelCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint LabelCountOutput; + + [NativeName("labels")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SemanticLabelBD* Labels; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpatialEntityComponentDataSemanticBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataTriangleMeshBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataTriangleMeshBD.gen.cs new file mode 100644 index 0000000000..e766b8bc9d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentDataTriangleMeshBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityComponentDataTriangleMeshBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityComponentDataTriangleMeshBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpatialEntityComponentDataTriangleMeshBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("vertexCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint VertexCapacityInput; + + [NativeName("vertexCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint VertexCountOutput; + + [NativeName("vertices")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public Vector3F* Vertices; + + [NativeName("indexCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint IndexCapacityInput; + + [NativeName("indexCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public uint IndexCountOutput; + + [NativeName("indices")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public ushort* Indices; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpatialEntityComponentDataTriangleMeshBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentGetInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentGetInfoBD.gen.cs new file mode 100644 index 0000000000..f8edf9b7fb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentGetInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityComponentGetInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityComponentGetInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpatialEntityComponentGetInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("entityId")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public ulong EntityId; + + [NativeName("componentType")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpatialEntityComponentTypeBD ComponentType; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpatialEntityComponentGetInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentTypeBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentTypeBD.gen.cs new file mode 100644 index 0000000000..7ac40874ca --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityComponentTypeBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityComponentTypeBD")] +[SupportedApiProfile("openxr")] +public enum SpatialEntityComponentTypeBD : uint +{ + [NativeName("XR_SPATIAL_ENTITY_COMPONENT_TYPE_LOCATION_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Location = 0, + + [NativeName("XR_SPATIAL_ENTITY_COMPONENT_TYPE_SEMANTIC_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Semantic = 1, + + [NativeName("XR_SPATIAL_ENTITY_COMPONENT_TYPE_BOUNDING_BOX_2D_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + BoundingBox2D = 2, + + [NativeName("XR_SPATIAL_ENTITY_COMPONENT_TYPE_POLYGON_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + Polygon = 3, + + [NativeName("XR_SPATIAL_ENTITY_COMPONENT_TYPE_BOUNDING_BOX_3D_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + BoundingBox3D = 4, + + [NativeName("XR_SPATIAL_ENTITY_COMPONENT_TYPE_TRIANGLE_MESH_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TriangleMesh = 5, + + [NativeName("XR_SPATIAL_ENTITY_COMPONENT_TYPE_PLANE_ORIENTATION_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + PlaneOrientation = 1000396000, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityFromIdCreateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityFromIdCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..5e395951a1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityFromIdCreateInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityFromIdCreateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityFromIdCreateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialEntityFromIdCreateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("entityId")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public ulong EntityId; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialEntityFromIdCreateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityLocationGetInfoBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityLocationGetInfoBD.gen.cs new file mode 100644 index 0000000000..e61e0785fb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityLocationGetInfoBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityLocationGetInfoBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityLocationGetInfoBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpatialEntityLocationGetInfoBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpaceHandle BaseSpace; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpatialEntityLocationGetInfoBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityPersistInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityPersistInfoEXT.gen.cs new file mode 100644 index 0000000000..572f8ded5d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityPersistInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityPersistInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityPersistInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public StructureType Type = StructureType.TypeSpatialEntityPersistInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public void* Next; + + [NativeName("spatialContext")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public SpatialContextHandleEXT SpatialContext; + + [NativeName("spatialEntityId")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public ulong SpatialEntityId; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public SpatialEntityPersistInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityStateBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityStateBD.gen.cs new file mode 100644 index 0000000000..cfc483bf5b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityStateBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityStateBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityStateBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSpatialEntityStateBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("entityId")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public ulong EntityId; + + [NativeName("lastUpdateTime")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public long LastUpdateTime; + + [NativeName("uuid")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public Uuid Uuid; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SpatialEntityStateBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityTrackingStateEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityTrackingStateEXT.gen.cs new file mode 100644 index 0000000000..f5f43729c4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityTrackingStateEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityTrackingStateEXT")] +[SupportedApiProfile("openxr")] +public enum SpatialEntityTrackingStateEXT : uint +{ + [NativeName("XR_SPATIAL_ENTITY_TRACKING_STATE_STOPPED_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Stopped = 1, + + [NativeName("XR_SPATIAL_ENTITY_TRACKING_STATE_PAUSED_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Paused = 2, + + [NativeName("XR_SPATIAL_ENTITY_TRACKING_STATE_TRACKING_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + Tracking = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialEntityUnpersistInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityUnpersistInfoEXT.gen.cs new file mode 100644 index 0000000000..1d89aebce9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialEntityUnpersistInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialEntityUnpersistInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialEntityUnpersistInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public StructureType Type = StructureType.TypeSpatialEntityUnpersistInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public void* Next; + + [NativeName("persistUuid")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public Uuid PersistUuid; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public SpatialEntityUnpersistInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialFilterTrackingStateEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialFilterTrackingStateEXT.gen.cs new file mode 100644 index 0000000000..acccf4bbc1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialFilterTrackingStateEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialFilterTrackingStateEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialFilterTrackingStateEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialFilterTrackingStateEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("trackingState")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialEntityTrackingStateEXT TrackingState; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialFilterTrackingStateEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeBindingPropertiesGetInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeBindingPropertiesGetInfoMSFT.gen.cs new file mode 100644 index 0000000000..ddd7dd084f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeBindingPropertiesGetInfoMSFT.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialGraphNodeBindingPropertiesGetInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialGraphNodeBindingPropertiesGetInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public StructureType Type = StructureType.TypeSpatialGraphNodeBindingPropertiesGetInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public SpatialGraphNodeBindingPropertiesGetInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeBindingPropertiesMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeBindingPropertiesMSFT.gen.cs new file mode 100644 index 0000000000..2f389062d5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeBindingPropertiesMSFT.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialGraphNodeBindingPropertiesMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialGraphNodeBindingPropertiesMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public StructureType Type = StructureType.TypeSpatialGraphNodeBindingPropertiesMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public void* Next; + + [NativeName("nodeId")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public SpatialGraphNodeBindingPropertiesMSFTNodeId NodeId; + + [NativeName("poseInNodeSpace")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public Posef PoseInNodeSpace; + + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public SpatialGraphNodeBindingPropertiesMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeBindingPropertiesMSFTNodeId.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeBindingPropertiesMSFTNodeId.gen.cs new file mode 100644 index 0000000000..22a50f0bfd --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeBindingPropertiesMSFTNodeId.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_nodeId_e__FixedBuffer")] +[InlineArray(16)] +[SupportedApiProfile("openxr")] +public partial struct SpatialGraphNodeBindingPropertiesMSFTNodeId +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public byte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeSpaceCreateInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeSpaceCreateInfoMSFT.gen.cs new file mode 100644 index 0000000000..afec89cc8e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeSpaceCreateInfoMSFT.gen.cs @@ -0,0 +1,35 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialGraphNodeSpaceCreateInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialGraphNodeSpaceCreateInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public StructureType Type = StructureType.TypeSpatialGraphNodeSpaceCreateInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public void* Next; + + [NativeName("nodeType")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public SpatialGraphNodeTypeMSFT NodeType; + + [NativeName("nodeId")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public SpatialGraphNodeSpaceCreateInfoMSFTNodeId NodeId; + + [NativeName("pose")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public Posef Pose; + + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public SpatialGraphNodeSpaceCreateInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeSpaceCreateInfoMSFTNodeId.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeSpaceCreateInfoMSFTNodeId.gen.cs new file mode 100644 index 0000000000..a155d731f1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeSpaceCreateInfoMSFTNodeId.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_nodeId_e__FixedBuffer")] +[InlineArray(16)] +[SupportedApiProfile("openxr")] +public partial struct SpatialGraphNodeSpaceCreateInfoMSFTNodeId +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public byte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeTypeMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeTypeMSFT.gen.cs new file mode 100644 index 0000000000..7627149920 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphNodeTypeMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialGraphNodeTypeMSFT")] +[SupportedApiProfile("openxr")] +public enum SpatialGraphNodeTypeMSFT : uint +{ + [NativeName("XR_SPATIAL_GRAPH_NODE_TYPE_STATIC_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + Static = 1, + + [NativeName("XR_SPATIAL_GRAPH_NODE_TYPE_DYNAMIC_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + Dynamic = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialGraphStaticNodeBindingCreateInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphStaticNodeBindingCreateInfoMSFT.gen.cs new file mode 100644 index 0000000000..29ddd1efc5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialGraphStaticNodeBindingCreateInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialGraphStaticNodeBindingCreateInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialGraphStaticNodeBindingCreateInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public StructureType Type = StructureType.TypeSpatialGraphStaticNodeBindingCreateInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public void* Next; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public SpaceHandle Space; + + [NativeName("poseInSpace")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public Posef PoseInSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public SpatialGraphStaticNodeBindingCreateInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerAprilTagDictEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerAprilTagDictEXT.gen.cs new file mode 100644 index 0000000000..06dad64341 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerAprilTagDictEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialMarkerAprilTagDictEXT")] +[SupportedApiProfile("openxr")] +public enum SpatialMarkerAprilTagDictEXT : uint +{ + [NativeName("XR_SPATIAL_MARKER_APRIL_TAG_DICT_16H5_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict16H5 = 1, + + [NativeName("XR_SPATIAL_MARKER_APRIL_TAG_DICT_25H9_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict25H9 = 2, + + [NativeName("XR_SPATIAL_MARKER_APRIL_TAG_DICT_36H10_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict36H10 = 3, + + [NativeName("XR_SPATIAL_MARKER_APRIL_TAG_DICT_36H11_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict36H11 = 4, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerArucoDictEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerArucoDictEXT.gen.cs new file mode 100644 index 0000000000..9644dd926b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerArucoDictEXT.gen.cs @@ -0,0 +1,142 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialMarkerArucoDictEXT")] +[SupportedApiProfile("openxr")] +public enum SpatialMarkerArucoDictEXT : uint +{ + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_4X4_50_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict4x4x50 = 1, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_4X4_100_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict4x4x100 = 2, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_4X4_250_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict4x4x250 = 3, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_4X4_1000_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict4x4x1000 = 4, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_5X5_50_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict5x5x50 = 5, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_5X5_100_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict5x5x100 = 6, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_5X5_250_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict5x5x250 = 7, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_5X5_1000_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict5x5x1000 = 8, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_6X6_50_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict6x6x50 = 9, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_6X6_100_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict6x6x100 = 10, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_6X6_250_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict6x6x250 = 11, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_6X6_1000_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict6x6x1000 = 12, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_7X7_50_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict7x7x50 = 13, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_7X7_100_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict7x7x100 = 14, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_7X7_250_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict7x7x250 = 15, + + [NativeName("XR_SPATIAL_MARKER_ARUCO_DICT_7X7_1000_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Dict7x7x1000 = 16, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerDataEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerDataEXT.gen.cs new file mode 100644 index 0000000000..4ffe052fef --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerDataEXT.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialMarkerDataEXT")] +[SupportedApiProfile("openxr")] +public partial struct SpatialMarkerDataEXT +{ + [NativeName("capability")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialCapabilityEXT Capability; + + [NativeName("markerId")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint MarkerId; + + [NativeName("data")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialBufferEXT Data; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerSizeEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerSizeEXT.gen.cs new file mode 100644 index 0000000000..a6e22c3e2b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerSizeEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialMarkerSizeEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialMarkerSizeEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialMarkerSizeEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("markerSideLength")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public float MarkerSideLength; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialMarkerSizeEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerStaticOptimizationEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerStaticOptimizationEXT.gen.cs new file mode 100644 index 0000000000..56ee61c573 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialMarkerStaticOptimizationEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialMarkerStaticOptimizationEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialMarkerStaticOptimizationEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialMarkerStaticOptimizationEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("optimizeForStaticMarker")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public MaybeBool OptimizeForStaticMarker; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialMarkerStaticOptimizationEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialMeshDataEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialMeshDataEXT.gen.cs new file mode 100644 index 0000000000..2e4e866541 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialMeshDataEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialMeshDataEXT")] +[SupportedApiProfile("openxr")] +public partial struct SpatialMeshDataEXT +{ + [NativeName("origin")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public Posef Origin; + + [NativeName("vertexBuffer")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialBufferEXT VertexBuffer; + + [NativeName("indexBuffer")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialBufferEXT IndexBuffer; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialMeshLodBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialMeshLodBD.gen.cs new file mode 100644 index 0000000000..d98cf36be3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialMeshLodBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialMeshLodBD")] +[SupportedApiProfile("openxr")] +public enum SpatialMeshLodBD : uint +{ + [NativeName("XR_SPATIAL_MESH_LOD_COARSE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + Coarse = 0, + + [NativeName("XR_SPATIAL_MESH_LOD_MEDIUM_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + Medium = 1, + + [NativeName("XR_SPATIAL_MESH_LOD_FINE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + Fine = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialObjectSemanticLabelANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialObjectSemanticLabelANDROID.gen.cs new file mode 100644 index 0000000000..5f18f9f669 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialObjectSemanticLabelANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialObjectSemanticLabelANDROID")] +[SupportedApiProfile("openxr")] +public enum SpatialObjectSemanticLabelANDROID : uint +{ + [NativeName("XR_SPATIAL_OBJECT_SEMANTIC_LABEL_UNCATEGORIZED_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Uncategorized = 0, + + [NativeName("XR_SPATIAL_OBJECT_SEMANTIC_LABEL_KEYBOARD_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Keyboard = 1, + + [NativeName("XR_SPATIAL_OBJECT_SEMANTIC_LABEL_MOUSE_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Mouse = 2, + + [NativeName("XR_SPATIAL_OBJECT_SEMANTIC_LABEL_LAPTOP_BASE_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + LaptopBase = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceContextCreateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceContextCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..b79b318275 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceContextCreateInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialPersistenceContextCreateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialPersistenceContextCreateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialPersistenceContextCreateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("scope")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public SpatialPersistenceScopeEXT Scope; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public SpatialPersistenceContextCreateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceContextResultEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceContextResultEXT.gen.cs new file mode 100644 index 0000000000..a2decf89ea --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceContextResultEXT.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialPersistenceContextResultEXT")] +[SupportedApiProfile("openxr")] +public enum SpatialPersistenceContextResultEXT +{ + [NativeName("XR_SPATIAL_PERSISTENCE_CONTEXT_RESULT_SUCCESS_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + Success = 0, + + [NativeName("XR_SPATIAL_PERSISTENCE_CONTEXT_RESULT_ENTITY_NOT_TRACKING_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + EntityNotTracking = -1000781001, + + [NativeName("XR_SPATIAL_PERSISTENCE_CONTEXT_RESULT_PERSIST_UUID_NOT_FOUND_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + PersistUuidNotFound = -1000781002, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceDataEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceDataEXT.gen.cs new file mode 100644 index 0000000000..32b2467ab4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceDataEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialPersistenceDataEXT")] +[SupportedApiProfile("openxr")] +public partial struct SpatialPersistenceDataEXT +{ + [NativeName("persistUuid")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public Uuid PersistUuid; + + [NativeName("persistState")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public SpatialPersistenceStateEXT PersistState; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceScopeEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceScopeEXT.gen.cs new file mode 100644 index 0000000000..066458cdb3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceScopeEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialPersistenceScopeEXT")] +[SupportedApiProfile("openxr")] +public enum SpatialPersistenceScopeEXT : uint +{ + [NativeName("XR_SPATIAL_PERSISTENCE_SCOPE_SYSTEM_MANAGED_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + SystemManaged = 1, + + [NativeName("XR_SPATIAL_PERSISTENCE_SCOPE_LOCAL_ANCHORS_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + LocalAnchors = 1000781000, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceStateEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceStateEXT.gen.cs new file mode 100644 index 0000000000..57c779653b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialPersistenceStateEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialPersistenceStateEXT")] +[SupportedApiProfile("openxr")] +public enum SpatialPersistenceStateEXT : uint +{ + [NativeName("XR_SPATIAL_PERSISTENCE_STATE_LOADED_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + Loaded = 1, + + [NativeName("XR_SPATIAL_PERSISTENCE_STATE_NOT_FOUND_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + NotFound = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialPlaneAlignmentEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialPlaneAlignmentEXT.gen.cs new file mode 100644 index 0000000000..ade0d394a7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialPlaneAlignmentEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialPlaneAlignmentEXT")] +[SupportedApiProfile("openxr")] +public enum SpatialPlaneAlignmentEXT : uint +{ + [NativeName("XR_SPATIAL_PLANE_ALIGNMENT_HORIZONTAL_UPWARD_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + HorizontalUpward = 0, + + [NativeName("XR_SPATIAL_PLANE_ALIGNMENT_HORIZONTAL_DOWNWARD_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + HorizontalDownward = 1, + + [NativeName("XR_SPATIAL_PLANE_ALIGNMENT_VERTICAL_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Vertical = 2, + + [NativeName("XR_SPATIAL_PLANE_ALIGNMENT_ARBITRARY_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Arbitrary = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialPlaneSemanticLabelEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialPlaneSemanticLabelEXT.gen.cs new file mode 100644 index 0000000000..0b2e361f25 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialPlaneSemanticLabelEXT.gen.cs @@ -0,0 +1,54 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialPlaneSemanticLabelEXT")] +[SupportedApiProfile("openxr")] +public enum SpatialPlaneSemanticLabelEXT : uint +{ + [NativeName("XR_SPATIAL_PLANE_SEMANTIC_LABEL_UNCATEGORIZED_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Uncategorized = 1, + + [NativeName("XR_SPATIAL_PLANE_SEMANTIC_LABEL_FLOOR_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Floor = 2, + + [NativeName("XR_SPATIAL_PLANE_SEMANTIC_LABEL_WALL_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Wall = 3, + + [NativeName("XR_SPATIAL_PLANE_SEMANTIC_LABEL_CEILING_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Ceiling = 4, + + [NativeName("XR_SPATIAL_PLANE_SEMANTIC_LABEL_TABLE_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + Table = 5, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialPolygon2DDataEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialPolygon2DDataEXT.gen.cs new file mode 100644 index 0000000000..d82b46f478 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialPolygon2DDataEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialPolygon2DDataEXT")] +[SupportedApiProfile("openxr")] +public partial struct SpatialPolygon2DDataEXT +{ + [NativeName("origin")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public Posef Origin; + + [NativeName("vertexBuffer")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialBufferEXT VertexBuffer; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialRaycastInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialRaycastInfoANDROID.gen.cs new file mode 100644 index 0000000000..e69458d38c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialRaycastInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialRaycastInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialRaycastInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialRaycastInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("space")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpaceHandle Space; + + [NativeName("time")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public long Time; + + [NativeName("origin")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public Vector3F Origin; + + [NativeName("direction")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public Vector3F Direction; + + [NativeName("maxDistance")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public float MaxDistance; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialRaycastInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialRaycastResultDataANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialRaycastResultDataANDROID.gen.cs new file mode 100644 index 0000000000..fc59f74cfc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialRaycastResultDataANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialRaycastResultDataANDROID")] +[SupportedApiProfile("openxr")] +public partial struct SpatialRaycastResultDataANDROID +{ + [NativeName("hitPose")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public Posef HitPose; + + [NativeName("distanceSquared")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public float DistanceSquared; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialRaycastSnapshotCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialRaycastSnapshotCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..7f01c1ae9d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialRaycastSnapshotCreateInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialRaycastSnapshotCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialRaycastSnapshotCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSpatialRaycastSnapshotCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public void* Next; + + [NativeName("componentTypeCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public uint ComponentTypeCount; + + [NativeName("componentTypes")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialComponentTypeEXT* ComponentTypes; + + [NativeName("raycastInfo")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialRaycastInfoANDROID* RaycastInfo; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public SpatialRaycastSnapshotCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SpatialUpdateSnapshotCreateInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SpatialUpdateSnapshotCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..d1c0f4b457 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SpatialUpdateSnapshotCreateInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpatialUpdateSnapshotCreateInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SpatialUpdateSnapshotCreateInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeSpatialUpdateSnapshotCreateInfoEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("entityCount")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint EntityCount; + + [NativeName("entities")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialEntityHandleEXT* Entities; + + [NativeName("componentTypeCount")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public uint ComponentTypeCount; + + [NativeName("componentTypes")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialComponentTypeEXT* ComponentTypes; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public SpatialUpdateSnapshotCreateInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Spheref.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Spheref.gen.cs new file mode 100644 index 0000000000..db08ba8287 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Spheref.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSpheref")] +[SupportedApiProfile("openxr")] +public partial struct Spheref +{ + [NativeName("center")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public Posef Center; + + [NativeName("radius")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public float Radius; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SphericalHarmonicsANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SphericalHarmonicsANDROID.gen.cs new file mode 100644 index 0000000000..042978f307 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SphericalHarmonicsANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSphericalHarmonicsANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SphericalHarmonicsANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public StructureType Type = StructureType.TypeSphericalHarmonicsANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public void* Next; + + [NativeName("state")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public LightEstimateStateANDROID State; + + [NativeName("kind")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public SphericalHarmonicsKindANDROID Kind; + + [NativeName("coefficients")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public SphericalHarmonicsANDROIDCoefficients Coefficients; + + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public SphericalHarmonicsANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SphericalHarmonicsANDROIDCoefficients.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SphericalHarmonicsANDROIDCoefficients.gen.cs new file mode 100644 index 0000000000..aae6f7105c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SphericalHarmonicsANDROIDCoefficients.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_coefficients_e__FixedBuffer")] +[InlineArray(9 * 3)] +[SupportedApiProfile("openxr")] +public partial struct SphericalHarmonicsANDROIDCoefficients +{ + [NativeName("e0_0")] + [SupportedApiProfile("openxr")] + public float E0x0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SphericalHarmonicsKindANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SphericalHarmonicsKindANDROID.gen.cs new file mode 100644 index 0000000000..97c73d4d45 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SphericalHarmonicsKindANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSphericalHarmonicsKindANDROID")] +[SupportedApiProfile("openxr")] +public enum SphericalHarmonicsKindANDROID : uint +{ + [NativeName("XR_SPHERICAL_HARMONICS_KIND_TOTAL_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + Total = 0, + + [NativeName("XR_SPHERICAL_HARMONICS_KIND_AMBIENT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + Ambient = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/StationaryReferenceSpaceGenerationIdGetInfoEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/StationaryReferenceSpaceGenerationIdGetInfoEXT.gen.cs new file mode 100644 index 0000000000..30d629103c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/StationaryReferenceSpaceGenerationIdGetInfoEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrStationaryReferenceSpaceGenerationIdGetInfoEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct StationaryReferenceSpaceGenerationIdGetInfoEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_stationary_reference_space"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeStationaryReferenceSpaceGenerationIdGetInfoEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_stationary_reference_space"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public void* Next; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_stationary_reference_space"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public StationaryReferenceSpaceGenerationIdGetInfoEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/StationaryReferenceSpaceGenerationIdResultEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/StationaryReferenceSpaceGenerationIdResultEXT.gen.cs new file mode 100644 index 0000000000..c42e3850e9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/StationaryReferenceSpaceGenerationIdResultEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrStationaryReferenceSpaceGenerationIdResultEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct StationaryReferenceSpaceGenerationIdResultEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_stationary_reference_space"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeStationaryReferenceSpaceGenerationIdResultEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_stationary_reference_space"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("generationId")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_stationary_reference_space"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public Uuid GenerationId; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_stationary_reference_space"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public StationaryReferenceSpaceGenerationIdResultEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/StructureType.gen.cs b/sources/OpenXR/OpenXR/OpenXR/StructureType.gen.cs new file mode 100644 index 0000000000..fae2d481e6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/StructureType.gen.cs @@ -0,0 +1,3498 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrStructureType")] +[SupportedApiProfile("openxr")] +public enum StructureType : uint +{ + [NativeName("XR_TYPE_UNKNOWN")] + [SupportedApiProfile("openxr")] + TypeUnknown = 0, + + [NativeName("XR_TYPE_API_LAYER_PROPERTIES")] + [SupportedApiProfile("openxr")] + TypeApiLayerProperties = 1, + + [NativeName("XR_TYPE_EXTENSION_PROPERTIES")] + [SupportedApiProfile("openxr")] + TypeExtensionProperties = 2, + + [NativeName("XR_TYPE_INSTANCE_CREATE_INFO")] + [SupportedApiProfile("openxr")] + TypeInstanceCreateInfo = 3, + + [NativeName("XR_TYPE_SYSTEM_GET_INFO")] + [SupportedApiProfile("openxr")] + TypeSystemGetInfo = 4, + + [NativeName("XR_TYPE_SYSTEM_PROPERTIES")] + [SupportedApiProfile("openxr")] + TypeSystemProperties = 5, + + [NativeName("XR_TYPE_VIEW_LOCATE_INFO")] + [SupportedApiProfile("openxr")] + TypeViewLocateInfo = 6, + + [NativeName("XR_TYPE_VIEW")] + [SupportedApiProfile("openxr")] + TypeView = 7, + + [NativeName("XR_TYPE_SESSION_CREATE_INFO")] + [SupportedApiProfile("openxr")] + TypeSessionCreateInfo = 8, + + [NativeName("XR_TYPE_SWAPCHAIN_CREATE_INFO")] + [SupportedApiProfile("openxr")] + TypeSwapchainCreateInfo = 9, + + [NativeName("XR_TYPE_SESSION_BEGIN_INFO")] + [SupportedApiProfile("openxr")] + TypeSessionBeginInfo = 10, + + [NativeName("XR_TYPE_VIEW_STATE")] + [SupportedApiProfile("openxr")] + TypeViewState = 11, + + [NativeName("XR_TYPE_FRAME_END_INFO")] + [SupportedApiProfile("openxr")] + TypeFrameEndInfo = 12, + + [NativeName("XR_TYPE_HAPTIC_VIBRATION")] + [SupportedApiProfile("openxr")] + TypeHapticVibration = 13, + + [NativeName("XR_TYPE_EVENT_DATA_BUFFER")] + [SupportedApiProfile("openxr")] + TypeEventDataBuffer = 16, + + [NativeName("XR_TYPE_EVENT_DATA_INSTANCE_LOSS_PENDING")] + [SupportedApiProfile("openxr")] + TypeEventDataInstanceLossPending = 17, + + [NativeName("XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED")] + [SupportedApiProfile("openxr")] + TypeEventDataSessionStateChanged = 18, + + [NativeName("XR_TYPE_ACTION_STATE_BOOLEAN")] + [SupportedApiProfile("openxr")] + TypeActionStateBoolean = 23, + + [NativeName("XR_TYPE_ACTION_STATE_FLOAT")] + [SupportedApiProfile("openxr")] + TypeActionStateFloat = 24, + + [NativeName("XR_TYPE_ACTION_STATE_VECTOR2F")] + [SupportedApiProfile("openxr")] + TypeActionStateVector2F = 25, + + [NativeName("XR_TYPE_ACTION_STATE_POSE")] + [SupportedApiProfile("openxr")] + TypeActionStatePose = 27, + + [NativeName("XR_TYPE_ACTION_SET_CREATE_INFO")] + [SupportedApiProfile("openxr")] + TypeActionSetCreateInfo = 28, + + [NativeName("XR_TYPE_ACTION_CREATE_INFO")] + [SupportedApiProfile("openxr")] + TypeActionCreateInfo = 29, + + [NativeName("XR_TYPE_INSTANCE_PROPERTIES")] + [SupportedApiProfile("openxr")] + TypeInstanceProperties = 32, + + [NativeName("XR_TYPE_FRAME_WAIT_INFO")] + [SupportedApiProfile("openxr")] + TypeFrameWaitInfo = 33, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_PROJECTION")] + [SupportedApiProfile("openxr")] + TypeCompositionLayerProjection = 35, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_QUAD")] + [SupportedApiProfile("openxr")] + TypeCompositionLayerQuad = 36, + + [NativeName("XR_TYPE_REFERENCE_SPACE_CREATE_INFO")] + [SupportedApiProfile("openxr")] + TypeReferenceSpaceCreateInfo = 37, + + [NativeName("XR_TYPE_ACTION_SPACE_CREATE_INFO")] + [SupportedApiProfile("openxr")] + TypeActionSpaceCreateInfo = 38, + + [NativeName("XR_TYPE_EVENT_DATA_REFERENCE_SPACE_CHANGE_PENDING")] + [SupportedApiProfile("openxr")] + TypeEventDataReferenceSpaceChangePending = 40, + + [NativeName("XR_TYPE_VIEW_CONFIGURATION_VIEW")] + [SupportedApiProfile("openxr")] + TypeViewConfigurationView = 41, + + [NativeName("XR_TYPE_SPACE_LOCATION")] + [SupportedApiProfile("openxr")] + TypeSpaceLocation = 42, + + [NativeName("XR_TYPE_SPACE_VELOCITY")] + [SupportedApiProfile("openxr")] + TypeSpaceVelocity = 43, + + [NativeName("XR_TYPE_FRAME_STATE")] + [SupportedApiProfile("openxr")] + TypeFrameState = 44, + + [NativeName("XR_TYPE_VIEW_CONFIGURATION_PROPERTIES")] + [SupportedApiProfile("openxr")] + TypeViewConfigurationProperties = 45, + + [NativeName("XR_TYPE_FRAME_BEGIN_INFO")] + [SupportedApiProfile("openxr")] + TypeFrameBeginInfo = 46, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_PROJECTION_VIEW")] + [SupportedApiProfile("openxr")] + TypeCompositionLayerProjectionView = 48, + + [NativeName("XR_TYPE_EVENT_DATA_EVENTS_LOST")] + [SupportedApiProfile("openxr")] + TypeEventDataEventsLost = 49, + + [NativeName("XR_TYPE_INTERACTION_PROFILE_SUGGESTED_BINDING")] + [SupportedApiProfile("openxr")] + TypeInteractionProfileSuggestedBinding = 51, + + [NativeName("XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED")] + [SupportedApiProfile("openxr")] + TypeEventDataInteractionProfileChanged = 52, + + [NativeName("XR_TYPE_INTERACTION_PROFILE_STATE")] + [SupportedApiProfile("openxr")] + TypeInteractionProfileState = 53, + + [NativeName("XR_TYPE_SWAPCHAIN_IMAGE_ACQUIRE_INFO")] + [SupportedApiProfile("openxr")] + TypeSwapchainImageAcquireInfo = 55, + + [NativeName("XR_TYPE_SWAPCHAIN_IMAGE_WAIT_INFO")] + [SupportedApiProfile("openxr")] + TypeSwapchainImageWaitInfo = 56, + + [NativeName("XR_TYPE_SWAPCHAIN_IMAGE_RELEASE_INFO")] + [SupportedApiProfile("openxr")] + TypeSwapchainImageReleaseInfo = 57, + + [NativeName("XR_TYPE_ACTION_STATE_GET_INFO")] + [SupportedApiProfile("openxr")] + TypeActionStateGetInfo = 58, + + [NativeName("XR_TYPE_HAPTIC_ACTION_INFO")] + [SupportedApiProfile("openxr")] + TypeHapticActionInfo = 59, + + [NativeName("XR_TYPE_SESSION_ACTION_SETS_ATTACH_INFO")] + [SupportedApiProfile("openxr")] + TypeSessionActionSetsAttachInfo = 60, + + [NativeName("XR_TYPE_ACTIONS_SYNC_INFO")] + [SupportedApiProfile("openxr")] + TypeActionsSyncInfo = 61, + + [NativeName("XR_TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO")] + [SupportedApiProfile("openxr")] + TypeBoundSourcesForActionEnumerateInfo = 62, + + [NativeName("XR_TYPE_INPUT_SOURCE_LOCALIZED_NAME_GET_INFO")] + [SupportedApiProfile("openxr")] + TypeInputSourceLocalizedNameGetInfo = 63, + + [NativeName("XR_TYPE_SPACES_LOCATE_INFO")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + TypeSpacesLocateInfo = 1000471000, + + [NativeName("XR_TYPE_SPACE_LOCATIONS")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + TypeSpaceLocations = 1000471001, + + [NativeName("XR_TYPE_SPACE_VELOCITIES")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + TypeSpaceVelocities = 1000471002, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_CUBE_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cube"])] + TypeCompositionLayerCubeKHR = 1000006000, + + [NativeName("XR_TYPE_INSTANCE_CREATE_INFO_ANDROID_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_android_create_instance"])] + TypeInstanceCreateInfoAndroidKHR = 1000008000, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_depth"])] + TypeCompositionLayerDepthInfoKHR = 1000010000, + + [NativeName("XR_TYPE_VULKAN_SWAPCHAIN_FORMAT_LIST_CREATE_INFO_KHR")] + [SupportedApiProfile( + "openxr", + ["XR_KHR_vulkan_swapchain_format_list"], + ImpliesSets = ["XR_KHR_vulkan_enable", "XR_KHR_vulkan_enable2", "XR_VERSION_1_0"] + )] + TypeVulkanSwapchainFormatListCreateInfoKHR = 1000014000, + + [NativeName("XR_TYPE_EVENT_DATA_PERF_SETTINGS_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + TypeEventDataPerfSettingsEXT = 1000015000, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_CYLINDER_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + TypeCompositionLayerCylinderKHR = 1000017000, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_EQUIRECT_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + TypeCompositionLayerEquirectKHR = 1000018000, + + [NativeName("XR_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + TypeDebugUtilsObjectNameInfoEXT = 1000019000, + + [NativeName("XR_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + TypeDebugUtilsMessengerCallbackDataEXT = 1000019001, + + [NativeName("XR_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + TypeDebugUtilsMessengerCreateInfoEXT = 1000019002, + + [NativeName("XR_TYPE_DEBUG_UTILS_LABEL_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + TypeDebugUtilsLabelEXT = 1000019003, + + [NativeName("XR_TYPE_GRAPHICS_BINDING_OPENGL_WIN32_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_opengl_enable"])] + TypeGraphicsBindingOpenglWin32KHR = 1000023000, + + [NativeName("XR_TYPE_GRAPHICS_BINDING_OPENGL_XLIB_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_opengl_enable"])] + TypeGraphicsBindingOpenglXlibKHR = 1000023001, + + [NativeName("XR_TYPE_GRAPHICS_BINDING_OPENGL_XCB_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_opengl_enable"])] + TypeGraphicsBindingOpenglXcbKHR = 1000023002, + + [NativeName("XR_TYPE_GRAPHICS_BINDING_OPENGL_WAYLAND_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_opengl_enable"])] + TypeGraphicsBindingOpenglWaylandKHR = 1000023003, + + [NativeName("XR_TYPE_SWAPCHAIN_IMAGE_OPENGL_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_opengl_enable"])] + TypeSwapchainImageOpenglKHR = 1000023004, + + [NativeName("XR_TYPE_GRAPHICS_REQUIREMENTS_OPENGL_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_opengl_enable"])] + TypeGraphicsRequirementsOpenglKHR = 1000023005, + + [NativeName("XR_TYPE_GRAPHICS_BINDING_OPENGL_ES_ANDROID_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_opengl_es_enable"])] + TypeGraphicsBindingOpenglEsAndroidKHR = 1000024001, + + [NativeName("XR_TYPE_SWAPCHAIN_IMAGE_OPENGL_ES_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_opengl_es_enable"])] + TypeSwapchainImageOpenglEsKHR = 1000024002, + + [NativeName("XR_TYPE_GRAPHICS_REQUIREMENTS_OPENGL_ES_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_opengl_es_enable"])] + TypeGraphicsRequirementsOpenglEsKHR = 1000024003, + + [NativeName("XR_TYPE_GRAPHICS_BINDING_VULKAN_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_vulkan_enable"])] + TypeGraphicsBindingVulkanKHR = 1000025000, + + [NativeName("XR_TYPE_SWAPCHAIN_IMAGE_VULKAN_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_vulkan_enable"])] + TypeSwapchainImageVulkanKHR = 1000025001, + + [NativeName("XR_TYPE_GRAPHICS_REQUIREMENTS_VULKAN_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_vulkan_enable"])] + TypeGraphicsRequirementsVulkanKHR = 1000025002, + + [NativeName("XR_TYPE_GRAPHICS_BINDING_D3D11_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_D3D11_enable"])] + TypeGraphicsBindingD3D11KHR = 1000027000, + + [NativeName("XR_TYPE_SWAPCHAIN_IMAGE_D3D11_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_D3D11_enable"])] + TypeSwapchainImageD3D11KHR = 1000027001, + + [NativeName("XR_TYPE_GRAPHICS_REQUIREMENTS_D3D11_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_D3D11_enable"])] + TypeGraphicsRequirementsD3D11KHR = 1000027002, + + [NativeName("XR_TYPE_GRAPHICS_BINDING_D3D12_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_D3D12_enable"])] + TypeGraphicsBindingD3D12KHR = 1000028000, + + [NativeName("XR_TYPE_SWAPCHAIN_IMAGE_D3D12_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_D3D12_enable"])] + TypeSwapchainImageD3D12KHR = 1000028001, + + [NativeName("XR_TYPE_GRAPHICS_REQUIREMENTS_D3D12_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_D3D12_enable"])] + TypeGraphicsRequirementsD3D12KHR = 1000028002, + + [NativeName("XR_TYPE_GRAPHICS_BINDING_METAL_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_metal_enable"])] + TypeGraphicsBindingMetalKHR = 1000029000, + + [NativeName("XR_TYPE_SWAPCHAIN_IMAGE_METAL_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_metal_enable"])] + TypeSwapchainImageMetalKHR = 1000029001, + + [NativeName("XR_TYPE_GRAPHICS_REQUIREMENTS_METAL_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_metal_enable"])] + TypeGraphicsRequirementsMetalKHR = 1000029002, + + [NativeName("XR_TYPE_SYSTEM_EYE_GAZE_INTERACTION_PROPERTIES_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_eye_gaze_interaction"])] + TypeSystemEyeGazeInteractionPropertiesEXT = 1000030000, + + [NativeName("XR_TYPE_EYE_GAZE_SAMPLE_TIME_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_eye_gaze_interaction"])] + TypeEyeGazeSampleTimeEXT = 1000030001, + + [NativeName("XR_TYPE_VISIBILITY_MASK_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + TypeVisibilityMaskKHR = 1000031000, + + [NativeName("XR_TYPE_EVENT_DATA_VISIBILITY_MASK_CHANGED_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + TypeEventDataVisibilityMaskChangedKHR = 1000031001, + + [NativeName("XR_TYPE_SESSION_CREATE_INFO_OVERLAY_EXTX")] + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + TypeSessionCreateInfoOverlayEXTX = 1000033000, + + [NativeName("XR_TYPE_EVENT_DATA_MAIN_SESSION_VISIBILITY_CHANGED_EXTX")] + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + TypeEventDataMainSessionVisibilityChangedEXTX = 1000033003, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_color_scale_bias"])] + TypeCompositionLayerColorScaleBiasKHR = 1000034000, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_anchor"])] + TypeSpatialAnchorCreateInfoMSFT = 1000039000, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_SPACE_CREATE_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_anchor"])] + TypeSpatialAnchorSpaceCreateInfoMSFT = 1000039001, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_IMAGE_LAYOUT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_image_layout"])] + TypeCompositionLayerImageLayoutFB = 1000040000, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + TypeCompositionLayerAlphaBlendFB = 1000041001, + + [NativeName("XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_depth_range"])] + TypeViewConfigurationDepthRangeEXT = 1000046000, + + [NativeName("XR_TYPE_GRAPHICS_BINDING_EGL_MNDX")] + [SupportedApiProfile("openxr", ["XR_MNDX_egl_enable"])] + TypeGraphicsBindingEglMNDX = 1000048004, + + [NativeName("XR_TYPE_SPATIAL_GRAPH_NODE_SPACE_CREATE_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + TypeSpatialGraphNodeSpaceCreateInfoMSFT = 1000049000, + + [NativeName("XR_TYPE_SPATIAL_GRAPH_STATIC_NODE_BINDING_CREATE_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + TypeSpatialGraphStaticNodeBindingCreateInfoMSFT = 1000049001, + + [NativeName("XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_GET_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + TypeSpatialGraphNodeBindingPropertiesGetInfoMSFT = 1000049002, + + [NativeName("XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + TypeSpatialGraphNodeBindingPropertiesMSFT = 1000049003, + + [NativeName("XR_TYPE_SYSTEM_HAND_TRACKING_PROPERTIES_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + TypeSystemHandTrackingPropertiesEXT = 1000051000, + + [NativeName("XR_TYPE_HAND_TRACKER_CREATE_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + TypeHandTrackerCreateInfoEXT = 1000051001, + + [NativeName("XR_TYPE_HAND_JOINTS_LOCATE_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + TypeHandJointsLocateInfoEXT = 1000051002, + + [NativeName("XR_TYPE_HAND_JOINT_LOCATIONS_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + TypeHandJointLocationsEXT = 1000051003, + + [NativeName("XR_TYPE_HAND_JOINT_VELOCITIES_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + TypeHandJointVelocitiesEXT = 1000051004, + + [NativeName("XR_TYPE_SYSTEM_HAND_TRACKING_MESH_PROPERTIES_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeSystemHandTrackingMeshPropertiesMSFT = 1000052000, + + [NativeName("XR_TYPE_HAND_MESH_SPACE_CREATE_INFO_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeHandMeshSpaceCreateInfoMSFT = 1000052001, + + [NativeName("XR_TYPE_HAND_MESH_UPDATE_INFO_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeHandMeshUpdateInfoMSFT = 1000052002, + + [NativeName("XR_TYPE_HAND_MESH_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeHandMeshMSFT = 1000052003, + + [NativeName("XR_TYPE_HAND_POSE_TYPE_INFO_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeHandPoseTypeInfoMSFT = 1000052004, + + [NativeName("XR_TYPE_SECONDARY_VIEW_CONFIGURATION_SESSION_BEGIN_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + TypeSecondaryViewConfigurationSessionBeginInfoMSFT = 1000053000, + + [NativeName("XR_TYPE_SECONDARY_VIEW_CONFIGURATION_STATE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + TypeSecondaryViewConfigurationStateMSFT = 1000053001, + + [NativeName("XR_TYPE_SECONDARY_VIEW_CONFIGURATION_FRAME_STATE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + TypeSecondaryViewConfigurationFrameStateMSFT = 1000053002, + + [NativeName("XR_TYPE_SECONDARY_VIEW_CONFIGURATION_FRAME_END_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + TypeSecondaryViewConfigurationFrameEndInfoMSFT = 1000053003, + + [NativeName("XR_TYPE_SECONDARY_VIEW_CONFIGURATION_LAYER_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + TypeSecondaryViewConfigurationLayerInfoMSFT = 1000053004, + + [NativeName("XR_TYPE_SECONDARY_VIEW_CONFIGURATION_SWAPCHAIN_CREATE_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + TypeSecondaryViewConfigurationSwapchainCreateInfoMSFT = 1000053005, + + [NativeName("XR_TYPE_CONTROLLER_MODEL_KEY_STATE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + TypeControllerModelKeyStateMSFT = 1000055000, + + [NativeName("XR_TYPE_CONTROLLER_MODEL_NODE_PROPERTIES_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + TypeControllerModelNodePropertiesMSFT = 1000055001, + + [NativeName("XR_TYPE_CONTROLLER_MODEL_PROPERTIES_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + TypeControllerModelPropertiesMSFT = 1000055002, + + [NativeName("XR_TYPE_CONTROLLER_MODEL_NODE_STATE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + TypeControllerModelNodeStateMSFT = 1000055003, + + [NativeName("XR_TYPE_CONTROLLER_MODEL_STATE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + TypeControllerModelStateMSFT = 1000055004, + + [NativeName("XR_TYPE_VIEW_CONFIGURATION_VIEW_FOV_EPIC")] + [SupportedApiProfile("openxr", ["XR_EPIC_view_configuration_fov"])] + TypeViewConfigurationViewFovEPIC = 1000059000, + + [NativeName("XR_TYPE_HOLOGRAPHIC_WINDOW_ATTACHMENT_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_holographic_window_attachment"])] + TypeHolographicWindowAttachmentMSFT = 1000063000, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_REPROJECTION_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + TypeCompositionLayerReprojectionInfoMSFT = 1000066000, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_REPROJECTION_PLANE_OVERRIDE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + TypeCompositionLayerReprojectionPlaneOverrideMSFT = 1000066001, + + [NativeName("XR_TYPE_ANDROID_SURFACE_SWAPCHAIN_CREATE_INFO_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_android_surface_swapchain_create"], + ImpliesSets = ["XR_KHR_android_surface_swapchain", "XR_VERSION_1_0"] + )] + TypeAndroidSurfaceSwapchainCreateInfoFB = 1000070000, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_SECURE_CONTENT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_secure_content"])] + TypeCompositionLayerSecureContentFB = 1000072000, + + [NativeName("XR_TYPE_BODY_TRACKER_CREATE_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + TypeBodyTrackerCreateInfoFB = 1000076001, + + [NativeName("XR_TYPE_BODY_JOINTS_LOCATE_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + TypeBodyJointsLocateInfoFB = 1000076002, + + [NativeName("XR_TYPE_SYSTEM_BODY_TRACKING_PROPERTIES_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + TypeSystemBodyTrackingPropertiesFB = 1000076004, + + [NativeName("XR_TYPE_BODY_JOINT_LOCATIONS_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + TypeBodyJointLocationsFB = 1000076005, + + [NativeName("XR_TYPE_BODY_SKELETON_FB")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + TypeBodySkeletonFB = 1000076006, + + [NativeName("XR_TYPE_INTERACTION_PROFILE_DPAD_BINDING_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + TypeInteractionProfileDpadBindingEXT = 1000078000, + + [NativeName("XR_TYPE_INTERACTION_PROFILE_ANALOG_THRESHOLD_VALVE")] + [SupportedApiProfile("openxr", ["XR_VALVE_analog_threshold"])] + TypeInteractionProfileAnalogThresholdVALVE = 1000079000, + + [NativeName("XR_TYPE_HAND_JOINTS_MOTION_RANGE_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_joints_motion_range"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeHandJointsMotionRangeInfoEXT = 1000080000, + + [NativeName("XR_TYPE_LOADER_INIT_INFO_ANDROID_KHR")] + [SupportedApiProfile( + "openxr", + ["XR_KHR_loader_init_android"], + ImpliesSets = ["XR_KHR_loader_init", "XR_VERSION_1_0"] + )] + TypeLoaderInitInfoAndroidKHR = 1000089000, + + [NativeName("XR_TYPE_VULKAN_INSTANCE_CREATE_INFO_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_vulkan_enable2"])] + TypeVulkanInstanceCreateInfoKHR = 1000090000, + + [NativeName("XR_TYPE_VULKAN_DEVICE_CREATE_INFO_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_vulkan_enable2"])] + TypeVulkanDeviceCreateInfoKHR = 1000090001, + + [NativeName("XR_TYPE_VULKAN_GRAPHICS_DEVICE_GET_INFO_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_vulkan_enable2"])] + TypeVulkanGraphicsDeviceGetInfoKHR = 1000090003, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_EQUIRECT2_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + TypeCompositionLayerEquirect2KHR = 1000091000, + + [NativeName("XR_TYPE_SCENE_OBSERVER_CREATE_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneObserverCreateInfoMSFT = 1000097000, + + [NativeName("XR_TYPE_SCENE_CREATE_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneCreateInfoMSFT = 1000097001, + + [NativeName("XR_TYPE_NEW_SCENE_COMPUTE_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeNewSceneComputeInfoMSFT = 1000097002, + + [NativeName("XR_TYPE_VISUAL_MESH_COMPUTE_LOD_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeVisualMeshComputeLodInfoMSFT = 1000097003, + + [NativeName("XR_TYPE_SCENE_COMPONENTS_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneComponentsMSFT = 1000097004, + + [NativeName("XR_TYPE_SCENE_COMPONENTS_GET_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneComponentsGetInfoMSFT = 1000097005, + + [NativeName("XR_TYPE_SCENE_COMPONENT_LOCATIONS_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneComponentLocationsMSFT = 1000097006, + + [NativeName("XR_TYPE_SCENE_COMPONENTS_LOCATE_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneComponentsLocateInfoMSFT = 1000097007, + + [NativeName("XR_TYPE_SCENE_OBJECTS_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneObjectsMSFT = 1000097008, + + [NativeName("XR_TYPE_SCENE_COMPONENT_PARENT_FILTER_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneComponentParentFilterInfoMSFT = 1000097009, + + [NativeName("XR_TYPE_SCENE_OBJECT_TYPES_FILTER_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneObjectTypesFilterInfoMSFT = 1000097010, + + [NativeName("XR_TYPE_SCENE_PLANES_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeScenePlanesMSFT = 1000097011, + + [NativeName("XR_TYPE_SCENE_PLANE_ALIGNMENT_FILTER_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeScenePlaneAlignmentFilterInfoMSFT = 1000097012, + + [NativeName("XR_TYPE_SCENE_MESHES_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneMeshesMSFT = 1000097013, + + [NativeName("XR_TYPE_SCENE_MESH_BUFFERS_GET_INFO_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneMeshBuffersGetInfoMSFT = 1000097014, + + [NativeName("XR_TYPE_SCENE_MESH_BUFFERS_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneMeshBuffersMSFT = 1000097015, + + [NativeName("XR_TYPE_SCENE_MESH_VERTEX_BUFFER_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneMeshVertexBufferMSFT = 1000097016, + + [NativeName("XR_TYPE_SCENE_MESH_INDICES_UINT32_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneMeshIndicesUint32MSFT = 1000097017, + + [NativeName("XR_TYPE_SCENE_MESH_INDICES_UINT16_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + TypeSceneMeshIndicesUint16MSFT = 1000097018, + + [NativeName("XR_TYPE_SERIALIZED_SCENE_FRAGMENT_DATA_GET_INFO_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + TypeSerializedSceneFragmentDataGetInfoMSFT = 1000098000, + + [NativeName("XR_TYPE_SCENE_DESERIALIZE_INFO_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + TypeSceneDeserializeInfoMSFT = 1000098001, + + [NativeName("XR_TYPE_EVENT_DATA_DISPLAY_REFRESH_RATE_CHANGED_FB")] + [SupportedApiProfile("openxr", ["XR_FB_display_refresh_rate"])] + TypeEventDataDisplayRefreshRateChangedFB = 1000101000, + + [NativeName("XR_TYPE_VIVE_TRACKER_PATHS_HTCX")] + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + TypeViveTrackerPathsHTCX = 1000103000, + + [NativeName("XR_TYPE_EVENT_DATA_VIVE_TRACKER_CONNECTED_HTCX")] + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + TypeEventDataViveTrackerConnectedHTCX = 1000103001, + + [NativeName("XR_TYPE_SYSTEM_FACIAL_TRACKING_PROPERTIES_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TypeSystemFacialTrackingPropertiesHTC = 1000104000, + + [NativeName("XR_TYPE_FACIAL_TRACKER_CREATE_INFO_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TypeFacialTrackerCreateInfoHTC = 1000104001, + + [NativeName("XR_TYPE_FACIAL_EXPRESSIONS_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + TypeFacialExpressionsHTC = 1000104002, + + [NativeName("XR_TYPE_SYSTEM_COLOR_SPACE_PROPERTIES_FB")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + TypeSystemColorSpacePropertiesFB = 1000108000, + + [NativeName("XR_TYPE_HAND_TRACKING_MESH_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeHandTrackingMeshFB = 1000110001, + + [NativeName("XR_TYPE_HAND_TRACKING_SCALE_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeHandTrackingScaleFB = 1000110003, + + [NativeName("XR_TYPE_HAND_TRACKING_AIM_STATE_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_aim"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeHandTrackingAimStateFB = 1000111001, + + [NativeName("XR_TYPE_HAND_TRACKING_CAPSULES_STATE_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeHandTrackingCapsulesStateFB = 1000112000, + + [NativeName("XR_TYPE_SYSTEM_SPATIAL_ENTITY_PROPERTIES_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + TypeSystemSpatialEntityPropertiesFB = 1000113004, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + TypeSpatialAnchorCreateInfoFB = 1000113003, + + [NativeName("XR_TYPE_SPACE_COMPONENT_STATUS_SET_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + TypeSpaceComponentStatusSetInfoFB = 1000113007, + + [NativeName("XR_TYPE_SPACE_COMPONENT_STATUS_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + TypeSpaceComponentStatusFB = 1000113001, + + [NativeName("XR_TYPE_EVENT_DATA_SPATIAL_ANCHOR_CREATE_COMPLETE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + TypeEventDataSpatialAnchorCreateCompleteFB = 1000113005, + + [NativeName("XR_TYPE_EVENT_DATA_SPACE_SET_STATUS_COMPLETE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + TypeEventDataSpaceSetStatusCompleteFB = 1000113006, + + [NativeName("XR_TYPE_FOVEATION_PROFILE_CREATE_INFO_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + TypeFoveationProfileCreateInfoFB = 1000114000, + + [NativeName("XR_TYPE_SWAPCHAIN_CREATE_INFO_FOVEATION_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + TypeSwapchainCreateInfoFoveationFB = 1000114001, + + [NativeName("XR_TYPE_SWAPCHAIN_STATE_FOVEATION_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + TypeSwapchainStateFoveationFB = 1000114002, + + [NativeName("XR_TYPE_FOVEATION_LEVEL_PROFILE_CREATE_INFO_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + TypeFoveationLevelProfileCreateInfoFB = 1000115000, + + [NativeName("XR_TYPE_KEYBOARD_SPACE_CREATE_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + TypeKeyboardSpaceCreateInfoFB = 1000116009, + + [NativeName("XR_TYPE_KEYBOARD_TRACKING_QUERY_FB")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + TypeKeyboardTrackingQueryFB = 1000116004, + + [NativeName("XR_TYPE_SYSTEM_KEYBOARD_TRACKING_PROPERTIES_FB")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + TypeSystemKeyboardTrackingPropertiesFB = 1000116002, + + [NativeName("XR_TYPE_TRIANGLE_MESH_CREATE_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + TypeTriangleMeshCreateInfoFB = 1000117001, + + [NativeName("XR_TYPE_SYSTEM_PASSTHROUGH_PROPERTIES_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + TypeSystemPassthroughPropertiesFB = 1000118000, + + [NativeName("XR_TYPE_PASSTHROUGH_CREATE_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + TypePassthroughCreateInfoFB = 1000118001, + + [NativeName("XR_TYPE_PASSTHROUGH_LAYER_CREATE_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + TypePassthroughLayerCreateInfoFB = 1000118002, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_PASSTHROUGH_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + TypeCompositionLayerPassthroughFB = 1000118003, + + [NativeName("XR_TYPE_GEOMETRY_INSTANCE_CREATE_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + TypeGeometryInstanceCreateInfoFB = 1000118004, + + [NativeName("XR_TYPE_GEOMETRY_INSTANCE_TRANSFORM_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + TypeGeometryInstanceTransformFB = 1000118005, + + [NativeName("XR_TYPE_SYSTEM_PASSTHROUGH_PROPERTIES2_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + TypeSystemPassthroughProperties2FB = 1000118006, + + [NativeName("XR_TYPE_PASSTHROUGH_STYLE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + TypePassthroughStyleFB = 1000118020, + + [NativeName("XR_TYPE_PASSTHROUGH_COLOR_MAP_MONO_TO_RGBA_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + TypePassthroughColorMapMonoToRgbaFB = 1000118021, + + [NativeName("XR_TYPE_PASSTHROUGH_COLOR_MAP_MONO_TO_MONO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + TypePassthroughColorMapMonoToMonoFB = 1000118022, + + [NativeName("XR_TYPE_PASSTHROUGH_BRIGHTNESS_CONTRAST_SATURATION_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + TypePassthroughBrightnessContrastSaturationFB = 1000118023, + + [NativeName("XR_TYPE_EVENT_DATA_PASSTHROUGH_STATE_CHANGED_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + TypeEventDataPassthroughStateChangedFB = 1000118030, + + [NativeName("XR_TYPE_RENDER_MODEL_PATH_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + TypeRenderModelPathInfoFB = 1000119000, + + [NativeName("XR_TYPE_RENDER_MODEL_PROPERTIES_FB")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + TypeRenderModelPropertiesFB = 1000119001, + + [NativeName("XR_TYPE_RENDER_MODEL_BUFFER_FB")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + TypeRenderModelBufferFB = 1000119002, + + [NativeName("XR_TYPE_RENDER_MODEL_LOAD_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + TypeRenderModelLoadInfoFB = 1000119003, + + [NativeName("XR_TYPE_SYSTEM_RENDER_MODEL_PROPERTIES_FB")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + TypeSystemRenderModelPropertiesFB = 1000119004, + + [NativeName("XR_TYPE_RENDER_MODEL_CAPABILITIES_REQUEST_FB")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + TypeRenderModelCapabilitiesRequestFB = 1000119005, + + [NativeName("XR_TYPE_BINDING_MODIFICATIONS_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_binding_modification"])] + TypeBindingModificationsKHR = 1000120000, + + [NativeName("XR_TYPE_VIEW_LOCATE_FOVEATED_RENDERING_VARJO")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + TypeViewLocateFoveatedRenderingVARJO = 1000121000, + + [NativeName("XR_TYPE_FOVEATED_VIEW_CONFIGURATION_VIEW_VARJO")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + TypeFoveatedViewConfigurationViewVARJO = 1000121001, + + [NativeName("XR_TYPE_SYSTEM_FOVEATED_RENDERING_PROPERTIES_VARJO")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + TypeSystemFoveatedRenderingPropertiesVARJO = 1000121002, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_VARJO")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_composition_layer_depth_test"], + ImpliesSets = ["XR_KHR_composition_layer_depth", "XR_VERSION_1_0"] + )] + TypeCompositionLayerDepthTestVARJO = 1000122000, + + [NativeName("XR_TYPE_SYSTEM_MARKER_TRACKING_PROPERTIES_VARJO")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + TypeSystemMarkerTrackingPropertiesVARJO = 1000124000, + + [NativeName("XR_TYPE_EVENT_DATA_MARKER_TRACKING_UPDATE_VARJO")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + TypeEventDataMarkerTrackingUpdateVARJO = 1000124001, + + [NativeName("XR_TYPE_MARKER_SPACE_CREATE_INFO_VARJO")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + TypeMarkerSpaceCreateInfoVARJO = 1000124002, + + [NativeName("XR_TYPE_FRAME_END_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_frame_end_info"])] + TypeFrameEndInfoML = 1000135000, + + [NativeName("XR_TYPE_GLOBAL_DIMMER_FRAME_END_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_global_dimmer"])] + TypeGlobalDimmerFrameEndInfoML = 1000136000, + + [NativeName("XR_TYPE_COORDINATE_SPACE_CREATE_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_compat"])] + TypeCoordinateSpaceCreateInfoML = 1000137000, + + [NativeName("XR_TYPE_SYSTEM_MARKER_UNDERSTANDING_PROPERTIES_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + TypeSystemMarkerUnderstandingPropertiesML = 1000138000, + + [NativeName("XR_TYPE_MARKER_DETECTOR_CREATE_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + TypeMarkerDetectorCreateInfoML = 1000138001, + + [NativeName("XR_TYPE_MARKER_DETECTOR_ARUCO_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + TypeMarkerDetectorArucoInfoML = 1000138002, + + [NativeName("XR_TYPE_MARKER_DETECTOR_SIZE_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + TypeMarkerDetectorSizeInfoML = 1000138003, + + [NativeName("XR_TYPE_MARKER_DETECTOR_APRIL_TAG_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + TypeMarkerDetectorAprilTagInfoML = 1000138004, + + [NativeName("XR_TYPE_MARKER_DETECTOR_CUSTOM_PROFILE_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + TypeMarkerDetectorCustomProfileInfoML = 1000138005, + + [NativeName("XR_TYPE_MARKER_DETECTOR_SNAPSHOT_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + TypeMarkerDetectorSnapshotInfoML = 1000138006, + + [NativeName("XR_TYPE_MARKER_DETECTOR_STATE_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + TypeMarkerDetectorStateML = 1000138007, + + [NativeName("XR_TYPE_MARKER_SPACE_CREATE_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + TypeMarkerSpaceCreateInfoML = 1000138008, + + [NativeName("XR_TYPE_LOCALIZATION_MAP_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + TypeLocalizationMapML = 1000139000, + + [NativeName("XR_TYPE_EVENT_DATA_LOCALIZATION_CHANGED_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + TypeEventDataLocalizationChangedML = 1000139001, + + [NativeName("XR_TYPE_MAP_LOCALIZATION_REQUEST_INFO_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + TypeMapLocalizationRequestInfoML = 1000139002, + + [NativeName("XR_TYPE_LOCALIZATION_MAP_IMPORT_INFO_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + TypeLocalizationMapImportInfoML = 1000139003, + + [NativeName("XR_TYPE_LOCALIZATION_ENABLE_EVENTS_INFO_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + TypeLocalizationEnableEventsInfoML = 1000139004, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_CREATE_INFO_FROM_POSE_ML")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialAnchorsCreateInfoFromPoseML = 1000140000, + + [NativeName("XR_TYPE_CREATE_SPATIAL_ANCHORS_COMPLETION_ML")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + TypeCreateSpatialAnchorsCompletionML = 1000140001, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_STATE_ML")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialAnchorStateML = 1000140002, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_CREATE_STORAGE_INFO_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsCreateStorageInfoML = 1000141000, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_QUERY_INFO_RADIUS_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsQueryInfoRadiusML = 1000141001, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_QUERY_COMPLETION_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsQueryCompletionML = 1000141002, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_CREATE_INFO_FROM_UUIDS_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsCreateInfoFromUuidsML = 1000141003, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_PUBLISH_INFO_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsPublishInfoML = 1000141004, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_PUBLISH_COMPLETION_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsPublishCompletionML = 1000141005, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_DELETE_INFO_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsDeleteInfoML = 1000141006, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_DELETE_COMPLETION_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsDeleteCompletionML = 1000141007, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_UPDATE_EXPIRATION_INFO_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsUpdateExpirationInfoML = 1000141008, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_UPDATE_EXPIRATION_COMPLETION_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsUpdateExpirationCompletionML = 1000141009, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_PUBLISH_COMPLETION_DETAILS_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsPublishCompletionDetailsML = 1000141010, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_DELETE_COMPLETION_DETAILS_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsDeleteCompletionDetailsML = 1000141011, + + [NativeName("XR_TYPE_SPATIAL_ANCHORS_UPDATE_EXPIRATION_COMPLETION_DETAILS_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + TypeSpatialAnchorsUpdateExpirationCompletionDetailsML = 1000141012, + + [NativeName("XR_TYPE_EVENT_DATA_HEADSET_FIT_CHANGED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + TypeEventDataHeadsetFitChangedML = 1000472000, + + [NativeName("XR_TYPE_EVENT_DATA_EYE_CALIBRATION_CHANGED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + TypeEventDataEyeCalibrationChangedML = 1000472001, + + [NativeName("XR_TYPE_USER_CALIBRATION_ENABLE_EVENTS_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + TypeUserCalibrationEnableEventsInfoML = 1000472002, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_PERSISTENCE_INFO_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + TypeSpatialAnchorPersistenceInfoMSFT = 1000142000, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_FROM_PERSISTED_ANCHOR_CREATE_INFO_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + TypeSpatialAnchorFromPersistedAnchorCreateInfoMSFT = 1000142001, + + [NativeName("XR_TYPE_SCENE_MARKERS_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + TypeSceneMarkersMSFT = 1000147000, + + [NativeName("XR_TYPE_SCENE_MARKER_TYPE_FILTER_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + TypeSceneMarkerTypeFilterMSFT = 1000147001, + + [NativeName("XR_TYPE_SCENE_MARKER_QR_CODES_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + TypeSceneMarkerQrCodesMSFT = 1000147002, + + [NativeName("XR_TYPE_SPACE_QUERY_INFO_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + TypeSpaceQueryInfoFB = 1000156001, + + [NativeName("XR_TYPE_SPACE_QUERY_RESULTS_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + TypeSpaceQueryResultsFB = 1000156002, + + [NativeName("XR_TYPE_SPACE_STORAGE_LOCATION_FILTER_INFO_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + TypeSpaceStorageLocationFilterInfoFB = 1000156003, + + [NativeName("XR_TYPE_SPACE_UUID_FILTER_INFO_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + TypeSpaceUuidFilterInfoFB = 1000156054, + + [NativeName("XR_TYPE_SPACE_COMPONENT_FILTER_INFO_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + TypeSpaceComponentFilterInfoFB = 1000156052, + + [NativeName("XR_TYPE_EVENT_DATA_SPACE_QUERY_RESULTS_AVAILABLE_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + TypeEventDataSpaceQueryResultsAvailableFB = 1000156103, + + [NativeName("XR_TYPE_EVENT_DATA_SPACE_QUERY_COMPLETE_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + TypeEventDataSpaceQueryCompleteFB = 1000156104, + + [NativeName("XR_TYPE_SPACE_SAVE_INFO_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeSpaceSaveInfoFB = 1000158000, + + [NativeName("XR_TYPE_SPACE_ERASE_INFO_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeSpaceEraseInfoFB = 1000158001, + + [NativeName("XR_TYPE_EVENT_DATA_SPACE_SAVE_COMPLETE_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeEventDataSpaceSaveCompleteFB = 1000158106, + + [NativeName("XR_TYPE_EVENT_DATA_SPACE_ERASE_COMPLETE_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeEventDataSpaceEraseCompleteFB = 1000158107, + + [NativeName("XR_TYPE_SWAPCHAIN_IMAGE_FOVEATION_VULKAN_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_vulkan"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + TypeSwapchainImageFoveationVulkanFB = 1000160000, + + [NativeName("XR_TYPE_SWAPCHAIN_STATE_ANDROID_SURFACE_DIMENSIONS_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_swapchain_update_state_android_surface"], + ImpliesSets = [ + "XR_FB_swapchain_update_state", + "XR_KHR_android_surface_swapchain", + "XR_VERSION_1_0", + ] + )] + TypeSwapchainStateAndroidSurfaceDimensionsFB = 1000161000, + + [NativeName("XR_TYPE_SWAPCHAIN_STATE_SAMPLER_OPENGL_ES_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_swapchain_update_state_opengl_es"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_KHR_opengl_es_enable"] + )] + TypeSwapchainStateSamplerOpenglEsFB = 1000162000, + + [NativeName("XR_TYPE_SWAPCHAIN_STATE_SAMPLER_VULKAN_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_swapchain_update_state_vulkan"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_KHR_vulkan_enable", "XR_VERSION_1_0"] + )] + TypeSwapchainStateSamplerVulkanFB = 1000163000, + + [NativeName("XR_TYPE_SPACE_SHARE_INFO_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeSpaceShareInfoFB = 1000169001, + + [NativeName("XR_TYPE_EVENT_DATA_SPACE_SHARE_COMPLETE_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeEventDataSpaceShareCompleteFB = 1000169002, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_SPACE_WARP_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + TypeCompositionLayerSpaceWarpInfoFB = 1000171000, + + [NativeName("XR_TYPE_SYSTEM_SPACE_WARP_PROPERTIES_FB")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + TypeSystemSpaceWarpPropertiesFB = 1000171001, + + [NativeName("XR_TYPE_HAPTIC_AMPLITUDE_ENVELOPE_VIBRATION_FB")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_amplitude_envelope"])] + TypeHapticAmplitudeEnvelopeVibrationFB = 1000173001, + + [NativeName("XR_TYPE_SEMANTIC_LABELS_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeSemanticLabelsFB = 1000175000, + + [NativeName("XR_TYPE_ROOM_LAYOUT_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeRoomLayoutFB = 1000175001, + + [NativeName("XR_TYPE_BOUNDARY_2D_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeBoundary2DFB = 1000175002, + + [NativeName("XR_TYPE_SEMANTIC_LABELS_SUPPORT_INFO_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeSemanticLabelsSupportInfoFB = 1000175010, + + [NativeName("XR_TYPE_DIGITAL_LENS_CONTROL_ALMALENCE")] + [SupportedApiProfile("openxr", ["XR_ALMALENCE_digital_lens_control"])] + TypeDigitalLensControlALMALENCE = 1000196000, + + [NativeName("XR_TYPE_EVENT_DATA_SCENE_CAPTURE_COMPLETE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + TypeEventDataSceneCaptureCompleteFB = 1000198001, + + [NativeName("XR_TYPE_SCENE_CAPTURE_REQUEST_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + TypeSceneCaptureRequestInfoFB = 1000198050, + + [NativeName("XR_TYPE_SPACE_CONTAINER_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_container"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeSpaceContainerFB = 1000199000, + + [NativeName("XR_TYPE_FOVEATION_EYE_TRACKED_PROFILE_CREATE_INFO_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + TypeFoveationEyeTrackedProfileCreateInfoMETA = 1000200000, + + [NativeName("XR_TYPE_FOVEATION_EYE_TRACKED_STATE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + TypeFoveationEyeTrackedStateMETA = 1000200001, + + [NativeName("XR_TYPE_SYSTEM_FOVEATION_EYE_TRACKED_PROPERTIES_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + TypeSystemFoveationEyeTrackedPropertiesMETA = 1000200002, + + [NativeName("XR_TYPE_SYSTEM_FACE_TRACKING_PROPERTIES_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + TypeSystemFaceTrackingPropertiesFB = 1000201004, + + [NativeName("XR_TYPE_FACE_TRACKER_CREATE_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + TypeFaceTrackerCreateInfoFB = 1000201005, + + [NativeName("XR_TYPE_FACE_EXPRESSION_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + TypeFaceExpressionInfoFB = 1000201002, + + [NativeName("XR_TYPE_FACE_EXPRESSION_WEIGHTS_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + TypeFaceExpressionWeightsFB = 1000201006, + + [NativeName("XR_TYPE_EYE_TRACKER_CREATE_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + TypeEyeTrackerCreateInfoFB = 1000202001, + + [NativeName("XR_TYPE_EYE_GAZES_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + TypeEyeGazesInfoFB = 1000202002, + + [NativeName("XR_TYPE_EYE_GAZES_FB")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + TypeEyeGazesFB = 1000202003, + + [NativeName("XR_TYPE_SYSTEM_EYE_TRACKING_PROPERTIES_FB")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + TypeSystemEyeTrackingPropertiesFB = 1000202004, + + [NativeName("XR_TYPE_PASSTHROUGH_KEYBOARD_HANDS_INTENSITY_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_passthrough_keyboard_hands"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + TypePassthroughKeyboardHandsIntensityFB = 1000203002, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_SETTINGS_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_settings"])] + TypeCompositionLayerSettingsFB = 1000204000, + + [NativeName("XR_TYPE_HAPTIC_PCM_VIBRATION_FB")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + TypeHapticPcmVibrationFB = 1000209001, + + [NativeName("XR_TYPE_DEVICE_PCM_SAMPLE_RATE_STATE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + TypeDevicePcmSampleRateStateFB = 1000209002, + + [NativeName("XR_TYPE_FRAME_SYNTHESIS_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + TypeFrameSynthesisInfoEXT = 1000211000, + + [NativeName("XR_TYPE_FRAME_SYNTHESIS_CONFIG_VIEW_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + TypeFrameSynthesisConfigViewEXT = 1000211001, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_FB")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + TypeCompositionLayerDepthTestFB = 1000212000, + + [NativeName("XR_TYPE_LOCAL_DIMMING_FRAME_END_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_local_dimming"])] + TypeLocalDimmingFrameEndInfoMETA = 1000216000, + + [NativeName("XR_TYPE_PASSTHROUGH_PREFERENCES_META")] + [SupportedApiProfile("openxr", ["XR_META_passthrough_preferences"])] + TypePassthroughPreferencesMETA = 1000217000, + + [NativeName("XR_TYPE_SYSTEM_VIRTUAL_KEYBOARD_PROPERTIES_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeSystemVirtualKeyboardPropertiesMETA = 1000219001, + + [NativeName("XR_TYPE_VIRTUAL_KEYBOARD_CREATE_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeVirtualKeyboardCreateInfoMETA = 1000219002, + + [NativeName("XR_TYPE_VIRTUAL_KEYBOARD_SPACE_CREATE_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeVirtualKeyboardSpaceCreateInfoMETA = 1000219003, + + [NativeName("XR_TYPE_VIRTUAL_KEYBOARD_LOCATION_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeVirtualKeyboardLocationInfoMETA = 1000219004, + + [NativeName("XR_TYPE_VIRTUAL_KEYBOARD_MODEL_VISIBILITY_SET_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeVirtualKeyboardModelVisibilitySetInfoMETA = 1000219005, + + [NativeName("XR_TYPE_VIRTUAL_KEYBOARD_ANIMATION_STATE_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeVirtualKeyboardAnimationStateMETA = 1000219006, + + [NativeName("XR_TYPE_VIRTUAL_KEYBOARD_MODEL_ANIMATION_STATES_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeVirtualKeyboardModelAnimationStatesMETA = 1000219007, + + [NativeName("XR_TYPE_VIRTUAL_KEYBOARD_TEXTURE_DATA_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeVirtualKeyboardTextureDataMETA = 1000219009, + + [NativeName("XR_TYPE_VIRTUAL_KEYBOARD_INPUT_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeVirtualKeyboardInputInfoMETA = 1000219010, + + [NativeName("XR_TYPE_VIRTUAL_KEYBOARD_TEXT_CONTEXT_CHANGE_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeVirtualKeyboardTextContextChangeInfoMETA = 1000219011, + + [NativeName("XR_TYPE_EVENT_DATA_VIRTUAL_KEYBOARD_COMMIT_TEXT_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeEventDataVirtualKeyboardCommitTextMETA = 1000219014, + + [NativeName("XR_TYPE_EVENT_DATA_VIRTUAL_KEYBOARD_BACKSPACE_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeEventDataVirtualKeyboardBackspaceMETA = 1000219015, + + [NativeName("XR_TYPE_EVENT_DATA_VIRTUAL_KEYBOARD_ENTER_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeEventDataVirtualKeyboardEnterMETA = 1000219016, + + [NativeName("XR_TYPE_EVENT_DATA_VIRTUAL_KEYBOARD_SHOWN_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeEventDataVirtualKeyboardShownMETA = 1000219017, + + [NativeName("XR_TYPE_EVENT_DATA_VIRTUAL_KEYBOARD_HIDDEN_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + TypeEventDataVirtualKeyboardHiddenMETA = 1000219018, + + [NativeName("XR_TYPE_EXTERNAL_CAMERA_OCULUS")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + TypeExternalCameraOCULUS = 1000226000, + + [NativeName("XR_TYPE_VULKAN_SWAPCHAIN_CREATE_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_vulkan_swapchain_create_info"])] + TypeVulkanSwapchainCreateInfoMETA = 1000227000, + + [NativeName("XR_TYPE_PERFORMANCE_METRICS_STATE_META")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + TypePerformanceMetricsStateMETA = 1000232001, + + [NativeName("XR_TYPE_PERFORMANCE_METRICS_COUNTER_META")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + TypePerformanceMetricsCounterMETA = 1000232002, + + [NativeName("XR_TYPE_SPACE_LIST_SAVE_INFO_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + TypeSpaceListSaveInfoFB = 1000238000, + + [NativeName("XR_TYPE_EVENT_DATA_SPACE_LIST_SAVE_COMPLETE_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + TypeEventDataSpaceListSaveCompleteFB = 1000238001, + + [NativeName("XR_TYPE_SPACE_USER_CREATE_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity_user"])] + TypeSpaceUserCreateInfoFB = 1000241001, + + [NativeName("XR_TYPE_SYSTEM_HEADSET_ID_PROPERTIES_META")] + [SupportedApiProfile("openxr", ["XR_META_headset_id"])] + TypeSystemHeadsetIdPropertiesMETA = 1000245000, + + [NativeName("XR_TYPE_SYSTEM_SPACE_DISCOVERY_PROPERTIES_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + TypeSystemSpaceDiscoveryPropertiesMETA = 1000247000, + + [NativeName("XR_TYPE_SPACE_DISCOVERY_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + TypeSpaceDiscoveryInfoMETA = 1000247001, + + [NativeName("XR_TYPE_SPACE_FILTER_UUID_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + TypeSpaceFilterUuidMETA = 1000247003, + + [NativeName("XR_TYPE_SPACE_FILTER_COMPONENT_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + TypeSpaceFilterComponentMETA = 1000247004, + + [NativeName("XR_TYPE_SPACE_DISCOVERY_RESULT_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + TypeSpaceDiscoveryResultMETA = 1000247005, + + [NativeName("XR_TYPE_SPACE_DISCOVERY_RESULTS_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + TypeSpaceDiscoveryResultsMETA = 1000247006, + + [NativeName("XR_TYPE_EVENT_DATA_SPACE_DISCOVERY_RESULTS_AVAILABLE_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + TypeEventDataSpaceDiscoveryResultsAvailableMETA = 1000247007, + + [NativeName("XR_TYPE_EVENT_DATA_SPACE_DISCOVERY_COMPLETE_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + TypeEventDataSpaceDiscoveryCompleteMETA = 1000247008, + + [NativeName("XR_TYPE_RECOMMENDED_LAYER_RESOLUTION_META")] + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + TypeRecommendedLayerResolutionMETA = 1000254000, + + [NativeName("XR_TYPE_RECOMMENDED_LAYER_RESOLUTION_GET_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + TypeRecommendedLayerResolutionGetInfoMETA = 1000254001, + + [NativeName("XR_TYPE_SYSTEM_SPACE_PERSISTENCE_PROPERTIES_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + TypeSystemSpacePersistencePropertiesMETA = 1000259000, + + [NativeName("XR_TYPE_SPACES_SAVE_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + TypeSpacesSaveInfoMETA = 1000259001, + + [NativeName("XR_TYPE_EVENT_DATA_SPACES_SAVE_RESULT_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + TypeEventDataSpacesSaveResultMETA = 1000259002, + + [NativeName("XR_TYPE_SPACES_ERASE_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + TypeSpacesEraseInfoMETA = 1000259003, + + [NativeName("XR_TYPE_EVENT_DATA_SPACES_ERASE_RESULT_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + TypeEventDataSpacesEraseResultMETA = 1000259004, + + [NativeName("XR_TYPE_SYSTEM_PASSTHROUGH_COLOR_LUT_PROPERTIES_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + TypeSystemPassthroughColorLutPropertiesMETA = 1000266000, + + [NativeName("XR_TYPE_PASSTHROUGH_COLOR_LUT_CREATE_INFO_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + TypePassthroughColorLutCreateInfoMETA = 1000266001, + + [NativeName("XR_TYPE_PASSTHROUGH_COLOR_LUT_UPDATE_INFO_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + TypePassthroughColorLutUpdateInfoMETA = 1000266002, + + [NativeName("XR_TYPE_PASSTHROUGH_COLOR_MAP_LUT_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + TypePassthroughColorMapLutMETA = 1000266100, + + [NativeName("XR_TYPE_PASSTHROUGH_COLOR_MAP_INTERPOLATED_LUT_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + TypePassthroughColorMapInterpolatedLutMETA = 1000266101, + + [NativeName("XR_TYPE_SPACE_TRIANGLE_MESH_GET_INFO_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeSpaceTriangleMeshGetInfoMETA = 1000269001, + + [NativeName("XR_TYPE_SPACE_TRIANGLE_MESH_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + TypeSpaceTriangleMeshMETA = 1000269002, + + [NativeName("XR_TYPE_SYSTEM_PROPERTIES_BODY_TRACKING_FULL_BODY_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + TypeSystemPropertiesBodyTrackingFullBodyMETA = 1000274000, + + [NativeName("XR_TYPE_EVENT_DATA_PASSTHROUGH_LAYER_RESUMED_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_layer_resumed_event"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + TypeEventDataPassthroughLayerResumedMETA = 1000282000, + + [NativeName("XR_TYPE_BODY_TRACKING_CALIBRATION_INFO_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + TypeBodyTrackingCalibrationInfoMETA = 1000283002, + + [NativeName("XR_TYPE_BODY_TRACKING_CALIBRATION_STATUS_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + TypeBodyTrackingCalibrationStatusMETA = 1000283003, + + [NativeName("XR_TYPE_SYSTEM_PROPERTIES_BODY_TRACKING_CALIBRATION_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + TypeSystemPropertiesBodyTrackingCalibrationMETA = 1000283004, + + [NativeName("XR_TYPE_BODY_TRACKING_FIDELITY_STATUS_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + TypeBodyTrackingFidelityStatusMETA = 1000284000, + + [NativeName("XR_TYPE_SYSTEM_PROPERTIES_BODY_TRACKING_FIDELITY_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + TypeSystemPropertiesBodyTrackingFidelityMETA = 1000284001, + + [NativeName("XR_TYPE_SYSTEM_FACE_TRACKING_PROPERTIES2_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + TypeSystemFaceTrackingProperties2FB = 1000287013, + + [NativeName("XR_TYPE_FACE_TRACKER_CREATE_INFO2_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + TypeFaceTrackerCreateInfo2FB = 1000287014, + + [NativeName("XR_TYPE_FACE_EXPRESSION_INFO2_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + TypeFaceExpressionInfo2FB = 1000287015, + + [NativeName("XR_TYPE_FACE_EXPRESSION_WEIGHTS2_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + TypeFaceExpressionWeights2FB = 1000287016, + + [NativeName("XR_TYPE_SYSTEM_SPATIAL_ENTITY_SHARING_PROPERTIES_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + TypeSystemSpatialEntitySharingPropertiesMETA = 1000290000, + + [NativeName("XR_TYPE_SHARE_SPACES_INFO_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + TypeShareSpacesInfoMETA = 1000290001, + + [NativeName("XR_TYPE_EVENT_DATA_SHARE_SPACES_COMPLETE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + TypeEventDataShareSpacesCompleteMETA = 1000290002, + + [NativeName("XR_TYPE_ENVIRONMENT_DEPTH_PROVIDER_CREATE_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + TypeEnvironmentDepthProviderCreateInfoMETA = 1000291000, + + [NativeName("XR_TYPE_ENVIRONMENT_DEPTH_SWAPCHAIN_CREATE_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + TypeEnvironmentDepthSwapchainCreateInfoMETA = 1000291001, + + [NativeName("XR_TYPE_ENVIRONMENT_DEPTH_SWAPCHAIN_STATE_META")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + TypeEnvironmentDepthSwapchainStateMETA = 1000291002, + + [NativeName("XR_TYPE_ENVIRONMENT_DEPTH_IMAGE_ACQUIRE_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + TypeEnvironmentDepthImageAcquireInfoMETA = 1000291003, + + [NativeName("XR_TYPE_ENVIRONMENT_DEPTH_IMAGE_VIEW_META")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + TypeEnvironmentDepthImageViewMETA = 1000291004, + + [NativeName("XR_TYPE_ENVIRONMENT_DEPTH_IMAGE_META")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + TypeEnvironmentDepthImageMETA = 1000291005, + + [NativeName("XR_TYPE_ENVIRONMENT_DEPTH_HAND_REMOVAL_SET_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + TypeEnvironmentDepthHandRemovalSetInfoMETA = 1000291006, + + [NativeName("XR_TYPE_SYSTEM_ENVIRONMENT_DEPTH_PROPERTIES_META")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + TypeSystemEnvironmentDepthPropertiesMETA = 1000291007, + + [NativeName("XR_TYPE_ENVIRONMENT_DEPTH_IMAGE_TIMESTAMP_META")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + TypeEnvironmentDepthImageTimestampMETA = 1000291008, + + [NativeName("XR_TYPE_RENDER_MODEL_CREATE_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + TypeRenderModelCreateInfoEXT = 1000300000, + + [NativeName("XR_TYPE_RENDER_MODEL_PROPERTIES_GET_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + TypeRenderModelPropertiesGetInfoEXT = 1000300001, + + [NativeName("XR_TYPE_RENDER_MODEL_PROPERTIES_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + TypeRenderModelPropertiesEXT = 1000300002, + + [NativeName("XR_TYPE_RENDER_MODEL_SPACE_CREATE_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + TypeRenderModelSpaceCreateInfoEXT = 1000300003, + + [NativeName("XR_TYPE_RENDER_MODEL_STATE_GET_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + TypeRenderModelStateGetInfoEXT = 1000300004, + + [NativeName("XR_TYPE_RENDER_MODEL_STATE_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + TypeRenderModelStateEXT = 1000300005, + + [NativeName("XR_TYPE_RENDER_MODEL_ASSET_CREATE_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + TypeRenderModelAssetCreateInfoEXT = 1000300006, + + [NativeName("XR_TYPE_RENDER_MODEL_ASSET_DATA_GET_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + TypeRenderModelAssetDataGetInfoEXT = 1000300007, + + [NativeName("XR_TYPE_RENDER_MODEL_ASSET_DATA_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + TypeRenderModelAssetDataEXT = 1000300008, + + [NativeName("XR_TYPE_RENDER_MODEL_ASSET_PROPERTIES_GET_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + TypeRenderModelAssetPropertiesGetInfoEXT = 1000300009, + + [NativeName("XR_TYPE_RENDER_MODEL_ASSET_PROPERTIES_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + TypeRenderModelAssetPropertiesEXT = 1000300010, + + [NativeName("XR_TYPE_INTERACTION_RENDER_MODEL_IDS_ENUMERATE_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + TypeInteractionRenderModelIdsEnumerateInfoEXT = 1000301000, + + [NativeName("XR_TYPE_INTERACTION_RENDER_MODEL_SUBACTION_PATH_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + TypeInteractionRenderModelSubactionPathInfoEXT = 1000301001, + + [NativeName("XR_TYPE_EVENT_DATA_INTERACTION_RENDER_MODELS_CHANGED_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + TypeEventDataInteractionRenderModelsChangedEXT = 1000301002, + + [NativeName("XR_TYPE_INTERACTION_RENDER_MODEL_TOP_LEVEL_USER_PATH_GET_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + TypeInteractionRenderModelTopLevelUserPathGetInfoEXT = 1000301003, + + [NativeName("XR_TYPE_PASSTHROUGH_CREATE_INFO_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + TypePassthroughCreateInfoHTC = 1000317001, + + [NativeName("XR_TYPE_PASSTHROUGH_COLOR_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + TypePassthroughColorHTC = 1000317002, + + [NativeName("XR_TYPE_PASSTHROUGH_MESH_TRANSFORM_INFO_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + TypePassthroughMeshTransformInfoHTC = 1000317003, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_PASSTHROUGH_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + TypeCompositionLayerPassthroughHTC = 1000317004, + + [NativeName("XR_TYPE_FOVEATION_APPLY_INFO_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + TypeFoveationApplyInfoHTC = 1000318000, + + [NativeName("XR_TYPE_FOVEATION_DYNAMIC_MODE_INFO_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + TypeFoveationDynamicModeInfoHTC = 1000318001, + + [NativeName("XR_TYPE_FOVEATION_CUSTOM_MODE_INFO_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + TypeFoveationCustomModeInfoHTC = 1000318002, + + [NativeName("XR_TYPE_SYSTEM_ANCHOR_PROPERTIES_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + TypeSystemAnchorPropertiesHTC = 1000319000, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + TypeSpatialAnchorCreateInfoHTC = 1000319001, + + [NativeName("XR_TYPE_SYSTEM_BODY_TRACKING_PROPERTIES_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + TypeSystemBodyTrackingPropertiesHTC = 1000320000, + + [NativeName("XR_TYPE_BODY_TRACKER_CREATE_INFO_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + TypeBodyTrackerCreateInfoHTC = 1000320001, + + [NativeName("XR_TYPE_BODY_JOINTS_LOCATE_INFO_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + TypeBodyJointsLocateInfoHTC = 1000320002, + + [NativeName("XR_TYPE_BODY_JOINT_LOCATIONS_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + TypeBodyJointLocationsHTC = 1000320003, + + [NativeName("XR_TYPE_BODY_SKELETON_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + TypeBodySkeletonHTC = 1000320004, + + [NativeName("XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_active_action_set_priority"])] + TypeActiveActionSetPrioritiesEXT = 1000373000, + + [NativeName("XR_TYPE_SYSTEM_FORCE_FEEDBACK_CURL_PROPERTIES_MNDX")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeSystemForceFeedbackCurlPropertiesMNDX = 1000375000, + + [NativeName("XR_TYPE_FORCE_FEEDBACK_CURL_APPLY_LOCATIONS_MNDX")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeForceFeedbackCurlApplyLocationsMNDX = 1000375001, + + [NativeName("XR_TYPE_BODY_TRACKER_CREATE_INFO_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + TypeBodyTrackerCreateInfoBD = 1000385001, + + [NativeName("XR_TYPE_BODY_JOINTS_LOCATE_INFO_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + TypeBodyJointsLocateInfoBD = 1000385002, + + [NativeName("XR_TYPE_BODY_JOINT_LOCATIONS_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + TypeBodyJointLocationsBD = 1000385003, + + [NativeName("XR_TYPE_SYSTEM_BODY_TRACKING_PROPERTIES_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + TypeSystemBodyTrackingPropertiesBD = 1000385004, + + [NativeName("XR_TYPE_SYSTEM_FACIAL_SIMULATION_PROPERTIES_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + TypeSystemFacialSimulationPropertiesBD = 1000386001, + + [NativeName("XR_TYPE_FACE_TRACKER_CREATE_INFO_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + TypeFaceTrackerCreateInfoBD = 1000386002, + + [NativeName("XR_TYPE_FACIAL_SIMULATION_DATA_GET_INFO_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + TypeFacialSimulationDataGetInfoBD = 1000386003, + + [NativeName("XR_TYPE_FACIAL_SIMULATION_DATA_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + TypeFacialSimulationDataBD = 1000386004, + + [NativeName("XR_TYPE_LIP_EXPRESSION_DATA_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + TypeLipExpressionDataBD = 1000386005, + + [NativeName("XR_TYPE_SYSTEM_SPATIAL_SENSING_PROPERTIES_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSystemSpatialSensingPropertiesBD = 1000389000, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_COMPONENT_GET_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSpatialEntityComponentGetInfoBD = 1000389001, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_LOCATION_GET_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSpatialEntityLocationGetInfoBD = 1000389002, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_LOCATION_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSpatialEntityComponentDataLocationBD = 1000389003, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_SEMANTIC_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSpatialEntityComponentDataSemanticBD = 1000389004, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_BOUNDING_BOX_2D_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSpatialEntityComponentDataBoundingBox2DBD = 1000389005, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_POLYGON_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSpatialEntityComponentDataPolygonBD = 1000389006, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_BOUNDING_BOX_3D_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSpatialEntityComponentDataBoundingBox3DBD = 1000389007, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_TRIANGLE_MESH_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSpatialEntityComponentDataTriangleMeshBD = 1000389008, + + [NativeName("XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSenseDataProviderCreateInfoBD = 1000389009, + + [NativeName("XR_TYPE_SENSE_DATA_PROVIDER_START_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSenseDataProviderStartInfoBD = 1000389010, + + [NativeName("XR_TYPE_EVENT_DATA_SENSE_DATA_PROVIDER_STATE_CHANGED_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeEventDataSenseDataProviderStateChangedBD = 1000389011, + + [NativeName("XR_TYPE_EVENT_DATA_SENSE_DATA_UPDATED_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeEventDataSenseDataUpdatedBD = 1000389012, + + [NativeName("XR_TYPE_SENSE_DATA_QUERY_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSenseDataQueryInfoBD = 1000389013, + + [NativeName("XR_TYPE_SENSE_DATA_QUERY_COMPLETION_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSenseDataQueryCompletionBD = 1000389014, + + [NativeName("XR_TYPE_SENSE_DATA_FILTER_UUID_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSenseDataFilterUuidBD = 1000389015, + + [NativeName("XR_TYPE_SENSE_DATA_FILTER_SEMANTIC_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSenseDataFilterSemanticBD = 1000389016, + + [NativeName("XR_TYPE_QUERIED_SENSE_DATA_GET_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeQueriedSenseDataGetInfoBD = 1000389017, + + [NativeName("XR_TYPE_QUERIED_SENSE_DATA_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeQueriedSenseDataBD = 1000389018, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_STATE_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSpatialEntityStateBD = 1000389019, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_ANCHOR_CREATE_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeSpatialEntityAnchorCreateInfoBD = 1000389020, + + [NativeName("XR_TYPE_ANCHOR_SPACE_CREATE_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeAnchorSpaceCreateInfoBD = 1000389021, + + [NativeName("XR_TYPE_SYSTEM_SPATIAL_ANCHOR_PROPERTIES_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + TypeSystemSpatialAnchorPropertiesBD = 1000390000, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + TypeSpatialAnchorCreateInfoBD = 1000390001, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_CREATE_COMPLETION_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + TypeSpatialAnchorCreateCompletionBD = 1000390002, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_PERSIST_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + TypeSpatialAnchorPersistInfoBD = 1000390003, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_UNPERSIST_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + TypeSpatialAnchorUnpersistInfoBD = 1000390004, + + [NativeName("XR_TYPE_SYSTEM_SPATIAL_ANCHOR_SHARING_PROPERTIES_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + TypeSystemSpatialAnchorSharingPropertiesBD = 1000391000, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_SHARE_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + TypeSpatialAnchorShareInfoBD = 1000391001, + + [NativeName("XR_TYPE_SHARED_SPATIAL_ANCHOR_DOWNLOAD_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + TypeSharedSpatialAnchorDownloadInfoBD = 1000391002, + + [NativeName("XR_TYPE_SYSTEM_SPATIAL_SCENE_PROPERTIES_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + TypeSystemSpatialScenePropertiesBD = 1000392000, + + [NativeName("XR_TYPE_SCENE_CAPTURE_INFO_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + TypeSceneCaptureInfoBD = 1000392001, + + [NativeName("XR_TYPE_SYSTEM_SPATIAL_MESH_PROPERTIES_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + TypeSystemSpatialMeshPropertiesBD = 1000393000, + + [NativeName("XR_TYPE_SENSE_DATA_PROVIDER_CREATE_INFO_SPATIAL_MESH_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + TypeSenseDataProviderCreateInfoSpatialMeshBD = 1000393001, + + [NativeName("XR_TYPE_FUTURE_POLL_RESULT_PROGRESS_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_future_progress"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + TypeFuturePollResultProgressBD = 1000394001, + + [NativeName("XR_TYPE_SYSTEM_SPATIAL_PLANE_PROPERTIES_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + TypeSystemSpatialPlanePropertiesBD = 1000396000, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_COMPONENT_DATA_PLANE_ORIENTATION_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + TypeSpatialEntityComponentDataPlaneOrientationBD = 1000396001, + + [NativeName("XR_TYPE_SENSE_DATA_FILTER_PLANE_ORIENTATION_BD")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + TypeSenseDataFilterPlaneOrientationBD = 1000396002, + + [NativeName("XR_TYPE_SPATIAL_AUDIO_RENDERER_CREATE_INFO_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSpatialAudioRendererCreateInfoBD = 1000409000, + + [NativeName("XR_TYPE_AUDIO_BUFFER_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeAudioBufferBD = 1000409001, + + [NativeName("XR_TYPE_SOUND_OBJECT_DIRECTIVITY_CARDIOID_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSoundObjectDirectivityCardioidBD = 1000409003, + + [NativeName("XR_TYPE_SOUND_OBJECT_SHAPE_SPHERE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSoundObjectShapeSphereBD = 1000409004, + + [NativeName("XR_TYPE_SOUND_OBJECT_DISTANCE_ATTENUATION_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSoundObjectDistanceAttenuationBD = 1000409005, + + [NativeName("XR_TYPE_SOUND_OBJECT_DISTANCE_ATTENUATION_CURVE_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSoundObjectDistanceAttenuationCurveBD = 1000409006, + + [NativeName("XR_TYPE_SOUND_OBJECT_CONFIG_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSoundObjectConfigBD = 1000409007, + + [NativeName("XR_TYPE_SOUND_FIELD_CONFIG_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSoundFieldConfigBD = 1000409008, + + [NativeName("XR_TYPE_SOUND_FIELD_CHANNEL_DEFINITION_SURROUND_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSoundFieldChannelDefinitionSurroundBD = 1000409009, + + [NativeName("XR_TYPE_SOUND_FIELD_CHANNEL_DEFINITION_AMBIX_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSoundFieldChannelDefinitionAmbixBD = 1000409010, + + [NativeName("XR_TYPE_SOUND_FIELD_CHANNEL_DEFINITION_FUMA_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSoundFieldChannelDefinitionFumaBD = 1000409011, + + [NativeName("XR_TYPE_SOUND_TRIANGLE_MESH_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSoundTriangleMeshBD = 1000409012, + + [NativeName("XR_TYPE_SOUND_OBSTACLE_CONFIG_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSoundObstacleConfigBD = 1000409013, + + [NativeName("XR_TYPE_SOUND_OBSTACLE_MATERIAL_CONFIG_BD")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + TypeSoundObstacleMaterialConfigBD = 1000409014, + + [NativeName("XR_TYPE_HAND_TRACKING_DATA_SOURCE_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeHandTrackingDataSourceInfoEXT = 1000428000, + + [NativeName("XR_TYPE_HAND_TRACKING_DATA_SOURCE_STATE_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + TypeHandTrackingDataSourceStateEXT = 1000428001, + + [NativeName("XR_TYPE_PLANE_DETECTOR_CREATE_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + TypePlaneDetectorCreateInfoEXT = 1000429001, + + [NativeName("XR_TYPE_PLANE_DETECTOR_BEGIN_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + TypePlaneDetectorBeginInfoEXT = 1000429002, + + [NativeName("XR_TYPE_PLANE_DETECTOR_GET_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + TypePlaneDetectorGetInfoEXT = 1000429003, + + [NativeName("XR_TYPE_PLANE_DETECTOR_LOCATIONS_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + TypePlaneDetectorLocationsEXT = 1000429004, + + [NativeName("XR_TYPE_PLANE_DETECTOR_LOCATION_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + TypePlaneDetectorLocationEXT = 1000429005, + + [NativeName("XR_TYPE_PLANE_DETECTOR_POLYGON_BUFFER_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + TypePlaneDetectorPolygonBufferEXT = 1000429006, + + [NativeName("XR_TYPE_SYSTEM_PLANE_DETECTION_PROPERTIES_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + TypeSystemPlaneDetectionPropertiesEXT = 1000429007, + + [NativeName("XR_TYPE_TRACKABLE_GET_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + TypeTrackableGetInfoANDROID = 1000455000, + + [NativeName("XR_TYPE_ANCHOR_SPACE_CREATE_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + TypeAnchorSpaceCreateInfoANDROID = 1000455001, + + [NativeName("XR_TYPE_TRACKABLE_PLANE_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + TypeTrackablePlaneANDROID = 1000455003, + + [NativeName("XR_TYPE_TRACKABLE_TRACKER_CREATE_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + TypeTrackableTrackerCreateInfoANDROID = 1000455004, + + [NativeName("XR_TYPE_SYSTEM_TRACKABLES_PROPERTIES_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + TypeSystemTrackablesPropertiesANDROID = 1000455005, + + [NativeName("XR_TYPE_EYES_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + TypeEyesANDROID = 1000456000, + + [NativeName("XR_TYPE_EYE_TRACKER_CREATE_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + TypeEyeTrackerCreateInfoANDROID = 1000456001, + + [NativeName("XR_TYPE_EYES_GET_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + TypeEyesGetInfoANDROID = 1000456002, + + [NativeName("XR_TYPE_SYSTEM_EYE_TRACKING_PROPERTIES_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + TypeSystemEyeTrackingPropertiesANDROID = 1000456004, + + [NativeName("XR_TYPE_PERSISTED_ANCHOR_SPACE_CREATE_INFO_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + TypePersistedAnchorSpaceCreateInfoANDROID = 1000457001, + + [NativeName("XR_TYPE_PERSISTED_ANCHOR_SPACE_INFO_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + TypePersistedAnchorSpaceInfoANDROID = 1000457002, + + [NativeName("XR_TYPE_DEVICE_ANCHOR_PERSISTENCE_CREATE_INFO_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + TypeDeviceAnchorPersistenceCreateInfoANDROID = 1000457003, + + [NativeName("XR_TYPE_SYSTEM_DEVICE_ANCHOR_PERSISTENCE_PROPERTIES_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + TypeSystemDeviceAnchorPersistencePropertiesANDROID = 1000457004, + + [NativeName("XR_TYPE_FACE_TRACKER_CREATE_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + TypeFaceTrackerCreateInfoANDROID = 1000458000, + + [NativeName("XR_TYPE_FACE_STATE_GET_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + TypeFaceStateGetInfoANDROID = 1000458001, + + [NativeName("XR_TYPE_FACE_STATE_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + TypeFaceStateANDROID = 1000458002, + + [NativeName("XR_TYPE_SYSTEM_FACE_TRACKING_PROPERTIES_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + TypeSystemFaceTrackingPropertiesANDROID = 1000458003, + + [NativeName("XR_TYPE_PASSTHROUGH_CAMERA_STATE_GET_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + TypePassthroughCameraStateGetInfoANDROID = 1000460000, + + [NativeName("XR_TYPE_SYSTEM_PASSTHROUGH_CAMERA_STATE_PROPERTIES_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + TypeSystemPassthroughCameraStatePropertiesANDROID = 1000460001, + + [NativeName("XR_TYPE_EVENT_DATA_RECOMMENDED_RESOLUTION_CHANGED_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_recommended_resolution"])] + TypeEventDataRecommendedResolutionChangedANDROID = 1000461000, + + [NativeName("XR_TYPE_PASSTHROUGH_LAYER_CREATE_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + TypePassthroughLayerCreateInfoANDROID = 1000462000, + + [NativeName("XR_TYPE_PASSTHROUGH_LAYER_MESH_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + TypePassthroughLayerMeshANDROID = 1000462001, + + [NativeName("XR_TYPE_COMPOSITION_LAYER_PASSTHROUGH_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + TypeCompositionLayerPassthroughANDROID = 1000462002, + + [NativeName("XR_TYPE_SYSTEM_PASSTHROUGH_LAYER_PROPERTIES_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + TypeSystemPassthroughLayerPropertiesANDROID = 1000462003, + + [NativeName("XR_TYPE_RAYCAST_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + TypeRaycastInfoANDROID = 1000463000, + + [NativeName("XR_TYPE_RAYCAST_HIT_RESULTS_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + TypeRaycastHitResultsANDROID = 1000463001, + + [NativeName("XR_TYPE_PERFORMANCE_METRICS_STATE_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + TypePerformanceMetricsStateANDROID = 1000465000, + + [NativeName("XR_TYPE_PERFORMANCE_METRICS_COUNTER_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + TypePerformanceMetricsCounterANDROID = 1000465001, + + [NativeName("XR_TYPE_TRACKABLE_OBJECT_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + TypeTrackableObjectANDROID = 1000466000, + + [NativeName("XR_TYPE_TRACKABLE_OBJECT_CONFIGURATION_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + TypeTrackableObjectConfigurationANDROID = 1000466001, + + [NativeName("XR_TYPE_FUTURE_CANCEL_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + TypeFutureCancelInfoEXT = 1000469000, + + [NativeName("XR_TYPE_FUTURE_POLL_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + TypeFuturePollInfoEXT = 1000469001, + + [NativeName("XR_TYPE_FUTURE_COMPLETION_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + TypeFutureCompletionEXT = 1000469002, + + [NativeName("XR_TYPE_FUTURE_POLL_RESULT_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + TypeFuturePollResultEXT = 1000469003, + + [NativeName("XR_TYPE_EVENT_DATA_USER_PRESENCE_CHANGED_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + TypeEventDataUserPresenceChangedEXT = 1000470000, + + [NativeName("XR_TYPE_SYSTEM_USER_PRESENCE_PROPERTIES_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + TypeSystemUserPresencePropertiesEXT = 1000470001, + + [NativeName("XR_TYPE_SYSTEM_NOTIFICATIONS_SET_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_system_notifications"])] + TypeSystemNotificationsSetInfoML = 1000473000, + + [NativeName("XR_TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + TypeWorldMeshDetectorCreateInfoML = 1000474001, + + [NativeName("XR_TYPE_WORLD_MESH_STATE_REQUEST_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + TypeWorldMeshStateRequestInfoML = 1000474002, + + [NativeName("XR_TYPE_WORLD_MESH_BLOCK_STATE_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + TypeWorldMeshBlockStateML = 1000474003, + + [NativeName("XR_TYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + TypeWorldMeshStateRequestCompletionML = 1000474004, + + [NativeName("XR_TYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + TypeWorldMeshBufferRecommendedSizeInfoML = 1000474005, + + [NativeName("XR_TYPE_WORLD_MESH_BUFFER_SIZE_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + TypeWorldMeshBufferSizeML = 1000474006, + + [NativeName("XR_TYPE_WORLD_MESH_BUFFER_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + TypeWorldMeshBufferML = 1000474007, + + [NativeName("XR_TYPE_WORLD_MESH_BLOCK_REQUEST_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + TypeWorldMeshBlockRequestML = 1000474008, + + [NativeName("XR_TYPE_WORLD_MESH_GET_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + TypeWorldMeshGetInfoML = 1000474009, + + [NativeName("XR_TYPE_WORLD_MESH_BLOCK_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + TypeWorldMeshBlockML = 1000474010, + + [NativeName("XR_TYPE_WORLD_MESH_REQUEST_COMPLETION_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + TypeWorldMeshRequestCompletionML = 1000474011, + + [NativeName("XR_TYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + TypeWorldMeshRequestCompletionInfoML = 1000474012, + + [NativeName("XR_TYPE_SYSTEM_FACIAL_EXPRESSION_PROPERTIES_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + TypeSystemFacialExpressionPropertiesML = 1000482004, + + [NativeName("XR_TYPE_FACIAL_EXPRESSION_CLIENT_CREATE_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + TypeFacialExpressionClientCreateInfoML = 1000482005, + + [NativeName("XR_TYPE_FACIAL_EXPRESSION_BLEND_SHAPE_GET_INFO_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + TypeFacialExpressionBlendShapeGetInfoML = 1000482006, + + [NativeName("XR_TYPE_FACIAL_EXPRESSION_BLEND_SHAPE_PROPERTIES_ML")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + TypeFacialExpressionBlendShapePropertiesML = 1000482007, + + [NativeName("XR_TYPE_SYSTEM_BOUNDARY_VISIBILITY_PROPERTIES_META")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + TypeSystemBoundaryVisibilityPropertiesMETA = 1000528000, + + [NativeName("XR_TYPE_EVENT_DATA_BOUNDARY_VISIBILITY_CHANGED_META")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + TypeEventDataBoundaryVisibilityChangedMETA = 1000528001, + + [NativeName("XR_TYPE_SYSTEM_SIMULTANEOUS_HANDS_AND_CONTROLLERS_PROPERTIES_META")] + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + TypeSystemSimultaneousHandsAndControllersPropertiesMETA = 1000532001, + + [NativeName("XR_TYPE_SIMULTANEOUS_HANDS_AND_CONTROLLERS_TRACKING_RESUME_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + TypeSimultaneousHandsAndControllersTrackingResumeInfoMETA = 1000532002, + + [NativeName("XR_TYPE_SIMULTANEOUS_HANDS_AND_CONTROLLERS_TRACKING_PAUSE_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + TypeSimultaneousHandsAndControllersTrackingPauseInfoMETA = 1000532003, + + [NativeName("XR_TYPE_FACE_TRACKING_VISEMES_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + TypeFaceTrackingVisemesMETA = 1000541000, + + [NativeName("XR_TYPE_SYSTEM_FACE_TRACKING_VISEMES_PROPERTIES_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + TypeSystemFaceTrackingVisemesPropertiesMETA = 1000541001, + + [NativeName("XR_TYPE_ROOM_MESH_FACE_INDICES_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + TypeRoomMeshFaceIndicesMETA = 1000553000, + + [NativeName("XR_TYPE_SPACE_ROOM_MESH_GET_INFO_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + TypeSpaceRoomMeshGetInfoMETA = 1000553001, + + [NativeName("XR_TYPE_ROOM_MESH_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + TypeRoomMeshMETA = 1000553002, + + [NativeName("XR_TYPE_COLOCATION_DISCOVERY_START_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + TypeColocationDiscoveryStartInfoMETA = 1000571010, + + [NativeName("XR_TYPE_COLOCATION_DISCOVERY_STOP_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + TypeColocationDiscoveryStopInfoMETA = 1000571011, + + [NativeName("XR_TYPE_COLOCATION_ADVERTISEMENT_START_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + TypeColocationAdvertisementStartInfoMETA = 1000571012, + + [NativeName("XR_TYPE_COLOCATION_ADVERTISEMENT_STOP_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + TypeColocationAdvertisementStopInfoMETA = 1000571013, + + [NativeName("XR_TYPE_EVENT_DATA_START_COLOCATION_ADVERTISEMENT_COMPLETE_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + TypeEventDataStartColocationAdvertisementCompleteMETA = 1000571020, + + [NativeName("XR_TYPE_EVENT_DATA_STOP_COLOCATION_ADVERTISEMENT_COMPLETE_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + TypeEventDataStopColocationAdvertisementCompleteMETA = 1000571021, + + [NativeName("XR_TYPE_EVENT_DATA_COLOCATION_ADVERTISEMENT_COMPLETE_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + TypeEventDataColocationAdvertisementCompleteMETA = 1000571022, + + [NativeName("XR_TYPE_EVENT_DATA_START_COLOCATION_DISCOVERY_COMPLETE_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + TypeEventDataStartColocationDiscoveryCompleteMETA = 1000571023, + + [NativeName("XR_TYPE_EVENT_DATA_COLOCATION_DISCOVERY_RESULT_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + TypeEventDataColocationDiscoveryResultMETA = 1000571024, + + [NativeName("XR_TYPE_EVENT_DATA_COLOCATION_DISCOVERY_COMPLETE_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + TypeEventDataColocationDiscoveryCompleteMETA = 1000571025, + + [NativeName("XR_TYPE_EVENT_DATA_STOP_COLOCATION_DISCOVERY_COMPLETE_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + TypeEventDataStopColocationDiscoveryCompleteMETA = 1000571026, + + [NativeName("XR_TYPE_SYSTEM_COLOCATION_DISCOVERY_PROPERTIES_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + TypeSystemColocationDiscoveryPropertiesMETA = 1000571030, + + [NativeName("XR_TYPE_SHARE_SPACES_RECIPIENT_GROUPS_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_group_sharing"])] + TypeShareSpacesRecipientGroupsMETA = 1000572000, + + [NativeName("XR_TYPE_SPACE_GROUP_UUID_FILTER_INFO_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_group_sharing"])] + TypeSpaceGroupUuidFilterInfoMETA = 1000572001, + + [NativeName("XR_TYPE_SYSTEM_SPATIAL_ENTITY_GROUP_SHARING_PROPERTIES_META")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_group_sharing"])] + TypeSystemSpatialEntityGroupSharingPropertiesMETA = 1000572100, + + [NativeName("XR_TYPE_SYSTEM_ENVIRONMENT_RAYCAST_PROPERTIES_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + TypeSystemEnvironmentRaycastPropertiesMETA = 1000592000, + + [NativeName("XR_TYPE_ENVIRONMENT_RAYCASTER_CREATE_INFO_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + TypeEnvironmentRaycasterCreateInfoMETA = 1000592001, + + [NativeName("XR_TYPE_ENVIRONMENT_RAYCASTER_CREATE_COMPLETION_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + TypeEnvironmentRaycasterCreateCompletionMETA = 1000592002, + + [NativeName("XR_TYPE_ENVIRONMENT_RAYCAST_HIT_GET_INFO_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + TypeEnvironmentRaycastHitGetInfoMETA = 1000592003, + + [NativeName("XR_TYPE_ENVIRONMENT_RAYCAST_HIT_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + TypeEnvironmentRaycastHitMETA = 1000592004, + + [NativeName("XR_TYPE_ENVIRONMENT_RAYCAST_FILTER_DISTANCE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + TypeEnvironmentRaycastFilterDistanceMETA = 1000592005, + + [NativeName("XR_TYPE_TILE_PROPERTIES_META")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + TypeTilePropertiesMETA = 1000609000, + + [NativeName("XR_TYPE_TILE_PROPERTIES_HINT_META")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + TypeTilePropertiesHintMETA = 1000609001, + + [NativeName("XR_TYPE_LIGHT_ESTIMATOR_CREATE_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + TypeLightEstimatorCreateInfoANDROID = 1000700000, + + [NativeName("XR_TYPE_LIGHT_ESTIMATE_GET_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + TypeLightEstimateGetInfoANDROID = 1000700001, + + [NativeName("XR_TYPE_LIGHT_ESTIMATE_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + TypeLightEstimateANDROID = 1000700002, + + [NativeName("XR_TYPE_DIRECTIONAL_LIGHT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + TypeDirectionalLightANDROID = 1000700003, + + [NativeName("XR_TYPE_SPHERICAL_HARMONICS_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + TypeSphericalHarmonicsANDROID = 1000700004, + + [NativeName("XR_TYPE_AMBIENT_LIGHT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + TypeAmbientLightANDROID = 1000700005, + + [NativeName("XR_TYPE_SYSTEM_LIGHT_ESTIMATION_PROPERTIES_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + TypeSystemLightEstimationPropertiesANDROID = 1000700006, + + [NativeName("XR_TYPE_ANCHOR_SHARING_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_anchor_sharing_export"])] + TypeAnchorSharingInfoANDROID = 1000701000, + + [NativeName("XR_TYPE_ANCHOR_SHARING_TOKEN_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_anchor_sharing_export"])] + TypeAnchorSharingTokenANDROID = 1000701001, + + [NativeName("XR_TYPE_SYSTEM_ANCHOR_SHARING_EXPORT_PROPERTIES_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_anchor_sharing_export"])] + TypeSystemAnchorSharingExportPropertiesANDROID = 1000701002, + + [NativeName("XR_TYPE_SYSTEM_MARKER_TRACKING_PROPERTIES_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + TypeSystemMarkerTrackingPropertiesANDROID = 1000707000, + + [NativeName("XR_TYPE_TRACKABLE_MARKER_CONFIGURATION_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + TypeTrackableMarkerConfigurationANDROID = 1000707001, + + [NativeName("XR_TYPE_TRACKABLE_MARKER_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + TypeTrackableMarkerANDROID = 1000707002, + + [NativeName("XR_TYPE_SYSTEM_QR_CODE_TRACKING_PROPERTIES_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + TypeSystemQrCodeTrackingPropertiesANDROID = 1000708000, + + [NativeName("XR_TYPE_TRACKABLE_QR_CODE_CONFIGURATION_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + TypeTrackableQrCodeConfigurationANDROID = 1000708001, + + [NativeName("XR_TYPE_TRACKABLE_QR_CODE_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + TypeTrackableQrCodeANDROID = 1000708002, + + [NativeName("XR_TYPE_SYSTEM_IMAGE_TRACKING_PROPERTIES_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + TypeSystemImageTrackingPropertiesANDROID = 1000709000, + + [NativeName("XR_TYPE_TRACKABLE_IMAGE_DATABASE_ENTRY_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + TypeTrackableImageDatabaseEntryANDROID = 1000709001, + + [NativeName("XR_TYPE_TRACKABLE_IMAGE_DATABASE_CREATE_INFO_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + TypeTrackableImageDatabaseCreateInfoANDROID = 1000709002, + + [NativeName("XR_TYPE_CREATE_TRACKABLE_IMAGE_DATABASE_COMPLETION_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + TypeCreateTrackableImageDatabaseCompletionANDROID = 1000709003, + + [NativeName("XR_TYPE_TRACKABLE_IMAGE_CONFIGURATION_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + TypeTrackableImageConfigurationANDROID = 1000709004, + + [NativeName("XR_TYPE_TRACKABLE_IMAGE_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + TypeTrackableImageANDROID = 1000709005, + + [NativeName("XR_TYPE_EVENT_DATA_IMAGE_TRACKING_LOST_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + TypeEventDataImageTrackingLostANDROID = 1000709006, + + [NativeName("XR_TYPE_SYSTEM_SCENE_MESHING_PROPERTIES_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + TypeSystemSceneMeshingPropertiesANDROID = 1000718000, + + [NativeName("XR_TYPE_SCENE_MESHING_TRACKER_CREATE_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + TypeSceneMeshingTrackerCreateInfoANDROID = 1000718001, + + [NativeName("XR_TYPE_SCENE_MESH_SNAPSHOT_CREATE_INFO_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + TypeSceneMeshSnapshotCreateInfoANDROID = 1000718002, + + [NativeName("XR_TYPE_SCENE_MESH_SNAPSHOT_CREATION_RESULT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + TypeSceneMeshSnapshotCreationResultANDROID = 1000718003, + + [NativeName("XR_TYPE_SCENE_SUBMESH_STATE_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + TypeSceneSubmeshStateANDROID = 1000718004, + + [NativeName("XR_TYPE_SCENE_SUBMESH_DATA_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + TypeSceneSubmeshDataANDROID = 1000718005, + + [NativeName("XR_TYPE_SPATIAL_CAPABILITY_COMPONENT_TYPES_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialCapabilityComponentTypesEXT = 1000740000, + + [NativeName("XR_TYPE_SPATIAL_CONTEXT_CREATE_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialContextCreateInfoEXT = 1000740001, + + [NativeName("XR_TYPE_CREATE_SPATIAL_CONTEXT_COMPLETION_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeCreateSpatialContextCompletionEXT = 1000740002, + + [NativeName("XR_TYPE_SPATIAL_DISCOVERY_SNAPSHOT_CREATE_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialDiscoverySnapshotCreateInfoEXT = 1000740003, + + [NativeName("XR_TYPE_CREATE_SPATIAL_DISCOVERY_SNAPSHOT_COMPLETION_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeCreateSpatialDiscoverySnapshotCompletionInfoEXT = 1000740004, + + [NativeName("XR_TYPE_CREATE_SPATIAL_DISCOVERY_SNAPSHOT_COMPLETION_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeCreateSpatialDiscoverySnapshotCompletionEXT = 1000740005, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_DATA_QUERY_CONDITION_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialComponentDataQueryConditionEXT = 1000740006, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_DATA_QUERY_RESULT_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialComponentDataQueryResultEXT = 1000740007, + + [NativeName("XR_TYPE_SPATIAL_BUFFER_GET_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialBufferGetInfoEXT = 1000740008, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_BOUNDED_2D_LIST_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialComponentBounded2DListEXT = 1000740009, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_BOUNDED_3D_LIST_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialComponentBounded3DListEXT = 1000740010, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_PARENT_LIST_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialComponentParentListEXT = 1000740011, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_MESH_3D_LIST_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialComponentMesh3DListEXT = 1000740012, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_FROM_ID_CREATE_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialEntityFromIdCreateInfoEXT = 1000740013, + + [NativeName("XR_TYPE_SPATIAL_UPDATE_SNAPSHOT_CREATE_INFO_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialUpdateSnapshotCreateInfoEXT = 1000740014, + + [NativeName("XR_TYPE_EVENT_DATA_SPATIAL_DISCOVERY_RECOMMENDED_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeEventDataSpatialDiscoveryRecommendedEXT = 1000740015, + + [NativeName("XR_TYPE_SPATIAL_FILTER_TRACKING_STATE_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + TypeSpatialFilterTrackingStateEXT = 1000740016, + + [NativeName("XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_PLANE_TRACKING_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialCapabilityConfigurationPlaneTrackingEXT = 1000741000, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_PLANE_ALIGNMENT_LIST_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialComponentPlaneAlignmentListEXT = 1000741001, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_MESH_2D_LIST_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialComponentMesh2DListEXT = 1000741002, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_POLYGON_2D_LIST_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialComponentPolygon2DListEXT = 1000741003, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_PLANE_SEMANTIC_LABEL_LIST_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialComponentPlaneSemanticLabelListEXT = 1000741004, + + [NativeName("XR_TYPE_STATIONARY_REFERENCE_SPACE_GENERATION_ID_GET_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_stationary_reference_space"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + TypeStationaryReferenceSpaceGenerationIdGetInfoEXT = 1000742001, + + [NativeName("XR_TYPE_STATIONARY_REFERENCE_SPACE_GENERATION_ID_RESULT_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_stationary_reference_space"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + TypeStationaryReferenceSpaceGenerationIdResultEXT = 1000742002, + + [NativeName("XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_QR_CODE_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialCapabilityConfigurationQrCodeEXT = 1000743000, + + [NativeName("XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_MICRO_QR_CODE_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialCapabilityConfigurationMicroQrCodeEXT = 1000743001, + + [NativeName("XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_ARUCO_MARKER_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialCapabilityConfigurationArucoMarkerEXT = 1000743002, + + [NativeName("XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_APRIL_TAG_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialCapabilityConfigurationAprilTagEXT = 1000743003, + + [NativeName("XR_TYPE_SPATIAL_MARKER_SIZE_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialMarkerSizeEXT = 1000743004, + + [NativeName("XR_TYPE_SPATIAL_MARKER_STATIC_OPTIMIZATION_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialMarkerStaticOptimizationEXT = 1000743005, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_MARKER_LIST_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialComponentMarkerListEXT = 1000743006, + + [NativeName("XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_ANCHOR_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialCapabilityConfigurationAnchorEXT = 1000762000, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_ANCHOR_LIST_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialComponentAnchorListEXT = 1000762001, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialAnchorCreateInfoEXT = 1000762002, + + [NativeName("XR_TYPE_SPATIAL_PERSISTENCE_CONTEXT_CREATE_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + TypeSpatialPersistenceContextCreateInfoEXT = 1000763000, + + [NativeName("XR_TYPE_CREATE_SPATIAL_PERSISTENCE_CONTEXT_COMPLETION_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + TypeCreateSpatialPersistenceContextCompletionEXT = 1000763001, + + [NativeName("XR_TYPE_SPATIAL_CONTEXT_PERSISTENCE_CONFIG_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + TypeSpatialContextPersistenceConfigEXT = 1000763002, + + [NativeName("XR_TYPE_SPATIAL_DISCOVERY_PERSISTENCE_UUID_FILTER_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + TypeSpatialDiscoveryPersistenceUuidFilterEXT = 1000763003, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_PERSISTENCE_LIST_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + TypeSpatialComponentPersistenceListEXT = 1000763004, + + [NativeName("XR_TYPE_HAPTIC_PARAMETRIC_VIBRATION_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + TypeHapticParametricVibrationEXT = 1000775000, + + [NativeName("XR_TYPE_HAPTIC_PARAMETRIC_PROPERTIES_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + TypeHapticParametricPropertiesEXT = 1000775001, + + [NativeName("XR_TYPE_SYSTEM_HAPTIC_PARAMETRIC_PROPERTIES_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + TypeSystemHapticParametricPropertiesEXT = 1000775002, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_PERSIST_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + TypeSpatialEntityPersistInfoEXT = 1000781000, + + [NativeName("XR_TYPE_PERSIST_SPATIAL_ENTITY_COMPLETION_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + TypePersistSpatialEntityCompletionEXT = 1000781001, + + [NativeName("XR_TYPE_SPATIAL_ENTITY_UNPERSIST_INFO_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + TypeSpatialEntityUnpersistInfoEXT = 1000781002, + + [NativeName("XR_TYPE_UNPERSIST_SPATIAL_ENTITY_COMPLETION_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + TypeUnpersistSpatialEntityCompletionEXT = 1000781003, + + [NativeName("XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_OBJECT_TRACKING_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialCapabilityConfigurationObjectTrackingANDROID = 1000785000, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_OBJECT_SEMANTIC_LABEL_LIST_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialComponentObjectSemanticLabelListANDROID = 1000785001, + + [NativeName("XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_DEPTH_RAYCAST_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialCapabilityConfigurationDepthRaycastANDROID = 1000786000, + + [NativeName("XR_TYPE_SPATIAL_RAYCAST_INFO_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialRaycastInfoANDROID = 1000786001, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_RAYCAST_RESULT_LIST_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialComponentRaycastResultListANDROID = 1000786002, + + [NativeName("XR_TYPE_SPATIAL_RAYCAST_SNAPSHOT_CREATE_INFO_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + TypeSpatialRaycastSnapshotCreateInfoANDROID = 1000786003, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_PARENT_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_entity_bound_anchor"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + TypeSpatialAnchorParentANDROID = 1000790000, + + [NativeName("XR_TYPE_SPATIAL_DISCOVERY_UNIQUE_ENTITIES_FILTER_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + TypeSpatialDiscoveryUniqueEntitiesFilterANDROID = 1000791001, + + [NativeName("XR_TYPE_SPATIAL_COMPONENT_SUBSUMED_BY_LIST_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + TypeSpatialComponentSubsumedByListANDROID = 1000791002, + + [NativeName("XR_TYPE_SPATIAL_ANCHOR_SPACE_FROM_ID_CREATE_INFO_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_anchor_space"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + TypeSpatialAnchorSpaceFromIdCreateInfoANDROID = 1000795000, + + [NativeName("XR_TYPE_BATTERY_STATE_DISPLAY_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_interaction_profile_battery_state_display"])] + TypeBatteryStateDisplayEXT = 1000836000, + + [NativeName("XR_TYPE_LOADER_INIT_INFO_PROPERTIES_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_loader_init_properties"])] + TypeLoaderInitInfoPropertiesEXT = 1000838000, + + [NativeName("XR_TYPE_EVENT_DATA_VIEW_CONFIGURATION_VIEWS_CHANGED_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_views_change"])] + TypeEventDataViewConfigurationViewsChangedEXT = 1000839000, + + [NativeName("XR_TYPE_GRAPHICS_BINDING_VULKAN2_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_vulkan_enable2"])] + TypeGraphicsBindingVulkan2KHR = TypeGraphicsBindingVulkanKHR, + + [NativeName("XR_TYPE_SWAPCHAIN_IMAGE_VULKAN2_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_vulkan_enable2"])] + TypeSwapchainImageVulkan2KHR = TypeSwapchainImageVulkanKHR, + + [NativeName("XR_TYPE_GRAPHICS_REQUIREMENTS_VULKAN2_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_vulkan_enable2"])] + TypeGraphicsRequirementsVulkan2KHR = TypeGraphicsRequirementsVulkanKHR, + + [NativeName("XR_TYPE_DEVICE_PCM_SAMPLE_RATE_GET_INFO_FB")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + TypeDevicePcmSampleRateGetInfoFB = TypeDevicePcmSampleRateStateFB, + + [NativeName("XR_TYPE_SPACES_LOCATE_INFO_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_locate_spaces"])] + TypeSpacesLocateInfoKHR = TypeSpacesLocateInfo, + + [NativeName("XR_TYPE_SPACE_LOCATIONS_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_locate_spaces"])] + TypeSpaceLocationsKHR = TypeSpaceLocations, + + [NativeName("XR_TYPE_SPACE_VELOCITIES_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_locate_spaces"])] + TypeSpaceVelocitiesKHR = TypeSpaceVelocities, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SwapchainCreateInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SwapchainCreateInfo.gen.cs new file mode 100644 index 0000000000..62bd6fa7a0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SwapchainCreateInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainCreateInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SwapchainCreateInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeSwapchainCreateInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("createFlags")] + [SupportedApiProfile("openxr")] + public SwapchainCreateFlags CreateFlags; + + [NativeName("usageFlags")] + [SupportedApiProfile("openxr")] + public SwapchainUsageFlags UsageFlags; + + [NativeName("format")] + [SupportedApiProfile("openxr")] + public long Format; + + [NativeName("sampleCount")] + [SupportedApiProfile("openxr")] + public uint SampleCount; + + [NativeName("width")] + [SupportedApiProfile("openxr")] + public uint Width; + + [NativeName("height")] + [SupportedApiProfile("openxr")] + public uint Height; + + [NativeName("faceCount")] + [SupportedApiProfile("openxr")] + public uint FaceCount; + + [NativeName("arraySize")] + [SupportedApiProfile("openxr")] + public uint ArraySize; + + [NativeName("mipCount")] + [SupportedApiProfile("openxr")] + public uint MipCount; + + [SupportedApiProfile("openxr")] + public SwapchainCreateInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SwapchainCreateInfoFoveationFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SwapchainCreateInfoFoveationFB.gen.cs new file mode 100644 index 0000000000..ab67c57ca5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SwapchainCreateInfoFoveationFB.gen.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainCreateInfoFoveationFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SwapchainCreateInfoFoveationFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSwapchainCreateInfoFoveationFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public SwapchainCreateFoveationFlagsFB Flags; + + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public SwapchainCreateInfoFoveationFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SwapchainImageAcquireInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SwapchainImageAcquireInfo.gen.cs new file mode 100644 index 0000000000..67e6ace658 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SwapchainImageAcquireInfo.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainImageAcquireInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SwapchainImageAcquireInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeSwapchainImageAcquireInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [SupportedApiProfile("openxr")] + public SwapchainImageAcquireInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SwapchainImageBaseHeader.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SwapchainImageBaseHeader.gen.cs new file mode 100644 index 0000000000..3df5a39e85 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SwapchainImageBaseHeader.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainImageBaseHeader")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SwapchainImageBaseHeader +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SwapchainImageReleaseInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SwapchainImageReleaseInfo.gen.cs new file mode 100644 index 0000000000..a2775f1aab --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SwapchainImageReleaseInfo.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainImageReleaseInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SwapchainImageReleaseInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeSwapchainImageReleaseInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [SupportedApiProfile("openxr")] + public SwapchainImageReleaseInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SwapchainImageWaitInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SwapchainImageWaitInfo.gen.cs new file mode 100644 index 0000000000..bcb92ae6e2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SwapchainImageWaitInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainImageWaitInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SwapchainImageWaitInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeSwapchainImageWaitInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("timeout")] + [SupportedApiProfile("openxr")] + public long Timeout; + + [SupportedApiProfile("openxr")] + public SwapchainImageWaitInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SwapchainStateBaseHeaderFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SwapchainStateBaseHeaderFB.gen.cs new file mode 100644 index 0000000000..5fe068b5bb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SwapchainStateBaseHeaderFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainStateBaseHeaderFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SwapchainStateBaseHeaderFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_swapchain_update_state"])] + public StructureType Type; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_swapchain_update_state"])] + public void* Next; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SwapchainStateFoveationFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SwapchainStateFoveationFB.gen.cs new file mode 100644 index 0000000000..b05b14bdb2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SwapchainStateFoveationFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainStateFoveationFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SwapchainStateFoveationFB +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSwapchainStateFoveationFB; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public SwapchainStateFoveationFlagsFB Flags; + + [NativeName("profile")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public FoveationProfileHandleFB Profile; + + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public SwapchainStateFoveationFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SwapchainSubImage.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SwapchainSubImage.gen.cs new file mode 100644 index 0000000000..c9c10ae67a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SwapchainSubImage.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSwapchainSubImage")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SwapchainSubImage +{ + [NativeName("swapchain")] + [SupportedApiProfile("openxr")] + public SwapchainHandle Swapchain; + + [NativeName("imageRect")] + [SupportedApiProfile("openxr")] + public Rect2Di ImageRect; + + [NativeName("imageArrayIndex")] + [SupportedApiProfile("openxr")] + public uint ImageArrayIndex; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemAnchorPropertiesHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemAnchorPropertiesHTC.gen.cs new file mode 100644 index 0000000000..03587b2491 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemAnchorPropertiesHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemAnchorPropertiesHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemAnchorPropertiesHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public StructureType Type = StructureType.TypeSystemAnchorPropertiesHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public void* Next; + + [NativeName("supportsAnchor")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public MaybeBool SupportsAnchor; + + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public SystemAnchorPropertiesHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemBodyTrackingPropertiesBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemBodyTrackingPropertiesBD.gen.cs new file mode 100644 index 0000000000..a1f9cb516b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemBodyTrackingPropertiesBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemBodyTrackingPropertiesBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemBodyTrackingPropertiesBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public StructureType Type = StructureType.TypeSystemBodyTrackingPropertiesBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public void* Next; + + [NativeName("supportsBodyTracking")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public MaybeBool SupportsBodyTracking; + + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public SystemBodyTrackingPropertiesBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemBodyTrackingPropertiesFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemBodyTrackingPropertiesFB.gen.cs new file mode 100644 index 0000000000..7afc82854c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemBodyTrackingPropertiesFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemBodyTrackingPropertiesFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemBodyTrackingPropertiesFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public StructureType Type = StructureType.TypeSystemBodyTrackingPropertiesFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public void* Next; + + [NativeName("supportsBodyTracking")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public MaybeBool SupportsBodyTracking; + + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public SystemBodyTrackingPropertiesFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemBodyTrackingPropertiesHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemBodyTrackingPropertiesHTC.gen.cs new file mode 100644 index 0000000000..f8db329567 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemBodyTrackingPropertiesHTC.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemBodyTrackingPropertiesHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemBodyTrackingPropertiesHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public StructureType Type = StructureType.TypeSystemBodyTrackingPropertiesHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public void* Next; + + [NativeName("supportsBodyTracking")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public MaybeBool SupportsBodyTracking; + + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public SystemBodyTrackingPropertiesHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemBoundaryVisibilityPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemBoundaryVisibilityPropertiesMETA.gen.cs new file mode 100644 index 0000000000..37abe10396 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemBoundaryVisibilityPropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemBoundaryVisibilityPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemBoundaryVisibilityPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + public StructureType Type = StructureType.TypeSystemBoundaryVisibilityPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + public void* Next; + + [NativeName("supportsBoundaryVisibility")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + public MaybeBool SupportsBoundaryVisibility; + + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + public SystemBoundaryVisibilityPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemColocationDiscoveryPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemColocationDiscoveryPropertiesMETA.gen.cs new file mode 100644 index 0000000000..ad108f63eb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemColocationDiscoveryPropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemColocationDiscoveryPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemColocationDiscoveryPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public StructureType Type = StructureType.TypeSystemColocationDiscoveryPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public void* Next; + + [NativeName("supportsColocationDiscovery")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public MaybeBool SupportsColocationDiscovery; + + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public SystemColocationDiscoveryPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemColorSpacePropertiesFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemColorSpacePropertiesFB.gen.cs new file mode 100644 index 0000000000..79581e418f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemColorSpacePropertiesFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemColorSpacePropertiesFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemColorSpacePropertiesFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + public StructureType Type = StructureType.TypeSystemColorSpacePropertiesFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + public void* Next; + + [NativeName("colorSpace")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + public ColorSpaceFB ColorSpace; + + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + public SystemColorSpacePropertiesFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemDeviceAnchorPersistencePropertiesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemDeviceAnchorPersistencePropertiesANDROID.gen.cs new file mode 100644 index 0000000000..da2afce7ed --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemDeviceAnchorPersistencePropertiesANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemDeviceAnchorPersistencePropertiesANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemDeviceAnchorPersistencePropertiesANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public StructureType Type = StructureType.TypeSystemDeviceAnchorPersistencePropertiesANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public void* Next; + + [NativeName("supportsAnchorPersistence")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public MaybeBool SupportsAnchorPersistence; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public SystemDeviceAnchorPersistencePropertiesANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemEnvironmentDepthPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemEnvironmentDepthPropertiesMETA.gen.cs new file mode 100644 index 0000000000..1d6f18e53d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemEnvironmentDepthPropertiesMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemEnvironmentDepthPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemEnvironmentDepthPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public StructureType Type = StructureType.TypeSystemEnvironmentDepthPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public void* Next; + + [NativeName("supportsEnvironmentDepth")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public MaybeBool SupportsEnvironmentDepth; + + [NativeName("supportsHandRemoval")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public MaybeBool SupportsHandRemoval; + + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public SystemEnvironmentDepthPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemEnvironmentRaycastPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemEnvironmentRaycastPropertiesMETA.gen.cs new file mode 100644 index 0000000000..df5489c209 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemEnvironmentRaycastPropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemEnvironmentRaycastPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemEnvironmentRaycastPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeSystemEnvironmentRaycastPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public void* Next; + + [NativeName("supportsEnvironmentRaycast")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public MaybeBool SupportsEnvironmentRaycast; + + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public SystemEnvironmentRaycastPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemEyeGazeInteractionPropertiesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemEyeGazeInteractionPropertiesEXT.gen.cs new file mode 100644 index 0000000000..f31aa75135 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemEyeGazeInteractionPropertiesEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemEyeGazeInteractionPropertiesEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemEyeGazeInteractionPropertiesEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_eye_gaze_interaction"])] + public StructureType Type = StructureType.TypeSystemEyeGazeInteractionPropertiesEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_eye_gaze_interaction"])] + public void* Next; + + [NativeName("supportsEyeGazeInteraction")] + [SupportedApiProfile("openxr", ["XR_EXT_eye_gaze_interaction"])] + public MaybeBool SupportsEyeGazeInteraction; + + [SupportedApiProfile("openxr", ["XR_EXT_eye_gaze_interaction"])] + public SystemEyeGazeInteractionPropertiesEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemEyeTrackingPropertiesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemEyeTrackingPropertiesANDROID.gen.cs new file mode 100644 index 0000000000..03d9b4ffbe --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemEyeTrackingPropertiesANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemEyeTrackingPropertiesANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemEyeTrackingPropertiesANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public StructureType Type = StructureType.TypeSystemEyeTrackingPropertiesANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public void* Next; + + [NativeName("supportsEyeTracking")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public MaybeBool SupportsEyeTracking; + + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public SystemEyeTrackingPropertiesANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemEyeTrackingPropertiesFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemEyeTrackingPropertiesFB.gen.cs new file mode 100644 index 0000000000..d32f07202c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemEyeTrackingPropertiesFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemEyeTrackingPropertiesFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemEyeTrackingPropertiesFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public StructureType Type = StructureType.TypeSystemEyeTrackingPropertiesFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public void* Next; + + [NativeName("supportsEyeTracking")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public MaybeBool SupportsEyeTracking; + + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public SystemEyeTrackingPropertiesFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemFaceTrackingProperties2FB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemFaceTrackingProperties2FB.gen.cs new file mode 100644 index 0000000000..81761d2f3c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemFaceTrackingProperties2FB.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemFaceTrackingProperties2FB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemFaceTrackingProperties2FB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public StructureType Type = StructureType.TypeSystemFaceTrackingProperties2FB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public void* Next; + + [NativeName("supportsVisualFaceTracking")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public MaybeBool SupportsVisualFaceTracking; + + [NativeName("supportsAudioFaceTracking")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public MaybeBool SupportsAudioFaceTracking; + + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public SystemFaceTrackingProperties2FB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemFaceTrackingPropertiesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemFaceTrackingPropertiesANDROID.gen.cs new file mode 100644 index 0000000000..56a123e535 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemFaceTrackingPropertiesANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemFaceTrackingPropertiesANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemFaceTrackingPropertiesANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public StructureType Type = StructureType.TypeSystemFaceTrackingPropertiesANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public void* Next; + + [NativeName("supportsFaceTracking")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public MaybeBool SupportsFaceTracking; + + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public SystemFaceTrackingPropertiesANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemFaceTrackingPropertiesFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemFaceTrackingPropertiesFB.gen.cs new file mode 100644 index 0000000000..76a2ffd7f8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemFaceTrackingPropertiesFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemFaceTrackingPropertiesFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemFaceTrackingPropertiesFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public StructureType Type = StructureType.TypeSystemFaceTrackingPropertiesFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public void* Next; + + [NativeName("supportsFaceTracking")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public MaybeBool SupportsFaceTracking; + + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public SystemFaceTrackingPropertiesFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemFaceTrackingVisemesPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemFaceTrackingVisemesPropertiesMETA.gen.cs new file mode 100644 index 0000000000..2cde00e083 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemFaceTrackingVisemesPropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemFaceTrackingVisemesPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemFaceTrackingVisemesPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSystemFaceTrackingVisemesPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("supportsVisemes")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + public MaybeBool SupportsVisemes; + + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + public SystemFaceTrackingVisemesPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemFacialExpressionPropertiesML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemFacialExpressionPropertiesML.gen.cs new file mode 100644 index 0000000000..e73015c8de --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemFacialExpressionPropertiesML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemFacialExpressionPropertiesML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemFacialExpressionPropertiesML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public StructureType Type = StructureType.TypeSystemFacialExpressionPropertiesML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public void* Next; + + [NativeName("supportsFacialExpression")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public MaybeBool SupportsFacialExpression; + + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public SystemFacialExpressionPropertiesML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemFacialSimulationPropertiesBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemFacialSimulationPropertiesBD.gen.cs new file mode 100644 index 0000000000..39ac771fe1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemFacialSimulationPropertiesBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemFacialSimulationPropertiesBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemFacialSimulationPropertiesBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public StructureType Type = StructureType.TypeSystemFacialSimulationPropertiesBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public void* Next; + + [NativeName("supportsFaceTracking")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public MaybeBool SupportsFaceTracking; + + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public SystemFacialSimulationPropertiesBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemFacialTrackingPropertiesHTC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemFacialTrackingPropertiesHTC.gen.cs new file mode 100644 index 0000000000..7c022e8e05 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemFacialTrackingPropertiesHTC.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemFacialTrackingPropertiesHTC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemFacialTrackingPropertiesHTC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public StructureType Type = StructureType.TypeSystemFacialTrackingPropertiesHTC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public void* Next; + + [NativeName("supportEyeFacialTracking")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public MaybeBool SupportEyeFacialTracking; + + [NativeName("supportLipFacialTracking")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public MaybeBool SupportLipFacialTracking; + + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public SystemFacialTrackingPropertiesHTC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemForceFeedbackCurlPropertiesMNDX.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemForceFeedbackCurlPropertiesMNDX.gen.cs new file mode 100644 index 0000000000..fc87a16a14 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemForceFeedbackCurlPropertiesMNDX.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemForceFeedbackCurlPropertiesMNDX")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemForceFeedbackCurlPropertiesMNDX +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSystemForceFeedbackCurlPropertiesMNDX; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("supportsForceFeedbackCurl")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public MaybeBool SupportsForceFeedbackCurl; + + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public SystemForceFeedbackCurlPropertiesMNDX() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemFoveatedRenderingPropertiesVARJO.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemFoveatedRenderingPropertiesVARJO.gen.cs new file mode 100644 index 0000000000..1dcb601760 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemFoveatedRenderingPropertiesVARJO.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemFoveatedRenderingPropertiesVARJO")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemFoveatedRenderingPropertiesVARJO +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSystemFoveatedRenderingPropertiesVARJO; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("supportsFoveatedRendering")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public MaybeBool SupportsFoveatedRendering; + + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public SystemFoveatedRenderingPropertiesVARJO() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemFoveationEyeTrackedPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemFoveationEyeTrackedPropertiesMETA.gen.cs new file mode 100644 index 0000000000..db89c70e32 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemFoveationEyeTrackedPropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemFoveationEyeTrackedPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemFoveationEyeTrackedPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSystemFoveationEyeTrackedPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("supportsFoveationEyeTracked")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public MaybeBool SupportsFoveationEyeTracked; + + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public SystemFoveationEyeTrackedPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemGetInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemGetInfo.gen.cs new file mode 100644 index 0000000000..ddef2a0825 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemGetInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemGetInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemGetInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeSystemGetInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("formFactor")] + [SupportedApiProfile("openxr")] + public FormFactor FormFactor; + + [SupportedApiProfile("openxr")] + public SystemGetInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemGraphicsProperties.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemGraphicsProperties.gen.cs new file mode 100644 index 0000000000..98c61e88d9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemGraphicsProperties.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemGraphicsProperties")] +[SupportedApiProfile("openxr")] +public partial struct SystemGraphicsProperties +{ + [NativeName("maxSwapchainImageHeight")] + [SupportedApiProfile("openxr")] + public uint MaxSwapchainImageHeight; + + [NativeName("maxSwapchainImageWidth")] + [SupportedApiProfile("openxr")] + public uint MaxSwapchainImageWidth; + + [NativeName("maxLayerCount")] + [SupportedApiProfile("openxr")] + public uint MaxLayerCount; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemHandTrackingMeshPropertiesMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemHandTrackingMeshPropertiesMSFT.gen.cs new file mode 100644 index 0000000000..db60339175 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemHandTrackingMeshPropertiesMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemHandTrackingMeshPropertiesMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemHandTrackingMeshPropertiesMSFT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSystemHandTrackingMeshPropertiesMSFT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("supportsHandTrackingMesh")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public MaybeBool SupportsHandTrackingMesh; + + [NativeName("maxHandMeshIndexCount")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint MaxHandMeshIndexCount; + + [NativeName("maxHandMeshVertexCount")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public uint MaxHandMeshVertexCount; + + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public SystemHandTrackingMeshPropertiesMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemHandTrackingPropertiesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemHandTrackingPropertiesEXT.gen.cs new file mode 100644 index 0000000000..6f71bfd2f1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemHandTrackingPropertiesEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemHandTrackingPropertiesEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemHandTrackingPropertiesEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public StructureType Type = StructureType.TypeSystemHandTrackingPropertiesEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public void* Next; + + [NativeName("supportsHandTracking")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public MaybeBool SupportsHandTracking; + + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public SystemHandTrackingPropertiesEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemHapticParametricPropertiesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemHapticParametricPropertiesEXT.gen.cs new file mode 100644 index 0000000000..a3d2b05205 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemHapticParametricPropertiesEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemHapticParametricPropertiesEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemHapticParametricPropertiesEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public StructureType Type = StructureType.TypeSystemHapticParametricPropertiesEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public void* Next; + + [NativeName("supportsParametricHaptics")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public MaybeBool SupportsParametricHaptics; + + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public SystemHapticParametricPropertiesEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemHeadsetIdPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemHeadsetIdPropertiesMETA.gen.cs new file mode 100644 index 0000000000..e542dcc954 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemHeadsetIdPropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemHeadsetIdPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemHeadsetIdPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_headset_id"])] + public StructureType Type = StructureType.TypeSystemHeadsetIdPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_headset_id"])] + public void* Next; + + [NativeName("id")] + [SupportedApiProfile("openxr", ["XR_META_headset_id"])] + public Uuid Id; + + [SupportedApiProfile("openxr", ["XR_META_headset_id"])] + public SystemHeadsetIdPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemImageTrackingPropertiesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemImageTrackingPropertiesANDROID.gen.cs new file mode 100644 index 0000000000..259054098f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemImageTrackingPropertiesANDROID.gen.cs @@ -0,0 +1,69 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemImageTrackingPropertiesANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemImageTrackingPropertiesANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeSystemImageTrackingPropertiesANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public void* Next; + + [NativeName("supportsImageTracking")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public MaybeBool SupportsImageTracking; + + [NativeName("supportsPhysicalSizeEstimation")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public MaybeBool SupportsPhysicalSizeEstimation; + + [NativeName("maxTrackedImageCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public uint MaxTrackedImageCount; + + [NativeName("maxLoadedImageCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public uint MaxLoadedImageCount; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public SystemImageTrackingPropertiesANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemKeyboardTrackingPropertiesFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemKeyboardTrackingPropertiesFB.gen.cs new file mode 100644 index 0000000000..de0e81eb57 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemKeyboardTrackingPropertiesFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemKeyboardTrackingPropertiesFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemKeyboardTrackingPropertiesFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public StructureType Type = StructureType.TypeSystemKeyboardTrackingPropertiesFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public void* Next; + + [NativeName("supportsKeyboardTracking")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public MaybeBool SupportsKeyboardTracking; + + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public SystemKeyboardTrackingPropertiesFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemLightEstimationPropertiesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemLightEstimationPropertiesANDROID.gen.cs new file mode 100644 index 0000000000..fced33ef92 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemLightEstimationPropertiesANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemLightEstimationPropertiesANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemLightEstimationPropertiesANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public StructureType Type = StructureType.TypeSystemLightEstimationPropertiesANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public void* Next; + + [NativeName("supportsLightEstimation")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public MaybeBool SupportsLightEstimation; + + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public SystemLightEstimationPropertiesANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemMarkerTrackingPropertiesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemMarkerTrackingPropertiesANDROID.gen.cs new file mode 100644 index 0000000000..932080daed --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemMarkerTrackingPropertiesANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemMarkerTrackingPropertiesANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemMarkerTrackingPropertiesANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public StructureType Type = StructureType.TypeSystemMarkerTrackingPropertiesANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public void* Next; + + [NativeName("supportsMarkerTracking")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public MaybeBool SupportsMarkerTracking; + + [NativeName("supportsMarkerSizeEstimation")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public MaybeBool SupportsMarkerSizeEstimation; + + [NativeName("maxMarkerCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public ushort MaxMarkerCount; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public SystemMarkerTrackingPropertiesANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemMarkerTrackingPropertiesVARJO.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemMarkerTrackingPropertiesVARJO.gen.cs new file mode 100644 index 0000000000..503e84122c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemMarkerTrackingPropertiesVARJO.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemMarkerTrackingPropertiesVARJO")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemMarkerTrackingPropertiesVARJO +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public StructureType Type = StructureType.TypeSystemMarkerTrackingPropertiesVARJO; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public void* Next; + + [NativeName("supportsMarkerTracking")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public MaybeBool SupportsMarkerTracking; + + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public SystemMarkerTrackingPropertiesVARJO() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemMarkerUnderstandingPropertiesML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemMarkerUnderstandingPropertiesML.gen.cs new file mode 100644 index 0000000000..1fb896c0c5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemMarkerUnderstandingPropertiesML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemMarkerUnderstandingPropertiesML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemMarkerUnderstandingPropertiesML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public StructureType Type = StructureType.TypeSystemMarkerUnderstandingPropertiesML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public void* Next; + + [NativeName("supportsMarkerUnderstanding")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public MaybeBool SupportsMarkerUnderstanding; + + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public SystemMarkerUnderstandingPropertiesML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemNotificationsSetInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemNotificationsSetInfoML.gen.cs new file mode 100644 index 0000000000..9cba174171 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemNotificationsSetInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemNotificationsSetInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemNotificationsSetInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_system_notifications"])] + public StructureType Type = StructureType.TypeSystemNotificationsSetInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_system_notifications"])] + public void* Next; + + [NativeName("suppressNotifications")] + [SupportedApiProfile("openxr", ["XR_ML_system_notifications"])] + public MaybeBool SuppressNotifications; + + [SupportedApiProfile("openxr", ["XR_ML_system_notifications"])] + public SystemNotificationsSetInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughCameraStatePropertiesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughCameraStatePropertiesANDROID.gen.cs new file mode 100644 index 0000000000..b7a52aa531 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughCameraStatePropertiesANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemPassthroughCameraStatePropertiesANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemPassthroughCameraStatePropertiesANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + public StructureType Type = StructureType.TypeSystemPassthroughCameraStatePropertiesANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + public void* Next; + + [NativeName("supportsPassthroughCameraState")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + public MaybeBool SupportsPassthroughCameraState; + + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + public SystemPassthroughCameraStatePropertiesANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughColorLutPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughColorLutPropertiesMETA.gen.cs new file mode 100644 index 0000000000..be7a0d30e2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughColorLutPropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemPassthroughColorLutPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemPassthroughColorLutPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSystemPassthroughColorLutPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("maxColorLutResolution")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public uint MaxColorLutResolution; + + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public SystemPassthroughColorLutPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughLayerPropertiesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughLayerPropertiesANDROID.gen.cs new file mode 100644 index 0000000000..5863a3a78a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughLayerPropertiesANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemPassthroughLayerPropertiesANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemPassthroughLayerPropertiesANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public StructureType Type = StructureType.TypeSystemPassthroughLayerPropertiesANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public void* Next; + + [NativeName("supportsPassthroughLayer")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public MaybeBool SupportsPassthroughLayer; + + [NativeName("maxMeshIndexCount")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public uint MaxMeshIndexCount; + + [NativeName("maxMeshVertexCount")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public uint MaxMeshVertexCount; + + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public SystemPassthroughLayerPropertiesANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughProperties2FB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughProperties2FB.gen.cs new file mode 100644 index 0000000000..6d79919c6a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughProperties2FB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemPassthroughProperties2FB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemPassthroughProperties2FB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public StructureType Type = StructureType.TypeSystemPassthroughProperties2FB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public void* Next; + + [NativeName("capabilities")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public PassthroughCapabilityFlagsFB Capabilities; + + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public SystemPassthroughProperties2FB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughPropertiesFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughPropertiesFB.gen.cs new file mode 100644 index 0000000000..99133784ed --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemPassthroughPropertiesFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemPassthroughPropertiesFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemPassthroughPropertiesFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public StructureType Type = StructureType.TypeSystemPassthroughPropertiesFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public void* Next; + + [NativeName("supportsPassthrough")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public MaybeBool SupportsPassthrough; + + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public SystemPassthroughPropertiesFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemPlaneDetectionPropertiesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemPlaneDetectionPropertiesEXT.gen.cs new file mode 100644 index 0000000000..6b546c0696 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemPlaneDetectionPropertiesEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemPlaneDetectionPropertiesEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemPlaneDetectionPropertiesEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public StructureType Type = StructureType.TypeSystemPlaneDetectionPropertiesEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public void* Next; + + [NativeName("supportedFeatures")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public PlaneDetectionCapabilityFlagsEXT SupportedFeatures; + + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public SystemPlaneDetectionPropertiesEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemProperties.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemProperties.gen.cs new file mode 100644 index 0000000000..f0d4618efb --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemProperties.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemProperties")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemProperties +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeSystemProperties; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("systemId")] + [SupportedApiProfile("openxr")] + public ulong SystemId; + + [NativeName("vendorId")] + [SupportedApiProfile("openxr")] + public uint VendorId; + + [NativeName("systemName")] + [SupportedApiProfile("openxr")] + public SystemPropertiesSystemName SystemName; + + [NativeName("graphicsProperties")] + [SupportedApiProfile("openxr")] + public SystemGraphicsProperties GraphicsProperties; + + [NativeName("trackingProperties")] + [SupportedApiProfile("openxr")] + public SystemTrackingProperties TrackingProperties; + + [SupportedApiProfile("openxr")] + public SystemProperties() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemPropertiesBodyTrackingCalibrationMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemPropertiesBodyTrackingCalibrationMETA.gen.cs new file mode 100644 index 0000000000..aa6a0bb81d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemPropertiesBodyTrackingCalibrationMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemPropertiesBodyTrackingCalibrationMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemPropertiesBodyTrackingCalibrationMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public StructureType Type = StructureType.TypeSystemPropertiesBodyTrackingCalibrationMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public void* Next; + + [NativeName("supportsHeightOverride")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public MaybeBool SupportsHeightOverride; + + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public SystemPropertiesBodyTrackingCalibrationMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemPropertiesBodyTrackingFidelityMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemPropertiesBodyTrackingFidelityMETA.gen.cs new file mode 100644 index 0000000000..fadf31506b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemPropertiesBodyTrackingFidelityMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemPropertiesBodyTrackingFidelityMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemPropertiesBodyTrackingFidelityMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSystemPropertiesBodyTrackingFidelityMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("supportsBodyTrackingFidelity")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + public MaybeBool SupportsBodyTrackingFidelity; + + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + public SystemPropertiesBodyTrackingFidelityMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemPropertiesBodyTrackingFullBodyMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemPropertiesBodyTrackingFullBodyMETA.gen.cs new file mode 100644 index 0000000000..d3a55f09a0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemPropertiesBodyTrackingFullBodyMETA.gen.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemPropertiesBodyTrackingFullBodyMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemPropertiesBodyTrackingFullBodyMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public StructureType Type = StructureType.TypeSystemPropertiesBodyTrackingFullBodyMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public void* Next; + + [NativeName("supportsFullBodyTracking")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public MaybeBool SupportsFullBodyTracking; + + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public SystemPropertiesBodyTrackingFullBodyMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemPropertiesSystemName.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemPropertiesSystemName.gen.cs new file mode 100644 index 0000000000..d08dcf3fe3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemPropertiesSystemName.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_systemName_e__FixedBuffer")] +[InlineArray(256)] +[SupportedApiProfile("openxr")] +public partial struct SystemPropertiesSystemName +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public sbyte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemQrCodeTrackingPropertiesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemQrCodeTrackingPropertiesANDROID.gen.cs new file mode 100644 index 0000000000..82d4a47985 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemQrCodeTrackingPropertiesANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemQrCodeTrackingPropertiesANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemQrCodeTrackingPropertiesANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public StructureType Type = StructureType.TypeSystemQrCodeTrackingPropertiesANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public void* Next; + + [NativeName("supportsQrCodeTracking")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public MaybeBool SupportsQrCodeTracking; + + [NativeName("supportsQrCodeSizeEstimation")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public MaybeBool SupportsQrCodeSizeEstimation; + + [NativeName("maxQrCodeCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public ushort MaxQrCodeCount; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public SystemQrCodeTrackingPropertiesANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemRenderModelPropertiesFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemRenderModelPropertiesFB.gen.cs new file mode 100644 index 0000000000..70f1df8e91 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemRenderModelPropertiesFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemRenderModelPropertiesFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemRenderModelPropertiesFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public StructureType Type = StructureType.TypeSystemRenderModelPropertiesFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public void* Next; + + [NativeName("supportsRenderModelLoading")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public MaybeBool SupportsRenderModelLoading; + + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public SystemRenderModelPropertiesFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSceneMeshingPropertiesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSceneMeshingPropertiesANDROID.gen.cs new file mode 100644 index 0000000000..dfa4cd61a0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSceneMeshingPropertiesANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSceneMeshingPropertiesANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSceneMeshingPropertiesANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public StructureType Type = StructureType.TypeSystemSceneMeshingPropertiesANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public void* Next; + + [NativeName("supportsSceneMeshing")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public MaybeBool SupportsSceneMeshing; + + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public SystemSceneMeshingPropertiesANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSimultaneousHandsAndControllersPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSimultaneousHandsAndControllersPropertiesMETA.gen.cs new file mode 100644 index 0000000000..fc7386ce31 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSimultaneousHandsAndControllersPropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSimultaneousHandsAndControllersPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSimultaneousHandsAndControllersPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + public StructureType Type = + StructureType.TypeSystemSimultaneousHandsAndControllersPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + public void* Next; + + [NativeName("supportsSimultaneousHandsAndControllers")] + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + public MaybeBool SupportsSimultaneousHandsAndControllers; + + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + public SystemSimultaneousHandsAndControllersPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSpaceDiscoveryPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSpaceDiscoveryPropertiesMETA.gen.cs new file mode 100644 index 0000000000..e7353faeb9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSpaceDiscoveryPropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSpaceDiscoveryPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSpaceDiscoveryPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public StructureType Type = StructureType.TypeSystemSpaceDiscoveryPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public void* Next; + + [NativeName("supportsSpaceDiscovery")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public MaybeBool SupportsSpaceDiscovery; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public SystemSpaceDiscoveryPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSpacePersistencePropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSpacePersistencePropertiesMETA.gen.cs new file mode 100644 index 0000000000..3e60def42e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSpacePersistencePropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSpacePersistencePropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSpacePersistencePropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public StructureType Type = StructureType.TypeSystemSpacePersistencePropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public void* Next; + + [NativeName("supportsSpacePersistence")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public MaybeBool SupportsSpacePersistence; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public SystemSpacePersistencePropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSpaceWarpPropertiesFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSpaceWarpPropertiesFB.gen.cs new file mode 100644 index 0000000000..a2da0ffb8f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSpaceWarpPropertiesFB.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSpaceWarpPropertiesFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSpaceWarpPropertiesFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public StructureType Type = StructureType.TypeSystemSpaceWarpPropertiesFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public void* Next; + + [NativeName("recommendedMotionVectorImageRectWidth")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public uint RecommendedMotionVectorImageRectWidth; + + [NativeName("recommendedMotionVectorImageRectHeight")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public uint RecommendedMotionVectorImageRectHeight; + + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public SystemSpaceWarpPropertiesFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSpatialAnchorPropertiesBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialAnchorPropertiesBD.gen.cs new file mode 100644 index 0000000000..b9e1e083e1 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialAnchorPropertiesBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSpatialAnchorPropertiesBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSpatialAnchorPropertiesBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public StructureType Type = StructureType.TypeSystemSpatialAnchorPropertiesBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public void* Next; + + [NativeName("supportsSpatialAnchor")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public MaybeBool SupportsSpatialAnchor; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public SystemSpatialAnchorPropertiesBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSpatialAnchorSharingPropertiesBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialAnchorSharingPropertiesBD.gen.cs new file mode 100644 index 0000000000..3b10cf5118 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialAnchorSharingPropertiesBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSpatialAnchorSharingPropertiesBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSpatialAnchorSharingPropertiesBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public StructureType Type = StructureType.TypeSystemSpatialAnchorSharingPropertiesBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public void* Next; + + [NativeName("supportsSpatialAnchorSharing")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public MaybeBool SupportsSpatialAnchorSharing; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public SystemSpatialAnchorSharingPropertiesBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSpatialEntityGroupSharingPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialEntityGroupSharingPropertiesMETA.gen.cs new file mode 100644 index 0000000000..28a6a7647e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialEntityGroupSharingPropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSpatialEntityGroupSharingPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSpatialEntityGroupSharingPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_group_sharing"])] + public StructureType Type = StructureType.TypeSystemSpatialEntityGroupSharingPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_group_sharing"])] + public void* Next; + + [NativeName("supportsSpatialEntityGroupSharing")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_group_sharing"])] + public MaybeBool SupportsSpatialEntityGroupSharing; + + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_group_sharing"])] + public SystemSpatialEntityGroupSharingPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSpatialEntityPropertiesFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialEntityPropertiesFB.gen.cs new file mode 100644 index 0000000000..08d38d0fb4 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialEntityPropertiesFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSpatialEntityPropertiesFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSpatialEntityPropertiesFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public StructureType Type = StructureType.TypeSystemSpatialEntityPropertiesFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public void* Next; + + [NativeName("supportsSpatialEntity")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public MaybeBool SupportsSpatialEntity; + + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public SystemSpatialEntityPropertiesFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSpatialEntitySharingPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialEntitySharingPropertiesMETA.gen.cs new file mode 100644 index 0000000000..b63dae5007 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialEntitySharingPropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSpatialEntitySharingPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSpatialEntitySharingPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public StructureType Type = StructureType.TypeSystemSpatialEntitySharingPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public void* Next; + + [NativeName("supportsSpatialEntitySharing")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public MaybeBool SupportsSpatialEntitySharing; + + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public SystemSpatialEntitySharingPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSpatialMeshPropertiesBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialMeshPropertiesBD.gen.cs new file mode 100644 index 0000000000..fdd51eef27 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialMeshPropertiesBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSpatialMeshPropertiesBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSpatialMeshPropertiesBD +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + public StructureType Type = StructureType.TypeSystemSpatialMeshPropertiesBD; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + public void* Next; + + [NativeName("supportsSpatialMesh")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + public MaybeBool SupportsSpatialMesh; + + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + public SystemSpatialMeshPropertiesBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSpatialPlanePropertiesBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialPlanePropertiesBD.gen.cs new file mode 100644 index 0000000000..91e33dd5d8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialPlanePropertiesBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSpatialPlanePropertiesBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSpatialPlanePropertiesBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public StructureType Type = StructureType.TypeSystemSpatialPlanePropertiesBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public void* Next; + + [NativeName("supportsSpatialPlane")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public MaybeBool SupportsSpatialPlane; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public SystemSpatialPlanePropertiesBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSpatialScenePropertiesBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialScenePropertiesBD.gen.cs new file mode 100644 index 0000000000..28be950b98 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialScenePropertiesBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSpatialScenePropertiesBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSpatialScenePropertiesBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public StructureType Type = StructureType.TypeSystemSpatialScenePropertiesBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public void* Next; + + [NativeName("supportsSpatialScene")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public MaybeBool SupportsSpatialScene; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public SystemSpatialScenePropertiesBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemSpatialSensingPropertiesBD.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialSensingPropertiesBD.gen.cs new file mode 100644 index 0000000000..233c9a271d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemSpatialSensingPropertiesBD.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemSpatialSensingPropertiesBD")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemSpatialSensingPropertiesBD +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeSystemSpatialSensingPropertiesBD; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("supportsSpatialSensing")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public MaybeBool SupportsSpatialSensing; + + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public SystemSpatialSensingPropertiesBD() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemTrackablesPropertiesANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemTrackablesPropertiesANDROID.gen.cs new file mode 100644 index 0000000000..085e3bf9ec --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemTrackablesPropertiesANDROID.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemTrackablesPropertiesANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemTrackablesPropertiesANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public StructureType Type = StructureType.TypeSystemTrackablesPropertiesANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public void* Next; + + [NativeName("supportsAnchor")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public MaybeBool SupportsAnchor; + + [NativeName("maxAnchors")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public uint MaxAnchors; + + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public SystemTrackablesPropertiesANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemTrackingProperties.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemTrackingProperties.gen.cs new file mode 100644 index 0000000000..e306b680f5 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemTrackingProperties.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemTrackingProperties")] +[SupportedApiProfile("openxr")] +public partial struct SystemTrackingProperties +{ + [NativeName("orientationTracking")] + [SupportedApiProfile("openxr")] + public MaybeBool OrientationTracking; + + [NativeName("positionTracking")] + [SupportedApiProfile("openxr")] + public MaybeBool PositionTracking; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemUserPresencePropertiesEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemUserPresencePropertiesEXT.gen.cs new file mode 100644 index 0000000000..95c938cd3a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemUserPresencePropertiesEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemUserPresencePropertiesEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemUserPresencePropertiesEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + public StructureType Type = StructureType.TypeSystemUserPresencePropertiesEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + public void* Next; + + [NativeName("supportsUserPresence")] + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + public MaybeBool SupportsUserPresence; + + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + public SystemUserPresencePropertiesEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/SystemVirtualKeyboardPropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/SystemVirtualKeyboardPropertiesMETA.gen.cs new file mode 100644 index 0000000000..436c7143e6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/SystemVirtualKeyboardPropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrSystemVirtualKeyboardPropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct SystemVirtualKeyboardPropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeSystemVirtualKeyboardPropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("supportsVirtualKeyboard")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public MaybeBool SupportsVirtualKeyboard; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public SystemVirtualKeyboardPropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TilePropertiesHintMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TilePropertiesHintMETA.gen.cs new file mode 100644 index 0000000000..393ef4758b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TilePropertiesHintMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTilePropertiesHintMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TilePropertiesHintMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public StructureType Type = StructureType.TypeTilePropertiesHintMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public void* Next; + + [NativeName("propertiesCount")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public uint PropertiesCount; + + [NativeName("properties")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public TilePropertiesMETA* Properties; + + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public TilePropertiesHintMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TilePropertiesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TilePropertiesMETA.gen.cs new file mode 100644 index 0000000000..68d6fd3bd3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TilePropertiesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTilePropertiesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TilePropertiesMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public StructureType Type = StructureType.TypeTilePropertiesMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public void* Next; + + [NativeName("tileDimensions")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public Extent3DiMETA TileDimensions; + + [NativeName("apronDimensions")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public Extent2Di ApronDimensions; + + [NativeName("origin")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public Offset2Di Origin; + + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public TilePropertiesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableGetInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableGetInfoANDROID.gen.cs new file mode 100644 index 0000000000..079016688b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableGetInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableGetInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableGetInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public StructureType Type = StructureType.TypeTrackableGetInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public void* Next; + + [NativeName("trackable")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public ulong Trackable; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public long Time; + + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public TrackableGetInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableImageANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableImageANDROID.gen.cs new file mode 100644 index 0000000000..19e22c870e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableImageANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableImageANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableImageANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeTrackableImageANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public void* Next; + + [NativeName("trackingState")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public TrackingStateANDROID TrackingState; + + [NativeName("lastUpdatedTime")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public long LastUpdatedTime; + + [NativeName("database")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public TrackableImageDatabaseHandleANDROID Database; + + [NativeName("databaseEntryIndex")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public uint DatabaseEntryIndex; + + [NativeName("centerPose")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public Posef CenterPose; + + [NativeName("extents")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public Extent2Df Extents; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public TrackableImageANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableImageConfigurationANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableImageConfigurationANDROID.gen.cs new file mode 100644 index 0000000000..e3e30f9841 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableImageConfigurationANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableImageConfigurationANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableImageConfigurationANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeTrackableImageConfigurationANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public void* Next; + + [NativeName("databaseCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public uint DatabaseCount; + + [NativeName("databases")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public TrackableImageDatabaseHandleANDROID* Databases; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public TrackableImageConfigurationANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableImageDatabaseCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableImageDatabaseCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..efb2498f29 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableImageDatabaseCreateInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableImageDatabaseCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableImageDatabaseCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeTrackableImageDatabaseCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public void* Next; + + [NativeName("entryCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public uint EntryCount; + + [NativeName("entries")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public TrackableImageDatabaseEntryANDROID* Entries; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public TrackableImageDatabaseCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableImageDatabaseEntryANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableImageDatabaseEntryANDROID.gen.cs new file mode 100644 index 0000000000..b2e98d86f6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableImageDatabaseEntryANDROID.gen.cs @@ -0,0 +1,93 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableImageDatabaseEntryANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableImageDatabaseEntryANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public StructureType Type = StructureType.TypeTrackableImageDatabaseEntryANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public void* Next; + + [NativeName("trackingMode")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public TrackableImageTrackingModeANDROID TrackingMode; + + [NativeName("physicalWidth")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public float PhysicalWidth; + + [NativeName("imageWidth")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public uint ImageWidth; + + [NativeName("imageHeight")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public uint ImageHeight; + + [NativeName("format")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public TrackableImageFormatANDROID Format; + + [NativeName("bufferSize")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public uint BufferSize; + + [NativeName("buffer")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public byte* Buffer; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public TrackableImageDatabaseEntryANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableImageFormatANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableImageFormatANDROID.gen.cs new file mode 100644 index 0000000000..1e8f872aec --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableImageFormatANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableImageFormatANDROID")] +[SupportedApiProfile("openxr")] +public enum TrackableImageFormatANDROID : uint +{ + [NativeName("XR_TRACKABLE_IMAGE_FORMAT_R8G8B8A8_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + R8G8B8A8 = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableImageTrackingModeANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableImageTrackingModeANDROID.gen.cs new file mode 100644 index 0000000000..c2a7fde029 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableImageTrackingModeANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableImageTrackingModeANDROID")] +[SupportedApiProfile("openxr")] +public enum TrackableImageTrackingModeANDROID : uint +{ + [NativeName("XR_TRACKABLE_IMAGE_TRACKING_MODE_DYNAMIC_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + Dynamic = 1, + + [NativeName("XR_TRACKABLE_IMAGE_TRACKING_MODE_STATIC_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + Static = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerANDROID.gen.cs new file mode 100644 index 0000000000..3031e7aba0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableMarkerANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableMarkerANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public StructureType Type = StructureType.TypeTrackableMarkerANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public void* Next; + + [NativeName("trackingState")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackingStateANDROID TrackingState; + + [NativeName("lastUpdatedTime")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public long LastUpdatedTime; + + [NativeName("dictionary")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackableMarkerDictionaryANDROID Dictionary; + + [NativeName("markerId")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public int MarkerId; + + [NativeName("centerPose")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public Posef CenterPose; + + [NativeName("extents")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public Extent2Df Extents; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackableMarkerANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerConfigurationANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerConfigurationANDROID.gen.cs new file mode 100644 index 0000000000..ab659a3354 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerConfigurationANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableMarkerConfigurationANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableMarkerConfigurationANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public StructureType Type = StructureType.TypeTrackableMarkerConfigurationANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public void* Next; + + [NativeName("trackingMode")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackableMarkerTrackingModeANDROID TrackingMode; + + [NativeName("databaseCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public uint DatabaseCount; + + [NativeName("databases")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackableMarkerDatabaseANDROID* Databases; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackableMarkerConfigurationANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerDatabaseANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerDatabaseANDROID.gen.cs new file mode 100644 index 0000000000..affa967975 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerDatabaseANDROID.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableMarkerDatabaseANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableMarkerDatabaseANDROID +{ + [NativeName("dictionary")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackableMarkerDictionaryANDROID Dictionary; + + [NativeName("entryCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public uint EntryCount; + + [NativeName("entries")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackableMarkerDatabaseEntryANDROID* Entries; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerDatabaseEntryANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerDatabaseEntryANDROID.gen.cs new file mode 100644 index 0000000000..1cf5ccbb04 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerDatabaseEntryANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableMarkerDatabaseEntryANDROID")] +[SupportedApiProfile("openxr")] +public partial struct TrackableMarkerDatabaseEntryANDROID +{ + [NativeName("id")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public int Id; + + [NativeName("edgeSize")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public float EdgeSize; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerDictionaryANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerDictionaryANDROID.gen.cs new file mode 100644 index 0000000000..59a521736d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerDictionaryANDROID.gen.cs @@ -0,0 +1,174 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableMarkerDictionaryANDROID")] +[SupportedApiProfile("openxr")] +public enum TrackableMarkerDictionaryANDROID : uint +{ + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_4X4_50_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco4x4x50 = 0, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_4X4_100_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco4x4x100 = 1, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_4X4_250_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco4x4x250 = 2, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_4X4_1000_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco4x4x1000 = 3, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_5X5_50_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco5x5x50 = 4, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_5X5_100_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco5x5x100 = 5, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_5X5_250_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco5x5x250 = 6, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_5X5_1000_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco5x5x1000 = 7, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_6X6_50_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco6x6x50 = 8, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_6X6_100_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco6x6x100 = 9, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_6X6_250_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco6x6x250 = 10, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_6X6_1000_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco6x6x1000 = 11, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_7X7_50_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco7x7x50 = 12, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_7X7_100_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco7x7x100 = 13, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_7X7_250_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco7x7x250 = 14, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_ARUCO_7X7_1000_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Aruco7x7x1000 = 15, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_APRILTAG_16H5_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Apriltag16H5 = 16, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_APRILTAG_25H9_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Apriltag25H9 = 17, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_APRILTAG_36H10_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Apriltag36H10 = 18, + + [NativeName("XR_TRACKABLE_MARKER_DICTIONARY_APRILTAG_36H11_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Apriltag36H11 = 19, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerTrackingModeANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerTrackingModeANDROID.gen.cs new file mode 100644 index 0000000000..2beaa8bb0c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableMarkerTrackingModeANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableMarkerTrackingModeANDROID")] +[SupportedApiProfile("openxr")] +public enum TrackableMarkerTrackingModeANDROID : uint +{ + [NativeName("XR_TRACKABLE_MARKER_TRACKING_MODE_DYNAMIC_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Dynamic = 0, + + [NativeName("XR_TRACKABLE_MARKER_TRACKING_MODE_STATIC_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Static = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableObjectANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableObjectANDROID.gen.cs new file mode 100644 index 0000000000..ca6ad6afa3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableObjectANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableObjectANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableObjectANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public StructureType Type = StructureType.TypeTrackableObjectANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public void* Next; + + [NativeName("trackingState")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackingStateANDROID TrackingState; + + [NativeName("centerPose")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public Posef CenterPose; + + [NativeName("extents")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public Extent3Df Extents; + + [NativeName("objectLabel")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public ObjectLabelANDROID ObjectLabel; + + [NativeName("lastUpdatedTime")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public long LastUpdatedTime; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackableObjectANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableObjectConfigurationANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableObjectConfigurationANDROID.gen.cs new file mode 100644 index 0000000000..179ab1381e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableObjectConfigurationANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableObjectConfigurationANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableObjectConfigurationANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public StructureType Type = StructureType.TypeTrackableObjectConfigurationANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public void* Next; + + [NativeName("labelCount")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public uint LabelCount; + + [NativeName("activeLabels")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public ObjectLabelANDROID* ActiveLabels; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackableObjectConfigurationANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackablePlaneANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackablePlaneANDROID.gen.cs new file mode 100644 index 0000000000..c7a87fdb3e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackablePlaneANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackablePlaneANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackablePlaneANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public StructureType Type = StructureType.TypeTrackablePlaneANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public void* Next; + + [NativeName("trackingState")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public TrackingStateANDROID TrackingState; + + [NativeName("centerPose")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public Posef CenterPose; + + [NativeName("extents")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public Extent2Df Extents; + + [NativeName("planeType")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public PlaneTypeANDROID PlaneType; + + [NativeName("planeLabel")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public PlaneLabelANDROID PlaneLabel; + + [NativeName("subsumedByPlane")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public ulong SubsumedByPlane; + + [NativeName("lastUpdatedTime")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public long LastUpdatedTime; + + [NativeName("vertexCapacityInput")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public uint VertexCapacityInput; + + [NativeName("vertexCountOutput")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public uint* VertexCountOutput; + + [NativeName("vertices")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public Vector2F* Vertices; + + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public TrackablePlaneANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableQrCodeANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableQrCodeANDROID.gen.cs new file mode 100644 index 0000000000..693b4a35d6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableQrCodeANDROID.gen.cs @@ -0,0 +1,93 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableQrCodeANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableQrCodeANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public StructureType Type = StructureType.TypeTrackableQrCodeANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public void* Next; + + [NativeName("trackingState")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackingStateANDROID TrackingState; + + [NativeName("lastUpdatedTime")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public long LastUpdatedTime; + + [NativeName("centerPose")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public Posef CenterPose; + + [NativeName("extents")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public Extent2Df Extents; + + [NativeName("bufferCapacityInput")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public uint BufferCapacityInput; + + [NativeName("bufferCountOutput")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public uint BufferCountOutput; + + [NativeName("buffer")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public sbyte* Buffer; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackableQrCodeANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableQrCodeConfigurationANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableQrCodeConfigurationANDROID.gen.cs new file mode 100644 index 0000000000..b48546c3bd --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableQrCodeConfigurationANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableQrCodeConfigurationANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableQrCodeConfigurationANDROID +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public StructureType Type = StructureType.TypeTrackableQrCodeConfigurationANDROID; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public void* Next; + + [NativeName("trackingMode")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public QrCodeTrackingModeANDROID TrackingMode; + + [NativeName("qrCodeEdgeSize")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public float QrCodeEdgeSize; + + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public TrackableQrCodeConfigurationANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableTrackerCreateInfoANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableTrackerCreateInfoANDROID.gen.cs new file mode 100644 index 0000000000..3ab9856388 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableTrackerCreateInfoANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableTrackerCreateInfoANDROID")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TrackableTrackerCreateInfoANDROID +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public StructureType Type = StructureType.TypeTrackableTrackerCreateInfoANDROID; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public void* Next; + + [NativeName("trackableType")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public TrackableTypeANDROID TrackableType; + + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public TrackableTrackerCreateInfoANDROID() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackableTypeANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackableTypeANDROID.gen.cs new file mode 100644 index 0000000000..a2b3f2b8ea --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackableTypeANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackableTypeANDROID")] +[SupportedApiProfile("openxr")] +public enum TrackableTypeANDROID : uint +{ + [NativeName("XR_TRACKABLE_TYPE_NOT_VALID_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + NotValid = 0, + + [NativeName("XR_TRACKABLE_TYPE_PLANE_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + Plane = 1, + + [NativeName("XR_TRACKABLE_TYPE_DEPTH_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + Depth = 1000463000, + + [NativeName("XR_TRACKABLE_TYPE_OBJECT_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Object = 1000466000, + + [NativeName("XR_TRACKABLE_TYPE_MARKER_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + Marker = 1000707000, + + [NativeName("XR_TRACKABLE_TYPE_QR_CODE_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + QrCode = 1000708000, + + [NativeName("XR_TRACKABLE_TYPE_IMAGE_ANDROID")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + Image = 1000709000, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackingOptimizationSettingsDomainQCOM.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackingOptimizationSettingsDomainQCOM.gen.cs new file mode 100644 index 0000000000..fa0982bea6 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackingOptimizationSettingsDomainQCOM.gen.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackingOptimizationSettingsDomainQCOM")] +[SupportedApiProfile("openxr")] +public enum TrackingOptimizationSettingsDomainQCOM : uint +{ + [NativeName("XR_TRACKING_OPTIMIZATION_SETTINGS_DOMAIN_ALL_QCOM")] + [SupportedApiProfile("openxr", ["XR_QCOM_tracking_optimization_settings"])] + All = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackingOptimizationSettingsHintQCOM.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackingOptimizationSettingsHintQCOM.gen.cs new file mode 100644 index 0000000000..8eff87db62 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackingOptimizationSettingsHintQCOM.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackingOptimizationSettingsHintQCOM")] +[SupportedApiProfile("openxr")] +public enum TrackingOptimizationSettingsHintQCOM : uint +{ + [NativeName("XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_NONE_QCOM")] + [SupportedApiProfile("openxr", ["XR_QCOM_tracking_optimization_settings"])] + None = 0, + + [NativeName("XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LONG_RANGE_PRIORIZATION_QCOM")] + [SupportedApiProfile("openxr", ["XR_QCOM_tracking_optimization_settings"])] + LongRangePriorization = 1, + + [NativeName("XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_CLOSE_RANGE_PRIORIZATION_QCOM")] + [SupportedApiProfile("openxr", ["XR_QCOM_tracking_optimization_settings"])] + CloseRangePriorization = 2, + + [NativeName("XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LOW_POWER_PRIORIZATION_QCOM")] + [SupportedApiProfile("openxr", ["XR_QCOM_tracking_optimization_settings"])] + LowPowerPriorization = 3, + + [NativeName("XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_HIGH_POWER_PRIORIZATION_QCOM")] + [SupportedApiProfile("openxr", ["XR_QCOM_tracking_optimization_settings"])] + HighPowerPriorization = 4, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TrackingStateANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TrackingStateANDROID.gen.cs new file mode 100644 index 0000000000..ad09511c82 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TrackingStateANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTrackingStateANDROID")] +[SupportedApiProfile("openxr")] +public enum TrackingStateANDROID : uint +{ + [NativeName("XR_TRACKING_STATE_PAUSED_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + Paused = 0, + + [NativeName("XR_TRACKING_STATE_STOPPED_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + Stopped = 1, + + [NativeName("XR_TRACKING_STATE_TRACKING_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + Tracking = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/TriangleMeshCreateInfoFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/TriangleMeshCreateInfoFB.gen.cs new file mode 100644 index 0000000000..ba8caa57bd --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/TriangleMeshCreateInfoFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrTriangleMeshCreateInfoFB")] +[SupportedApiProfile("openxr")] +public unsafe partial struct TriangleMeshCreateInfoFB +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + public StructureType Type = StructureType.TypeTriangleMeshCreateInfoFB; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + public TriangleMeshFlagsFB Flags; + + [NativeName("windingOrder")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + public WindingOrderFB WindingOrder; + + [NativeName("vertexCount")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + public uint VertexCount; + + [NativeName("vertexBuffer")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + public Vector3F* VertexBuffer; + + [NativeName("triangleCount")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + public uint TriangleCount; + + [NativeName("indexBuffer")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + public uint* IndexBuffer; + + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + public TriangleMeshCreateInfoFB() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/UnpersistSpatialEntityCompletionEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/UnpersistSpatialEntityCompletionEXT.gen.cs new file mode 100644 index 0000000000..155023fbe9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/UnpersistSpatialEntityCompletionEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrUnpersistSpatialEntityCompletionEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct UnpersistSpatialEntityCompletionEXT +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public StructureType Type = StructureType.TypeUnpersistSpatialEntityCompletionEXT; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public Result FutureResult; + + [NativeName("unpersistResult")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public SpatialPersistenceContextResultEXT UnpersistResult; + + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public UnpersistSpatialEntityCompletionEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/UserCalibrationEnableEventsInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/UserCalibrationEnableEventsInfoML.gen.cs new file mode 100644 index 0000000000..042da70ad8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/UserCalibrationEnableEventsInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrUserCalibrationEnableEventsInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct UserCalibrationEnableEventsInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public StructureType Type = StructureType.TypeUserCalibrationEnableEventsInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public void* Next; + + [NativeName("enabled")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public MaybeBool Enabled; + + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public UserCalibrationEnableEventsInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Uuid.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Uuid.gen.cs new file mode 100644 index 0000000000..1487814749 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Uuid.gen.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrUuid")] +[SupportedApiProfile("openxr")] +public partial struct Uuid +{ + [NativeName("data")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public UuidData Data; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/UuidData.gen.cs b/sources/OpenXR/OpenXR/OpenXR/UuidData.gen.cs new file mode 100644 index 0000000000..9a0042240e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/UuidData.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_data_e__FixedBuffer")] +[InlineArray(16)] +[SupportedApiProfile("openxr")] +public partial struct UuidData +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public byte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/UuidMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/UuidMSFT.gen.cs new file mode 100644 index 0000000000..df9514745f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/UuidMSFT.gen.cs @@ -0,0 +1,18 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrUuidMSFT")] +[SupportedApiProfile("openxr")] +public partial struct UuidMSFT +{ + [NativeName("bytes")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public UuidMSFTBytes Bytes; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/UuidMSFTBytes.gen.cs b/sources/OpenXR/OpenXR/OpenXR/UuidMSFTBytes.gen.cs new file mode 100644 index 0000000000..83347855e0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/UuidMSFTBytes.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("_bytes_e__FixedBuffer")] +[InlineArray(16)] +[SupportedApiProfile("openxr")] +public partial struct UuidMSFTBytes +{ + [NativeName("e0")] + [SupportedApiProfile("openxr")] + public byte E0; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Vector2F.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Vector2F.gen.cs new file mode 100644 index 0000000000..174d57914d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Vector2F.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVector2f")] +[SupportedApiProfile("openxr")] +public partial struct Vector2F +{ + [NativeName("x")] + [SupportedApiProfile("openxr")] + public float X; + + [NativeName("y")] + [SupportedApiProfile("openxr")] + public float Y; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Vector3F.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Vector3F.gen.cs new file mode 100644 index 0000000000..0d0c44c917 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Vector3F.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVector3f")] +[SupportedApiProfile("openxr")] +public partial struct Vector3F +{ + [NativeName("x")] + [SupportedApiProfile("openxr")] + public float X; + + [NativeName("y")] + [SupportedApiProfile("openxr")] + public float Y; + + [NativeName("z")] + [SupportedApiProfile("openxr")] + public float Z; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Vector4F.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Vector4F.gen.cs new file mode 100644 index 0000000000..345dbc2ea8 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Vector4F.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVector4f")] +[SupportedApiProfile("openxr")] +public partial struct Vector4F +{ + [NativeName("x")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float X; + + [NativeName("y")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float Y; + + [NativeName("z")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float Z; + + [NativeName("w")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public float W; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Vector4SFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Vector4SFB.gen.cs new file mode 100644 index 0000000000..cd3e22d1e3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Vector4SFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVector4sFB")] +[SupportedApiProfile("openxr")] +public partial struct Vector4SFB +{ + [NativeName("x")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public short X; + + [NativeName("y")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public short Y; + + [NativeName("z")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public short Z; + + [NativeName("w")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public short W; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Version.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Version.gen.cs new file mode 100644 index 0000000000..38f082b2f0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Version.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVersion")] +[SupportedApiProfile("openxr")] +public enum Version : ulong +{ + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + X1x0 = 1, + + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + X1x1 = 1, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/View.gen.cs b/sources/OpenXR/OpenXR/OpenXR/View.gen.cs new file mode 100644 index 0000000000..5b2cb9ecf7 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/View.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrView")] +[SupportedApiProfile("openxr")] +public unsafe partial struct View +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeView; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("pose")] + [SupportedApiProfile("openxr")] + public Posef Pose; + + [NativeName("fov")] + [SupportedApiProfile("openxr")] + public Fovf Fov; + + [SupportedApiProfile("openxr")] + public View() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationDepthRangeEXT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationDepthRangeEXT.gen.cs new file mode 100644 index 0000000000..b971109d18 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationDepthRangeEXT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrViewConfigurationDepthRangeEXT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ViewConfigurationDepthRangeEXT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_depth_range"])] + public StructureType Type = StructureType.TypeViewConfigurationDepthRangeEXT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_depth_range"])] + public void* Next; + + [NativeName("recommendedNearZ")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_depth_range"])] + public float RecommendedNearZ; + + [NativeName("minNearZ")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_depth_range"])] + public float MinNearZ; + + [NativeName("recommendedFarZ")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_depth_range"])] + public float RecommendedFarZ; + + [NativeName("maxFarZ")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_depth_range"])] + public float MaxFarZ; + + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_depth_range"])] + public ViewConfigurationDepthRangeEXT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationProperties.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationProperties.gen.cs new file mode 100644 index 0000000000..3aed56a176 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationProperties.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrViewConfigurationProperties")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ViewConfigurationProperties +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeViewConfigurationProperties; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("viewConfigurationType")] + [SupportedApiProfile("openxr")] + public ViewConfigurationType ViewConfigurationType; + + [NativeName("fovMutable")] + [SupportedApiProfile("openxr")] + public MaybeBool FovMutable; + + [SupportedApiProfile("openxr")] + public ViewConfigurationProperties() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationType.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationType.gen.cs new file mode 100644 index 0000000000..b97ddaef3b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationType.gen.cs @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrViewConfigurationType")] +[SupportedApiProfile("openxr")] +public enum ViewConfigurationType : uint +{ + [NativeName("XR_VIEW_CONFIGURATION_TYPE_PRIMARY_MONO")] + [SupportedApiProfile("openxr")] + PrimaryMono = 1, + + [NativeName("XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO")] + [SupportedApiProfile("openxr")] + PrimaryStereo = 2, + + [NativeName("XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO_WITH_FOVEATED_INSET")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + PrimaryStereoWithFoveatedInset = 1000037000, + + [NativeName("XR_VIEW_CONFIGURATION_TYPE_SECONDARY_MONO_FIRST_PERSON_OBSERVER_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_first_person_observer"], + ImpliesSets = ["XR_MSFT_secondary_view_configuration", "XR_VERSION_1_0"] + )] + SecondaryMonoFirstPersonObserverMSFT = 1000054000, + + [NativeName("XR_VIEW_CONFIGURATION_TYPE_PRIMARY_QUAD_VARJO")] + [SupportedApiProfile("openxr", ["XR_VARJO_quad_views"])] + PrimaryQuadVARJO = PrimaryStereoWithFoveatedInset, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationView.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationView.gen.cs new file mode 100644 index 0000000000..88b7de1426 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationView.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrViewConfigurationView")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ViewConfigurationView +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeViewConfigurationView; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("recommendedImageRectWidth")] + [SupportedApiProfile("openxr")] + public uint RecommendedImageRectWidth; + + [NativeName("maxImageRectWidth")] + [SupportedApiProfile("openxr")] + public uint MaxImageRectWidth; + + [NativeName("recommendedImageRectHeight")] + [SupportedApiProfile("openxr")] + public uint RecommendedImageRectHeight; + + [NativeName("maxImageRectHeight")] + [SupportedApiProfile("openxr")] + public uint MaxImageRectHeight; + + [NativeName("recommendedSwapchainSampleCount")] + [SupportedApiProfile("openxr")] + public uint RecommendedSwapchainSampleCount; + + [NativeName("maxSwapchainSampleCount")] + [SupportedApiProfile("openxr")] + public uint MaxSwapchainSampleCount; + + [SupportedApiProfile("openxr")] + public ViewConfigurationView() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationViewFovEPIC.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationViewFovEPIC.gen.cs new file mode 100644 index 0000000000..319e466950 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ViewConfigurationViewFovEPIC.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrViewConfigurationViewFovEPIC")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ViewConfigurationViewFovEPIC +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_EPIC_view_configuration_fov"])] + public StructureType Type = StructureType.TypeViewConfigurationViewFovEPIC; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_EPIC_view_configuration_fov"])] + public void* Next; + + [NativeName("recommendedFov")] + [SupportedApiProfile("openxr", ["XR_EPIC_view_configuration_fov"])] + public Fovf RecommendedFov; + + [NativeName("maxMutableFov")] + [SupportedApiProfile("openxr", ["XR_EPIC_view_configuration_fov"])] + public Fovf MaxMutableFov; + + [SupportedApiProfile("openxr", ["XR_EPIC_view_configuration_fov"])] + public ViewConfigurationViewFovEPIC() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ViewLocateFoveatedRenderingVARJO.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ViewLocateFoveatedRenderingVARJO.gen.cs new file mode 100644 index 0000000000..dc989d9903 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ViewLocateFoveatedRenderingVARJO.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrViewLocateFoveatedRenderingVARJO")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ViewLocateFoveatedRenderingVARJO +{ + [NativeName("type")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public StructureType Type = StructureType.TypeViewLocateFoveatedRenderingVARJO; + + [NativeName("next")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public void* Next; + + [NativeName("foveatedRenderingActive")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public MaybeBool FoveatedRenderingActive; + + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public ViewLocateFoveatedRenderingVARJO() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ViewLocateInfo.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ViewLocateInfo.gen.cs new file mode 100644 index 0000000000..ecbff3a115 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ViewLocateInfo.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrViewLocateInfo")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ViewLocateInfo +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeViewLocateInfo; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("viewConfigurationType")] + [SupportedApiProfile("openxr")] + public ViewConfigurationType ViewConfigurationType; + + [NativeName("displayTime")] + [SupportedApiProfile("openxr")] + public long DisplayTime; + + [NativeName("space")] + [SupportedApiProfile("openxr")] + public SpaceHandle Space; + + [SupportedApiProfile("openxr")] + public ViewLocateInfo() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ViewState.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ViewState.gen.cs new file mode 100644 index 0000000000..68b662817c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ViewState.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrViewState")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ViewState +{ + [NativeName("type")] + [SupportedApiProfile("openxr")] + public StructureType Type = StructureType.TypeViewState; + + [NativeName("next")] + [SupportedApiProfile("openxr")] + public void* Next; + + [NativeName("viewStateFlags")] + [SupportedApiProfile("openxr")] + public ViewStateFlags ViewStateFlags; + + [SupportedApiProfile("openxr")] + public ViewState() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardAnimationStateMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardAnimationStateMETA.gen.cs new file mode 100644 index 0000000000..5b135cb7e3 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardAnimationStateMETA.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardAnimationStateMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct VirtualKeyboardAnimationStateMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeVirtualKeyboardAnimationStateMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("animationIndex")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public int AnimationIndex; + + [NativeName("fraction")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public float Fraction; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardAnimationStateMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardCreateInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardCreateInfoMETA.gen.cs new file mode 100644 index 0000000000..ce28e4ffbc --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardCreateInfoMETA.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardCreateInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct VirtualKeyboardCreateInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeVirtualKeyboardCreateInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardCreateInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardInputInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardInputInfoMETA.gen.cs new file mode 100644 index 0000000000..f33679dde2 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardInputInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardInputInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct VirtualKeyboardInputInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeVirtualKeyboardInputInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("inputSource")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardInputSourceMETA InputSource; + + [NativeName("inputSpace")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public SpaceHandle InputSpace; + + [NativeName("inputPoseInSpace")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public Posef InputPoseInSpace; + + [NativeName("inputState")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardInputStateFlagsMETA InputState; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardInputInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardInputSourceMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardInputSourceMETA.gen.cs new file mode 100644 index 0000000000..0f28d9e948 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardInputSourceMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardInputSourceMETA")] +[SupportedApiProfile("openxr")] +public enum VirtualKeyboardInputSourceMETA : uint +{ + [NativeName("XR_VIRTUAL_KEYBOARD_INPUT_SOURCE_CONTROLLER_RAY_LEFT_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + ControllerRayLeft = 1, + + [NativeName("XR_VIRTUAL_KEYBOARD_INPUT_SOURCE_CONTROLLER_RAY_RIGHT_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + ControllerRayRight = 2, + + [NativeName("XR_VIRTUAL_KEYBOARD_INPUT_SOURCE_HAND_RAY_LEFT_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + HandRayLeft = 3, + + [NativeName("XR_VIRTUAL_KEYBOARD_INPUT_SOURCE_HAND_RAY_RIGHT_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + HandRayRight = 4, + + [NativeName("XR_VIRTUAL_KEYBOARD_INPUT_SOURCE_CONTROLLER_DIRECT_LEFT_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + ControllerDirectLeft = 5, + + [NativeName("XR_VIRTUAL_KEYBOARD_INPUT_SOURCE_CONTROLLER_DIRECT_RIGHT_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + ControllerDirectRight = 6, + + [NativeName("XR_VIRTUAL_KEYBOARD_INPUT_SOURCE_HAND_DIRECT_INDEX_TIP_LEFT_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + HandDirectIndexTipLeft = 7, + + [NativeName("XR_VIRTUAL_KEYBOARD_INPUT_SOURCE_HAND_DIRECT_INDEX_TIP_RIGHT_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + HandDirectIndexTipRight = 8, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardLocationInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardLocationInfoMETA.gen.cs new file mode 100644 index 0000000000..a8214549d0 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardLocationInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardLocationInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct VirtualKeyboardLocationInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeVirtualKeyboardLocationInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("locationType")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardLocationTypeMETA LocationType; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public SpaceHandle Space; + + [NativeName("poseInSpace")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public Posef PoseInSpace; + + [NativeName("scale")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public float Scale; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardLocationInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardLocationTypeMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardLocationTypeMETA.gen.cs new file mode 100644 index 0000000000..f2bc7bd78c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardLocationTypeMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardLocationTypeMETA")] +[SupportedApiProfile("openxr")] +public enum VirtualKeyboardLocationTypeMETA : uint +{ + [NativeName("XR_VIRTUAL_KEYBOARD_LOCATION_TYPE_CUSTOM_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + Custom = 0, + + [NativeName("XR_VIRTUAL_KEYBOARD_LOCATION_TYPE_FAR_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + Far = 1, + + [NativeName("XR_VIRTUAL_KEYBOARD_LOCATION_TYPE_DIRECT_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + Direct = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardModelAnimationStatesMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardModelAnimationStatesMETA.gen.cs new file mode 100644 index 0000000000..82f07d2019 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardModelAnimationStatesMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardModelAnimationStatesMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct VirtualKeyboardModelAnimationStatesMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeVirtualKeyboardModelAnimationStatesMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("stateCapacityInput")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public uint StateCapacityInput; + + [NativeName("stateCountOutput")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public uint StateCountOutput; + + [NativeName("states")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardAnimationStateMETA* States; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardModelAnimationStatesMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardModelVisibilitySetInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardModelVisibilitySetInfoMETA.gen.cs new file mode 100644 index 0000000000..981dbc6f9c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardModelVisibilitySetInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardModelVisibilitySetInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct VirtualKeyboardModelVisibilitySetInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeVirtualKeyboardModelVisibilitySetInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("visible")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public MaybeBool Visible; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardModelVisibilitySetInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardSpaceCreateInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardSpaceCreateInfoMETA.gen.cs new file mode 100644 index 0000000000..f8326ef25f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardSpaceCreateInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardSpaceCreateInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct VirtualKeyboardSpaceCreateInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeVirtualKeyboardSpaceCreateInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("locationType")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardLocationTypeMETA LocationType; + + [NativeName("space")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public SpaceHandle Space; + + [NativeName("poseInSpace")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public Posef PoseInSpace; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardSpaceCreateInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardTextContextChangeInfoMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardTextContextChangeInfoMETA.gen.cs new file mode 100644 index 0000000000..fb6b5b2459 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardTextContextChangeInfoMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardTextContextChangeInfoMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct VirtualKeyboardTextContextChangeInfoMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeVirtualKeyboardTextContextChangeInfoMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("textContext")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public sbyte* TextContext; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardTextContextChangeInfoMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardTextureDataMETA.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardTextureDataMETA.gen.cs new file mode 100644 index 0000000000..4fec3fc192 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VirtualKeyboardTextureDataMETA.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVirtualKeyboardTextureDataMETA")] +[SupportedApiProfile("openxr")] +public unsafe partial struct VirtualKeyboardTextureDataMETA +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public StructureType Type = StructureType.TypeVirtualKeyboardTextureDataMETA; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public void* Next; + + [NativeName("textureWidth")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public uint TextureWidth; + + [NativeName("textureHeight")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public uint TextureHeight; + + [NativeName("bufferCapacityInput")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public uint BufferCapacityInput; + + [NativeName("bufferCountOutput")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public uint BufferCountOutput; + + [NativeName("buffer")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public byte* Buffer; + + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public VirtualKeyboardTextureDataMETA() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VisibilityMaskKHR.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VisibilityMaskKHR.gen.cs new file mode 100644 index 0000000000..42bd9c296f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VisibilityMaskKHR.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVisibilityMaskKHR")] +[SupportedApiProfile("openxr")] +public unsafe partial struct VisibilityMaskKHR +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public StructureType Type = StructureType.TypeVisibilityMaskKHR; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public void* Next; + + [NativeName("vertexCapacityInput")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public uint VertexCapacityInput; + + [NativeName("vertexCountOutput")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public uint VertexCountOutput; + + [NativeName("vertices")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public Vector2F* Vertices; + + [NativeName("indexCapacityInput")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public uint IndexCapacityInput; + + [NativeName("indexCountOutput")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public uint IndexCountOutput; + + [NativeName("indices")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public uint* Indices; + + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public VisibilityMaskKHR() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VisibilityMaskTypeKHR.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VisibilityMaskTypeKHR.gen.cs new file mode 100644 index 0000000000..612382b78f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VisibilityMaskTypeKHR.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVisibilityMaskTypeKHR")] +[SupportedApiProfile("openxr")] +public enum VisibilityMaskTypeKHR : uint +{ + [NativeName("XR_VISIBILITY_MASK_TYPE_HIDDEN_TRIANGLE_MESH_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + HiddenTriangleMesh = 1, + + [NativeName("XR_VISIBILITY_MASK_TYPE_VISIBLE_TRIANGLE_MESH_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + VisibleTriangleMesh = 2, + + [NativeName("XR_VISIBILITY_MASK_TYPE_LINE_LOOP_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + LineLoop = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VisualMeshComputeLodInfoMSFT.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VisualMeshComputeLodInfoMSFT.gen.cs new file mode 100644 index 0000000000..9761ab8a76 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VisualMeshComputeLodInfoMSFT.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrVisualMeshComputeLodInfoMSFT")] +[SupportedApiProfile("openxr")] +public unsafe partial struct VisualMeshComputeLodInfoMSFT +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public StructureType Type = StructureType.TypeVisualMeshComputeLodInfoMSFT; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public void* Next; + + [NativeName("lod")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public MeshComputeLodMSFT Lod; + + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public VisualMeshComputeLodInfoMSFT() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/ViveTrackerPathsHTCX.gen.cs b/sources/OpenXR/OpenXR/OpenXR/ViveTrackerPathsHTCX.gen.cs new file mode 100644 index 0000000000..34cb4f9b83 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/ViveTrackerPathsHTCX.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrViveTrackerPathsHTCX")] +[SupportedApiProfile("openxr")] +public unsafe partial struct ViveTrackerPathsHTCX +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + public StructureType Type = StructureType.TypeViveTrackerPathsHTCX; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + public void* Next; + + [NativeName("persistentPath")] + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + public ulong PersistentPath; + + [NativeName("rolePath")] + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + public ulong RolePath; + + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + public ViveTrackerPathsHTCX() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VoidFunction.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VoidFunction.gen.cs new file mode 100644 index 0000000000..6b2ea619af --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VoidFunction.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("PFN_xrVoidFunction")] +[SupportedApiProfile("openxr")] +public readonly unsafe struct VoidFunction : IDisposable +{ + [SupportedApiProfile("openxr")] + private readonly void* Pointer; + + [SupportedApiProfile("openxr")] + public delegate* unmanaged Handle => (delegate* unmanaged)Pointer; + + [SupportedApiProfile("openxr")] + public VoidFunction(delegate* unmanaged ptr) => Pointer = ptr; + + [SupportedApiProfile("openxr")] + public VoidFunction(VoidFunctionDelegate proc) => Pointer = SilkMarshal.DelegateToPtr(proc); + + [SupportedApiProfile("openxr")] + public void Dispose() => SilkMarshal.Free(Pointer); + + [SupportedApiProfile("openxr")] + public static implicit operator VoidFunction(delegate* unmanaged pfn) => new(pfn); + + [SupportedApiProfile("openxr")] + public static implicit operator delegate* unmanaged(VoidFunction pfn) => + (delegate* unmanaged)pfn.Pointer; +} diff --git a/sources/OpenXR/OpenXR/OpenXR/VoidFunctionDelegate.gen.cs b/sources/OpenXR/OpenXR/OpenXR/VoidFunctionDelegate.gen.cs new file mode 100644 index 0000000000..2824cc1502 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/VoidFunctionDelegate.gen.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("PFN_xrVoidFunction")] +[SupportedApiProfile("openxr")] +public unsafe delegate void VoidFunctionDelegate(); diff --git a/sources/OpenXR/OpenXR/OpenXR/WindingOrderANDROID.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WindingOrderANDROID.gen.cs new file mode 100644 index 0000000000..c3670402fe --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WindingOrderANDROID.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWindingOrderANDROID")] +[SupportedApiProfile("openxr")] +public enum WindingOrderANDROID : uint +{ + [NativeName("XR_WINDING_ORDER_UNKNOWN_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + Unknown = 0, + + [NativeName("XR_WINDING_ORDER_CW_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + Cw = 1, + + [NativeName("XR_WINDING_ORDER_CCW_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + Ccw = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WindingOrderFB.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WindingOrderFB.gen.cs new file mode 100644 index 0000000000..a87c64ee0c --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WindingOrderFB.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWindingOrderFB")] +[SupportedApiProfile("openxr")] +public enum WindingOrderFB : uint +{ + [NativeName("XR_WINDING_ORDER_UNKNOWN_FB")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + Unknown = 0, + + [NativeName("XR_WINDING_ORDER_CW_FB")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + Cw = 1, + + [NativeName("XR_WINDING_ORDER_CCW_FB")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + Ccw = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockML.gen.cs new file mode 100644 index 0000000000..9ce13a148a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshBlockML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct WorldMeshBlockML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeWorldMeshBlockML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("uuid")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public Uuid Uuid; + + [NativeName("blockResult")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshBlockResultML BlockResult; + + [NativeName("lod")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshDetectorLodML Lod; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshDetectorFlagsML Flags; + + [NativeName("indexCount")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public uint IndexCount; + + [NativeName("indexBuffer")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public ushort* IndexBuffer; + + [NativeName("vertexCount")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public uint VertexCount; + + [NativeName("vertexBuffer")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public Vector3F* VertexBuffer; + + [NativeName("normalCount")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public uint NormalCount; + + [NativeName("normalBuffer")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public Vector3F* NormalBuffer; + + [NativeName("confidenceCount")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public uint ConfidenceCount; + + [NativeName("confidenceBuffer")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public float* ConfidenceBuffer; + + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshBlockML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockRequestML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockRequestML.gen.cs new file mode 100644 index 0000000000..9c3953e5f9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockRequestML.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshBlockRequestML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct WorldMeshBlockRequestML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeWorldMeshBlockRequestML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("uuid")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public Uuid Uuid; + + [NativeName("lod")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshDetectorLodML Lod; + + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshBlockRequestML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockResultML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockResultML.gen.cs new file mode 100644 index 0000000000..f3161bdb0a --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockResultML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshBlockResultML")] +[SupportedApiProfile("openxr")] +public enum WorldMeshBlockResultML : uint +{ + [NativeName("XR_WORLD_MESH_BLOCK_RESULT_SUCCESS_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + Success = 0, + + [NativeName("XR_WORLD_MESH_BLOCK_RESULT_FAILED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + Failed = 1, + + [NativeName("XR_WORLD_MESH_BLOCK_RESULT_PENDING_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + Pending = 2, + + [NativeName("XR_WORLD_MESH_BLOCK_RESULT_PARTIAL_UPDATE_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + PartialUpdate = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockStateML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockStateML.gen.cs new file mode 100644 index 0000000000..110ff01399 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockStateML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshBlockStateML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct WorldMeshBlockStateML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeWorldMeshBlockStateML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("uuid")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public Uuid Uuid; + + [NativeName("meshBoundingBoxCenter")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public Posef MeshBoundingBoxCenter; + + [NativeName("meshBoundingBoxExtents")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public Extent3Df MeshBoundingBoxExtents; + + [NativeName("lastUpdateTime")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public long LastUpdateTime; + + [NativeName("status")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshBlockStatusML Status; + + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshBlockStateML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockStatusML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockStatusML.gen.cs new file mode 100644 index 0000000000..8aaf13e0aa --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBlockStatusML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshBlockStatusML")] +[SupportedApiProfile("openxr")] +public enum WorldMeshBlockStatusML : uint +{ + [NativeName("XR_WORLD_MESH_BLOCK_STATUS_NEW_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + New = 0, + + [NativeName("XR_WORLD_MESH_BLOCK_STATUS_UPDATED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + Updated = 1, + + [NativeName("XR_WORLD_MESH_BLOCK_STATUS_DELETED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + Deleted = 2, + + [NativeName("XR_WORLD_MESH_BLOCK_STATUS_UNCHANGED_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + Unchanged = 3, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshBufferML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBufferML.gen.cs new file mode 100644 index 0000000000..a06cff8868 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBufferML.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshBufferML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct WorldMeshBufferML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeWorldMeshBufferML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("bufferSize")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public uint BufferSize; + + [NativeName("buffer")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Buffer; + + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshBufferML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshBufferRecommendedSizeInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBufferRecommendedSizeInfoML.gen.cs new file mode 100644 index 0000000000..9045a2220d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBufferRecommendedSizeInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshBufferRecommendedSizeInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct WorldMeshBufferRecommendedSizeInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeWorldMeshBufferRecommendedSizeInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("maxBlockCount")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public uint MaxBlockCount; + + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshBufferRecommendedSizeInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshBufferSizeML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBufferSizeML.gen.cs new file mode 100644 index 0000000000..c48acee33d --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshBufferSizeML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshBufferSizeML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct WorldMeshBufferSizeML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeWorldMeshBufferSizeML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("size")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public uint Size; + + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshBufferSizeML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshDetectorCreateInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshDetectorCreateInfoML.gen.cs new file mode 100644 index 0000000000..50c537f56f --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshDetectorCreateInfoML.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshDetectorCreateInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct WorldMeshDetectorCreateInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeWorldMeshDetectorCreateInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshDetectorCreateInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshDetectorLodML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshDetectorLodML.gen.cs new file mode 100644 index 0000000000..7ec0cfb709 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshDetectorLodML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshDetectorLodML")] +[SupportedApiProfile("openxr")] +public enum WorldMeshDetectorLodML : uint +{ + [NativeName("XR_WORLD_MESH_DETECTOR_LOD_MINIMUM_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + Minimum = 0, + + [NativeName("XR_WORLD_MESH_DETECTOR_LOD_MEDIUM_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + Medium = 1, + + [NativeName("XR_WORLD_MESH_DETECTOR_LOD_MAXIMUM_ML")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + Maximum = 2, +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshGetInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshGetInfoML.gen.cs new file mode 100644 index 0000000000..dc6688558e --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshGetInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshGetInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct WorldMeshGetInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeWorldMeshGetInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("flags")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshDetectorFlagsML Flags; + + [NativeName("fillHoleLength")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public float FillHoleLength; + + [NativeName("disconnectedComponentArea")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public float DisconnectedComponentArea; + + [NativeName("blockCount")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public uint BlockCount; + + [NativeName("blocks")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshBlockRequestML* Blocks; + + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshGetInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshRequestCompletionInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshRequestCompletionInfoML.gen.cs new file mode 100644 index 0000000000..59629d2ea9 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshRequestCompletionInfoML.gen.cs @@ -0,0 +1,33 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshRequestCompletionInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct WorldMeshRequestCompletionInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeWorldMeshRequestCompletionInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("meshSpace")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public SpaceHandle MeshSpace; + + [NativeName("meshSpaceLocateTime")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public long MeshSpaceLocateTime; + + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshRequestCompletionInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshRequestCompletionML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshRequestCompletionML.gen.cs new file mode 100644 index 0000000000..a14cf34486 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshRequestCompletionML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshRequestCompletionML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct WorldMeshRequestCompletionML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeWorldMeshRequestCompletionML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public Result FutureResult; + + [NativeName("blockCount")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public uint BlockCount; + + [NativeName("blocks")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshBlockML* Blocks; + + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshRequestCompletionML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshStateRequestCompletionML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshStateRequestCompletionML.gen.cs new file mode 100644 index 0000000000..415e060b7b --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshStateRequestCompletionML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshStateRequestCompletionML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct WorldMeshStateRequestCompletionML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeWorldMeshStateRequestCompletionML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("futureResult")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public Result FutureResult; + + [NativeName("timestamp")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public long Timestamp; + + [NativeName("meshBlockStateCapacityInput")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public uint MeshBlockStateCapacityInput; + + [NativeName("meshBlockStateCountOutput")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public uint MeshBlockStateCountOutput; + + [NativeName("meshBlockStates")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshBlockStateML* MeshBlockStates; + + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshStateRequestCompletionML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/WorldMeshStateRequestInfoML.gen.cs b/sources/OpenXR/OpenXR/OpenXR/WorldMeshStateRequestInfoML.gen.cs new file mode 100644 index 0000000000..9b685f6e69 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/WorldMeshStateRequestInfoML.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. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[NativeName("XrWorldMeshStateRequestInfoML")] +[SupportedApiProfile("openxr")] +public unsafe partial struct WorldMeshStateRequestInfoML +{ + [NativeName("type")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public StructureType Type = StructureType.TypeWorldMeshStateRequestInfoML; + + [NativeName("next")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public void* Next; + + [NativeName("baseSpace")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public SpaceHandle BaseSpace; + + [NativeName("time")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public long Time; + + [NativeName("boundingBoxCenter")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public Posef BoundingBoxCenter; + + [NativeName("boundingBoxExtents")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public Extent3Df BoundingBoxExtents; + + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public WorldMeshStateRequestInfoML() { } +} diff --git a/sources/OpenXR/OpenXR/OpenXR/Xr.gen.cs b/sources/OpenXR/OpenXR/OpenXR/Xr.gen.cs new file mode 100644 index 0000000000..f9455adc33 --- /dev/null +++ b/sources/OpenXR/OpenXR/OpenXR/Xr.gen.cs @@ -0,0 +1,12442 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.OpenXR; + +[SupportedApiProfile("openxr")] +public unsafe partial class Xr : IXr, IXr.Static +{ + public partial class DllImport : IXr.Static + { + [NativeName("xrAcquireSwapchainImage")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result AcquireSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageAcquireInfo* acquireInfo, + uint* index + ); + + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result AcquireSwapchainImage( + SwapchainHandle swapchain, + Ref acquireInfo, + Ref index + ) + { + fixed (uint* __dsl_index = index) + fixed (SwapchainImageAcquireInfo* __dsl_acquireInfo = acquireInfo) + { + return (Result)AcquireSwapchainImage(swapchain, __dsl_acquireInfo, __dsl_index); + } + } + + [NativeName("xrApplyHapticFeedback")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + [ + "XR_EXT_haptic_parametric", + "XR_LOADER_VERSION_1_0", + "XR_VERSION_1_0", + "XR_VERSION_1_1", + ], + MinVersion = "1.0" + )] + public static extern Result ApplyHapticFeedback( + SessionHandle session, + HapticActionInfo* hapticActionInfo, + HapticBaseHeader* hapticFeedback + ); + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + [ + "XR_EXT_haptic_parametric", + "XR_LOADER_VERSION_1_0", + "XR_VERSION_1_0", + "XR_VERSION_1_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result ApplyHapticFeedback( + SessionHandle session, + Ref hapticActionInfo, + Ref hapticFeedback + ) + { + fixed (HapticBaseHeader* __dsl_hapticFeedback = hapticFeedback) + fixed (HapticActionInfo* __dsl_hapticActionInfo = hapticActionInfo) + { + return (Result)ApplyHapticFeedback( + session, + __dsl_hapticActionInfo, + __dsl_hapticFeedback + ); + } + } + + [NativeName("xrAttachSessionActionSets")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result AttachSessionActionSets( + SessionHandle session, + SessionActionSetsAttachInfo* attachInfo + ); + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result AttachSessionActionSets( + SessionHandle session, + Ref attachInfo + ) + { + fixed (SessionActionSetsAttachInfo* __dsl_attachInfo = attachInfo) + { + return (Result)AttachSessionActionSets(session, __dsl_attachInfo); + } + } + + [NativeName("xrBeginFrame")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result BeginFrame( + SessionHandle session, + FrameBeginInfo* frameBeginInfo + ); + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result BeginFrame(SessionHandle session, Ref frameBeginInfo) + { + fixed (FrameBeginInfo* __dsl_frameBeginInfo = frameBeginInfo) + { + return (Result)BeginFrame(session, __dsl_frameBeginInfo); + } + } + + [NativeName("xrBeginSession")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result BeginSession( + SessionHandle session, + SessionBeginInfo* beginInfo + ); + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result BeginSession(SessionHandle session, Ref beginInfo) + { + fixed (SessionBeginInfo* __dsl_beginInfo = beginInfo) + { + return (Result)BeginSession(session, __dsl_beginInfo); + } + } + + [NativeName("xrCreateAction")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result CreateAction( + ActionSetHandle actionSet, + ActionCreateInfo* createInfo, + ActionHandle* action + ); + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateAction( + ActionSetHandle actionSet, + Ref createInfo, + Ref action + ) + { + fixed (ActionHandle* __dsl_action = action) + fixed (ActionCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateAction(actionSet, __dsl_createInfo, __dsl_action); + } + } + + [NativeName("xrCreateActionSet")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result CreateActionSet( + InstanceHandle instance, + ActionSetCreateInfo* createInfo, + ActionSetHandle* actionSet + ); + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateActionSet( + InstanceHandle instance, + Ref createInfo, + Ref actionSet + ) + { + fixed (ActionSetHandle* __dsl_actionSet = actionSet) + fixed (ActionSetCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateActionSet(instance, __dsl_createInfo, __dsl_actionSet); + } + } + + [NativeName("xrCreateActionSpace")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result CreateActionSpace( + SessionHandle session, + ActionSpaceCreateInfo* createInfo, + SpaceHandle* space + ); + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateActionSpace( + SessionHandle session, + Ref createInfo, + Ref space + ) + { + fixed (SpaceHandle* __dsl_space = space) + fixed (ActionSpaceCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateActionSpace(session, __dsl_createInfo, __dsl_space); + } + } + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + public static partial Result CreateInstance( + InstanceCreateInfo* createInfo, + InstanceHandle* instance + ); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateInstance( + Ref createInfo, + Ref instance + ) + { + fixed (InstanceHandle* __dsl_instance = instance) + fixed (InstanceCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateInstance(__dsl_createInfo, __dsl_instance); + } + } + + [NativeName("xrCreateInstance")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + private static extern Result CreateInstanceInternal( + InstanceCreateInfo* createInfo, + InstanceHandle* instance + ); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + private static Result CreateInstanceInternal( + Ref createInfo, + Ref instance + ) + { + fixed (InstanceHandle* __dsl_instance = instance) + fixed (InstanceCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateInstanceInternal(__dsl_createInfo, __dsl_instance); + } + } + + [NativeName("xrCreateReferenceSpace")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result CreateReferenceSpace( + SessionHandle session, + ReferenceSpaceCreateInfo* createInfo, + SpaceHandle* space + ); + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateReferenceSpace( + SessionHandle session, + Ref createInfo, + Ref space + ) + { + fixed (SpaceHandle* __dsl_space = space) + fixed (ReferenceSpaceCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateReferenceSpace(session, __dsl_createInfo, __dsl_space); + } + } + + [NativeName("xrCreateSession")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result CreateSession( + InstanceHandle instance, + SessionCreateInfo* createInfo, + SessionHandle* session + ); + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateSession( + InstanceHandle instance, + Ref createInfo, + Ref session + ) + { + fixed (SessionHandle* __dsl_session = session) + fixed (SessionCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateSession(instance, __dsl_createInfo, __dsl_session); + } + } + + [NativeName("xrCreateSwapchain")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result CreateSwapchain( + SessionHandle session, + SwapchainCreateInfo* createInfo, + SwapchainHandle* swapchain + ); + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateSwapchain( + SessionHandle session, + Ref createInfo, + Ref swapchain + ) + { + fixed (SwapchainHandle* __dsl_swapchain = swapchain) + fixed (SwapchainCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateSwapchain(session, __dsl_createInfo, __dsl_swapchain); + } + } + + [NativeName("xrDestroyAction")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrDestroyAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result DestroyAction(ActionHandle action); + + [NativeName("xrDestroyActionSet")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrDestroyActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result DestroyActionSet(ActionSetHandle actionSet); + + [NativeName("xrDestroyInstance")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrDestroyInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result DestroyInstance(InstanceHandle instance); + + [NativeName("xrDestroySession")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrDestroySession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result DestroySession(SessionHandle session); + + [NativeName("xrDestroySpace")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrDestroySpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result DestroySpace(SpaceHandle space); + + [NativeName("xrDestroySwapchain")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrDestroySwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result DestroySwapchain(SwapchainHandle swapchain); + + [NativeName("xrEndFrame")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result EndFrame(SessionHandle session, FrameEndInfo* frameEndInfo); + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EndFrame(SessionHandle session, Ref frameEndInfo) + { + fixed (FrameEndInfo* __dsl_frameEndInfo = frameEndInfo) + { + return (Result)EndFrame(session, __dsl_frameEndInfo); + } + } + + [NativeName("xrEndSession")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrEndSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result EndSession(SessionHandle session); + + [NativeName("xrEnumerateApiLayerProperties")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrEnumerateApiLayerProperties" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result EnumerateApiLayerProperties( + uint propertyCapacityInput, + uint* propertyCountOutput, + ApiLayerProperties* properties + ); + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateApiLayerProperties( + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ) + { + fixed (ApiLayerProperties* __dsl_properties = properties) + fixed (uint* __dsl_propertyCountOutput = propertyCountOutput) + { + return (Result)EnumerateApiLayerProperties( + propertyCapacityInput, + __dsl_propertyCountOutput, + __dsl_properties + ); + } + } + + [NativeName("xrEnumerateBoundSourcesForAction")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrEnumerateBoundSourcesForAction" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result EnumerateBoundSourcesForAction( + SessionHandle session, + BoundSourcesForActionEnumerateInfo* enumerateInfo, + uint sourceCapacityInput, + uint* sourceCountOutput, + ulong* sources + ); + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateBoundSourcesForAction( + SessionHandle session, + Ref enumerateInfo, + uint sourceCapacityInput, + Ref sourceCountOutput, + Ref sources + ) + { + fixed (ulong* __dsl_sources = sources) + fixed (uint* __dsl_sourceCountOutput = sourceCountOutput) + fixed (BoundSourcesForActionEnumerateInfo* __dsl_enumerateInfo = enumerateInfo) + { + return (Result)EnumerateBoundSourcesForAction( + session, + __dsl_enumerateInfo, + sourceCapacityInput, + __dsl_sourceCountOutput, + __dsl_sources + ); + } + } + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrEnumerateEnvironmentBlendModes" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + uint* environmentBlendModeCountOutput, + EnvironmentBlendMode* environmentBlendModes + ); + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + Ref environmentBlendModeCountOutput, + Ref environmentBlendModes + ) + { + fixed (EnvironmentBlendMode* __dsl_environmentBlendModes = environmentBlendModes) + fixed (uint* __dsl_environmentBlendModeCountOutput = environmentBlendModeCountOutput) + { + return (Result)EnumerateEnvironmentBlendModes( + instance, + systemId, + viewConfigurationType, + environmentBlendModeCapacityInput, + __dsl_environmentBlendModeCountOutput, + __dsl_environmentBlendModes + ); + } + } + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrEnumerateInstanceExtensionProperties" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result EnumerateInstanceExtensionProperties( + sbyte* layerName, + uint propertyCapacityInput, + uint* propertyCountOutput, + ExtensionProperties* properties + ); + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateInstanceExtensionProperties( + Ref layerName, + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ) + { + fixed (ExtensionProperties* __dsl_properties = properties) + fixed (uint* __dsl_propertyCountOutput = propertyCountOutput) + fixed (sbyte* __dsl_layerName = layerName) + { + return (Result)EnumerateInstanceExtensionProperties( + __dsl_layerName, + propertyCapacityInput, + __dsl_propertyCountOutput, + __dsl_properties + ); + } + } + + [NativeName("xrEnumerateReferenceSpaces")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrEnumerateReferenceSpaces" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + uint* spaceCountOutput, + ReferenceSpaceType* spaces + ); + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + Ref spaceCountOutput, + Ref spaces + ) + { + fixed (ReferenceSpaceType* __dsl_spaces = spaces) + fixed (uint* __dsl_spaceCountOutput = spaceCountOutput) + { + return (Result)EnumerateReferenceSpaces( + session, + spaceCapacityInput, + __dsl_spaceCountOutput, + __dsl_spaces + ); + } + } + + [NativeName("xrEnumerateSwapchainFormats")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrEnumerateSwapchainFormats" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + uint* formatCountOutput, + long* formats + ); + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + Ref formatCountOutput, + Ref formats + ) + { + fixed (long* __dsl_formats = formats) + fixed (uint* __dsl_formatCountOutput = formatCountOutput) + { + return (Result)EnumerateSwapchainFormats( + session, + formatCapacityInput, + __dsl_formatCountOutput, + __dsl_formats + ); + } + } + + [NativeName("xrEnumerateSwapchainImages")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrEnumerateSwapchainImages" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + uint* imageCountOutput, + SwapchainImageBaseHeader* images + ); + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + Ref imageCountOutput, + Ref images + ) + { + fixed (SwapchainImageBaseHeader* __dsl_images = images) + fixed (uint* __dsl_imageCountOutput = imageCountOutput) + { + return (Result)EnumerateSwapchainImages( + swapchain, + imageCapacityInput, + __dsl_imageCountOutput, + __dsl_images + ); + } + } + + [NativeName("xrEnumerateViewConfigurations")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrEnumerateViewConfigurations" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + uint* viewConfigurationTypeCountOutput, + ViewConfigurationType* viewConfigurationTypes + ); + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + Ref viewConfigurationTypeCountOutput, + Ref viewConfigurationTypes + ) + { + fixed (ViewConfigurationType* __dsl_viewConfigurationTypes = viewConfigurationTypes) + fixed (uint* __dsl_viewConfigurationTypeCountOutput = viewConfigurationTypeCountOutput) + { + return (Result)EnumerateViewConfigurations( + instance, + systemId, + viewConfigurationTypeCapacityInput, + __dsl_viewConfigurationTypeCountOutput, + __dsl_viewConfigurationTypes + ); + } + } + + [NativeName("xrEnumerateViewConfigurationViews")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrEnumerateViewConfigurationViews" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + uint* viewCountOutput, + ViewConfigurationView* views + ); + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ) + { + fixed (ViewConfigurationView* __dsl_views = views) + fixed (uint* __dsl_viewCountOutput = viewCountOutput) + { + return (Result)EnumerateViewConfigurationViews( + instance, + systemId, + viewConfigurationType, + viewCapacityInput, + __dsl_viewCountOutput, + __dsl_views + ); + } + } + + [NativeName("xrGetActionStateBoolean")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result GetActionStateBoolean( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateBoolean* state + ); + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetActionStateBoolean( + SessionHandle session, + Ref getInfo, + Ref state + ) + { + fixed (ActionStateBoolean* __dsl_state = state) + fixed (ActionStateGetInfo* __dsl_getInfo = getInfo) + { + return (Result)GetActionStateBoolean(session, __dsl_getInfo, __dsl_state); + } + } + + [NativeName("xrGetActionStateFloat")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result GetActionStateFloat( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateFloat* state + ); + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetActionStateFloat( + SessionHandle session, + Ref getInfo, + Ref state + ) + { + fixed (ActionStateFloat* __dsl_state = state) + fixed (ActionStateGetInfo* __dsl_getInfo = getInfo) + { + return (Result)GetActionStateFloat(session, __dsl_getInfo, __dsl_state); + } + } + + [NativeName("xrGetActionStatePose")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result GetActionStatePose( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStatePose* state + ); + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetActionStatePose( + SessionHandle session, + Ref getInfo, + Ref state + ) + { + fixed (ActionStatePose* __dsl_state = state) + fixed (ActionStateGetInfo* __dsl_getInfo = getInfo) + { + return (Result)GetActionStatePose(session, __dsl_getInfo, __dsl_state); + } + } + + [NativeName("xrGetActionStateVector2f")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result GetActionStateVector2F( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateVector2F* state + ); + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetActionStateVector2F( + SessionHandle session, + Ref getInfo, + Ref state + ) + { + fixed (ActionStateVector2F* __dsl_state = state) + fixed (ActionStateGetInfo* __dsl_getInfo = getInfo) + { + return (Result)GetActionStateVector2F(session, __dsl_getInfo, __dsl_state); + } + } + + [NativeName("xrGetCurrentInteractionProfile")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrGetCurrentInteractionProfile" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + InteractionProfileState* interactionProfile + ); + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + Ref interactionProfile + ) + { + fixed (InteractionProfileState* __dsl_interactionProfile = interactionProfile) + { + return (Result)GetCurrentInteractionProfile( + session, + topLevelUserPath, + __dsl_interactionProfile + ); + } + } + + [NativeName("xrGetInputSourceLocalizedName")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrGetInputSourceLocalizedName" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result GetInputSourceLocalizedName( + SessionHandle session, + InputSourceLocalizedNameGetInfo* getInfo, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ); + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetInputSourceLocalizedName( + SessionHandle session, + Ref getInfo, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ) + { + fixed (sbyte* __dsl_buffer = buffer) + fixed (uint* __dsl_bufferCountOutput = bufferCountOutput) + fixed (InputSourceLocalizedNameGetInfo* __dsl_getInfo = getInfo) + { + return (Result)GetInputSourceLocalizedName( + session, + __dsl_getInfo, + bufferCapacityInput, + __dsl_bufferCountOutput, + __dsl_buffer + ); + } + } + + [NativeName("xrGetInstanceProcAddr")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result GetInstanceProcAddr( + InstanceHandle instance, + sbyte* name, + VoidFunction* function + ); + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetInstanceProcAddr( + InstanceHandle instance, + Ref name, + Ref function + ) + { + fixed (VoidFunction* __dsl_function = function) + fixed (sbyte* __dsl_name = name) + { + return (Result)GetInstanceProcAddr(instance, __dsl_name, __dsl_function); + } + } + + [NativeName("xrGetInstanceProperties")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result GetInstanceProperties( + InstanceHandle instance, + InstanceProperties* instanceProperties + ); + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetInstanceProperties( + InstanceHandle instance, + Ref instanceProperties + ) + { + fixed (InstanceProperties* __dsl_instanceProperties = instanceProperties) + { + return (Result)GetInstanceProperties(instance, __dsl_instanceProperties); + } + } + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrGetReferenceSpaceBoundsRect" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Extent2Df* bounds + ); + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Ref bounds + ) + { + fixed (Extent2Df* __dsl_bounds = bounds) + { + return (Result)GetReferenceSpaceBoundsRect( + session, + referenceSpaceType, + __dsl_bounds + ); + } + } + + [NativeName("xrGetSystem")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result GetSystem( + InstanceHandle instance, + SystemGetInfo* getInfo, + ulong* systemId + ); + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetSystem( + InstanceHandle instance, + Ref getInfo, + Ref systemId + ) + { + fixed (ulong* __dsl_systemId = systemId) + fixed (SystemGetInfo* __dsl_getInfo = getInfo) + { + return (Result)GetSystem(instance, __dsl_getInfo, __dsl_systemId); + } + } + + [NativeName("xrGetSystemProperties")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result GetSystemProperties( + InstanceHandle instance, + ulong systemId, + SystemProperties* properties + ); + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetSystemProperties( + InstanceHandle instance, + ulong systemId, + Ref properties + ) + { + fixed (SystemProperties* __dsl_properties = properties) + { + return (Result)GetSystemProperties(instance, systemId, __dsl_properties); + } + } + + [NativeName("xrGetViewConfigurationProperties")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrGetViewConfigurationProperties" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + ViewConfigurationProperties* configurationProperties + ); + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + Ref configurationProperties + ) + { + fixed ( + ViewConfigurationProperties* __dsl_configurationProperties = configurationProperties + ) + { + return (Result)GetViewConfigurationProperties( + instance, + systemId, + viewConfigurationType, + __dsl_configurationProperties + ); + } + } + + [NativeName("xrLocateSpace")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + SpaceLocation* location + ); + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + Ref location + ) + { + fixed (SpaceLocation* __dsl_location = location) + { + return (Result)LocateSpace(space, baseSpace, time, __dsl_location); + } + } + + [NativeName("xrLocateSpaces")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public static extern Result LocateSpaces( + SessionHandle session, + SpacesLocateInfo* locateInfo, + SpaceLocations* spaceLocations + ); + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result LocateSpaces( + SessionHandle session, + Ref locateInfo, + Ref spaceLocations + ) + { + fixed (SpaceLocations* __dsl_spaceLocations = spaceLocations) + fixed (SpacesLocateInfo* __dsl_locateInfo = locateInfo) + { + return (Result)LocateSpaces(session, __dsl_locateInfo, __dsl_spaceLocations); + } + } + + [NativeName("xrLocateViews")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result LocateViews( + SessionHandle session, + ViewLocateInfo* viewLocateInfo, + ViewState* viewState, + uint viewCapacityInput, + uint* viewCountOutput, + View* views + ); + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result LocateViews( + SessionHandle session, + Ref viewLocateInfo, + Ref viewState, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ) + { + fixed (View* __dsl_views = views) + fixed (uint* __dsl_viewCountOutput = viewCountOutput) + fixed (ViewState* __dsl_viewState = viewState) + fixed (ViewLocateInfo* __dsl_viewLocateInfo = viewLocateInfo) + { + return (Result)LocateViews( + session, + __dsl_viewLocateInfo, + __dsl_viewState, + viewCapacityInput, + __dsl_viewCountOutput, + __dsl_views + ); + } + } + + [NativeName("xrPathToString")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ); + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ) + { + fixed (sbyte* __dsl_buffer = buffer) + fixed (uint* __dsl_bufferCountOutput = bufferCountOutput) + { + return (Result)PathToString( + instance, + path, + bufferCapacityInput, + __dsl_bufferCountOutput, + __dsl_buffer + ); + } + } + + [NativeName("xrPollEvent")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result PollEvent(InstanceHandle instance, EventDataBuffer* eventData); + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result PollEvent(InstanceHandle instance, Ref eventData) + { + fixed (EventDataBuffer* __dsl_eventData = eventData) + { + return (Result)PollEvent(instance, __dsl_eventData); + } + } + + [NativeName("xrReleaseSwapchainImage")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result ReleaseSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageReleaseInfo* releaseInfo + ); + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result ReleaseSwapchainImage( + SwapchainHandle swapchain, + Ref releaseInfo + ) + { + fixed (SwapchainImageReleaseInfo* __dsl_releaseInfo = releaseInfo) + { + return (Result)ReleaseSwapchainImage(swapchain, __dsl_releaseInfo); + } + } + + [NativeName("xrRequestExitSession")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrRequestExitSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result RequestExitSession(SessionHandle session); + + [NativeName("xrResultToString")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result ResultToString( + InstanceHandle instance, + Result value, + sbyte* buffer + ); + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result ResultToString( + InstanceHandle instance, + Result value, + Ref buffer + ) + { + fixed (sbyte* __dsl_buffer = buffer) + { + return (Result)ResultToString(instance, value, __dsl_buffer); + } + } + + [NativeName("xrStopHapticFeedback")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result StopHapticFeedback( + SessionHandle session, + HapticActionInfo* hapticActionInfo + ); + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result StopHapticFeedback( + SessionHandle session, + Ref hapticActionInfo + ) + { + fixed (HapticActionInfo* __dsl_hapticActionInfo = hapticActionInfo) + { + return (Result)StopHapticFeedback(session, __dsl_hapticActionInfo); + } + } + + [NativeName("xrStringToPath")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result StringToPath( + InstanceHandle instance, + sbyte* pathString, + ulong* path + ); + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result StringToPath( + InstanceHandle instance, + Ref pathString, + Ref path + ) + { + fixed (ulong* __dsl_path = path) + fixed (sbyte* __dsl_pathString = pathString) + { + return (Result)StringToPath(instance, __dsl_pathString, __dsl_path); + } + } + + [NativeName("xrStructureTypeToString")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result StructureTypeToString( + InstanceHandle instance, + StructureType value, + sbyte* buffer + ); + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result StructureTypeToString( + InstanceHandle instance, + StructureType value, + Ref buffer + ) + { + fixed (sbyte* __dsl_buffer = buffer) + { + return (Result)StructureTypeToString(instance, value, __dsl_buffer); + } + } + + [NativeName("xrSuggestInteractionProfileBindings")] + [DllImport( + "openxr_loader", + ExactSpelling = true, + EntryPoint = "xrSuggestInteractionProfileBindings" + )] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result SuggestInteractionProfileBindings( + InstanceHandle instance, + InteractionProfileSuggestedBinding* suggestedBindings + ); + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result SuggestInteractionProfileBindings( + InstanceHandle instance, + Ref suggestedBindings + ) + { + fixed (InteractionProfileSuggestedBinding* __dsl_suggestedBindings = suggestedBindings) + { + return (Result)SuggestInteractionProfileBindings(instance, __dsl_suggestedBindings); + } + } + + [NativeName("xrSyncActions")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result SyncActions(SessionHandle session, ActionsSyncInfo* syncInfo); + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result SyncActions(SessionHandle session, Ref syncInfo) + { + fixed (ActionsSyncInfo* __dsl_syncInfo = syncInfo) + { + return (Result)SyncActions(session, __dsl_syncInfo); + } + } + + [NativeName("xrWaitFrame")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result WaitFrame( + SessionHandle session, + FrameWaitInfo* frameWaitInfo, + FrameState* frameState + ); + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result WaitFrame( + SessionHandle session, + Ref frameWaitInfo, + Ref frameState + ) + { + fixed (FrameState* __dsl_frameState = frameState) + fixed (FrameWaitInfo* __dsl_frameWaitInfo = frameWaitInfo) + { + return (Result)WaitFrame(session, __dsl_frameWaitInfo, __dsl_frameState); + } + } + + [NativeName("xrWaitSwapchainImage")] + [DllImport("openxr_loader", ExactSpelling = true, EntryPoint = "xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static extern Result WaitSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageWaitInfo* waitInfo + ); + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result WaitSwapchainImage( + SwapchainHandle swapchain, + Ref waitInfo + ) + { + fixed (SwapchainImageWaitInfo* __dsl_waitInfo = waitInfo) + { + return (Result)WaitSwapchainImage(swapchain, __dsl_waitInfo); + } + } + } + + public partial class StaticWrapper : IXr + where T : IXr.Static + { + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result AcquireSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageAcquireInfo* acquireInfo, + uint* index + ) => T.AcquireSwapchainImage(swapchain, acquireInfo, index); + + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result AcquireSwapchainImage( + SwapchainHandle swapchain, + Ref acquireInfo, + Ref index + ) => T.AcquireSwapchainImage(swapchain, acquireInfo, index); + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + [ + "XR_EXT_haptic_parametric", + "XR_LOADER_VERSION_1_0", + "XR_VERSION_1_0", + "XR_VERSION_1_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result ApplyHapticFeedback( + SessionHandle session, + HapticActionInfo* hapticActionInfo, + HapticBaseHeader* hapticFeedback + ) => T.ApplyHapticFeedback(session, hapticActionInfo, hapticFeedback); + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + [ + "XR_EXT_haptic_parametric", + "XR_LOADER_VERSION_1_0", + "XR_VERSION_1_0", + "XR_VERSION_1_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result ApplyHapticFeedback( + SessionHandle session, + Ref hapticActionInfo, + Ref hapticFeedback + ) => T.ApplyHapticFeedback(session, hapticActionInfo, hapticFeedback); + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result AttachSessionActionSets( + SessionHandle session, + SessionActionSetsAttachInfo* attachInfo + ) => T.AttachSessionActionSets(session, attachInfo); + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result AttachSessionActionSets( + SessionHandle session, + Ref attachInfo + ) => T.AttachSessionActionSets(session, attachInfo); + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result BeginFrame(SessionHandle session, FrameBeginInfo* frameBeginInfo) => + T.BeginFrame(session, frameBeginInfo); + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result BeginFrame(SessionHandle session, Ref frameBeginInfo) => + T.BeginFrame(session, frameBeginInfo); + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result BeginSession(SessionHandle session, SessionBeginInfo* beginInfo) => + T.BeginSession(session, beginInfo); + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result BeginSession(SessionHandle session, Ref beginInfo) => + T.BeginSession(session, beginInfo); + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateAction( + ActionSetHandle actionSet, + ActionCreateInfo* createInfo, + ActionHandle* action + ) => T.CreateAction(actionSet, createInfo, action); + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateAction( + ActionSetHandle actionSet, + Ref createInfo, + Ref action + ) => T.CreateAction(actionSet, createInfo, action); + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateActionSet( + InstanceHandle instance, + ActionSetCreateInfo* createInfo, + ActionSetHandle* actionSet + ) => T.CreateActionSet(instance, createInfo, actionSet); + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateActionSet( + InstanceHandle instance, + Ref createInfo, + Ref actionSet + ) => T.CreateActionSet(instance, createInfo, actionSet); + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateActionSpace( + SessionHandle session, + ActionSpaceCreateInfo* createInfo, + SpaceHandle* space + ) => T.CreateActionSpace(session, createInfo, space); + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateActionSpace( + SessionHandle session, + Ref createInfo, + Ref space + ) => T.CreateActionSpace(session, createInfo, space); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateInstance(InstanceCreateInfo* createInfo, InstanceHandle* instance) => + T.CreateInstance(createInfo, instance); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateInstance( + Ref createInfo, + Ref instance + ) => T.CreateInstance(createInfo, instance); + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateReferenceSpace( + SessionHandle session, + ReferenceSpaceCreateInfo* createInfo, + SpaceHandle* space + ) => T.CreateReferenceSpace(session, createInfo, space); + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateReferenceSpace( + SessionHandle session, + Ref createInfo, + Ref space + ) => T.CreateReferenceSpace(session, createInfo, space); + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateSession( + InstanceHandle instance, + SessionCreateInfo* createInfo, + SessionHandle* session + ) => T.CreateSession(instance, createInfo, session); + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateSession( + InstanceHandle instance, + Ref createInfo, + Ref session + ) => T.CreateSession(instance, createInfo, session); + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateSwapchain( + SessionHandle session, + SwapchainCreateInfo* createInfo, + SwapchainHandle* swapchain + ) => T.CreateSwapchain(session, createInfo, swapchain); + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateSwapchain( + SessionHandle session, + Ref createInfo, + Ref swapchain + ) => T.CreateSwapchain(session, createInfo, swapchain); + + [NativeName("xrDestroyAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyAction")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result DestroyAction(ActionHandle action) => T.DestroyAction(action); + + [NativeName("xrDestroyActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyActionSet")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result DestroyActionSet(ActionSetHandle actionSet) => T.DestroyActionSet(actionSet); + + [NativeName("xrDestroyInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyInstance")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result DestroyInstance(InstanceHandle instance) => T.DestroyInstance(instance); + + [NativeName("xrDestroySession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result DestroySession(SessionHandle session) => T.DestroySession(session); + + [NativeName("xrDestroySpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result DestroySpace(SpaceHandle space) => T.DestroySpace(space); + + [NativeName("xrDestroySwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySwapchain")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result DestroySwapchain(SwapchainHandle swapchain) => T.DestroySwapchain(swapchain); + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EndFrame(SessionHandle session, FrameEndInfo* frameEndInfo) => + T.EndFrame(session, frameEndInfo); + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EndFrame(SessionHandle session, Ref frameEndInfo) => + T.EndFrame(session, frameEndInfo); + + [NativeName("xrEndSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EndSession(SessionHandle session) => T.EndSession(session); + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateApiLayerProperties( + uint propertyCapacityInput, + uint* propertyCountOutput, + ApiLayerProperties* properties + ) => T.EnumerateApiLayerProperties(propertyCapacityInput, propertyCountOutput, properties); + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateApiLayerProperties( + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ) => T.EnumerateApiLayerProperties(propertyCapacityInput, propertyCountOutput, properties); + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateBoundSourcesForAction( + SessionHandle session, + BoundSourcesForActionEnumerateInfo* enumerateInfo, + uint sourceCapacityInput, + uint* sourceCountOutput, + ulong* sources + ) => + T.EnumerateBoundSourcesForAction( + session, + enumerateInfo, + sourceCapacityInput, + sourceCountOutput, + sources + ); + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateBoundSourcesForAction( + SessionHandle session, + Ref enumerateInfo, + uint sourceCapacityInput, + Ref sourceCountOutput, + Ref sources + ) => + T.EnumerateBoundSourcesForAction( + session, + enumerateInfo, + sourceCapacityInput, + sourceCountOutput, + sources + ); + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + uint* environmentBlendModeCountOutput, + EnvironmentBlendMode* environmentBlendModes + ) => + T.EnumerateEnvironmentBlendModes( + instance, + systemId, + viewConfigurationType, + environmentBlendModeCapacityInput, + environmentBlendModeCountOutput, + environmentBlendModes + ); + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + Ref environmentBlendModeCountOutput, + Ref environmentBlendModes + ) => + T.EnumerateEnvironmentBlendModes( + instance, + systemId, + viewConfigurationType, + environmentBlendModeCapacityInput, + environmentBlendModeCountOutput, + environmentBlendModes + ); + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateInstanceExtensionProperties( + sbyte* layerName, + uint propertyCapacityInput, + uint* propertyCountOutput, + ExtensionProperties* properties + ) => + T.EnumerateInstanceExtensionProperties( + layerName, + propertyCapacityInput, + propertyCountOutput, + properties + ); + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateInstanceExtensionProperties( + Ref layerName, + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ) => + T.EnumerateInstanceExtensionProperties( + layerName, + propertyCapacityInput, + propertyCountOutput, + properties + ); + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + uint* spaceCountOutput, + ReferenceSpaceType* spaces + ) => T.EnumerateReferenceSpaces(session, spaceCapacityInput, spaceCountOutput, spaces); + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + Ref spaceCountOutput, + Ref spaces + ) => T.EnumerateReferenceSpaces(session, spaceCapacityInput, spaceCountOutput, spaces); + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + uint* formatCountOutput, + long* formats + ) => T.EnumerateSwapchainFormats(session, formatCapacityInput, formatCountOutput, formats); + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + Ref formatCountOutput, + Ref formats + ) => T.EnumerateSwapchainFormats(session, formatCapacityInput, formatCountOutput, formats); + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + uint* imageCountOutput, + SwapchainImageBaseHeader* images + ) => T.EnumerateSwapchainImages(swapchain, imageCapacityInput, imageCountOutput, images); + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + Ref imageCountOutput, + Ref images + ) => T.EnumerateSwapchainImages(swapchain, imageCapacityInput, imageCountOutput, images); + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + uint* viewConfigurationTypeCountOutput, + ViewConfigurationType* viewConfigurationTypes + ) => + T.EnumerateViewConfigurations( + instance, + systemId, + viewConfigurationTypeCapacityInput, + viewConfigurationTypeCountOutput, + viewConfigurationTypes + ); + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + Ref viewConfigurationTypeCountOutput, + Ref viewConfigurationTypes + ) => + T.EnumerateViewConfigurations( + instance, + systemId, + viewConfigurationTypeCapacityInput, + viewConfigurationTypeCountOutput, + viewConfigurationTypes + ); + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + uint* viewCountOutput, + ViewConfigurationView* views + ) => + T.EnumerateViewConfigurationViews( + instance, + systemId, + viewConfigurationType, + viewCapacityInput, + viewCountOutput, + views + ); + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ) => + T.EnumerateViewConfigurationViews( + instance, + systemId, + viewConfigurationType, + viewCapacityInput, + viewCountOutput, + views + ); + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetActionStateBoolean( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateBoolean* state + ) => T.GetActionStateBoolean(session, getInfo, state); + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetActionStateBoolean( + SessionHandle session, + Ref getInfo, + Ref state + ) => T.GetActionStateBoolean(session, getInfo, state); + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetActionStateFloat( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateFloat* state + ) => T.GetActionStateFloat(session, getInfo, state); + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetActionStateFloat( + SessionHandle session, + Ref getInfo, + Ref state + ) => T.GetActionStateFloat(session, getInfo, state); + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetActionStatePose( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStatePose* state + ) => T.GetActionStatePose(session, getInfo, state); + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetActionStatePose( + SessionHandle session, + Ref getInfo, + Ref state + ) => T.GetActionStatePose(session, getInfo, state); + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetActionStateVector2F( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateVector2F* state + ) => T.GetActionStateVector2F(session, getInfo, state); + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetActionStateVector2F( + SessionHandle session, + Ref getInfo, + Ref state + ) => T.GetActionStateVector2F(session, getInfo, state); + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + InteractionProfileState* interactionProfile + ) => T.GetCurrentInteractionProfile(session, topLevelUserPath, interactionProfile); + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + Ref interactionProfile + ) => T.GetCurrentInteractionProfile(session, topLevelUserPath, interactionProfile); + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetInputSourceLocalizedName( + SessionHandle session, + InputSourceLocalizedNameGetInfo* getInfo, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ) => + T.GetInputSourceLocalizedName( + session, + getInfo, + bufferCapacityInput, + bufferCountOutput, + buffer + ); + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetInputSourceLocalizedName( + SessionHandle session, + Ref getInfo, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ) => + T.GetInputSourceLocalizedName( + session, + getInfo, + bufferCapacityInput, + bufferCountOutput, + buffer + ); + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetInstanceProcAddr( + InstanceHandle instance, + sbyte* name, + VoidFunction* function + ) => T.GetInstanceProcAddr(instance, name, function); + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetInstanceProcAddr( + InstanceHandle instance, + Ref name, + Ref function + ) => T.GetInstanceProcAddr(instance, name, function); + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetInstanceProperties( + InstanceHandle instance, + InstanceProperties* instanceProperties + ) => T.GetInstanceProperties(instance, instanceProperties); + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetInstanceProperties( + InstanceHandle instance, + Ref instanceProperties + ) => T.GetInstanceProperties(instance, instanceProperties); + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Extent2Df* bounds + ) => T.GetReferenceSpaceBoundsRect(session, referenceSpaceType, bounds); + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Ref bounds + ) => T.GetReferenceSpaceBoundsRect(session, referenceSpaceType, bounds); + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetSystem(InstanceHandle instance, SystemGetInfo* getInfo, ulong* systemId) => + T.GetSystem(instance, getInfo, systemId); + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetSystem( + InstanceHandle instance, + Ref getInfo, + Ref systemId + ) => T.GetSystem(instance, getInfo, systemId); + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetSystemProperties( + InstanceHandle instance, + ulong systemId, + SystemProperties* properties + ) => T.GetSystemProperties(instance, systemId, properties); + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetSystemProperties( + InstanceHandle instance, + ulong systemId, + Ref properties + ) => T.GetSystemProperties(instance, systemId, properties); + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + ViewConfigurationProperties* configurationProperties + ) => + T.GetViewConfigurationProperties( + instance, + systemId, + viewConfigurationType, + configurationProperties + ); + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + Ref configurationProperties + ) => + T.GetViewConfigurationProperties( + instance, + systemId, + viewConfigurationType, + configurationProperties + ); + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + SpaceLocation* location + ) => T.LocateSpace(space, baseSpace, time, location); + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + Ref location + ) => T.LocateSpace(space, baseSpace, time, location); + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result LocateSpaces( + SessionHandle session, + SpacesLocateInfo* locateInfo, + SpaceLocations* spaceLocations + ) => T.LocateSpaces(session, locateInfo, spaceLocations); + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result LocateSpaces( + SessionHandle session, + Ref locateInfo, + Ref spaceLocations + ) => T.LocateSpaces(session, locateInfo, spaceLocations); + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result LocateViews( + SessionHandle session, + ViewLocateInfo* viewLocateInfo, + ViewState* viewState, + uint viewCapacityInput, + uint* viewCountOutput, + View* views + ) => + T.LocateViews( + session, + viewLocateInfo, + viewState, + viewCapacityInput, + viewCountOutput, + views + ); + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result LocateViews( + SessionHandle session, + Ref viewLocateInfo, + Ref viewState, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ) => + T.LocateViews( + session, + viewLocateInfo, + viewState, + viewCapacityInput, + viewCountOutput, + views + ); + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ) => T.PathToString(instance, path, bufferCapacityInput, bufferCountOutput, buffer); + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ) => T.PathToString(instance, path, bufferCapacityInput, bufferCountOutput, buffer); + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result PollEvent(InstanceHandle instance, EventDataBuffer* eventData) => + T.PollEvent(instance, eventData); + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result PollEvent(InstanceHandle instance, Ref eventData) => + T.PollEvent(instance, eventData); + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result ReleaseSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageReleaseInfo* releaseInfo + ) => T.ReleaseSwapchainImage(swapchain, releaseInfo); + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result ReleaseSwapchainImage( + SwapchainHandle swapchain, + Ref releaseInfo + ) => T.ReleaseSwapchainImage(swapchain, releaseInfo); + + [NativeName("xrRequestExitSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrRequestExitSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result RequestExitSession(SessionHandle session) => T.RequestExitSession(session); + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result ResultToString(InstanceHandle instance, Result value, sbyte* buffer) => + T.ResultToString(instance, value, buffer); + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result ResultToString(InstanceHandle instance, Result value, Ref buffer) => + T.ResultToString(instance, value, buffer); + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result StopHapticFeedback( + SessionHandle session, + HapticActionInfo* hapticActionInfo + ) => T.StopHapticFeedback(session, hapticActionInfo); + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result StopHapticFeedback( + SessionHandle session, + Ref hapticActionInfo + ) => T.StopHapticFeedback(session, hapticActionInfo); + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result StringToPath(InstanceHandle instance, sbyte* pathString, ulong* path) => + T.StringToPath(instance, pathString, path); + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result StringToPath( + InstanceHandle instance, + Ref pathString, + Ref path + ) => T.StringToPath(instance, pathString, path); + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result StructureTypeToString( + InstanceHandle instance, + StructureType value, + sbyte* buffer + ) => T.StructureTypeToString(instance, value, buffer); + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result StructureTypeToString( + InstanceHandle instance, + StructureType value, + Ref buffer + ) => T.StructureTypeToString(instance, value, buffer); + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result SuggestInteractionProfileBindings( + InstanceHandle instance, + InteractionProfileSuggestedBinding* suggestedBindings + ) => T.SuggestInteractionProfileBindings(instance, suggestedBindings); + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result SuggestInteractionProfileBindings( + InstanceHandle instance, + Ref suggestedBindings + ) => T.SuggestInteractionProfileBindings(instance, suggestedBindings); + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result SyncActions(SessionHandle session, ActionsSyncInfo* syncInfo) => + T.SyncActions(session, syncInfo); + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result SyncActions(SessionHandle session, Ref syncInfo) => + T.SyncActions(session, syncInfo); + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result WaitFrame( + SessionHandle session, + FrameWaitInfo* frameWaitInfo, + FrameState* frameState + ) => T.WaitFrame(session, frameWaitInfo, frameState); + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result WaitFrame( + SessionHandle session, + Ref frameWaitInfo, + Ref frameState + ) => T.WaitFrame(session, frameWaitInfo, frameState); + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result WaitSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageWaitInfo* waitInfo + ) => T.WaitSwapchainImage(swapchain, waitInfo); + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result WaitSwapchainImage( + SwapchainHandle swapchain, + Ref waitInfo + ) => T.WaitSwapchainImage(swapchain, waitInfo); + } + + public partial class ThisThread + { + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result AcquireSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageAcquireInfo* acquireInfo, + uint* index + ) => Underlying.Value!.AcquireSwapchainImage(swapchain, acquireInfo, index); + + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result AcquireSwapchainImage( + SwapchainHandle swapchain, + Ref acquireInfo, + Ref index + ) + { + fixed (uint* __dsl_index = index) + fixed (SwapchainImageAcquireInfo* __dsl_acquireInfo = acquireInfo) + { + return (Result)AcquireSwapchainImage(swapchain, __dsl_acquireInfo, __dsl_index); + } + } + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + [ + "XR_EXT_haptic_parametric", + "XR_LOADER_VERSION_1_0", + "XR_VERSION_1_0", + "XR_VERSION_1_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result ApplyHapticFeedback( + SessionHandle session, + HapticActionInfo* hapticActionInfo, + HapticBaseHeader* hapticFeedback + ) => Underlying.Value!.ApplyHapticFeedback(session, hapticActionInfo, hapticFeedback); + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + [ + "XR_EXT_haptic_parametric", + "XR_LOADER_VERSION_1_0", + "XR_VERSION_1_0", + "XR_VERSION_1_1", + ], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result ApplyHapticFeedback( + SessionHandle session, + Ref hapticActionInfo, + Ref hapticFeedback + ) + { + fixed (HapticBaseHeader* __dsl_hapticFeedback = hapticFeedback) + fixed (HapticActionInfo* __dsl_hapticActionInfo = hapticActionInfo) + { + return (Result)ApplyHapticFeedback( + session, + __dsl_hapticActionInfo, + __dsl_hapticFeedback + ); + } + } + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result AttachSessionActionSets( + SessionHandle session, + SessionActionSetsAttachInfo* attachInfo + ) => Underlying.Value!.AttachSessionActionSets(session, attachInfo); + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result AttachSessionActionSets( + SessionHandle session, + Ref attachInfo + ) + { + fixed (SessionActionSetsAttachInfo* __dsl_attachInfo = attachInfo) + { + return (Result)AttachSessionActionSets(session, __dsl_attachInfo); + } + } + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result BeginFrame(SessionHandle session, FrameBeginInfo* frameBeginInfo) => + Underlying.Value!.BeginFrame(session, frameBeginInfo); + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result BeginFrame(SessionHandle session, Ref frameBeginInfo) + { + fixed (FrameBeginInfo* __dsl_frameBeginInfo = frameBeginInfo) + { + return (Result)BeginFrame(session, __dsl_frameBeginInfo); + } + } + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result BeginSession(SessionHandle session, SessionBeginInfo* beginInfo) => + Underlying.Value!.BeginSession(session, beginInfo); + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result BeginSession(SessionHandle session, Ref beginInfo) + { + fixed (SessionBeginInfo* __dsl_beginInfo = beginInfo) + { + return (Result)BeginSession(session, __dsl_beginInfo); + } + } + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateAction( + ActionSetHandle actionSet, + ActionCreateInfo* createInfo, + ActionHandle* action + ) => Underlying.Value!.CreateAction(actionSet, createInfo, action); + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateAction( + ActionSetHandle actionSet, + Ref createInfo, + Ref action + ) + { + fixed (ActionHandle* __dsl_action = action) + fixed (ActionCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateAction(actionSet, __dsl_createInfo, __dsl_action); + } + } + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateActionSet( + InstanceHandle instance, + ActionSetCreateInfo* createInfo, + ActionSetHandle* actionSet + ) => Underlying.Value!.CreateActionSet(instance, createInfo, actionSet); + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateActionSet( + InstanceHandle instance, + Ref createInfo, + Ref actionSet + ) + { + fixed (ActionSetHandle* __dsl_actionSet = actionSet) + fixed (ActionSetCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateActionSet(instance, __dsl_createInfo, __dsl_actionSet); + } + } + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateActionSpace( + SessionHandle session, + ActionSpaceCreateInfo* createInfo, + SpaceHandle* space + ) => Underlying.Value!.CreateActionSpace(session, createInfo, space); + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateActionSpace( + SessionHandle session, + Ref createInfo, + Ref space + ) + { + fixed (SpaceHandle* __dsl_space = space) + fixed (ActionSpaceCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateActionSpace(session, __dsl_createInfo, __dsl_space); + } + } + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateInstance( + InstanceCreateInfo* createInfo, + InstanceHandle* instance + ) => Underlying.Value!.CreateInstance(createInfo, instance); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateInstance( + Ref createInfo, + Ref instance + ) + { + fixed (InstanceHandle* __dsl_instance = instance) + fixed (InstanceCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateInstance(__dsl_createInfo, __dsl_instance); + } + } + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateReferenceSpace( + SessionHandle session, + ReferenceSpaceCreateInfo* createInfo, + SpaceHandle* space + ) => Underlying.Value!.CreateReferenceSpace(session, createInfo, space); + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateReferenceSpace( + SessionHandle session, + Ref createInfo, + Ref space + ) + { + fixed (SpaceHandle* __dsl_space = space) + fixed (ReferenceSpaceCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateReferenceSpace(session, __dsl_createInfo, __dsl_space); + } + } + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateSession( + InstanceHandle instance, + SessionCreateInfo* createInfo, + SessionHandle* session + ) => Underlying.Value!.CreateSession(instance, createInfo, session); + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateSession( + InstanceHandle instance, + Ref createInfo, + Ref session + ) + { + fixed (SessionHandle* __dsl_session = session) + fixed (SessionCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateSession(instance, __dsl_createInfo, __dsl_session); + } + } + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateSwapchain( + SessionHandle session, + SwapchainCreateInfo* createInfo, + SwapchainHandle* swapchain + ) => Underlying.Value!.CreateSwapchain(session, createInfo, swapchain); + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateSwapchain( + SessionHandle session, + Ref createInfo, + Ref swapchain + ) + { + fixed (SwapchainHandle* __dsl_swapchain = swapchain) + fixed (SwapchainCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateSwapchain(session, __dsl_createInfo, __dsl_swapchain); + } + } + + [NativeName("xrDestroyAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyAction")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result DestroyAction(ActionHandle action) => + Underlying.Value!.DestroyAction(action); + + [NativeName("xrDestroyActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyActionSet")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result DestroyActionSet(ActionSetHandle actionSet) => + Underlying.Value!.DestroyActionSet(actionSet); + + [NativeName("xrDestroyInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyInstance")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result DestroyInstance(InstanceHandle instance) => + Underlying.Value!.DestroyInstance(instance); + + [NativeName("xrDestroySession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result DestroySession(SessionHandle session) => + Underlying.Value!.DestroySession(session); + + [NativeName("xrDestroySpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result DestroySpace(SpaceHandle space) => + Underlying.Value!.DestroySpace(space); + + [NativeName("xrDestroySwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySwapchain")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result DestroySwapchain(SwapchainHandle swapchain) => + Underlying.Value!.DestroySwapchain(swapchain); + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EndFrame(SessionHandle session, FrameEndInfo* frameEndInfo) => + Underlying.Value!.EndFrame(session, frameEndInfo); + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EndFrame(SessionHandle session, Ref frameEndInfo) + { + fixed (FrameEndInfo* __dsl_frameEndInfo = frameEndInfo) + { + return (Result)EndFrame(session, __dsl_frameEndInfo); + } + } + + [NativeName("xrEndSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EndSession(SessionHandle session) => + Underlying.Value!.EndSession(session); + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateApiLayerProperties( + uint propertyCapacityInput, + uint* propertyCountOutput, + ApiLayerProperties* properties + ) => + Underlying.Value!.EnumerateApiLayerProperties( + propertyCapacityInput, + propertyCountOutput, + properties + ); + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateApiLayerProperties( + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ) + { + fixed (ApiLayerProperties* __dsl_properties = properties) + fixed (uint* __dsl_propertyCountOutput = propertyCountOutput) + { + return (Result)EnumerateApiLayerProperties( + propertyCapacityInput, + __dsl_propertyCountOutput, + __dsl_properties + ); + } + } + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateBoundSourcesForAction( + SessionHandle session, + BoundSourcesForActionEnumerateInfo* enumerateInfo, + uint sourceCapacityInput, + uint* sourceCountOutput, + ulong* sources + ) => + Underlying.Value!.EnumerateBoundSourcesForAction( + session, + enumerateInfo, + sourceCapacityInput, + sourceCountOutput, + sources + ); + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateBoundSourcesForAction( + SessionHandle session, + Ref enumerateInfo, + uint sourceCapacityInput, + Ref sourceCountOutput, + Ref sources + ) + { + fixed (ulong* __dsl_sources = sources) + fixed (uint* __dsl_sourceCountOutput = sourceCountOutput) + fixed (BoundSourcesForActionEnumerateInfo* __dsl_enumerateInfo = enumerateInfo) + { + return (Result)EnumerateBoundSourcesForAction( + session, + __dsl_enumerateInfo, + sourceCapacityInput, + __dsl_sourceCountOutput, + __dsl_sources + ); + } + } + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + uint* environmentBlendModeCountOutput, + EnvironmentBlendMode* environmentBlendModes + ) => + Underlying.Value!.EnumerateEnvironmentBlendModes( + instance, + systemId, + viewConfigurationType, + environmentBlendModeCapacityInput, + environmentBlendModeCountOutput, + environmentBlendModes + ); + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + Ref environmentBlendModeCountOutput, + Ref environmentBlendModes + ) + { + fixed (EnvironmentBlendMode* __dsl_environmentBlendModes = environmentBlendModes) + fixed (uint* __dsl_environmentBlendModeCountOutput = environmentBlendModeCountOutput) + { + return (Result)EnumerateEnvironmentBlendModes( + instance, + systemId, + viewConfigurationType, + environmentBlendModeCapacityInput, + __dsl_environmentBlendModeCountOutput, + __dsl_environmentBlendModes + ); + } + } + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateInstanceExtensionProperties( + sbyte* layerName, + uint propertyCapacityInput, + uint* propertyCountOutput, + ExtensionProperties* properties + ) => + Underlying.Value!.EnumerateInstanceExtensionProperties( + layerName, + propertyCapacityInput, + propertyCountOutput, + properties + ); + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateInstanceExtensionProperties( + Ref layerName, + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ) + { + fixed (ExtensionProperties* __dsl_properties = properties) + fixed (uint* __dsl_propertyCountOutput = propertyCountOutput) + fixed (sbyte* __dsl_layerName = layerName) + { + return (Result)EnumerateInstanceExtensionProperties( + __dsl_layerName, + propertyCapacityInput, + __dsl_propertyCountOutput, + __dsl_properties + ); + } + } + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + uint* spaceCountOutput, + ReferenceSpaceType* spaces + ) => + Underlying.Value!.EnumerateReferenceSpaces( + session, + spaceCapacityInput, + spaceCountOutput, + spaces + ); + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + Ref spaceCountOutput, + Ref spaces + ) + { + fixed (ReferenceSpaceType* __dsl_spaces = spaces) + fixed (uint* __dsl_spaceCountOutput = spaceCountOutput) + { + return (Result)EnumerateReferenceSpaces( + session, + spaceCapacityInput, + __dsl_spaceCountOutput, + __dsl_spaces + ); + } + } + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + uint* formatCountOutput, + long* formats + ) => + Underlying.Value!.EnumerateSwapchainFormats( + session, + formatCapacityInput, + formatCountOutput, + formats + ); + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + Ref formatCountOutput, + Ref formats + ) + { + fixed (long* __dsl_formats = formats) + fixed (uint* __dsl_formatCountOutput = formatCountOutput) + { + return (Result)EnumerateSwapchainFormats( + session, + formatCapacityInput, + __dsl_formatCountOutput, + __dsl_formats + ); + } + } + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + uint* imageCountOutput, + SwapchainImageBaseHeader* images + ) => + Underlying.Value!.EnumerateSwapchainImages( + swapchain, + imageCapacityInput, + imageCountOutput, + images + ); + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + Ref imageCountOutput, + Ref images + ) + { + fixed (SwapchainImageBaseHeader* __dsl_images = images) + fixed (uint* __dsl_imageCountOutput = imageCountOutput) + { + return (Result)EnumerateSwapchainImages( + swapchain, + imageCapacityInput, + __dsl_imageCountOutput, + __dsl_images + ); + } + } + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + uint* viewConfigurationTypeCountOutput, + ViewConfigurationType* viewConfigurationTypes + ) => + Underlying.Value!.EnumerateViewConfigurations( + instance, + systemId, + viewConfigurationTypeCapacityInput, + viewConfigurationTypeCountOutput, + viewConfigurationTypes + ); + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + Ref viewConfigurationTypeCountOutput, + Ref viewConfigurationTypes + ) + { + fixed (ViewConfigurationType* __dsl_viewConfigurationTypes = viewConfigurationTypes) + fixed (uint* __dsl_viewConfigurationTypeCountOutput = viewConfigurationTypeCountOutput) + { + return (Result)EnumerateViewConfigurations( + instance, + systemId, + viewConfigurationTypeCapacityInput, + __dsl_viewConfigurationTypeCountOutput, + __dsl_viewConfigurationTypes + ); + } + } + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + uint* viewCountOutput, + ViewConfigurationView* views + ) => + Underlying.Value!.EnumerateViewConfigurationViews( + instance, + systemId, + viewConfigurationType, + viewCapacityInput, + viewCountOutput, + views + ); + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ) + { + fixed (ViewConfigurationView* __dsl_views = views) + fixed (uint* __dsl_viewCountOutput = viewCountOutput) + { + return (Result)EnumerateViewConfigurationViews( + instance, + systemId, + viewConfigurationType, + viewCapacityInput, + __dsl_viewCountOutput, + __dsl_views + ); + } + } + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetActionStateBoolean( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateBoolean* state + ) => Underlying.Value!.GetActionStateBoolean(session, getInfo, state); + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetActionStateBoolean( + SessionHandle session, + Ref getInfo, + Ref state + ) + { + fixed (ActionStateBoolean* __dsl_state = state) + fixed (ActionStateGetInfo* __dsl_getInfo = getInfo) + { + return (Result)GetActionStateBoolean(session, __dsl_getInfo, __dsl_state); + } + } + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetActionStateFloat( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateFloat* state + ) => Underlying.Value!.GetActionStateFloat(session, getInfo, state); + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetActionStateFloat( + SessionHandle session, + Ref getInfo, + Ref state + ) + { + fixed (ActionStateFloat* __dsl_state = state) + fixed (ActionStateGetInfo* __dsl_getInfo = getInfo) + { + return (Result)GetActionStateFloat(session, __dsl_getInfo, __dsl_state); + } + } + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetActionStatePose( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStatePose* state + ) => Underlying.Value!.GetActionStatePose(session, getInfo, state); + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetActionStatePose( + SessionHandle session, + Ref getInfo, + Ref state + ) + { + fixed (ActionStatePose* __dsl_state = state) + fixed (ActionStateGetInfo* __dsl_getInfo = getInfo) + { + return (Result)GetActionStatePose(session, __dsl_getInfo, __dsl_state); + } + } + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetActionStateVector2F( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateVector2F* state + ) => Underlying.Value!.GetActionStateVector2F(session, getInfo, state); + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetActionStateVector2F( + SessionHandle session, + Ref getInfo, + Ref state + ) + { + fixed (ActionStateVector2F* __dsl_state = state) + fixed (ActionStateGetInfo* __dsl_getInfo = getInfo) + { + return (Result)GetActionStateVector2F(session, __dsl_getInfo, __dsl_state); + } + } + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + InteractionProfileState* interactionProfile + ) => + Underlying.Value!.GetCurrentInteractionProfile( + session, + topLevelUserPath, + interactionProfile + ); + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + Ref interactionProfile + ) + { + fixed (InteractionProfileState* __dsl_interactionProfile = interactionProfile) + { + return (Result)GetCurrentInteractionProfile( + session, + topLevelUserPath, + __dsl_interactionProfile + ); + } + } + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetInputSourceLocalizedName( + SessionHandle session, + InputSourceLocalizedNameGetInfo* getInfo, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ) => + Underlying.Value!.GetInputSourceLocalizedName( + session, + getInfo, + bufferCapacityInput, + bufferCountOutput, + buffer + ); + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetInputSourceLocalizedName( + SessionHandle session, + Ref getInfo, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ) + { + fixed (sbyte* __dsl_buffer = buffer) + fixed (uint* __dsl_bufferCountOutput = bufferCountOutput) + fixed (InputSourceLocalizedNameGetInfo* __dsl_getInfo = getInfo) + { + return (Result)GetInputSourceLocalizedName( + session, + __dsl_getInfo, + bufferCapacityInput, + __dsl_bufferCountOutput, + __dsl_buffer + ); + } + } + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetInstanceProcAddr( + InstanceHandle instance, + sbyte* name, + VoidFunction* function + ) => Underlying.Value!.GetInstanceProcAddr(instance, name, function); + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetInstanceProcAddr( + InstanceHandle instance, + Ref name, + Ref function + ) + { + fixed (VoidFunction* __dsl_function = function) + fixed (sbyte* __dsl_name = name) + { + return (Result)GetInstanceProcAddr(instance, __dsl_name, __dsl_function); + } + } + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetInstanceProperties( + InstanceHandle instance, + InstanceProperties* instanceProperties + ) => Underlying.Value!.GetInstanceProperties(instance, instanceProperties); + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetInstanceProperties( + InstanceHandle instance, + Ref instanceProperties + ) + { + fixed (InstanceProperties* __dsl_instanceProperties = instanceProperties) + { + return (Result)GetInstanceProperties(instance, __dsl_instanceProperties); + } + } + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Extent2Df* bounds + ) => Underlying.Value!.GetReferenceSpaceBoundsRect(session, referenceSpaceType, bounds); + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Ref bounds + ) + { + fixed (Extent2Df* __dsl_bounds = bounds) + { + return (Result)GetReferenceSpaceBoundsRect( + session, + referenceSpaceType, + __dsl_bounds + ); + } + } + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetSystem( + InstanceHandle instance, + SystemGetInfo* getInfo, + ulong* systemId + ) => Underlying.Value!.GetSystem(instance, getInfo, systemId); + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetSystem( + InstanceHandle instance, + Ref getInfo, + Ref systemId + ) + { + fixed (ulong* __dsl_systemId = systemId) + fixed (SystemGetInfo* __dsl_getInfo = getInfo) + { + return (Result)GetSystem(instance, __dsl_getInfo, __dsl_systemId); + } + } + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetSystemProperties( + InstanceHandle instance, + ulong systemId, + SystemProperties* properties + ) => Underlying.Value!.GetSystemProperties(instance, systemId, properties); + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetSystemProperties( + InstanceHandle instance, + ulong systemId, + Ref properties + ) + { + fixed (SystemProperties* __dsl_properties = properties) + { + return (Result)GetSystemProperties(instance, systemId, __dsl_properties); + } + } + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + ViewConfigurationProperties* configurationProperties + ) => + Underlying.Value!.GetViewConfigurationProperties( + instance, + systemId, + viewConfigurationType, + configurationProperties + ); + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + Ref configurationProperties + ) + { + fixed ( + ViewConfigurationProperties* __dsl_configurationProperties = configurationProperties + ) + { + return (Result)GetViewConfigurationProperties( + instance, + systemId, + viewConfigurationType, + __dsl_configurationProperties + ); + } + } + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + SpaceLocation* location + ) => Underlying.Value!.LocateSpace(space, baseSpace, time, location); + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + Ref location + ) + { + fixed (SpaceLocation* __dsl_location = location) + { + return (Result)LocateSpace(space, baseSpace, time, __dsl_location); + } + } + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result LocateSpaces( + SessionHandle session, + SpacesLocateInfo* locateInfo, + SpaceLocations* spaceLocations + ) => Underlying.Value!.LocateSpaces(session, locateInfo, spaceLocations); + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result LocateSpaces( + SessionHandle session, + Ref locateInfo, + Ref spaceLocations + ) + { + fixed (SpaceLocations* __dsl_spaceLocations = spaceLocations) + fixed (SpacesLocateInfo* __dsl_locateInfo = locateInfo) + { + return (Result)LocateSpaces(session, __dsl_locateInfo, __dsl_spaceLocations); + } + } + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result LocateViews( + SessionHandle session, + ViewLocateInfo* viewLocateInfo, + ViewState* viewState, + uint viewCapacityInput, + uint* viewCountOutput, + View* views + ) => + Underlying.Value!.LocateViews( + session, + viewLocateInfo, + viewState, + viewCapacityInput, + viewCountOutput, + views + ); + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result LocateViews( + SessionHandle session, + Ref viewLocateInfo, + Ref viewState, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ) + { + fixed (View* __dsl_views = views) + fixed (uint* __dsl_viewCountOutput = viewCountOutput) + fixed (ViewState* __dsl_viewState = viewState) + fixed (ViewLocateInfo* __dsl_viewLocateInfo = viewLocateInfo) + { + return (Result)LocateViews( + session, + __dsl_viewLocateInfo, + __dsl_viewState, + viewCapacityInput, + __dsl_viewCountOutput, + __dsl_views + ); + } + } + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ) => + Underlying.Value!.PathToString( + instance, + path, + bufferCapacityInput, + bufferCountOutput, + buffer + ); + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ) + { + fixed (sbyte* __dsl_buffer = buffer) + fixed (uint* __dsl_bufferCountOutput = bufferCountOutput) + { + return (Result)PathToString( + instance, + path, + bufferCapacityInput, + __dsl_bufferCountOutput, + __dsl_buffer + ); + } + } + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result PollEvent(InstanceHandle instance, EventDataBuffer* eventData) => + Underlying.Value!.PollEvent(instance, eventData); + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result PollEvent(InstanceHandle instance, Ref eventData) + { + fixed (EventDataBuffer* __dsl_eventData = eventData) + { + return (Result)PollEvent(instance, __dsl_eventData); + } + } + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result ReleaseSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageReleaseInfo* releaseInfo + ) => Underlying.Value!.ReleaseSwapchainImage(swapchain, releaseInfo); + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result ReleaseSwapchainImage( + SwapchainHandle swapchain, + Ref releaseInfo + ) + { + fixed (SwapchainImageReleaseInfo* __dsl_releaseInfo = releaseInfo) + { + return (Result)ReleaseSwapchainImage(swapchain, __dsl_releaseInfo); + } + } + + [NativeName("xrRequestExitSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrRequestExitSession")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result RequestExitSession(SessionHandle session) => + Underlying.Value!.RequestExitSession(session); + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result ResultToString(InstanceHandle instance, Result value, sbyte* buffer) => + Underlying.Value!.ResultToString(instance, value, buffer); + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result ResultToString( + InstanceHandle instance, + Result value, + Ref buffer + ) + { + fixed (sbyte* __dsl_buffer = buffer) + { + return (Result)ResultToString(instance, value, __dsl_buffer); + } + } + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result StopHapticFeedback( + SessionHandle session, + HapticActionInfo* hapticActionInfo + ) => Underlying.Value!.StopHapticFeedback(session, hapticActionInfo); + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result StopHapticFeedback( + SessionHandle session, + Ref hapticActionInfo + ) + { + fixed (HapticActionInfo* __dsl_hapticActionInfo = hapticActionInfo) + { + return (Result)StopHapticFeedback(session, __dsl_hapticActionInfo); + } + } + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result StringToPath( + InstanceHandle instance, + sbyte* pathString, + ulong* path + ) => Underlying.Value!.StringToPath(instance, pathString, path); + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result StringToPath( + InstanceHandle instance, + Ref pathString, + Ref path + ) + { + fixed (ulong* __dsl_path = path) + fixed (sbyte* __dsl_pathString = pathString) + { + return (Result)StringToPath(instance, __dsl_pathString, __dsl_path); + } + } + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result StructureTypeToString( + InstanceHandle instance, + StructureType value, + sbyte* buffer + ) => Underlying.Value!.StructureTypeToString(instance, value, buffer); + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result StructureTypeToString( + InstanceHandle instance, + StructureType value, + Ref buffer + ) + { + fixed (sbyte* __dsl_buffer = buffer) + { + return (Result)StructureTypeToString(instance, value, __dsl_buffer); + } + } + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result SuggestInteractionProfileBindings( + InstanceHandle instance, + InteractionProfileSuggestedBinding* suggestedBindings + ) => Underlying.Value!.SuggestInteractionProfileBindings(instance, suggestedBindings); + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result SuggestInteractionProfileBindings( + InstanceHandle instance, + Ref suggestedBindings + ) + { + fixed (InteractionProfileSuggestedBinding* __dsl_suggestedBindings = suggestedBindings) + { + return (Result)SuggestInteractionProfileBindings(instance, __dsl_suggestedBindings); + } + } + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result SyncActions(SessionHandle session, ActionsSyncInfo* syncInfo) => + Underlying.Value!.SyncActions(session, syncInfo); + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result SyncActions(SessionHandle session, Ref syncInfo) + { + fixed (ActionsSyncInfo* __dsl_syncInfo = syncInfo) + { + return (Result)SyncActions(session, __dsl_syncInfo); + } + } + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result WaitFrame( + SessionHandle session, + FrameWaitInfo* frameWaitInfo, + FrameState* frameState + ) => Underlying.Value!.WaitFrame(session, frameWaitInfo, frameState); + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result WaitFrame( + SessionHandle session, + Ref frameWaitInfo, + Ref frameState + ) + { + fixed (FrameState* __dsl_frameState = frameState) + fixed (FrameWaitInfo* __dsl_frameWaitInfo = frameWaitInfo) + { + return (Result)WaitFrame(session, __dsl_frameWaitInfo, __dsl_frameState); + } + } + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result WaitSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageWaitInfo* waitInfo + ) => Underlying.Value!.WaitSwapchainImage(swapchain, waitInfo); + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result WaitSwapchainImage( + SwapchainHandle swapchain, + Ref waitInfo + ) + { + fixed (SwapchainImageWaitInfo* __dsl_waitInfo = waitInfo) + { + return (Result)WaitSwapchainImage(swapchain, __dsl_waitInfo); + } + } + } + + [NativeName("OPENXR_H_")] + [SupportedApiProfile("openxr")] + public const int OpenxrH = 1; + + [NativeName("XR_CURRENT_API_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public const ulong CurrentApiVersion = ( + (((1) & 0xffffUL) << 48) | (((1) & 0xffffUL) << 32) | ((60) & 0xffffffffUL) + ); + + [NativeName("XR_API_VERSION_1_0")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public const ulong ApiVersion1x0 = ( + (((1) & 0xffffUL) << 48) + | (((0) & 0xffffUL) << 32) + | ( + ( + (uint)( + (ulong)( + ( + (((1) & 0xffffUL) << 48) + | (((1) & 0xffffUL) << 32) + | ((60) & 0xffffffffUL) + ) + ) & 0xffffffffUL + ) + ) & 0xffffffffUL + ) + ); + + [NativeName("XR_MIN_COMPOSITION_LAYERS_SUPPORTED")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public const int MinCompositionLayersSupported = 16; + + [NativeName("XR_NULL_SYSTEM_ID")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public const int NullSystemId = 0; + + [NativeName("XR_NULL_PATH")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public const int NullPath = 0; + + [NativeName("XR_NO_DURATION")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public const int NoDuration = 0; + + [NativeName("XR_INFINITE_DURATION")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public const long InfiniteDuration = 0x7fffffffffffffffL; + + [NativeName("XR_MIN_HAPTIC_DURATION")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public const int MinHapticDuration = -1; + + [NativeName("XR_FREQUENCY_UNSPECIFIED")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public const int FrequencyUnspecified = 0; + + [NativeName("XR_MAX_EVENT_DATA_SIZE")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public static nuint MaxEventDataSize => unchecked((nuint)((uint)(sizeof(EventDataBuffer)))); + + [NativeName("XR_EXTENSION_ENUM_BASE")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public const int ExtensionEnumBase = 1000000000; + + [NativeName("XR_EXTENSION_ENUM_STRIDE")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + public const int ExtensionEnumStride = 1000; + + [NativeName("XR_API_VERSION_1_1")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + public const ulong ApiVersion1x1 = ( + (((1) & 0xffffUL) << 48) + | (((1) & 0xffffUL) << 32) + | ( + ( + (uint)( + (ulong)( + ( + (((1) & 0xffffUL) << 48) + | (((1) & 0xffffUL) << 32) + | ((60) & 0xffffffffUL) + ) + ) & 0xffffffffUL + ) + ) & 0xffffffffUL + ) + ); + + [NativeName("XR_KHR_composition_layer_cube_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cube"])] + public const int KhrCompositionLayerCubeSpecVersion = 8; + + [NativeName("XR_KHR_COMPOSITION_LAYER_CUBE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cube"])] + public static Utf8String KhrCompositionLayerCubeExtensionName => + "XR_KHR_composition_layer_cube"u8; + + [NativeName("XR_KHR_composition_layer_depth_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_depth"])] + public const int KhrCompositionLayerDepthSpecVersion = 6; + + [NativeName("XR_KHR_COMPOSITION_LAYER_DEPTH_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_depth"])] + public static Utf8String KhrCompositionLayerDepthExtensionName => + "XR_KHR_composition_layer_depth"u8; + + [NativeName("XR_KHR_composition_layer_cylinder_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public const int KhrCompositionLayerCylinderSpecVersion = 4; + + [NativeName("XR_KHR_COMPOSITION_LAYER_CYLINDER_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_cylinder"])] + public static Utf8String KhrCompositionLayerCylinderExtensionName => + "XR_KHR_composition_layer_cylinder"u8; + + [NativeName("XR_KHR_composition_layer_equirect_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public const int KhrCompositionLayerEquirectSpecVersion = 3; + + [NativeName("XR_KHR_COMPOSITION_LAYER_EQUIRECT_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect"])] + public static Utf8String KhrCompositionLayerEquirectExtensionName => + "XR_KHR_composition_layer_equirect"u8; + + [NativeName("XR_KHR_visibility_mask_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public const int KhrVisibilityMaskSpecVersion = 2; + + [NativeName("XR_KHR_VISIBILITY_MASK_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_visibility_mask"])] + public static Utf8String KhrVisibilityMaskExtensionName => "XR_KHR_visibility_mask"u8; + + [NativeName("XR_KHR_composition_layer_color_scale_bias_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_color_scale_bias"])] + public const int KhrCompositionLayerColorScaleBiasSpecVersion = 5; + + [NativeName("XR_KHR_COMPOSITION_LAYER_COLOR_SCALE_BIAS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_color_scale_bias"])] + public static Utf8String KhrCompositionLayerColorScaleBiasExtensionName => + "XR_KHR_composition_layer_color_scale_bias"u8; + + [NativeName("XR_KHR_loader_init_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_loader_init"])] + public const int KhrLoaderInitSpecVersion = 2; + + [NativeName("XR_KHR_LOADER_INIT_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_loader_init"])] + public static Utf8String KhrLoaderInitExtensionName => "XR_KHR_loader_init"u8; + + [NativeName("XR_KHR_composition_layer_equirect2_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public const int KhrCompositionLayerEquirect2SpecVersion = 1; + + [NativeName("XR_KHR_COMPOSITION_LAYER_EQUIRECT2_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_composition_layer_equirect2"])] + public static Utf8String KhrCompositionLayerEquirect2ExtensionName => + "XR_KHR_composition_layer_equirect2"u8; + + [NativeName("XR_KHR_binding_modification_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_binding_modification"])] + public const int KhrBindingModificationSpecVersion = 1; + + [NativeName("XR_KHR_BINDING_MODIFICATION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_binding_modification"])] + public static Utf8String KhrBindingModificationExtensionName => "XR_KHR_binding_modification"u8; + + [NativeName("XR_KHR_extended_struct_name_lengths_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_extended_struct_name_lengths"])] + public const int KhrExtendedStructNameLengthsSpecVersion = 2; + + [NativeName("XR_KHR_EXTENDED_STRUCT_NAME_LENGTHS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_extended_struct_name_lengths"])] + public static Utf8String KhrExtendedStructNameLengthsExtensionName => + "XR_KHR_extended_struct_name_lengths"u8; + + [NativeName("XR_MAX_STRUCTURE_NAME_SIZE_EXTENDED_KHR")] + [SupportedApiProfile("openxr", ["XR_KHR_extended_struct_name_lengths"])] + public const int MaxStructureNameSizeExtendedKHR = 256; + + [NativeName("XR_KHR_swapchain_usage_input_attachment_bit_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_swapchain_usage_input_attachment_bit"])] + public const int KhrSwapchainUsageInputAttachmentBitSpecVersion = 3; + + [NativeName("XR_KHR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_swapchain_usage_input_attachment_bit"])] + public static Utf8String KhrSwapchainUsageInputAttachmentBitExtensionName => + "XR_KHR_swapchain_usage_input_attachment_bit"u8; + + [NativeName("XR_KHR_locate_spaces_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_locate_spaces"])] + public const int KhrLocateSpacesSpecVersion = 1; + + [NativeName("XR_KHR_LOCATE_SPACES_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_locate_spaces"])] + public static Utf8String KhrLocateSpacesExtensionName => "XR_KHR_locate_spaces"u8; + + [NativeName("XR_KHR_maintenance1_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_maintenance1"])] + public const int KhrMaintenance1SpecVersion = 1; + + [NativeName("XR_KHR_MAINTENANCE1_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_maintenance1"])] + public static Utf8String KhrMaintenance1ExtensionName => "XR_KHR_maintenance1"u8; + + [NativeName("XR_KHR_generic_controller_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_KHR_generic_controller"])] + public const int KhrGenericControllerSpecVersion = 1; + + [NativeName("XR_KHR_GENERIC_CONTROLLER_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_KHR_generic_controller"])] + public static Utf8String KhrGenericControllerExtensionName => "XR_KHR_generic_controller"u8; + + [NativeName("XR_EXT_performance_settings_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + public const int ExtPerformanceSettingsSpecVersion = 4; + + [NativeName("XR_EXT_PERFORMANCE_SETTINGS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_performance_settings"])] + public static Utf8String ExtPerformanceSettingsExtensionName => "XR_EXT_performance_settings"u8; + + [NativeName("XR_EXT_thermal_query_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_thermal_query"])] + public const int ExtThermalQuerySpecVersion = 2; + + [NativeName("XR_EXT_THERMAL_QUERY_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_thermal_query"])] + public static Utf8String ExtThermalQueryExtensionName => "XR_EXT_thermal_query"u8; + + [NativeName("XR_EXT_debug_utils_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public const int ExtDebugUtilsSpecVersion = 5; + + [NativeName("XR_EXT_DEBUG_UTILS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_debug_utils"])] + public static Utf8String ExtDebugUtilsExtensionName => "XR_EXT_debug_utils"u8; + + [NativeName("XR_EXT_eye_gaze_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_eye_gaze_interaction"])] + public const int ExtEyeGazeInteractionSpecVersion = 2; + + [NativeName("XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_eye_gaze_interaction"])] + public static Utf8String ExtEyeGazeInteractionExtensionName => "XR_EXT_eye_gaze_interaction"u8; + + [NativeName("XR_EXTX_overlay_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + public const int ExtxOverlaySpecVersion = 5; + + [NativeName("XR_EXTX_OVERLAY_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXTX_overlay"])] + public static Utf8String ExtxOverlayExtensionName => "XR_EXTX_overlay"u8; + + [NativeName("XR_VARJO_quad_views_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_VARJO_quad_views"])] + public const int VarjoQuadViewsSpecVersion = 2; + + [NativeName("XR_VARJO_QUAD_VIEWS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_VARJO_quad_views"])] + public static Utf8String VarjoQuadViewsExtensionName => "XR_VARJO_quad_views"u8; + + [NativeName("XR_MSFT_unbounded_reference_space_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_MSFT_unbounded_reference_space"])] + public const int MsftUnboundedReferenceSpaceSpecVersion = 1; + + [NativeName("XR_MSFT_UNBOUNDED_REFERENCE_SPACE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_MSFT_unbounded_reference_space"])] + public static Utf8String MsftUnboundedReferenceSpaceExtensionName => + "XR_MSFT_unbounded_reference_space"u8; + + [NativeName("XR_MSFT_spatial_anchor_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_anchor"])] + public const int MsftSpatialAnchorSpecVersion = 2; + + [NativeName("XR_MSFT_SPATIAL_ANCHOR_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_anchor"])] + public static Utf8String MsftSpatialAnchorExtensionName => "XR_MSFT_spatial_anchor"u8; + + [NativeName("XR_FB_composition_layer_image_layout_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_image_layout"])] + public const int FBCompositionLayerImageLayoutSpecVersion = 1; + + [NativeName("XR_FB_COMPOSITION_LAYER_IMAGE_LAYOUT_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_image_layout"])] + public static Utf8String FbCompositionLayerImageLayoutExtensionName => + "XR_FB_composition_layer_image_layout"u8; + + [NativeName("XR_FB_composition_layer_alpha_blend_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + public const int FBCompositionLayerAlphaBlendSpecVersion = 3; + + [NativeName("XR_FB_COMPOSITION_LAYER_ALPHA_BLEND_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_alpha_blend"])] + public static Utf8String FbCompositionLayerAlphaBlendExtensionName => + "XR_FB_composition_layer_alpha_blend"u8; + + [NativeName("XR_MND_headless_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_MND_headless"])] + public const int MndHeadlessSpecVersion = 3; + + [NativeName("XR_MND_HEADLESS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_MND_headless"])] + public static Utf8String MndHeadlessExtensionName => "XR_MND_headless"u8; + + [NativeName("XR_OCULUS_android_session_state_enable_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_OCULUS_android_session_state_enable"])] + public const int OculusAndroidSessionStateEnableSpecVersion = 1; + + [NativeName("XR_OCULUS_ANDROID_SESSION_STATE_ENABLE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_OCULUS_android_session_state_enable"])] + public static Utf8String OculusAndroidSessionStateEnableExtensionName => + "XR_OCULUS_android_session_state_enable"u8; + + [NativeName("XR_EXT_view_configuration_depth_range_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_depth_range"])] + public const int ExtViewConfigurationDepthRangeSpecVersion = 1; + + [NativeName("XR_EXT_VIEW_CONFIGURATION_DEPTH_RANGE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_depth_range"])] + public static Utf8String ExtViewConfigurationDepthRangeExtensionName => + "XR_EXT_view_configuration_depth_range"u8; + + [NativeName("XR_EXT_conformance_automation_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_conformance_automation"])] + public const int ExtConformanceAutomationSpecVersion = 3; + + [NativeName("XR_EXT_CONFORMANCE_AUTOMATION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_conformance_automation"])] + public static Utf8String ExtConformanceAutomationExtensionName => + "XR_EXT_conformance_automation"u8; + + [NativeName("XR_GUID_SIZE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public const int GuidSizeMSFT = 16; + + [NativeName("XR_MSFT_spatial_graph_bridge_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public const int MsftSpatialGraphBridgeSpecVersion = 2; + + [NativeName("XR_MSFT_SPATIAL_GRAPH_BRIDGE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_MSFT_spatial_graph_bridge"])] + public static Utf8String MsftSpatialGraphBridgeExtensionName => + "XR_MSFT_spatial_graph_bridge"u8; + + [NativeName("XR_MSFT_hand_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_MSFT_hand_interaction"])] + public const int MsftHandInteractionSpecVersion = 1; + + [NativeName("XR_MSFT_HAND_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_MSFT_hand_interaction"])] + public static Utf8String MsftHandInteractionExtensionName => "XR_MSFT_hand_interaction"u8; + + [NativeName("XR_HAND_JOINT_COUNT_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public const int HandJointCountEXT = 26; + + [NativeName("XR_EXT_hand_tracking_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public const int ExtHandTrackingSpecVersion = 4; + + [NativeName("XR_EXT_HAND_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_tracking"])] + public static Utf8String ExtHandTrackingExtensionName => "XR_EXT_hand_tracking"u8; + + [NativeName("XR_MSFT_hand_tracking_mesh_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int MsftHandTrackingMeshSpecVersion = 4; + + [NativeName("XR_MSFT_HAND_TRACKING_MESH_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public static Utf8String MsftHandTrackingMeshExtensionName => "XR_MSFT_hand_tracking_mesh"u8; + + [NativeName("XR_MSFT_secondary_view_configuration_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public const int MsftSecondaryViewConfigurationSpecVersion = 1; + + [NativeName("XR_MSFT_SECONDARY_VIEW_CONFIGURATION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_MSFT_secondary_view_configuration"])] + public static Utf8String MsftSecondaryViewConfigurationExtensionName => + "XR_MSFT_secondary_view_configuration"u8; + + [NativeName("XR_MSFT_first_person_observer_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_first_person_observer"], + ImpliesSets = ["XR_MSFT_secondary_view_configuration", "XR_VERSION_1_0"] + )] + public const int MsftFirstPersonObserverSpecVersion = 1; + + [NativeName("XR_MSFT_FIRST_PERSON_OBSERVER_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_first_person_observer"], + ImpliesSets = ["XR_MSFT_secondary_view_configuration", "XR_VERSION_1_0"] + )] + public static Utf8String MsftFirstPersonObserverExtensionName => + "XR_MSFT_first_person_observer"u8; + + [NativeName("XR_NULL_CONTROLLER_MODEL_KEY_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public const int NullControllerModelKeyMSFT = 0; + + [NativeName("XR_MAX_CONTROLLER_MODEL_NODE_NAME_SIZE_MSFT")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public const int MaxControllerModelNodeNameSizeMSFT = 64; + + [NativeName("XR_MSFT_controller_model_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public const int MsftControllerModelSpecVersion = 2; + + [NativeName("XR_MSFT_CONTROLLER_MODEL_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_MSFT_controller_model"])] + public static Utf8String MsftControllerModelExtensionName => "XR_MSFT_controller_model"u8; + + [NativeName("XR_EXT_win32_appcontainer_compatible_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_win32_appcontainer_compatible"])] + public const int ExtWin32AppcontainerCompatibleSpecVersion = 1; + + [NativeName("XR_EXT_WIN32_APPCONTAINER_COMPATIBLE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_win32_appcontainer_compatible"])] + public static Utf8String ExtWin32AppcontainerCompatibleExtensionName => + "XR_EXT_win32_appcontainer_compatible"u8; + + [NativeName("XR_EPIC_view_configuration_fov_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EPIC_view_configuration_fov"])] + public const int EpicViewConfigurationFovSpecVersion = 2; + + [NativeName("XR_EPIC_VIEW_CONFIGURATION_FOV_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EPIC_view_configuration_fov"])] + public static Utf8String EpicViewConfigurationFovExtensionName => + "XR_EPIC_view_configuration_fov"u8; + + [NativeName("XR_MSFT_composition_layer_reprojection_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + public const int MsftCompositionLayerReprojectionSpecVersion = 1; + + [NativeName("XR_MSFT_COMPOSITION_LAYER_REPROJECTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_MSFT_composition_layer_reprojection"])] + public static Utf8String MsftCompositionLayerReprojectionExtensionName => + "XR_MSFT_composition_layer_reprojection"u8; + + [NativeName("XR_HUAWEI_controller_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_HUAWEI_controller_interaction"])] + public const int HuaweiControllerInteractionSpecVersion = 1; + + [NativeName("XR_HUAWEI_CONTROLLER_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_HUAWEI_controller_interaction"])] + public static Utf8String HuaweiControllerInteractionExtensionName => + "XR_HUAWEI_controller_interaction"u8; + + [NativeName("XR_FB_swapchain_update_state_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_swapchain_update_state"])] + public const int FBSwapchainUpdateStateSpecVersion = 3; + + [NativeName("XR_FB_SWAPCHAIN_UPDATE_STATE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_swapchain_update_state"])] + public static Utf8String FbSwapchainUpdateStateExtensionName => + "XR_FB_swapchain_update_state"u8; + + [NativeName("XR_FB_composition_layer_secure_content_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_secure_content"])] + public const int FBCompositionLayerSecureContentSpecVersion = 1; + + [NativeName("XR_FB_COMPOSITION_LAYER_SECURE_CONTENT_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_secure_content"])] + public static Utf8String FbCompositionLayerSecureContentExtensionName => + "XR_FB_composition_layer_secure_content"u8; + + [NativeName("XR_FB_body_tracking_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public const int FBBodyTrackingSpecVersion = 1; + + [NativeName("XR_FB_BODY_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_body_tracking"])] + public static Utf8String FbBodyTrackingExtensionName => "XR_FB_body_tracking"u8; + + [NativeName("XR_EXT_dpad_binding_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public const int ExtDpadBindingSpecVersion = 1; + + [NativeName("XR_EXT_DPAD_BINDING_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_dpad_binding"], + ImpliesSets = ["XR_KHR_binding_modification", "XR_VERSION_1_0"] + )] + public static Utf8String ExtDpadBindingExtensionName => "XR_EXT_dpad_binding"u8; + + [NativeName("XR_VALVE_analog_threshold_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_VALVE_analog_threshold"])] + public const int ValveAnalogThresholdSpecVersion = 2; + + [NativeName("XR_VALVE_ANALOG_THRESHOLD_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_VALVE_analog_threshold"])] + public static Utf8String ValveAnalogThresholdExtensionName => "XR_VALVE_analog_threshold"u8; + + [NativeName("XR_EXT_hand_joints_motion_range_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_joints_motion_range"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int ExtHandJointsMotionRangeSpecVersion = 1; + + [NativeName("XR_EXT_HAND_JOINTS_MOTION_RANGE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_joints_motion_range"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public static Utf8String ExtHandJointsMotionRangeExtensionName => + "XR_EXT_hand_joints_motion_range"u8; + + [NativeName("XR_EXT_samsung_odyssey_controller_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_samsung_odyssey_controller"])] + public const int ExtSamsungOdysseyControllerSpecVersion = 1; + + [NativeName("XR_EXT_SAMSUNG_ODYSSEY_CONTROLLER_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_samsung_odyssey_controller"])] + public static Utf8String ExtSamsungOdysseyControllerExtensionName => + "XR_EXT_samsung_odyssey_controller"u8; + + [NativeName("XR_EXT_hp_mixed_reality_controller_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_hp_mixed_reality_controller"])] + public const int ExtHpMixedRealityControllerSpecVersion = 1; + + [NativeName("XR_EXT_HP_MIXED_REALITY_CONTROLLER_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_hp_mixed_reality_controller"])] + public static Utf8String ExtHpMixedRealityControllerExtensionName => + "XR_EXT_hp_mixed_reality_controller"u8; + + [NativeName("XR_MND_swapchain_usage_input_attachment_bit_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_MND_swapchain_usage_input_attachment_bit"])] + public const int MndSwapchainUsageInputAttachmentBitSpecVersion = 2; + + [NativeName("XR_MND_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_MND_swapchain_usage_input_attachment_bit"])] + public static Utf8String MndSwapchainUsageInputAttachmentBitExtensionName => + "XR_MND_swapchain_usage_input_attachment_bit"u8; + + [NativeName("XR_MSFT_scene_understanding_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public const int MsftSceneUnderstandingSpecVersion = 2; + + [NativeName("XR_MSFT_SCENE_UNDERSTANDING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_MSFT_scene_understanding"])] + public static Utf8String MsftSceneUnderstandingExtensionName => "XR_MSFT_scene_understanding"u8; + + [NativeName("XR_MSFT_scene_understanding_serialization_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public const int MsftSceneUnderstandingSerializationSpecVersion = 2; + + [NativeName("XR_MSFT_SCENE_UNDERSTANDING_SERIALIZATION_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_understanding_serialization"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public static Utf8String MsftSceneUnderstandingSerializationExtensionName => + "XR_MSFT_scene_understanding_serialization"u8; + + [NativeName("XR_FB_display_refresh_rate_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_display_refresh_rate"])] + public const int FBDisplayRefreshRateSpecVersion = 1; + + [NativeName("XR_FB_DISPLAY_REFRESH_RATE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_display_refresh_rate"])] + public static Utf8String FbDisplayRefreshRateExtensionName => "XR_FB_display_refresh_rate"u8; + + [NativeName("XR_HTC_vive_cosmos_controller_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_HTC_vive_cosmos_controller_interaction"])] + public const int HtcViveCosmosControllerInteractionSpecVersion = 1; + + [NativeName("XR_HTC_VIVE_COSMOS_CONTROLLER_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_HTC_vive_cosmos_controller_interaction"])] + public static Utf8String HtcViveCosmosControllerInteractionExtensionName => + "XR_HTC_vive_cosmos_controller_interaction"u8; + + [NativeName("XR_HTCX_vive_tracker_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + public const int HtcxViveTrackerInteractionSpecVersion = 3; + + [NativeName("XR_HTCX_VIVE_TRACKER_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_HTCX_vive_tracker_interaction"])] + public static Utf8String HtcxViveTrackerInteractionExtensionName => + "XR_HTCX_vive_tracker_interaction"u8; + + [NativeName("XR_FACIAL_EXPRESSION_EYE_COUNT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public const int FacialExpressionEyeCountHTC = 14; + + [NativeName("XR_FACIAL_EXPRESSION_LIP_COUNT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public const int FacialExpressionLipCountHTC = 37; + + [NativeName("XR_HTC_facial_tracking_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public const int HtcFacialTrackingSpecVersion = 3; + + [NativeName("XR_HTC_FACIAL_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_HTC_facial_tracking"])] + public static Utf8String HtcFacialTrackingExtensionName => "XR_HTC_facial_tracking"u8; + + [NativeName("XR_HTC_vive_focus3_controller_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_HTC_vive_focus3_controller_interaction"])] + public const int HtcViveFocus3ControllerInteractionSpecVersion = 2; + + [NativeName("XR_HTC_VIVE_FOCUS3_CONTROLLER_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_HTC_vive_focus3_controller_interaction"])] + public static Utf8String HtcViveFocus3ControllerInteractionExtensionName => + "XR_HTC_vive_focus3_controller_interaction"u8; + + [NativeName("XR_HTC_hand_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_HTC_hand_interaction"])] + public const int HtcHandInteractionSpecVersion = 1; + + [NativeName("XR_HTC_HAND_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_HTC_hand_interaction"])] + public static Utf8String HtcHandInteractionExtensionName => "XR_HTC_hand_interaction"u8; + + [NativeName("XR_HTC_vive_wrist_tracker_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_HTC_vive_wrist_tracker_interaction"])] + public const int HtcViveWristTrackerInteractionSpecVersion = 1; + + [NativeName("XR_HTC_VIVE_WRIST_TRACKER_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_HTC_vive_wrist_tracker_interaction"])] + public static Utf8String HtcViveWristTrackerInteractionExtensionName => + "XR_HTC_vive_wrist_tracker_interaction"u8; + + [NativeName("XR_FB_color_space_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + public const int FBColorSpaceSpecVersion = 3; + + [NativeName("XR_FB_COLOR_SPACE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_color_space"])] + public static Utf8String FbColorSpaceExtensionName => "XR_FB_color_space"u8; + + [NativeName("XR_FB_hand_tracking_mesh_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int FBHandTrackingMeshSpecVersion = 3; + + [NativeName("XR_FB_HAND_TRACKING_MESH_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_mesh"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public static Utf8String FbHandTrackingMeshExtensionName => "XR_FB_hand_tracking_mesh"u8; + + [NativeName("XR_FB_hand_tracking_aim_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_aim"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int FBHandTrackingAimSpecVersion = 2; + + [NativeName("XR_FB_HAND_TRACKING_AIM_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_aim"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public static Utf8String FbHandTrackingAimExtensionName => "XR_FB_hand_tracking_aim"u8; + + [NativeName("XR_HAND_TRACKING_CAPSULE_POINT_COUNT_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int HandTrackingCapsulePointCountFB = 2; + + [NativeName("XR_HAND_TRACKING_CAPSULE_COUNT_FB")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int HandTrackingCapsuleCountFB = 19; + + [NativeName("XR_FB_hand_tracking_capsules_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int FBHandTrackingCapsulesSpecVersion = 3; + + [NativeName("XR_FB_HAND_TRACKING_CAPSULES_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public static Utf8String FbHandTrackingCapsulesExtensionName => + "XR_FB_hand_tracking_capsules"u8; + + [NativeName("XR_FB_HAND_TRACKING_CAPSULE_POINT_COUNT")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int FbHandTrackingCapsulePointCount = 2; + + [NativeName("XR_FB_HAND_TRACKING_CAPSULE_COUNT")] + [SupportedApiProfile( + "openxr", + ["XR_FB_hand_tracking_capsules"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int FbHandTrackingCapsuleCount = 19; + + [NativeName("XR_FB_spatial_entity_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public const int FBSpatialEntitySpecVersion = 3; + + [NativeName("XR_FB_SPATIAL_ENTITY_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity"])] + public static Utf8String FbSpatialEntityExtensionName => "XR_FB_spatial_entity"u8; + + [NativeName("XR_FB_foveation_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public const int FBFoveationSpecVersion = 1; + + [NativeName("XR_FB_FOVEATION_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation"], + ImpliesSets = ["XR_FB_swapchain_update_state", "XR_VERSION_1_0"] + )] + public static Utf8String FbFoveationExtensionName => "XR_FB_foveation"u8; + + [NativeName("XR_FB_foveation_configuration_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + public const int FBFoveationConfigurationSpecVersion = 1; + + [NativeName("XR_FB_FOVEATION_CONFIGURATION_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_FB_foveation_configuration"], + ImpliesSets = ["XR_FB_foveation", "XR_VERSION_1_0"] + )] + public static Utf8String FbFoveationConfigurationExtensionName => + "XR_FB_foveation_configuration"u8; + + [NativeName("XR_MAX_KEYBOARD_TRACKING_NAME_SIZE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public const int MaxKeyboardTrackingNameSizeFB = 128; + + [NativeName("XR_FB_keyboard_tracking_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public const int FBKeyboardTrackingSpecVersion = 1; + + [NativeName("XR_FB_KEYBOARD_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_keyboard_tracking"])] + public static Utf8String FbKeyboardTrackingExtensionName => "XR_FB_keyboard_tracking"u8; + + [NativeName("XR_FB_triangle_mesh_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + public const int FBTriangleMeshSpecVersion = 2; + + [NativeName("XR_FB_TRIANGLE_MESH_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_triangle_mesh"])] + public static Utf8String FbTriangleMeshExtensionName => "XR_FB_triangle_mesh"u8; + + [NativeName("XR_PASSTHROUGH_COLOR_MAP_MONO_SIZE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public const int PassthroughColorMapMonoSizeFB = 256; + + [NativeName("XR_FB_passthrough_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public const int FBPassthroughSpecVersion = 5; + + [NativeName("XR_FB_PASSTHROUGH_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_passthrough"])] + public static Utf8String FbPassthroughExtensionName => "XR_FB_passthrough"u8; + + [NativeName("XR_NULL_RENDER_MODEL_KEY_FB")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public const int NullRenderModelKeyFB = 0; + + [NativeName("XR_MAX_RENDER_MODEL_NAME_SIZE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public const int MaxRenderModelNameSizeFB = 64; + + [NativeName("XR_FB_render_model_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public const int FBRenderModelSpecVersion = 4; + + [NativeName("XR_FB_RENDER_MODEL_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_render_model"])] + public static Utf8String FbRenderModelExtensionName => "XR_FB_render_model"u8; + + [NativeName("XR_VARJO_foveated_rendering_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public const int VarjoFoveatedRenderingSpecVersion = 3; + + [NativeName("XR_VARJO_FOVEATED_RENDERING_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_foveated_rendering"], + ImpliesSets = ["XR_VARJO_quad_views", "XR_VERSION_1_0"] + )] + public static Utf8String VarjoFoveatedRenderingExtensionName => "XR_VARJO_foveated_rendering"u8; + + [NativeName("XR_VARJO_composition_layer_depth_test_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_composition_layer_depth_test"], + ImpliesSets = ["XR_KHR_composition_layer_depth", "XR_VERSION_1_0"] + )] + public const int VarjoCompositionLayerDepthTestSpecVersion = 2; + + [NativeName("XR_VARJO_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_VARJO_composition_layer_depth_test"], + ImpliesSets = ["XR_KHR_composition_layer_depth", "XR_VERSION_1_0"] + )] + public static Utf8String VarjoCompositionLayerDepthTestExtensionName => + "XR_VARJO_composition_layer_depth_test"u8; + + [NativeName("XR_VARJO_environment_depth_estimation_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_VARJO_environment_depth_estimation"])] + public const int VarjoEnvironmentDepthEstimationSpecVersion = 1; + + [NativeName("XR_VARJO_ENVIRONMENT_DEPTH_ESTIMATION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_VARJO_environment_depth_estimation"])] + public static Utf8String VarjoEnvironmentDepthEstimationExtensionName => + "XR_VARJO_environment_depth_estimation"u8; + + [NativeName("XR_VARJO_marker_tracking_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public const int VarjoMarkerTrackingSpecVersion = 1; + + [NativeName("XR_VARJO_MARKER_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_VARJO_marker_tracking"])] + public static Utf8String VarjoMarkerTrackingExtensionName => "XR_VARJO_marker_tracking"u8; + + [NativeName("XR_VARJO_view_offset_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_VARJO_view_offset"])] + public const int VarjoViewOffsetSpecVersion = 1; + + [NativeName("XR_VARJO_VIEW_OFFSET_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_VARJO_view_offset"])] + public static Utf8String VarjoViewOffsetExtensionName => "XR_VARJO_view_offset"u8; + + [NativeName("XR_VARJO_xr4_controller_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_VARJO_xr4_controller_interaction"])] + public const int VarjoXr4ControllerInteractionSpecVersion = 2; + + [NativeName("XR_VARJO_XR4_CONTROLLER_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_VARJO_xr4_controller_interaction"])] + public static Utf8String VarjoXr4ControllerInteractionExtensionName => + "XR_VARJO_xr4_controller_interaction"u8; + + [NativeName("XR_ML_ml2_controller_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ML_ml2_controller_interaction"])] + public const int MLMl2ControllerInteractionSpecVersion = 1; + + [NativeName("XR_ML_ML2_CONTROLLER_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ML_ml2_controller_interaction"])] + public static Utf8String MlMl2ControllerInteractionExtensionName => + "XR_ML_ml2_controller_interaction"u8; + + [NativeName("XR_ML_frame_end_info_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ML_frame_end_info"])] + public const int MLFrameEndInfoSpecVersion = 1; + + [NativeName("XR_ML_FRAME_END_INFO_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ML_frame_end_info"])] + public static Utf8String MlFrameEndInfoExtensionName => "XR_ML_frame_end_info"u8; + + [NativeName("XR_ML_global_dimmer_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ML_global_dimmer"])] + public const int MLGlobalDimmerSpecVersion = 1; + + [NativeName("XR_ML_GLOBAL_DIMMER_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ML_global_dimmer"])] + public static Utf8String MlGlobalDimmerExtensionName => "XR_ML_global_dimmer"u8; + + [NativeName("XR_ML_marker_understanding_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public const int MLMarkerUnderstandingSpecVersion = 1; + + [NativeName("XR_ML_MARKER_UNDERSTANDING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ML_marker_understanding"])] + public static Utf8String MlMarkerUnderstandingExtensionName => "XR_ML_marker_understanding"u8; + + [NativeName("XR_MAX_LOCALIZATION_MAP_NAME_LENGTH_ML")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public const int MaxLocalizationMapNameLengthML = 64; + + [NativeName("XR_ML_localization_map_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public const int MLLocalizationMapSpecVersion = 1; + + [NativeName("XR_ML_LOCALIZATION_MAP_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ML_localization_map"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public static Utf8String MlLocalizationMapExtensionName => "XR_ML_localization_map"u8; + + [NativeName("XR_ML_spatial_anchors_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public const int MLSpatialAnchorsSpecVersion = 1; + + [NativeName("XR_ML_SPATIAL_ANCHORS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ML_spatial_anchors"], ImpliesSets = ["XR_EXT_future"])] + public static Utf8String MlSpatialAnchorsExtensionName => "XR_ML_spatial_anchors"u8; + + [NativeName("XR_ML_spatial_anchors_storage_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public const int MLSpatialAnchorsStorageSpecVersion = 1; + + [NativeName("XR_ML_SPATIAL_ANCHORS_STORAGE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ML_spatial_anchors_storage"], + ImpliesSets = ["XR_EXT_future", "XR_ML_spatial_anchors"] + )] + public static Utf8String MlSpatialAnchorsStorageExtensionName => + "XR_ML_spatial_anchors_storage"u8; + + [NativeName("XR_MAX_SPATIAL_ANCHOR_NAME_SIZE_MSFT")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public const int MaxSpatialAnchorNameSizeMSFT = 256; + + [NativeName("XR_MSFT_spatial_anchor_persistence_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public const int MsftSpatialAnchorPersistenceSpecVersion = 2; + + [NativeName("XR_MSFT_SPATIAL_ANCHOR_PERSISTENCE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_spatial_anchor_persistence"], + ImpliesSets = ["XR_MSFT_spatial_anchor", "XR_VERSION_1_0"] + )] + public static Utf8String MsftSpatialAnchorPersistenceExtensionName => + "XR_MSFT_spatial_anchor_persistence"u8; + + [NativeName("XR_MSFT_scene_marker_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public const int MsftSceneMarkerSpecVersion = 1; + + [NativeName("XR_MSFT_SCENE_MARKER_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_MSFT_scene_marker"], + ImpliesSets = ["XR_MSFT_scene_understanding", "XR_VERSION_1_0"] + )] + public static Utf8String MsftSceneMarkerExtensionName => "XR_MSFT_scene_marker"u8; + + [NativeName("XR_HAND_FOREARM_JOINT_COUNT_ULTRALEAP")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int HandForearmJointCountULTRALEAP = 27; + + [NativeName("XR_ULTRALEAP_hand_tracking_forearm_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int UltraleapHandTrackingForearmSpecVersion = 1; + + [NativeName("XR_ULTRALEAP_HAND_TRACKING_FOREARM_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ULTRALEAP_hand_tracking_forearm"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public static Utf8String UltraleapHandTrackingForearmExtensionName => + "XR_ULTRALEAP_hand_tracking_forearm"u8; + + [NativeName("XR_FB_spatial_entity_query_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public const int FBSpatialEntityQuerySpecVersion = 1; + + [NativeName("XR_FB_SPATIAL_ENTITY_QUERY_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_query"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public static Utf8String FbSpatialEntityQueryExtensionName => "XR_FB_spatial_entity_query"u8; + + [NativeName("XR_FB_spatial_entity_storage_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public const int FBSpatialEntityStorageSpecVersion = 1; + + [NativeName("XR_FB_SPATIAL_ENTITY_STORAGE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public static Utf8String FbSpatialEntityStorageExtensionName => + "XR_FB_spatial_entity_storage"u8; + + [NativeName("XR_FB_touch_controller_pro_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_touch_controller_pro"])] + public const int FBTouchControllerProSpecVersion = 1; + + [NativeName("XR_FB_TOUCH_CONTROLLER_PRO_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_touch_controller_pro"])] + public static Utf8String FbTouchControllerProExtensionName => "XR_FB_touch_controller_pro"u8; + + [NativeName("XR_FB_spatial_entity_sharing_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public const int FBSpatialEntitySharingSpecVersion = 1; + + [NativeName("XR_FB_SPATIAL_ENTITY_SHARING_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public static Utf8String FbSpatialEntitySharingExtensionName => + "XR_FB_spatial_entity_sharing"u8; + + [NativeName("XR_FB_space_warp_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public const int FBSpaceWarpSpecVersion = 2; + + [NativeName("XR_FB_SPACE_WARP_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_space_warp"])] + public static Utf8String FbSpaceWarpExtensionName => "XR_FB_space_warp"u8; + + [NativeName("XR_MAX_HAPTIC_AMPLITUDE_ENVELOPE_SAMPLES_FB")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_amplitude_envelope"])] + public const uint MaxHapticAmplitudeEnvelopeSamplesFB = 4000U; + + [NativeName("XR_FB_haptic_amplitude_envelope_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_amplitude_envelope"])] + public const int FBHapticAmplitudeEnvelopeSpecVersion = 1; + + [NativeName("XR_FB_HAPTIC_AMPLITUDE_ENVELOPE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_amplitude_envelope"])] + public static Utf8String FbHapticAmplitudeEnvelopeExtensionName => + "XR_FB_haptic_amplitude_envelope"u8; + + [NativeName("XR_FB_scene_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public const int FBSceneSpecVersion = 4; + + [NativeName("XR_FB_SCENE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_FB_scene"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public static Utf8String FbSceneExtensionName => "XR_FB_scene"u8; + + [NativeName("XR_EXT_palm_pose_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_palm_pose"])] + public const int ExtPalmPoseSpecVersion = 3; + + [NativeName("XR_EXT_PALM_POSE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_palm_pose"])] + public static Utf8String ExtPalmPoseExtensionName => "XR_EXT_palm_pose"u8; + + [NativeName("XR_ALMALENCE_digital_lens_control_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ALMALENCE_digital_lens_control"])] + public const int AlmalenceDigitalLensControlSpecVersion = 1; + + [NativeName("XR_ALMALENCE_DIGITAL_LENS_CONTROL_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ALMALENCE_digital_lens_control"])] + public static Utf8String AlmalenceDigitalLensControlExtensionName => + "XR_ALMALENCE_digital_lens_control"u8; + + [NativeName("XR_FB_scene_capture_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + public const int FBSceneCaptureSpecVersion = 1; + + [NativeName("XR_FB_SCENE_CAPTURE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_scene_capture"])] + public static Utf8String FbSceneCaptureExtensionName => "XR_FB_scene_capture"u8; + + [NativeName("XR_FB_spatial_entity_container_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_container"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public const int FBSpatialEntityContainerSpecVersion = 2; + + [NativeName("XR_FB_SPATIAL_ENTITY_CONTAINER_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_container"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public static Utf8String FbSpatialEntityContainerExtensionName => + "XR_FB_spatial_entity_container"u8; + + [NativeName("XR_FOVEATION_CENTER_SIZE_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public const int FoveationCenterSizeMETA = 2; + + [NativeName("XR_META_foveation_eye_tracked_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public const int MetaFoveationEyeTrackedSpecVersion = 1; + + [NativeName("XR_META_FOVEATION_EYE_TRACKED_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_foveation_eye_tracked"], + ImpliesSets = ["XR_FB_foveation", "XR_FB_foveation_configuration", "XR_VERSION_1_0"] + )] + public static Utf8String MetaFoveationEyeTrackedExtensionName => + "XR_META_foveation_eye_tracked"u8; + + [NativeName("XR_FACE_EXPRESSSION_SET_DEFAULT_FB")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public const FaceExpressionSetFB FaceExpresssionSetDefaultFB = FaceExpressionSetFB.Default; + + [NativeName("XR_FB_face_tracking_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public const int FBFaceTrackingSpecVersion = 1; + + [NativeName("XR_FB_FACE_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking"])] + public static Utf8String FbFaceTrackingExtensionName => "XR_FB_face_tracking"u8; + + [NativeName("XR_FB_eye_tracking_social_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public const int FBEyeTrackingSocialSpecVersion = 1; + + [NativeName("XR_FB_EYE_TRACKING_SOCIAL_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_eye_tracking_social"])] + public static Utf8String FbEyeTrackingSocialExtensionName => "XR_FB_eye_tracking_social"u8; + + [NativeName("XR_FB_passthrough_keyboard_hands_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_FB_passthrough_keyboard_hands"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public const int FBPassthroughKeyboardHandsSpecVersion = 2; + + [NativeName("XR_FB_PASSTHROUGH_KEYBOARD_HANDS_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_FB_passthrough_keyboard_hands"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public static Utf8String FbPassthroughKeyboardHandsExtensionName => + "XR_FB_passthrough_keyboard_hands"u8; + + [NativeName("XR_FB_composition_layer_settings_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_settings"])] + public const int FBCompositionLayerSettingsSpecVersion = 1; + + [NativeName("XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_settings"])] + public static Utf8String FbCompositionLayerSettingsExtensionName => + "XR_FB_composition_layer_settings"u8; + + [NativeName("XR_FB_touch_controller_proximity_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_touch_controller_proximity"])] + public const int FBTouchControllerProximitySpecVersion = 1; + + [NativeName("XR_FB_TOUCH_CONTROLLER_PROXIMITY_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_touch_controller_proximity"])] + public static Utf8String FbTouchControllerProximityExtensionName => + "XR_FB_touch_controller_proximity"u8; + + [NativeName("XR_MAX_HAPTIC_PCM_BUFFER_SIZE_FB")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public const int MaxHapticPcmBufferSizeFB = 4000; + + [NativeName("XR_FB_haptic_pcm_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public const int FBHapticPcmSpecVersion = 1; + + [NativeName("XR_FB_HAPTIC_PCM_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_haptic_pcm"])] + public static Utf8String FbHapticPcmExtensionName => "XR_FB_haptic_pcm"u8; + + [NativeName("XR_EXT_frame_synthesis_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public const int ExtFrameSynthesisSpecVersion = 1; + + [NativeName("XR_EXT_FRAME_SYNTHESIS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_frame_synthesis"])] + public static Utf8String ExtFrameSynthesisExtensionName => "XR_EXT_frame_synthesis"u8; + + [NativeName("XR_FB_composition_layer_depth_test_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + public const int FBCompositionLayerDepthTestSpecVersion = 1; + + [NativeName("XR_FB_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_composition_layer_depth_test"])] + public static Utf8String FbCompositionLayerDepthTestExtensionName => + "XR_FB_composition_layer_depth_test"u8; + + [NativeName("XR_META_local_dimming_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_local_dimming"])] + public const int MetaLocalDimmingSpecVersion = 1; + + [NativeName("XR_META_LOCAL_DIMMING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_local_dimming"])] + public static Utf8String MetaLocalDimmingExtensionName => "XR_META_local_dimming"u8; + + [NativeName("XR_META_passthrough_preferences_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_passthrough_preferences"])] + public const int MetaPassthroughPreferencesSpecVersion = 1; + + [NativeName("XR_META_PASSTHROUGH_PREFERENCES_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_passthrough_preferences"])] + public static Utf8String MetaPassthroughPreferencesExtensionName => + "XR_META_passthrough_preferences"u8; + + [NativeName("XR_MAX_VIRTUAL_KEYBOARD_COMMIT_TEXT_SIZE_META")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public const int MaxVirtualKeyboardCommitTextSizeMETA = 3992; + + [NativeName("XR_META_virtual_keyboard_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public const int MetaVirtualKeyboardSpecVersion = 1; + + [NativeName("XR_META_VIRTUAL_KEYBOARD_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_virtual_keyboard"])] + public static Utf8String MetaVirtualKeyboardExtensionName => "XR_META_virtual_keyboard"u8; + + [NativeName("XR_MAX_EXTERNAL_CAMERA_NAME_SIZE_OCULUS")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public const int MaxExternalCameraNameSizeOCULUS = 32; + + [NativeName("XR_OCULUS_external_camera_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public const int OculusExternalCameraSpecVersion = 1; + + [NativeName("XR_OCULUS_EXTERNAL_CAMERA_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_OCULUS_external_camera"])] + public static Utf8String OculusExternalCameraExtensionName => "XR_OCULUS_external_camera"u8; + + [NativeName("XR_META_performance_metrics_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public const int MetaPerformanceMetricsSpecVersion = 2; + + [NativeName("XR_META_PERFORMANCE_METRICS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_performance_metrics"])] + public static Utf8String MetaPerformanceMetricsExtensionName => "XR_META_performance_metrics"u8; + + [NativeName("XR_FB_spatial_entity_storage_batch_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public const int FBSpatialEntityStorageBatchSpecVersion = 1; + + [NativeName("XR_FB_SPATIAL_ENTITY_STORAGE_BATCH_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_FB_spatial_entity_storage_batch"], + ImpliesSets = ["XR_FB_spatial_entity_storage", "XR_VERSION_1_0"] + )] + public static Utf8String FbSpatialEntityStorageBatchExtensionName => + "XR_FB_spatial_entity_storage_batch"u8; + + [NativeName("XR_META_detached_controllers_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_detached_controllers"])] + public const int MetaDetachedControllersSpecVersion = 1; + + [NativeName("XR_META_DETACHED_CONTROLLERS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_detached_controllers"])] + public static Utf8String MetaDetachedControllersExtensionName => + "XR_META_detached_controllers"u8; + + [NativeName("XR_FB_spatial_entity_user_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity_user"])] + public const int FBSpatialEntityUserSpecVersion = 1; + + [NativeName("XR_FB_SPATIAL_ENTITY_USER_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_spatial_entity_user"])] + public static Utf8String FbSpatialEntityUserExtensionName => "XR_FB_spatial_entity_user"u8; + + [NativeName("XR_META_headset_id_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_headset_id"])] + public const int MetaHeadsetIdSpecVersion = 2; + + [NativeName("XR_META_HEADSET_ID_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_headset_id"])] + public static Utf8String MetaHeadsetIdExtensionName => "XR_META_headset_id"u8; + + [NativeName("XR_META_spatial_entity_discovery_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public const int MetaSpatialEntityDiscoverySpecVersion = 1; + + [NativeName("XR_META_SPATIAL_ENTITY_DISCOVERY_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_discovery"])] + public static Utf8String MetaSpatialEntityDiscoveryExtensionName => + "XR_META_spatial_entity_discovery"u8; + + [NativeName("XR_META_hand_tracking_microgestures_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_hand_tracking_microgestures"], + ImpliesSets = ["XR_EXT_hand_interaction", "XR_VERSION_1_0"] + )] + public const int MetaHandTrackingMicrogesturesSpecVersion = 1; + + [NativeName("XR_META_HAND_TRACKING_MICROGESTURES_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_hand_tracking_microgestures"], + ImpliesSets = ["XR_EXT_hand_interaction", "XR_VERSION_1_0"] + )] + public static Utf8String MetaHandTrackingMicrogesturesExtensionName => + "XR_META_hand_tracking_microgestures"u8; + + [NativeName("XR_META_recommended_layer_resolution_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + public const int MetaRecommendedLayerResolutionSpecVersion = 1; + + [NativeName("XR_META_RECOMMENDED_LAYER_RESOLUTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_recommended_layer_resolution"])] + public static Utf8String MetaRecommendedLayerResolutionExtensionName => + "XR_META_recommended_layer_resolution"u8; + + [NativeName("XR_META_spatial_entity_persistence_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public const int MetaSpatialEntityPersistenceSpecVersion = 1; + + [NativeName("XR_META_SPATIAL_ENTITY_PERSISTENCE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_persistence"])] + public static Utf8String MetaSpatialEntityPersistenceExtensionName => + "XR_META_spatial_entity_persistence"u8; + + [NativeName("XR_META_passthrough_color_lut_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public const int MetaPassthroughColorLutSpecVersion = 1; + + [NativeName("XR_META_PASSTHROUGH_COLOR_LUT_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_color_lut"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public static Utf8String MetaPassthroughColorLutExtensionName => + "XR_META_passthrough_color_lut"u8; + + [NativeName("XR_META_spatial_entity_mesh_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public const int MetaSpatialEntityMeshSpecVersion = 1; + + [NativeName("XR_META_SPATIAL_ENTITY_MESH_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_mesh"], + ImpliesSets = ["XR_FB_spatial_entity", "XR_VERSION_1_0"] + )] + public static Utf8String MetaSpatialEntityMeshExtensionName => "XR_META_spatial_entity_mesh"u8; + + [NativeName("XR_META_automatic_layer_filter_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_automatic_layer_filter"], + ImpliesSets = ["XR_FB_composition_layer_settings", "XR_VERSION_1_0"] + )] + public const int MetaAutomaticLayerFilterSpecVersion = 1; + + [NativeName("XR_META_AUTOMATIC_LAYER_FILTER_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_automatic_layer_filter"], + ImpliesSets = ["XR_FB_composition_layer_settings", "XR_VERSION_1_0"] + )] + public static Utf8String MetaAutomaticLayerFilterExtensionName => + "XR_META_automatic_layer_filter"u8; + + [NativeName("XR_META_body_tracking_full_body_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public const int MetaBodyTrackingFullBodySpecVersion = 1; + + [NativeName("XR_META_BODY_TRACKING_FULL_BODY_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_full_body"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public static Utf8String MetaBodyTrackingFullBodyExtensionName => + "XR_META_body_tracking_full_body"u8; + + [NativeName("XR_META_touch_controller_plus_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_touch_controller_plus"])] + public const int MetaTouchControllerPlusSpecVersion = 1; + + [NativeName("XR_META_TOUCH_CONTROLLER_PLUS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_touch_controller_plus"])] + public static Utf8String MetaTouchControllerPlusExtensionName => + "XR_META_touch_controller_plus"u8; + + [NativeName("XR_META_passthrough_layer_resumed_event_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_layer_resumed_event"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public const int MetaPassthroughLayerResumedEventSpecVersion = 1; + + [NativeName("XR_META_PASSTHROUGH_LAYER_RESUMED_EVENT_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_passthrough_layer_resumed_event"], + ImpliesSets = ["XR_FB_passthrough", "XR_VERSION_1_0"] + )] + public static Utf8String MetaPassthroughLayerResumedEventExtensionName => + "XR_META_passthrough_layer_resumed_event"u8; + + [NativeName("XR_META_body_tracking_calibration_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public const int MetaBodyTrackingCalibrationSpecVersion = 1; + + [NativeName("XR_META_BODY_TRACKING_CALIBRATION_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_calibration"], + ImpliesSets = ["XR_FB_body_tracking"] + )] + public static Utf8String MetaBodyTrackingCalibrationExtensionName => + "XR_META_body_tracking_calibration"u8; + + [NativeName("XR_META_body_tracking_fidelity_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + public const int MetaBodyTrackingFidelitySpecVersion = 1; + + [NativeName("XR_META_BODY_TRACKING_FIDELITY_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_body_tracking_fidelity"], + ImpliesSets = ["XR_FB_body_tracking", "XR_VERSION_1_0"] + )] + public static Utf8String MetaBodyTrackingFidelityExtensionName => + "XR_META_body_tracking_fidelity"u8; + + [NativeName("XR_FB_face_tracking2_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public const int FBFaceTracking2SpecVersion = 1; + + [NativeName("XR_FB_FACE_TRACKING2_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_FB_face_tracking2"])] + public static Utf8String FbFaceTracking2ExtensionName => "XR_FB_face_tracking2"u8; + + [NativeName("XR_META_spatial_entity_sharing_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public const int MetaSpatialEntitySharingSpecVersion = 1; + + [NativeName("XR_META_SPATIAL_ENTITY_SHARING_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public static Utf8String MetaSpatialEntitySharingExtensionName => + "XR_META_spatial_entity_sharing"u8; + + [NativeName("XR_MAX_SPACES_PER_SHARE_REQUEST_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_sharing"], + ImpliesSets = ["XR_FB_spatial_entity"] + )] + public const int MaxSpacesPerShareRequestMETA = 32; + + [NativeName("XR_META_environment_depth_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public const int MetaEnvironmentDepthSpecVersion = 2; + + [NativeName("XR_META_ENVIRONMENT_DEPTH_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_environment_depth"])] + public static Utf8String MetaEnvironmentDepthExtensionName => "XR_META_environment_depth"u8; + + [NativeName("XR_EXT_uuid_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_uuid"])] + public const int ExtUuidSpecVersion = 1; + + [NativeName("XR_EXT_UUID_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_uuid"])] + public static Utf8String ExtUuidExtensionName => "XR_EXT_uuid"u8; + + [NativeName("XR_UUID_SIZE_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_uuid"])] + public const int UuidSizeEXT = 16; + + [NativeName("XR_MAX_RENDER_MODEL_ASSET_NODE_NAME_SIZE_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public const int MaxRenderModelAssetNodeNameSizeEXT = 64; + + [NativeName("XR_EXT_render_model_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public const int ExtRenderModelSpecVersion = 1; + + [NativeName("XR_EXT_RENDER_MODEL_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public static Utf8String ExtRenderModelExtensionName => "XR_EXT_render_model"u8; + + [NativeName("XR_NULL_RENDER_MODEL_ID_EXT")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_render_model"], + ImpliesSets = ["XR_EXT_render_model+XR_EXT_uuid", "XR_EXT_render_model+XR_VERSION_1_1"] + )] + public const int NullRenderModelIdEXT = 0; + + [NativeName("XR_EXT_interaction_render_model_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public const int ExtInteractionRenderModelSpecVersion = 1; + + [NativeName("XR_EXT_INTERACTION_RENDER_MODEL_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_interaction_render_model"], + ImpliesSets = ["XR_EXT_render_model"] + )] + public static Utf8String ExtInteractionRenderModelExtensionName => + "XR_EXT_interaction_render_model"u8; + + [NativeName("XR_EXT_hand_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_interaction"])] + public const int ExtHandInteractionSpecVersion = 2; + + [NativeName("XR_EXT_HAND_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_hand_interaction"])] + public static Utf8String ExtHandInteractionExtensionName => "XR_EXT_hand_interaction"u8; + + [NativeName("XR_QCOM_tracking_optimization_settings_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_QCOM_tracking_optimization_settings"])] + public const int QcomTrackingOptimizationSettingsSpecVersion = 1; + + [NativeName("XR_QCOM_TRACKING_OPTIMIZATION_SETTINGS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_QCOM_tracking_optimization_settings"])] + public static Utf8String QcomTrackingOptimizationSettingsExtensionName => + "XR_QCOM_tracking_optimization_settings"u8; + + [NativeName("XR_QCOM_hand_tracking_gesture_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_QCOM_hand_tracking_gesture"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int QcomHandTrackingGestureSpecVersion = 1; + + [NativeName("XR_QCOM_HAND_TRACKING_GESTURE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_QCOM_hand_tracking_gesture"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public static Utf8String QcomHandTrackingGestureExtensionName => + "XR_QCOM_hand_tracking_gesture"u8; + + [NativeName("XR_HTC_passthrough_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public const int HtcPassthroughSpecVersion = 1; + + [NativeName("XR_HTC_PASSTHROUGH_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_HTC_passthrough"])] + public static Utf8String HtcPassthroughExtensionName => "XR_HTC_passthrough"u8; + + [NativeName("XR_HTC_foveation_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public const int HtcFoveationSpecVersion = 1; + + [NativeName("XR_HTC_FOVEATION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_HTC_foveation"])] + public static Utf8String HtcFoveationExtensionName => "XR_HTC_foveation"u8; + + [NativeName("XR_MAX_SPATIAL_ANCHOR_NAME_SIZE_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public const int MaxSpatialAnchorNameSizeHTC = 256; + + [NativeName("XR_HTC_anchor_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public const int HtcAnchorSpecVersion = 1; + + [NativeName("XR_HTC_ANCHOR_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_HTC_anchor"])] + public static Utf8String HtcAnchorExtensionName => "XR_HTC_anchor"u8; + + [NativeName("XR_BODY_JOINT_COUNT_HTC")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public const int BodyJointCountHTC = 26; + + [NativeName("XR_HTC_body_tracking_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public const int HtcBodyTrackingSpecVersion = 1; + + [NativeName("XR_HTC_BODY_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_HTC_body_tracking"])] + public static Utf8String HtcBodyTrackingExtensionName => "XR_HTC_body_tracking"u8; + + [NativeName("XR_EXT_active_action_set_priority_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_active_action_set_priority"])] + public const int ExtActiveActionSetPrioritySpecVersion = 1; + + [NativeName("XR_EXT_ACTIVE_ACTION_SET_PRIORITY_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_active_action_set_priority"])] + public static Utf8String ExtActiveActionSetPriorityExtensionName => + "XR_EXT_active_action_set_priority"u8; + + [NativeName("XR_MNDX_force_feedback_curl_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int MndxForceFeedbackCurlSpecVersion = 1; + + [NativeName("XR_MNDX_FORCE_FEEDBACK_CURL_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_MNDX_force_feedback_curl"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public static Utf8String MndxForceFeedbackCurlExtensionName => "XR_MNDX_force_feedback_curl"u8; + + [NativeName("XR_BD_controller_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_BD_controller_interaction"])] + public const int BDControllerInteractionSpecVersion = 2; + + [NativeName("XR_BD_CONTROLLER_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_BD_controller_interaction"])] + public static Utf8String BdControllerInteractionExtensionName => + "XR_BD_controller_interaction"u8; + + [NativeName("XR_BODY_JOINT_COUNT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public const int BodyJointCountBD = 24; + + [NativeName("XR_BODY_JOINT_WITHOUT_ARM_COUNT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public const int BodyJointWithoutArmCountBD = 16; + + [NativeName("XR_BD_body_tracking_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public const int BDBodyTrackingSpecVersion = 1; + + [NativeName("XR_BD_BODY_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_BD_body_tracking"])] + public static Utf8String BdBodyTrackingExtensionName => "XR_BD_body_tracking"u8; + + [NativeName("XR_FACE_EXPRESSION_COUNT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public const int FaceExpressionCountBD = 52; + + [NativeName("XR_LIP_EXPRESSION_COUNT_BD")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public const int LipExpressionCountBD = 20; + + [NativeName("XR_BD_facial_simulation_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public const int BDFacialSimulationSpecVersion = 1; + + [NativeName("XR_BD_FACIAL_SIMULATION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_BD_facial_simulation"])] + public static Utf8String BdFacialSimulationExtensionName => "XR_BD_facial_simulation"u8; + + [NativeName("XR_BD_spatial_sensing_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public const int BDSpatialSensingSpecVersion = 1; + + [NativeName("XR_BD_SPATIAL_SENSING_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_sensing"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public static Utf8String BdSpatialSensingExtensionName => "XR_BD_spatial_sensing"u8; + + [NativeName("XR_BD_spatial_anchor_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public const int BDSpatialAnchorSpecVersion = 2; + + [NativeName("XR_BD_SPATIAL_ANCHOR_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public static Utf8String BdSpatialAnchorExtensionName => "XR_BD_spatial_anchor"u8; + + [NativeName("XR_BD_spatial_anchor_sharing_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public const int BDSpatialAnchorSharingSpecVersion = 2; + + [NativeName("XR_BD_SPATIAL_ANCHOR_SHARING_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_anchor_sharing"], + ImpliesSets = ["XR_BD_spatial_anchor"] + )] + public static Utf8String BdSpatialAnchorSharingExtensionName => + "XR_BD_spatial_anchor_sharing"u8; + + [NativeName("XR_BD_spatial_scene_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public const int BDSpatialSceneSpecVersion = 1; + + [NativeName("XR_BD_SPATIAL_SCENE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_scene"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public static Utf8String BdSpatialSceneExtensionName => "XR_BD_spatial_scene"u8; + + [NativeName("XR_BD_spatial_mesh_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + public const int BDSpatialMeshSpecVersion = 1; + + [NativeName("XR_BD_SPATIAL_MESH_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_mesh"], ImpliesSets = ["XR_BD_spatial_sensing"])] + public static Utf8String BdSpatialMeshExtensionName => "XR_BD_spatial_mesh"u8; + + [NativeName("XR_BD_future_progress_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_BD_future_progress"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public const int BDFutureProgressSpecVersion = 1; + + [NativeName("XR_BD_FUTURE_PROGRESS_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_BD_future_progress"], + ImpliesSets = ["XR_EXT_future", "XR_VERSION_1_0"] + )] + public static Utf8String BdFutureProgressExtensionName => "XR_BD_future_progress"u8; + + [NativeName("XR_BD_spatial_plane_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public const int BDSpatialPlaneSpecVersion = 1; + + [NativeName("XR_BD_SPATIAL_PLANE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_BD_spatial_plane"], + ImpliesSets = ["XR_BD_spatial_sensing"] + )] + public static Utf8String BdSpatialPlaneExtensionName => "XR_BD_spatial_plane"u8; + + [NativeName("XR_BD_ultra_controller_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_BD_ultra_controller_interaction"])] + public const int BDUltraControllerInteractionSpecVersion = 1; + + [NativeName("XR_BD_ULTRA_CONTROLLER_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_BD_ultra_controller_interaction"])] + public static Utf8String BdUltraControllerInteractionExtensionName => + "XR_BD_ultra_controller_interaction"u8; + + [NativeName("XR_BD_spatial_audio_rendering_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public const int BDSpatialAudioRenderingSpecVersion = 1; + + [NativeName("XR_BD_SPATIAL_AUDIO_RENDERING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_BD_spatial_audio_rendering"])] + public static Utf8String BdSpatialAudioRenderingExtensionName => + "XR_BD_spatial_audio_rendering"u8; + + [NativeName("XR_EXT_local_floor_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_local_floor"])] + public const int ExtLocalFloorSpecVersion = 1; + + [NativeName("XR_EXT_LOCAL_FLOOR_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_local_floor"])] + public static Utf8String ExtLocalFloorExtensionName => "XR_EXT_local_floor"u8; + + [NativeName("XR_EXT_hand_tracking_data_source_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public const int ExtHandTrackingDataSourceSpecVersion = 1; + + [NativeName("XR_EXT_HAND_TRACKING_DATA_SOURCE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_hand_tracking_data_source"], + ImpliesSets = ["XR_EXT_hand_tracking", "XR_VERSION_1_0"] + )] + public static Utf8String ExtHandTrackingDataSourceExtensionName => + "XR_EXT_hand_tracking_data_source"u8; + + [NativeName("XR_EXT_plane_detection_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public const int ExtPlaneDetectionSpecVersion = 2; + + [NativeName("XR_EXT_PLANE_DETECTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_plane_detection"])] + public static Utf8String ExtPlaneDetectionExtensionName => "XR_EXT_plane_detection"u8; + + [NativeName("XR_OPPO_controller_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_OPPO_controller_interaction"])] + public const int OppoControllerInteractionSpecVersion = 1; + + [NativeName("XR_OPPO_CONTROLLER_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_OPPO_controller_interaction"])] + public static Utf8String OppoControllerInteractionExtensionName => + "XR_OPPO_controller_interaction"u8; + + [NativeName("XR_NULL_TRACKABLE_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public const int NullTrackableANDROID = 0; + + [NativeName("XR_ANDROID_trackables_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public const int AndroidTrackablesSpecVersion = 2; + + [NativeName("XR_ANDROID_TRACKABLES_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ANDROID_trackables"])] + public static Utf8String AndroidTrackablesExtensionName => "XR_ANDROID_trackables"u8; + + [NativeName("XR_EYE_MAX_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public const int EyeMaxANDROID = 2; + + [NativeName("XR_ANDROID_eye_tracking_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public const int AndroidEyeTrackingSpecVersion = 1; + + [NativeName("XR_ANDROID_EYE_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ANDROID_eye_tracking"])] + public static Utf8String AndroidEyeTrackingExtensionName => "XR_ANDROID_eye_tracking"u8; + + [NativeName("XR_ANDROID_device_anchor_persistence_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public const int AndroidDeviceAnchorPersistenceSpecVersion = 1; + + [NativeName("XR_ANDROID_DEVICE_ANCHOR_PERSISTENCE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_device_anchor_persistence"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_uuid"] + )] + public static Utf8String AndroidDeviceAnchorPersistenceExtensionName => + "XR_ANDROID_device_anchor_persistence"u8; + + [NativeName("XR_ANDROID_face_tracking_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public const int AndroidFaceTrackingSpecVersion = 1; + + [NativeName("XR_ANDROID_FACE_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public static Utf8String AndroidFaceTrackingExtensionName => "XR_ANDROID_face_tracking"u8; + + [NativeName("XR_FACE_PARAMETER_COUNT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public const int FaceParameterCountANDROID = 68; + + [NativeName("XR_FACE_REGION_CONFIDENCE_COUNT_ANDROID")] + [SupportedApiProfile("openxr", ["XR_ANDROID_face_tracking"])] + public const int FaceRegionConfidenceCountANDROID = 3; + + [NativeName("XR_ANDROID_passthrough_camera_state_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + public const int AndroidPassthroughCameraStateSpecVersion = 1; + + [NativeName("XR_ANDROID_PASSTHROUGH_CAMERA_STATE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ANDROID_passthrough_camera_state"])] + public static Utf8String AndroidPassthroughCameraStateExtensionName => + "XR_ANDROID_passthrough_camera_state"u8; + + [NativeName("XR_ANDROID_recommended_resolution_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ANDROID_recommended_resolution"])] + public const int AndroidRecommendedResolutionSpecVersion = 1; + + [NativeName("XR_ANDROID_RECOMMENDED_RESOLUTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ANDROID_recommended_resolution"])] + public static Utf8String AndroidRecommendedResolutionExtensionName => + "XR_ANDROID_recommended_resolution"u8; + + [NativeName("XR_ANDROID_composition_layer_passthrough_mesh_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public const int AndroidCompositionLayerPassthroughMeshSpecVersion = 1; + + [NativeName("XR_ANDROID_COMPOSITION_LAYER_PASSTHROUGH_MESH_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ANDROID_composition_layer_passthrough_mesh"])] + public static Utf8String AndroidCompositionLayerPassthroughMeshExtensionName => + "XR_ANDROID_composition_layer_passthrough_mesh"u8; + + [NativeName("XR_ANDROID_raycast_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public const int AndroidRaycastSpecVersion = 1; + + [NativeName("XR_ANDROID_RAYCAST_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ANDROID_raycast"], ImpliesSets = ["XR_ANDROID_trackables"])] + public static Utf8String AndroidRaycastExtensionName => "XR_ANDROID_raycast"u8; + + [NativeName("XR_ANDROID_performance_metrics_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public const int AndroidPerformanceMetricsSpecVersion = 1; + + [NativeName("XR_ANDROID_PERFORMANCE_METRICS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ANDROID_performance_metrics"])] + public static Utf8String AndroidPerformanceMetricsExtensionName => + "XR_ANDROID_performance_metrics"u8; + + [NativeName("XR_ANDROID_trackables_object_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public const int AndroidTrackablesObjectSpecVersion = 2; + + [NativeName("XR_ANDROID_TRACKABLES_OBJECT_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_object"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public static Utf8String AndroidTrackablesObjectExtensionName => + "XR_ANDROID_trackables_object"u8; + + [NativeName("XR_ANDROID_unbounded_reference_space_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ANDROID_unbounded_reference_space"])] + public const int AndroidUnboundedReferenceSpaceSpecVersion = 1; + + [NativeName("XR_ANDROID_UNBOUNDED_REFERENCE_SPACE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ANDROID_unbounded_reference_space"])] + public static Utf8String AndroidUnboundedReferenceSpaceExtensionName => + "XR_ANDROID_unbounded_reference_space"u8; + + [NativeName("XR_EXT_future_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public const int ExtFutureSpecVersion = 2; + + [NativeName("XR_EXT_FUTURE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public static Utf8String ExtFutureExtensionName => "XR_EXT_future"u8; + + [NativeName("XR_NULL_FUTURE_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_future"])] + public const int NullFutureEXT = 0; + + [NativeName("XR_EXT_user_presence_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + public const int ExtUserPresenceSpecVersion = 1; + + [NativeName("XR_EXT_USER_PRESENCE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_user_presence"])] + public static Utf8String ExtUserPresenceExtensionName => "XR_EXT_user_presence"u8; + + [NativeName("XR_ML_user_calibration_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public const int MLUserCalibrationSpecVersion = 1; + + [NativeName("XR_ML_USER_CALIBRATION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ML_user_calibration"])] + public static Utf8String MlUserCalibrationExtensionName => "XR_ML_user_calibration"u8; + + [NativeName("XR_ML_system_notifications_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ML_system_notifications"])] + public const int MLSystemNotificationsSpecVersion = 1; + + [NativeName("XR_ML_SYSTEM_NOTIFICATIONS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ML_system_notifications"])] + public static Utf8String MlSystemNotificationsExtensionName => "XR_ML_system_notifications"u8; + + [NativeName("XR_ML_world_mesh_detection_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public const int MLWorldMeshDetectionSpecVersion = 1; + + [NativeName("XR_ML_WORLD_MESH_DETECTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ML_world_mesh_detection"], ImpliesSets = ["XR_EXT_future"])] + public static Utf8String MlWorldMeshDetectionExtensionName => "XR_ML_world_mesh_detection"u8; + + [NativeName("XR_ML_facial_expression_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public const int MLFacialExpressionSpecVersion = 1; + + [NativeName("XR_ML_FACIAL_EXPRESSION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ML_facial_expression"])] + public static Utf8String MlFacialExpressionExtensionName => "XR_ML_facial_expression"u8; + + [NativeName("XR_ML_view_configuration_depth_range_change_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ML_view_configuration_depth_range_change"], + ImpliesSets = ["XR_EXT_view_configuration_depth_range"] + )] + public const int MLViewConfigurationDepthRangeChangeSpecVersion = 1; + + [NativeName("XR_ML_VIEW_CONFIGURATION_DEPTH_RANGE_CHANGE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ML_view_configuration_depth_range_change"], + ImpliesSets = ["XR_EXT_view_configuration_depth_range"] + )] + public static Utf8String MlViewConfigurationDepthRangeChangeExtensionName => + "XR_ML_view_configuration_depth_range_change"u8; + + [NativeName("XR_YVR_controller_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_YVR_controller_interaction"])] + public const int YvrControllerInteractionSpecVersion = 1; + + [NativeName("XR_YVR_CONTROLLER_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_YVR_controller_interaction"])] + public static Utf8String YvrControllerInteractionExtensionName => + "XR_YVR_controller_interaction"u8; + + [NativeName("XR_META_boundary_visibility_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + public const int MetaBoundaryVisibilitySpecVersion = 1; + + [NativeName("XR_META_BOUNDARY_VISIBILITY_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_boundary_visibility"])] + public static Utf8String MetaBoundaryVisibilityExtensionName => "XR_META_boundary_visibility"u8; + + [NativeName("XR_META_simultaneous_hands_and_controllers_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + public const int MetaSimultaneousHandsAndControllersSpecVersion = 1; + + [NativeName("XR_META_SIMULTANEOUS_HANDS_AND_CONTROLLERS_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_simultaneous_hands_and_controllers"])] + public static Utf8String MetaSimultaneousHandsAndControllersExtensionName => + "XR_META_simultaneous_hands_and_controllers"u8; + + [NativeName("XR_FACE_TRACKING_VISEME_COUNT_META")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + public const int FaceTrackingVisemeCountMETA = 15; + + [NativeName("XR_META_face_tracking_visemes_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + public const int MetaFaceTrackingVisemesSpecVersion = 1; + + [NativeName("XR_META_FACE_TRACKING_VISEMES_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_face_tracking_visemes"], + ImpliesSets = ["XR_FB_face_tracking2", "XR_VERSION_1_0"] + )] + public static Utf8String MetaFaceTrackingVisemesExtensionName => + "XR_META_face_tracking_visemes"u8; + + [NativeName("XR_META_spatial_entity_semantic_label_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_semantic_label"])] + public const int MetaSpatialEntitySemanticLabelSpecVersion = 1; + + [NativeName("XR_META_SPATIAL_ENTITY_SEMANTIC_LABEL_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_semantic_label"])] + public static Utf8String MetaSpatialEntitySemanticLabelExtensionName => + "XR_META_spatial_entity_semantic_label"u8; + + [NativeName("XR_META_spatial_entity_room_mesh_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public const int MetaSpatialEntityRoomMeshSpecVersion = 1; + + [NativeName("XR_META_SPATIAL_ENTITY_ROOM_MESH_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_spatial_entity_room_mesh"], + ImpliesSets = [ + "XR_FB_spatial_entity", + "XR_META_spatial_entity_semantic_label", + "XR_VERSION_1_0", + ] + )] + public static Utf8String MetaSpatialEntityRoomMeshExtensionName => + "XR_META_spatial_entity_room_mesh"u8; + + [NativeName("XR_EXT_composition_layer_inverted_alpha_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_composition_layer_inverted_alpha"])] + public const int ExtCompositionLayerInvertedAlphaSpecVersion = 1; + + [NativeName("XR_EXT_COMPOSITION_LAYER_INVERTED_ALPHA_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_composition_layer_inverted_alpha"])] + public static Utf8String ExtCompositionLayerInvertedAlphaExtensionName => + "XR_EXT_composition_layer_inverted_alpha"u8; + + [NativeName("XR_MAX_COLOCATION_DISCOVERY_BUFFER_SIZE_META")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public const int MaxColocationDiscoveryBufferSizeMETA = 1024; + + [NativeName("XR_META_colocation_discovery_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public const int MetaColocationDiscoverySpecVersion = 1; + + [NativeName("XR_META_COLOCATION_DISCOVERY_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_colocation_discovery"])] + public static Utf8String MetaColocationDiscoveryExtensionName => + "XR_META_colocation_discovery"u8; + + [NativeName("XR_META_spatial_entity_group_sharing_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_group_sharing"])] + public const int MetaSpatialEntityGroupSharingSpecVersion = 1; + + [NativeName("XR_META_SPATIAL_ENTITY_GROUP_SHARING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_spatial_entity_group_sharing"])] + public static Utf8String MetaSpatialEntityGroupSharingExtensionName => + "XR_META_spatial_entity_group_sharing"u8; + + [NativeName("XR_META_environment_raycast_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public const int MetaEnvironmentRaycastSpecVersion = 1; + + [NativeName("XR_META_ENVIRONMENT_RAYCAST_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_META_environment_raycast"], + ImpliesSets = ["XR_EXT_future"] + )] + public static Utf8String MetaEnvironmentRaycastExtensionName => "XR_META_environment_raycast"u8; + + [NativeName("XR_META_tile_properties_hint_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public const int MetaTilePropertiesHintSpecVersion = 1; + + [NativeName("XR_META_TILE_PROPERTIES_HINT_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_META_tile_properties_hint"])] + public static Utf8String MetaTilePropertiesHintExtensionName => + "XR_META_tile_properties_hint"u8; + + [NativeName("XR_ANDROID_light_estimation_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public const int AndroidLightEstimationSpecVersion = 1; + + [NativeName("XR_ANDROID_LIGHT_ESTIMATION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ANDROID_light_estimation"])] + public static Utf8String AndroidLightEstimationExtensionName => "XR_ANDROID_light_estimation"u8; + + [NativeName("XR_ANDROID_mouse_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ANDROID_mouse_interaction"])] + public const int AndroidMouseInteractionSpecVersion = 1; + + [NativeName("XR_ANDROID_MOUSE_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ANDROID_mouse_interaction"])] + public static Utf8String AndroidMouseInteractionExtensionName => + "XR_ANDROID_mouse_interaction"u8; + + [NativeName("XR_ANDROID_trackables_marker_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public const int AndroidTrackablesMarkerSpecVersion = 1; + + [NativeName("XR_ANDROID_TRACKABLES_MARKER_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_marker"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public static Utf8String AndroidTrackablesMarkerExtensionName => + "XR_ANDROID_trackables_marker"u8; + + [NativeName("XR_ANDROID_trackables_qr_code_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public const int AndroidTrackablesQrCodeSpecVersion = 1; + + [NativeName("XR_ANDROID_TRACKABLES_QR_CODE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_qr_code"], + ImpliesSets = ["XR_ANDROID_trackables"] + )] + public static Utf8String AndroidTrackablesQrCodeExtensionName => + "XR_ANDROID_trackables_qr_code"u8; + + [NativeName("XR_ANDROID_trackables_image_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public const int AndroidTrackablesImageSpecVersion = 1; + + [NativeName("XR_ANDROID_TRACKABLES_IMAGE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_trackables_image"], + ImpliesSets = ["XR_ANDROID_trackables", "XR_EXT_future"] + )] + public static Utf8String AndroidTrackablesImageExtensionName => "XR_ANDROID_trackables_image"u8; + + [NativeName("XR_ANDROID_scene_meshing_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public const int AndroidSceneMeshingSpecVersion = 3; + + [NativeName("XR_ANDROID_SCENE_MESHING_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_ANDROID_scene_meshing"])] + public static Utf8String AndroidSceneMeshingExtensionName => "XR_ANDROID_scene_meshing"u8; + + [NativeName("XR_NULL_SPATIAL_ENTITY_ID_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public const int NullSpatialEntityIdEXT = 0; + + [NativeName("XR_NULL_SPATIAL_BUFFER_ID_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public const int NullSpatialBufferIdEXT = 0; + + [NativeName("XR_EXT_spatial_entity_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public const int ExtSpatialEntitySpecVersion = 1; + + [NativeName("XR_EXT_SPATIAL_ENTITY_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_spatial_entity"], ImpliesSets = ["XR_EXT_future"])] + public static Utf8String ExtSpatialEntityExtensionName => "XR_EXT_spatial_entity"u8; + + [NativeName("XR_EXT_spatial_plane_tracking_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public const int ExtSpatialPlaneTrackingSpecVersion = 1; + + [NativeName("XR_EXT_SPATIAL_PLANE_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_plane_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public static Utf8String ExtSpatialPlaneTrackingExtensionName => + "XR_EXT_spatial_plane_tracking"u8; + + [NativeName("XR_EXT_stationary_reference_space_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_stationary_reference_space"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public const int ExtStationaryReferenceSpaceSpecVersion = 1; + + [NativeName("XR_EXT_STATIONARY_REFERENCE_SPACE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_stationary_reference_space"], + ImpliesSets = ["XR_EXT_uuid", "XR_VERSION_1_0"] + )] + public static Utf8String ExtStationaryReferenceSpaceExtensionName => + "XR_EXT_stationary_reference_space"u8; + + [NativeName("XR_EXT_spatial_marker_tracking_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public const int ExtSpatialMarkerTrackingSpecVersion = 1; + + [NativeName("XR_EXT_SPATIAL_MARKER_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_marker_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public static Utf8String ExtSpatialMarkerTrackingExtensionName => + "XR_EXT_spatial_marker_tracking"u8; + + [NativeName("XR_LOGITECH_mx_ink_stylus_interaction_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_LOGITECH_mx_ink_stylus_interaction"])] + public const int LogitechMxInkStylusInteractionSpecVersion = 1; + + [NativeName("XR_LOGITECH_MX_INK_STYLUS_INTERACTION_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_LOGITECH_mx_ink_stylus_interaction"])] + public static Utf8String LogitechMxInkStylusInteractionExtensionName => + "XR_LOGITECH_mx_ink_stylus_interaction"u8; + + [NativeName("XR_EXT_spatial_anchor_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public const int ExtSpatialAnchorSpecVersion = 1; + + [NativeName("XR_EXT_SPATIAL_ANCHOR_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_anchor"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public static Utf8String ExtSpatialAnchorExtensionName => "XR_EXT_spatial_anchor"u8; + + [NativeName("XR_EXT_spatial_persistence_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public const int ExtSpatialPersistenceSpecVersion = 1; + + [NativeName("XR_EXT_SPATIAL_PERSISTENCE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_entity"] + )] + public static Utf8String ExtSpatialPersistenceExtensionName => "XR_EXT_spatial_persistence"u8; + + [NativeName("XR_HAPTIC_PARAMETRIC_MAX_POINTS_TRANSIENTS_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public const int HapticParametricMaxPointsTransientsEXT = 500; + + [NativeName("XR_HAPTIC_PARAMETRIC_VIBRATION_EXTEND_DURATION_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public const int HapticParametricVibrationExtendDurationEXT = 50000000; + + [NativeName("XR_HAPTIC_PARAMETRIC_FREQUENCY_MIN_HZ_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public const int HapticParametricFrequencyMinHzEXT = 1; + + [NativeName("XR_HAPTIC_PARAMETRIC_FREQUENCY_MAX_HZ_EXT")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public const int HapticParametricFrequencyMaxHzEXT = 1000; + + [NativeName("XR_EXT_haptic_parametric_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public const int ExtHapticParametricSpecVersion = 1; + + [NativeName("XR_EXT_HAPTIC_PARAMETRIC_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_haptic_parametric"])] + public static Utf8String ExtHapticParametricExtensionName => "XR_EXT_haptic_parametric"u8; + + [NativeName("XR_EXT_spatial_persistence_operations_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public const int ExtSpatialPersistenceOperationsSpecVersion = 1; + + [NativeName("XR_EXT_SPATIAL_PERSISTENCE_OPERATIONS_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_spatial_persistence_operations"], + ImpliesSets = ["XR_EXT_future", "XR_EXT_spatial_persistence"] + )] + public static Utf8String ExtSpatialPersistenceOperationsExtensionName => + "XR_EXT_spatial_persistence_operations"u8; + + [NativeName("XR_ANDROID_spatial_object_tracking_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public const int AndroidSpatialObjectTrackingSpecVersion = 2; + + [NativeName("XR_ANDROID_SPATIAL_OBJECT_TRACKING_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_object_tracking"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public static Utf8String AndroidSpatialObjectTrackingExtensionName => + "XR_ANDROID_spatial_object_tracking"u8; + + [NativeName("XR_ANDROID_spatial_discovery_raycast_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public const int AndroidSpatialDiscoveryRaycastSpecVersion = 1; + + [NativeName("XR_ANDROID_SPATIAL_DISCOVERY_RAYCAST_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_discovery_raycast"], + ImpliesSets = ["XR_EXT_spatial_entity"] + )] + public static Utf8String AndroidSpatialDiscoveryRaycastExtensionName => + "XR_ANDROID_spatial_discovery_raycast"u8; + + [NativeName("XR_ANDROID_spatial_entity_bound_anchor_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_entity_bound_anchor"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + public const int AndroidSpatialEntityBoundAnchorSpecVersion = 2; + + [NativeName("XR_ANDROID_SPATIAL_ENTITY_BOUND_ANCHOR_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_entity_bound_anchor"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + public static Utf8String AndroidSpatialEntityBoundAnchorExtensionName => + "XR_ANDROID_spatial_entity_bound_anchor"u8; + + [NativeName("XR_ANDROID_spatial_component_subsumed_by_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + public const int AndroidSpatialComponentSubsumedBySpecVersion = 1; + + [NativeName("XR_ANDROID_SPATIAL_COMPONENT_SUBSUMED_BY_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_component_subsumed_by"], + ImpliesSets = ["XR_EXT_spatial_entity", "XR_EXT_spatial_plane_tracking"] + )] + public static Utf8String AndroidSpatialComponentSubsumedByExtensionName => + "XR_ANDROID_spatial_component_subsumed_by"u8; + + [NativeName("XR_ANDROID_spatial_anchor_space_SPEC_VERSION")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_anchor_space"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + public const int AndroidSpatialAnchorSpaceSpecVersion = 1; + + [NativeName("XR_ANDROID_SPATIAL_ANCHOR_SPACE_EXTENSION_NAME")] + [SupportedApiProfile( + "openxr", + ["XR_ANDROID_spatial_anchor_space"], + ImpliesSets = ["XR_EXT_spatial_anchor"] + )] + public static Utf8String AndroidSpatialAnchorSpaceExtensionName => + "XR_ANDROID_spatial_anchor_space"u8; + + [NativeName("XR_EXT_interaction_profile_battery_state_display_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_interaction_profile_battery_state_display"])] + public const int ExtInteractionProfileBatteryStateDisplaySpecVersion = 1; + + [NativeName("XR_EXT_INTERACTION_PROFILE_BATTERY_STATE_DISPLAY_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_interaction_profile_battery_state_display"])] + public static Utf8String ExtInteractionProfileBatteryStateDisplayExtensionName => + "XR_EXT_interaction_profile_battery_state_display"u8; + + [NativeName("XR_EXT_loader_init_properties_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_loader_init_properties"])] + public const int ExtLoaderInitPropertiesSpecVersion = 1; + + [NativeName("XR_EXT_LOADER_INIT_PROPERTIES_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_loader_init_properties"])] + public static Utf8String ExtLoaderInitPropertiesExtensionName => + "XR_EXT_loader_init_properties"u8; + + [NativeName("XR_EXT_view_configuration_views_change_SPEC_VERSION")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_views_change"])] + public const int ExtViewConfigurationViewsChangeSpecVersion = 1; + + [NativeName("XR_EXT_VIEW_CONFIGURATION_VIEWS_CHANGE_EXTENSION_NAME")] + [SupportedApiProfile("openxr", ["XR_EXT_view_configuration_views_change"])] + public static Utf8String ExtViewConfigurationViewsChangeExtensionName => + "XR_EXT_view_configuration_views_change"u8; + + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.AcquireSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageAcquireInfo* acquireInfo, + uint* index + ) => + ( + (delegate* unmanaged)( + _slots[0] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[0] = nativeContext.LoadFunction( + "xrAcquireSwapchainImage", + "openxr_loader" + ) + ) + )(swapchain, acquireInfo, index); + + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result AcquireSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageAcquireInfo* acquireInfo, + uint* index + ) => ThisThread.AcquireSwapchainImage(swapchain, acquireInfo, index); + + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.AcquireSwapchainImage( + SwapchainHandle swapchain, + Ref acquireInfo, + Ref index + ) + { + fixed (uint* __dsl_index = index) + fixed (SwapchainImageAcquireInfo* __dsl_acquireInfo = acquireInfo) + { + return (Result) + ((IXr)this).AcquireSwapchainImage(swapchain, __dsl_acquireInfo, __dsl_index); + } + } + + [NativeName("xrAcquireSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAcquireSwapchainImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result AcquireSwapchainImage( + SwapchainHandle swapchain, + Ref acquireInfo, + Ref index + ) => ThisThread.AcquireSwapchainImage(swapchain, acquireInfo, index); + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_haptic_parametric", "XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.ApplyHapticFeedback( + SessionHandle session, + HapticActionInfo* hapticActionInfo, + HapticBaseHeader* hapticFeedback + ) => + ( + (delegate* unmanaged)( + _slots[1] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[1] = nativeContext.LoadFunction( + "xrApplyHapticFeedback", + "openxr_loader" + ) + ) + )(session, hapticActionInfo, hapticFeedback); + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_haptic_parametric", "XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result ApplyHapticFeedback( + SessionHandle session, + HapticActionInfo* hapticActionInfo, + HapticBaseHeader* hapticFeedback + ) => ThisThread.ApplyHapticFeedback(session, hapticActionInfo, hapticFeedback); + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_haptic_parametric", "XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.ApplyHapticFeedback( + SessionHandle session, + Ref hapticActionInfo, + Ref hapticFeedback + ) + { + fixed (HapticBaseHeader* __dsl_hapticFeedback = hapticFeedback) + fixed (HapticActionInfo* __dsl_hapticActionInfo = hapticActionInfo) + { + return (Result) + ((IXr)this).ApplyHapticFeedback( + session, + __dsl_hapticActionInfo, + __dsl_hapticFeedback + ); + } + } + + [NativeName("xrApplyHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_EXT_haptic_parametric", "XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrApplyHapticFeedback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result ApplyHapticFeedback( + SessionHandle session, + Ref hapticActionInfo, + Ref hapticFeedback + ) => ThisThread.ApplyHapticFeedback(session, hapticActionInfo, hapticFeedback); + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.AttachSessionActionSets( + SessionHandle session, + SessionActionSetsAttachInfo* attachInfo + ) => + ( + (delegate* unmanaged)( + _slots[2] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[2] = nativeContext.LoadFunction( + "xrAttachSessionActionSets", + "openxr_loader" + ) + ) + )(session, attachInfo); + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result AttachSessionActionSets( + SessionHandle session, + SessionActionSetsAttachInfo* attachInfo + ) => ThisThread.AttachSessionActionSets(session, attachInfo); + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.AttachSessionActionSets( + SessionHandle session, + Ref attachInfo + ) + { + fixed (SessionActionSetsAttachInfo* __dsl_attachInfo = attachInfo) + { + return (Result)((IXr)this).AttachSessionActionSets(session, __dsl_attachInfo); + } + } + + [NativeName("xrAttachSessionActionSets")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrAttachSessionActionSets")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result AttachSessionActionSets( + SessionHandle session, + Ref attachInfo + ) => ThisThread.AttachSessionActionSets(session, attachInfo); + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.BeginFrame(SessionHandle session, FrameBeginInfo* frameBeginInfo) => + ( + (delegate* unmanaged)( + _slots[3] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[3] = nativeContext.LoadFunction("xrBeginFrame", "openxr_loader") + ) + )(session, frameBeginInfo); + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result BeginFrame(SessionHandle session, FrameBeginInfo* frameBeginInfo) => + ThisThread.BeginFrame(session, frameBeginInfo); + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.BeginFrame(SessionHandle session, Ref frameBeginInfo) + { + fixed (FrameBeginInfo* __dsl_frameBeginInfo = frameBeginInfo) + { + return (Result)((IXr)this).BeginFrame(session, __dsl_frameBeginInfo); + } + } + + [NativeName("xrBeginFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginFrame")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result BeginFrame(SessionHandle session, Ref frameBeginInfo) => + ThisThread.BeginFrame(session, frameBeginInfo); + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.BeginSession(SessionHandle session, SessionBeginInfo* beginInfo) => + ( + (delegate* unmanaged)( + _slots[4] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[4] = nativeContext.LoadFunction("xrBeginSession", "openxr_loader") + ) + )(session, beginInfo); + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result BeginSession(SessionHandle session, SessionBeginInfo* beginInfo) => + ThisThread.BeginSession(session, beginInfo); + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.BeginSession(SessionHandle session, Ref beginInfo) + { + fixed (SessionBeginInfo* __dsl_beginInfo = beginInfo) + { + return (Result)((IXr)this).BeginSession(session, __dsl_beginInfo); + } + } + + [NativeName("xrBeginSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrBeginSession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result BeginSession(SessionHandle session, Ref beginInfo) => + ThisThread.BeginSession(session, beginInfo); + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateAction( + ActionSetHandle actionSet, + ActionCreateInfo* createInfo, + ActionHandle* action + ) => + ( + (delegate* unmanaged)( + _slots[5] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[5] = nativeContext.LoadFunction("xrCreateAction", "openxr_loader") + ) + )(actionSet, createInfo, action); + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateAction( + ActionSetHandle actionSet, + ActionCreateInfo* createInfo, + ActionHandle* action + ) => ThisThread.CreateAction(actionSet, createInfo, action); + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateAction( + ActionSetHandle actionSet, + Ref createInfo, + Ref action + ) + { + fixed (ActionHandle* __dsl_action = action) + fixed (ActionCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)((IXr)this).CreateAction(actionSet, __dsl_createInfo, __dsl_action); + } + } + + [NativeName("xrCreateAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateAction")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateAction( + ActionSetHandle actionSet, + Ref createInfo, + Ref action + ) => ThisThread.CreateAction(actionSet, createInfo, action); + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateActionSet( + InstanceHandle instance, + ActionSetCreateInfo* createInfo, + ActionSetHandle* actionSet + ) => + ( + (delegate* unmanaged)( + _slots[6] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[6] = nativeContext.LoadFunction("xrCreateActionSet", "openxr_loader") + ) + )(instance, createInfo, actionSet); + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateActionSet( + InstanceHandle instance, + ActionSetCreateInfo* createInfo, + ActionSetHandle* actionSet + ) => ThisThread.CreateActionSet(instance, createInfo, actionSet); + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateActionSet( + InstanceHandle instance, + Ref createInfo, + Ref actionSet + ) + { + fixed (ActionSetHandle* __dsl_actionSet = actionSet) + fixed (ActionSetCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)((IXr)this).CreateActionSet(instance, __dsl_createInfo, __dsl_actionSet); + } + } + + [NativeName("xrCreateActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSet")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateActionSet( + InstanceHandle instance, + Ref createInfo, + Ref actionSet + ) => ThisThread.CreateActionSet(instance, createInfo, actionSet); + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateActionSpace( + SessionHandle session, + ActionSpaceCreateInfo* createInfo, + SpaceHandle* space + ) => + ( + (delegate* unmanaged)( + _slots[7] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[7] = nativeContext.LoadFunction("xrCreateActionSpace", "openxr_loader") + ) + )(session, createInfo, space); + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateActionSpace( + SessionHandle session, + ActionSpaceCreateInfo* createInfo, + SpaceHandle* space + ) => ThisThread.CreateActionSpace(session, createInfo, space); + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateActionSpace( + SessionHandle session, + Ref createInfo, + Ref space + ) + { + fixed (SpaceHandle* __dsl_space = space) + fixed (ActionSpaceCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)((IXr)this).CreateActionSpace(session, __dsl_createInfo, __dsl_space); + } + } + + [NativeName("xrCreateActionSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateActionSpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateActionSpace( + SessionHandle session, + Ref createInfo, + Ref space + ) => ThisThread.CreateActionSpace(session, createInfo, space); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateInstance(InstanceCreateInfo* createInfo, InstanceHandle* instance) => + ThisThread.CreateInstance(createInfo, instance); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateInstance(Ref createInfo, Ref instance) + { + fixed (InstanceHandle* __dsl_instance = instance) + fixed (InstanceCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)((IXr)this).CreateInstance(__dsl_createInfo, __dsl_instance); + } + } + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateInstance( + Ref createInfo, + Ref instance + ) => ThisThread.CreateInstance(createInfo, instance); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + private Result CreateInstanceInternal( + InstanceCreateInfo* createInfo, + InstanceHandle* instance + ) => + ( + (delegate* unmanaged)( + _slots[8] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[8] = nativeContext.LoadFunction("xrCreateInstance", "openxr_loader") + ) + )(createInfo, instance); + + [NativeName("xrCreateInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateInstance")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + private Result CreateInstanceInternal( + Ref createInfo, + Ref instance + ) + { + fixed (InstanceHandle* __dsl_instance = instance) + fixed (InstanceCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)CreateInstanceInternal(__dsl_createInfo, __dsl_instance); + } + } + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateReferenceSpace( + SessionHandle session, + ReferenceSpaceCreateInfo* createInfo, + SpaceHandle* space + ) => + ( + (delegate* unmanaged)( + _slots[9] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[9] = nativeContext.LoadFunction( + "xrCreateReferenceSpace", + "openxr_loader" + ) + ) + )(session, createInfo, space); + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateReferenceSpace( + SessionHandle session, + ReferenceSpaceCreateInfo* createInfo, + SpaceHandle* space + ) => ThisThread.CreateReferenceSpace(session, createInfo, space); + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateReferenceSpace( + SessionHandle session, + Ref createInfo, + Ref space + ) + { + fixed (SpaceHandle* __dsl_space = space) + fixed (ReferenceSpaceCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)((IXr)this).CreateReferenceSpace(session, __dsl_createInfo, __dsl_space); + } + } + + [NativeName("xrCreateReferenceSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateReferenceSpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateReferenceSpace( + SessionHandle session, + Ref createInfo, + Ref space + ) => ThisThread.CreateReferenceSpace(session, createInfo, space); + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateSession( + InstanceHandle instance, + SessionCreateInfo* createInfo, + SessionHandle* session + ) => + ( + (delegate* unmanaged)( + _slots[10] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[10] = nativeContext.LoadFunction("xrCreateSession", "openxr_loader") + ) + )(instance, createInfo, session); + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateSession( + InstanceHandle instance, + SessionCreateInfo* createInfo, + SessionHandle* session + ) => ThisThread.CreateSession(instance, createInfo, session); + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateSession( + InstanceHandle instance, + Ref createInfo, + Ref session + ) + { + fixed (SessionHandle* __dsl_session = session) + fixed (SessionCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)((IXr)this).CreateSession(instance, __dsl_createInfo, __dsl_session); + } + } + + [NativeName("xrCreateSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateSession( + InstanceHandle instance, + Ref createInfo, + Ref session + ) => ThisThread.CreateSession(instance, createInfo, session); + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateSwapchain( + SessionHandle session, + SwapchainCreateInfo* createInfo, + SwapchainHandle* swapchain + ) => + ( + (delegate* unmanaged)( + _slots[11] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[11] = nativeContext.LoadFunction("xrCreateSwapchain", "openxr_loader") + ) + )(session, createInfo, swapchain); + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateSwapchain( + SessionHandle session, + SwapchainCreateInfo* createInfo, + SwapchainHandle* swapchain + ) => ThisThread.CreateSwapchain(session, createInfo, swapchain); + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.CreateSwapchain( + SessionHandle session, + Ref createInfo, + Ref swapchain + ) + { + fixed (SwapchainHandle* __dsl_swapchain = swapchain) + fixed (SwapchainCreateInfo* __dsl_createInfo = createInfo) + { + return (Result)((IXr)this).CreateSwapchain(session, __dsl_createInfo, __dsl_swapchain); + } + } + + [NativeName("xrCreateSwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrCreateSwapchain")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateSwapchain( + SessionHandle session, + Ref createInfo, + Ref swapchain + ) => ThisThread.CreateSwapchain(session, createInfo, swapchain); + + [NativeName("xrDestroyAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyAction")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.DestroyAction(ActionHandle action) => + ( + (delegate* unmanaged)( + _slots[12] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[12] = nativeContext.LoadFunction("xrDestroyAction", "openxr_loader") + ) + )(action); + + [NativeName("xrDestroyAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyAction")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result DestroyAction(ActionHandle action) => ThisThread.DestroyAction(action); + + [NativeName("xrDestroyActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyActionSet")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.DestroyActionSet(ActionSetHandle actionSet) => + ( + (delegate* unmanaged)( + _slots[13] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[13] = nativeContext.LoadFunction("xrDestroyActionSet", "openxr_loader") + ) + )(actionSet); + + [NativeName("xrDestroyActionSet")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyActionSet")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result DestroyActionSet(ActionSetHandle actionSet) => + ThisThread.DestroyActionSet(actionSet); + + [NativeName("xrDestroyInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyInstance")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.DestroyInstance(InstanceHandle instance) => + ( + (delegate* unmanaged)( + _slots[14] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[14] = nativeContext.LoadFunction("xrDestroyInstance", "openxr_loader") + ) + )(instance); + + [NativeName("xrDestroyInstance")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroyInstance")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result DestroyInstance(InstanceHandle instance) => + ThisThread.DestroyInstance(instance); + + [NativeName("xrDestroySession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.DestroySession(SessionHandle session) => + ( + (delegate* unmanaged)( + _slots[15] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[15] = nativeContext.LoadFunction("xrDestroySession", "openxr_loader") + ) + )(session); + + [NativeName("xrDestroySession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result DestroySession(SessionHandle session) => + ThisThread.DestroySession(session); + + [NativeName("xrDestroySpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.DestroySpace(SpaceHandle space) => + ( + (delegate* unmanaged)( + _slots[16] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[16] = nativeContext.LoadFunction("xrDestroySpace", "openxr_loader") + ) + )(space); + + [NativeName("xrDestroySpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result DestroySpace(SpaceHandle space) => ThisThread.DestroySpace(space); + + [NativeName("xrDestroySwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySwapchain")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.DestroySwapchain(SwapchainHandle swapchain) => + ( + (delegate* unmanaged)( + _slots[17] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[17] = nativeContext.LoadFunction("xrDestroySwapchain", "openxr_loader") + ) + )(swapchain); + + [NativeName("xrDestroySwapchain")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrDestroySwapchain")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result DestroySwapchain(SwapchainHandle swapchain) => + ThisThread.DestroySwapchain(swapchain); + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EndFrame(SessionHandle session, FrameEndInfo* frameEndInfo) => + ( + (delegate* unmanaged)( + _slots[18] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[18] = nativeContext.LoadFunction("xrEndFrame", "openxr_loader") + ) + )(session, frameEndInfo); + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EndFrame(SessionHandle session, FrameEndInfo* frameEndInfo) => + ThisThread.EndFrame(session, frameEndInfo); + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EndFrame(SessionHandle session, Ref frameEndInfo) + { + fixed (FrameEndInfo* __dsl_frameEndInfo = frameEndInfo) + { + return (Result)((IXr)this).EndFrame(session, __dsl_frameEndInfo); + } + } + + [NativeName("xrEndFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndFrame")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EndFrame(SessionHandle session, Ref frameEndInfo) => + ThisThread.EndFrame(session, frameEndInfo); + + [NativeName("xrEndSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndSession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EndSession(SessionHandle session) => + ( + (delegate* unmanaged)( + _slots[19] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[19] = nativeContext.LoadFunction("xrEndSession", "openxr_loader") + ) + )(session); + + [NativeName("xrEndSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEndSession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EndSession(SessionHandle session) => ThisThread.EndSession(session); + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateApiLayerProperties( + uint propertyCapacityInput, + uint* propertyCountOutput, + ApiLayerProperties* properties + ) => + ( + (delegate* unmanaged)( + _slots[20] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[20] = nativeContext.LoadFunction( + "xrEnumerateApiLayerProperties", + "openxr_loader" + ) + ) + )(propertyCapacityInput, propertyCountOutput, properties); + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateApiLayerProperties( + uint propertyCapacityInput, + uint* propertyCountOutput, + ApiLayerProperties* properties + ) => + ThisThread.EnumerateApiLayerProperties( + propertyCapacityInput, + propertyCountOutput, + properties + ); + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateApiLayerProperties( + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ) + { + fixed (ApiLayerProperties* __dsl_properties = properties) + fixed (uint* __dsl_propertyCountOutput = propertyCountOutput) + { + return (Result) + ((IXr)this).EnumerateApiLayerProperties( + propertyCapacityInput, + __dsl_propertyCountOutput, + __dsl_properties + ); + } + } + + [NativeName("xrEnumerateApiLayerProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateApiLayerProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateApiLayerProperties( + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ) => + ThisThread.EnumerateApiLayerProperties( + propertyCapacityInput, + propertyCountOutput, + properties + ); + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateBoundSourcesForAction( + SessionHandle session, + BoundSourcesForActionEnumerateInfo* enumerateInfo, + uint sourceCapacityInput, + uint* sourceCountOutput, + ulong* sources + ) => + ( + (delegate* unmanaged< + SessionHandle, + BoundSourcesForActionEnumerateInfo*, + uint, + uint*, + ulong*, + Result>)( + _slots[21] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[21] = nativeContext.LoadFunction( + "xrEnumerateBoundSourcesForAction", + "openxr_loader" + ) + ) + )(session, enumerateInfo, sourceCapacityInput, sourceCountOutput, sources); + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateBoundSourcesForAction( + SessionHandle session, + BoundSourcesForActionEnumerateInfo* enumerateInfo, + uint sourceCapacityInput, + uint* sourceCountOutput, + ulong* sources + ) => + ThisThread.EnumerateBoundSourcesForAction( + session, + enumerateInfo, + sourceCapacityInput, + sourceCountOutput, + sources + ); + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateBoundSourcesForAction( + SessionHandle session, + Ref enumerateInfo, + uint sourceCapacityInput, + Ref sourceCountOutput, + Ref sources + ) + { + fixed (ulong* __dsl_sources = sources) + fixed (uint* __dsl_sourceCountOutput = sourceCountOutput) + fixed (BoundSourcesForActionEnumerateInfo* __dsl_enumerateInfo = enumerateInfo) + { + return (Result) + ((IXr)this).EnumerateBoundSourcesForAction( + session, + __dsl_enumerateInfo, + sourceCapacityInput, + __dsl_sourceCountOutput, + __dsl_sources + ); + } + } + + [NativeName("xrEnumerateBoundSourcesForAction")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateBoundSourcesForAction")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateBoundSourcesForAction( + SessionHandle session, + Ref enumerateInfo, + uint sourceCapacityInput, + Ref sourceCountOutput, + Ref sources + ) => + ThisThread.EnumerateBoundSourcesForAction( + session, + enumerateInfo, + sourceCapacityInput, + sourceCountOutput, + sources + ); + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + uint* environmentBlendModeCountOutput, + EnvironmentBlendMode* environmentBlendModes + ) => + ( + (delegate* unmanaged< + InstanceHandle, + ulong, + ViewConfigurationType, + uint, + uint*, + EnvironmentBlendMode*, + Result>)( + _slots[22] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[22] = nativeContext.LoadFunction( + "xrEnumerateEnvironmentBlendModes", + "openxr_loader" + ) + ) + )( + instance, + systemId, + viewConfigurationType, + environmentBlendModeCapacityInput, + environmentBlendModeCountOutput, + environmentBlendModes + ); + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + uint* environmentBlendModeCountOutput, + EnvironmentBlendMode* environmentBlendModes + ) => + ThisThread.EnumerateEnvironmentBlendModes( + instance, + systemId, + viewConfigurationType, + environmentBlendModeCapacityInput, + environmentBlendModeCountOutput, + environmentBlendModes + ); + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + Ref environmentBlendModeCountOutput, + Ref environmentBlendModes + ) + { + fixed (EnvironmentBlendMode* __dsl_environmentBlendModes = environmentBlendModes) + fixed (uint* __dsl_environmentBlendModeCountOutput = environmentBlendModeCountOutput) + { + return (Result) + ((IXr)this).EnumerateEnvironmentBlendModes( + instance, + systemId, + viewConfigurationType, + environmentBlendModeCapacityInput, + __dsl_environmentBlendModeCountOutput, + __dsl_environmentBlendModes + ); + } + } + + [NativeName("xrEnumerateEnvironmentBlendModes")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateEnvironmentBlendModes")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateEnvironmentBlendModes( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint environmentBlendModeCapacityInput, + Ref environmentBlendModeCountOutput, + Ref environmentBlendModes + ) => + ThisThread.EnumerateEnvironmentBlendModes( + instance, + systemId, + viewConfigurationType, + environmentBlendModeCapacityInput, + environmentBlendModeCountOutput, + environmentBlendModes + ); + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateInstanceExtensionProperties( + sbyte* layerName, + uint propertyCapacityInput, + uint* propertyCountOutput, + ExtensionProperties* properties + ) => + ( + (delegate* unmanaged)( + _slots[23] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[23] = nativeContext.LoadFunction( + "xrEnumerateInstanceExtensionProperties", + "openxr_loader" + ) + ) + )(layerName, propertyCapacityInput, propertyCountOutput, properties); + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateInstanceExtensionProperties( + sbyte* layerName, + uint propertyCapacityInput, + uint* propertyCountOutput, + ExtensionProperties* properties + ) => + ThisThread.EnumerateInstanceExtensionProperties( + layerName, + propertyCapacityInput, + propertyCountOutput, + properties + ); + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateInstanceExtensionProperties( + Ref layerName, + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ) + { + fixed (ExtensionProperties* __dsl_properties = properties) + fixed (uint* __dsl_propertyCountOutput = propertyCountOutput) + fixed (sbyte* __dsl_layerName = layerName) + { + return (Result) + ((IXr)this).EnumerateInstanceExtensionProperties( + __dsl_layerName, + propertyCapacityInput, + __dsl_propertyCountOutput, + __dsl_properties + ); + } + } + + [NativeName("xrEnumerateInstanceExtensionProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateInstanceExtensionProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateInstanceExtensionProperties( + Ref layerName, + uint propertyCapacityInput, + Ref propertyCountOutput, + Ref properties + ) => + ThisThread.EnumerateInstanceExtensionProperties( + layerName, + propertyCapacityInput, + propertyCountOutput, + properties + ); + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + uint* spaceCountOutput, + ReferenceSpaceType* spaces + ) => + ( + (delegate* unmanaged)( + _slots[24] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[24] = nativeContext.LoadFunction( + "xrEnumerateReferenceSpaces", + "openxr_loader" + ) + ) + )(session, spaceCapacityInput, spaceCountOutput, spaces); + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + uint* spaceCountOutput, + ReferenceSpaceType* spaces + ) => ThisThread.EnumerateReferenceSpaces(session, spaceCapacityInput, spaceCountOutput, spaces); + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + Ref spaceCountOutput, + Ref spaces + ) + { + fixed (ReferenceSpaceType* __dsl_spaces = spaces) + fixed (uint* __dsl_spaceCountOutput = spaceCountOutput) + { + return (Result) + ((IXr)this).EnumerateReferenceSpaces( + session, + spaceCapacityInput, + __dsl_spaceCountOutput, + __dsl_spaces + ); + } + } + + [NativeName("xrEnumerateReferenceSpaces")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateReferenceSpaces")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateReferenceSpaces( + SessionHandle session, + uint spaceCapacityInput, + Ref spaceCountOutput, + Ref spaces + ) => ThisThread.EnumerateReferenceSpaces(session, spaceCapacityInput, spaceCountOutput, spaces); + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + uint* formatCountOutput, + long* formats + ) => + ( + (delegate* unmanaged)( + _slots[25] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[25] = nativeContext.LoadFunction( + "xrEnumerateSwapchainFormats", + "openxr_loader" + ) + ) + )(session, formatCapacityInput, formatCountOutput, formats); + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + uint* formatCountOutput, + long* formats + ) => + ThisThread.EnumerateSwapchainFormats( + session, + formatCapacityInput, + formatCountOutput, + formats + ); + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + Ref formatCountOutput, + Ref formats + ) + { + fixed (long* __dsl_formats = formats) + fixed (uint* __dsl_formatCountOutput = formatCountOutput) + { + return (Result) + ((IXr)this).EnumerateSwapchainFormats( + session, + formatCapacityInput, + __dsl_formatCountOutput, + __dsl_formats + ); + } + } + + [NativeName("xrEnumerateSwapchainFormats")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainFormats")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateSwapchainFormats( + SessionHandle session, + uint formatCapacityInput, + Ref formatCountOutput, + Ref formats + ) => + ThisThread.EnumerateSwapchainFormats( + session, + formatCapacityInput, + formatCountOutput, + formats + ); + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + uint* imageCountOutput, + SwapchainImageBaseHeader* images + ) => + ( + (delegate* unmanaged)( + _slots[26] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[26] = nativeContext.LoadFunction( + "xrEnumerateSwapchainImages", + "openxr_loader" + ) + ) + )(swapchain, imageCapacityInput, imageCountOutput, images); + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + uint* imageCountOutput, + SwapchainImageBaseHeader* images + ) => + ThisThread.EnumerateSwapchainImages( + swapchain, + imageCapacityInput, + imageCountOutput, + images + ); + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + Ref imageCountOutput, + Ref images + ) + { + fixed (SwapchainImageBaseHeader* __dsl_images = images) + fixed (uint* __dsl_imageCountOutput = imageCountOutput) + { + return (Result) + ((IXr)this).EnumerateSwapchainImages( + swapchain, + imageCapacityInput, + __dsl_imageCountOutput, + __dsl_images + ); + } + } + + [NativeName("xrEnumerateSwapchainImages")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateSwapchainImages")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateSwapchainImages( + SwapchainHandle swapchain, + uint imageCapacityInput, + Ref imageCountOutput, + Ref images + ) => + ThisThread.EnumerateSwapchainImages( + swapchain, + imageCapacityInput, + imageCountOutput, + images + ); + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + uint* viewConfigurationTypeCountOutput, + ViewConfigurationType* viewConfigurationTypes + ) => + ( + (delegate* unmanaged< + InstanceHandle, + ulong, + uint, + uint*, + ViewConfigurationType*, + Result>)( + _slots[27] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[27] = nativeContext.LoadFunction( + "xrEnumerateViewConfigurations", + "openxr_loader" + ) + ) + )( + instance, + systemId, + viewConfigurationTypeCapacityInput, + viewConfigurationTypeCountOutput, + viewConfigurationTypes + ); + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + uint* viewConfigurationTypeCountOutput, + ViewConfigurationType* viewConfigurationTypes + ) => + ThisThread.EnumerateViewConfigurations( + instance, + systemId, + viewConfigurationTypeCapacityInput, + viewConfigurationTypeCountOutput, + viewConfigurationTypes + ); + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + Ref viewConfigurationTypeCountOutput, + Ref viewConfigurationTypes + ) + { + fixed (ViewConfigurationType* __dsl_viewConfigurationTypes = viewConfigurationTypes) + fixed (uint* __dsl_viewConfigurationTypeCountOutput = viewConfigurationTypeCountOutput) + { + return (Result) + ((IXr)this).EnumerateViewConfigurations( + instance, + systemId, + viewConfigurationTypeCapacityInput, + __dsl_viewConfigurationTypeCountOutput, + __dsl_viewConfigurationTypes + ); + } + } + + [NativeName("xrEnumerateViewConfigurations")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurations")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateViewConfigurations( + InstanceHandle instance, + ulong systemId, + uint viewConfigurationTypeCapacityInput, + Ref viewConfigurationTypeCountOutput, + Ref viewConfigurationTypes + ) => + ThisThread.EnumerateViewConfigurations( + instance, + systemId, + viewConfigurationTypeCapacityInput, + viewConfigurationTypeCountOutput, + viewConfigurationTypes + ); + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + uint* viewCountOutput, + ViewConfigurationView* views + ) => + ( + (delegate* unmanaged< + InstanceHandle, + ulong, + ViewConfigurationType, + uint, + uint*, + ViewConfigurationView*, + Result>)( + _slots[28] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[28] = nativeContext.LoadFunction( + "xrEnumerateViewConfigurationViews", + "openxr_loader" + ) + ) + )(instance, systemId, viewConfigurationType, viewCapacityInput, viewCountOutput, views); + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + uint* viewCountOutput, + ViewConfigurationView* views + ) => + ThisThread.EnumerateViewConfigurationViews( + instance, + systemId, + viewConfigurationType, + viewCapacityInput, + viewCountOutput, + views + ); + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ) + { + fixed (ViewConfigurationView* __dsl_views = views) + fixed (uint* __dsl_viewCountOutput = viewCountOutput) + { + return (Result) + ((IXr)this).EnumerateViewConfigurationViews( + instance, + systemId, + viewConfigurationType, + viewCapacityInput, + __dsl_viewCountOutput, + __dsl_views + ); + } + } + + [NativeName("xrEnumerateViewConfigurationViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrEnumerateViewConfigurationViews")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumerateViewConfigurationViews( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ) => + ThisThread.EnumerateViewConfigurationViews( + instance, + systemId, + viewConfigurationType, + viewCapacityInput, + viewCountOutput, + views + ); + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetActionStateBoolean( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateBoolean* state + ) => + ( + (delegate* unmanaged)( + _slots[29] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[29] = nativeContext.LoadFunction( + "xrGetActionStateBoolean", + "openxr_loader" + ) + ) + )(session, getInfo, state); + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetActionStateBoolean( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateBoolean* state + ) => ThisThread.GetActionStateBoolean(session, getInfo, state); + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetActionStateBoolean( + SessionHandle session, + Ref getInfo, + Ref state + ) + { + fixed (ActionStateBoolean* __dsl_state = state) + fixed (ActionStateGetInfo* __dsl_getInfo = getInfo) + { + return (Result)((IXr)this).GetActionStateBoolean(session, __dsl_getInfo, __dsl_state); + } + } + + [NativeName("xrGetActionStateBoolean")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateBoolean")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetActionStateBoolean( + SessionHandle session, + Ref getInfo, + Ref state + ) => ThisThread.GetActionStateBoolean(session, getInfo, state); + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetActionStateFloat( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateFloat* state + ) => + ( + (delegate* unmanaged)( + _slots[30] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[30] = nativeContext.LoadFunction( + "xrGetActionStateFloat", + "openxr_loader" + ) + ) + )(session, getInfo, state); + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetActionStateFloat( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateFloat* state + ) => ThisThread.GetActionStateFloat(session, getInfo, state); + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetActionStateFloat( + SessionHandle session, + Ref getInfo, + Ref state + ) + { + fixed (ActionStateFloat* __dsl_state = state) + fixed (ActionStateGetInfo* __dsl_getInfo = getInfo) + { + return (Result)((IXr)this).GetActionStateFloat(session, __dsl_getInfo, __dsl_state); + } + } + + [NativeName("xrGetActionStateFloat")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateFloat")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetActionStateFloat( + SessionHandle session, + Ref getInfo, + Ref state + ) => ThisThread.GetActionStateFloat(session, getInfo, state); + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetActionStatePose( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStatePose* state + ) => + ( + (delegate* unmanaged)( + _slots[31] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[31] = nativeContext.LoadFunction( + "xrGetActionStatePose", + "openxr_loader" + ) + ) + )(session, getInfo, state); + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetActionStatePose( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStatePose* state + ) => ThisThread.GetActionStatePose(session, getInfo, state); + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetActionStatePose( + SessionHandle session, + Ref getInfo, + Ref state + ) + { + fixed (ActionStatePose* __dsl_state = state) + fixed (ActionStateGetInfo* __dsl_getInfo = getInfo) + { + return (Result)((IXr)this).GetActionStatePose(session, __dsl_getInfo, __dsl_state); + } + } + + [NativeName("xrGetActionStatePose")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStatePose")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetActionStatePose( + SessionHandle session, + Ref getInfo, + Ref state + ) => ThisThread.GetActionStatePose(session, getInfo, state); + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetActionStateVector2F( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateVector2F* state + ) => + ( + (delegate* unmanaged)( + _slots[32] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[32] = nativeContext.LoadFunction( + "xrGetActionStateVector2f", + "openxr_loader" + ) + ) + )(session, getInfo, state); + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetActionStateVector2F( + SessionHandle session, + ActionStateGetInfo* getInfo, + ActionStateVector2F* state + ) => ThisThread.GetActionStateVector2F(session, getInfo, state); + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetActionStateVector2F( + SessionHandle session, + Ref getInfo, + Ref state + ) + { + fixed (ActionStateVector2F* __dsl_state = state) + fixed (ActionStateGetInfo* __dsl_getInfo = getInfo) + { + return (Result)((IXr)this).GetActionStateVector2F(session, __dsl_getInfo, __dsl_state); + } + } + + [NativeName("xrGetActionStateVector2f")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetActionStateVector2f")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetActionStateVector2F( + SessionHandle session, + Ref getInfo, + Ref state + ) => ThisThread.GetActionStateVector2F(session, getInfo, state); + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + InteractionProfileState* interactionProfile + ) => + ( + (delegate* unmanaged)( + _slots[33] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[33] = nativeContext.LoadFunction( + "xrGetCurrentInteractionProfile", + "openxr_loader" + ) + ) + )(session, topLevelUserPath, interactionProfile); + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + InteractionProfileState* interactionProfile + ) => ThisThread.GetCurrentInteractionProfile(session, topLevelUserPath, interactionProfile); + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + Ref interactionProfile + ) + { + fixed (InteractionProfileState* __dsl_interactionProfile = interactionProfile) + { + return (Result) + ((IXr)this).GetCurrentInteractionProfile( + session, + topLevelUserPath, + __dsl_interactionProfile + ); + } + } + + [NativeName("xrGetCurrentInteractionProfile")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetCurrentInteractionProfile")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetCurrentInteractionProfile( + SessionHandle session, + ulong topLevelUserPath, + Ref interactionProfile + ) => ThisThread.GetCurrentInteractionProfile(session, topLevelUserPath, interactionProfile); + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetInputSourceLocalizedName( + SessionHandle session, + InputSourceLocalizedNameGetInfo* getInfo, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ) => + ( + (delegate* unmanaged< + SessionHandle, + InputSourceLocalizedNameGetInfo*, + uint, + uint*, + sbyte*, + Result>)( + _slots[34] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[34] = nativeContext.LoadFunction( + "xrGetInputSourceLocalizedName", + "openxr_loader" + ) + ) + )(session, getInfo, bufferCapacityInput, bufferCountOutput, buffer); + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetInputSourceLocalizedName( + SessionHandle session, + InputSourceLocalizedNameGetInfo* getInfo, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ) => + ThisThread.GetInputSourceLocalizedName( + session, + getInfo, + bufferCapacityInput, + bufferCountOutput, + buffer + ); + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetInputSourceLocalizedName( + SessionHandle session, + Ref getInfo, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ) + { + fixed (sbyte* __dsl_buffer = buffer) + fixed (uint* __dsl_bufferCountOutput = bufferCountOutput) + fixed (InputSourceLocalizedNameGetInfo* __dsl_getInfo = getInfo) + { + return (Result) + ((IXr)this).GetInputSourceLocalizedName( + session, + __dsl_getInfo, + bufferCapacityInput, + __dsl_bufferCountOutput, + __dsl_buffer + ); + } + } + + [NativeName("xrGetInputSourceLocalizedName")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInputSourceLocalizedName")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetInputSourceLocalizedName( + SessionHandle session, + Ref getInfo, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ) => + ThisThread.GetInputSourceLocalizedName( + session, + getInfo, + bufferCapacityInput, + bufferCountOutput, + buffer + ); + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetInstanceProcAddr(InstanceHandle instance, sbyte* name, VoidFunction* function) => + ( + (delegate* unmanaged)( + _slots[35] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[35] = nativeContext.LoadFunction( + "xrGetInstanceProcAddr", + "openxr_loader" + ) + ) + )(instance, name, function); + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetInstanceProcAddr( + InstanceHandle instance, + sbyte* name, + VoidFunction* function + ) => ThisThread.GetInstanceProcAddr(instance, name, function); + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetInstanceProcAddr( + InstanceHandle instance, + Ref name, + Ref function + ) + { + fixed (VoidFunction* __dsl_function = function) + fixed (sbyte* __dsl_name = name) + { + return (Result)((IXr)this).GetInstanceProcAddr(instance, __dsl_name, __dsl_function); + } + } + + [NativeName("xrGetInstanceProcAddr")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProcAddr")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetInstanceProcAddr( + InstanceHandle instance, + Ref name, + Ref function + ) => ThisThread.GetInstanceProcAddr(instance, name, function); + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetInstanceProperties( + InstanceHandle instance, + InstanceProperties* instanceProperties + ) => + ( + (delegate* unmanaged)( + _slots[36] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[36] = nativeContext.LoadFunction( + "xrGetInstanceProperties", + "openxr_loader" + ) + ) + )(instance, instanceProperties); + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetInstanceProperties( + InstanceHandle instance, + InstanceProperties* instanceProperties + ) => ThisThread.GetInstanceProperties(instance, instanceProperties); + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetInstanceProperties( + InstanceHandle instance, + Ref instanceProperties + ) + { + fixed (InstanceProperties* __dsl_instanceProperties = instanceProperties) + { + return (Result)((IXr)this).GetInstanceProperties(instance, __dsl_instanceProperties); + } + } + + [NativeName("xrGetInstanceProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetInstanceProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetInstanceProperties( + InstanceHandle instance, + Ref instanceProperties + ) => ThisThread.GetInstanceProperties(instance, instanceProperties); + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Extent2Df* bounds + ) => + ( + (delegate* unmanaged)( + _slots[37] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[37] = nativeContext.LoadFunction( + "xrGetReferenceSpaceBoundsRect", + "openxr_loader" + ) + ) + )(session, referenceSpaceType, bounds); + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Extent2Df* bounds + ) => ThisThread.GetReferenceSpaceBoundsRect(session, referenceSpaceType, bounds); + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Ref bounds + ) + { + fixed (Extent2Df* __dsl_bounds = bounds) + { + return (Result) + ((IXr)this).GetReferenceSpaceBoundsRect(session, referenceSpaceType, __dsl_bounds); + } + } + + [NativeName("xrGetReferenceSpaceBoundsRect")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetReferenceSpaceBoundsRect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetReferenceSpaceBoundsRect( + SessionHandle session, + ReferenceSpaceType referenceSpaceType, + Ref bounds + ) => ThisThread.GetReferenceSpaceBoundsRect(session, referenceSpaceType, bounds); + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetSystem(InstanceHandle instance, SystemGetInfo* getInfo, ulong* systemId) => + ( + (delegate* unmanaged)( + _slots[38] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[38] = nativeContext.LoadFunction("xrGetSystem", "openxr_loader") + ) + )(instance, getInfo, systemId); + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetSystem( + InstanceHandle instance, + SystemGetInfo* getInfo, + ulong* systemId + ) => ThisThread.GetSystem(instance, getInfo, systemId); + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetSystem(InstanceHandle instance, Ref getInfo, Ref systemId) + { + fixed (ulong* __dsl_systemId = systemId) + fixed (SystemGetInfo* __dsl_getInfo = getInfo) + { + return (Result)((IXr)this).GetSystem(instance, __dsl_getInfo, __dsl_systemId); + } + } + + [NativeName("xrGetSystem")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystem")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetSystem( + InstanceHandle instance, + Ref getInfo, + Ref systemId + ) => ThisThread.GetSystem(instance, getInfo, systemId); + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetSystemProperties( + InstanceHandle instance, + ulong systemId, + SystemProperties* properties + ) => + ( + (delegate* unmanaged)( + _slots[39] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[39] = nativeContext.LoadFunction( + "xrGetSystemProperties", + "openxr_loader" + ) + ) + )(instance, systemId, properties); + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetSystemProperties( + InstanceHandle instance, + ulong systemId, + SystemProperties* properties + ) => ThisThread.GetSystemProperties(instance, systemId, properties); + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetSystemProperties( + InstanceHandle instance, + ulong systemId, + Ref properties + ) + { + fixed (SystemProperties* __dsl_properties = properties) + { + return (Result)((IXr)this).GetSystemProperties(instance, systemId, __dsl_properties); + } + } + + [NativeName("xrGetSystemProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetSystemProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetSystemProperties( + InstanceHandle instance, + ulong systemId, + Ref properties + ) => ThisThread.GetSystemProperties(instance, systemId, properties); + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + ViewConfigurationProperties* configurationProperties + ) => + ( + (delegate* unmanaged< + InstanceHandle, + ulong, + ViewConfigurationType, + ViewConfigurationProperties*, + Result>)( + _slots[40] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[40] = nativeContext.LoadFunction( + "xrGetViewConfigurationProperties", + "openxr_loader" + ) + ) + )(instance, systemId, viewConfigurationType, configurationProperties); + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + ViewConfigurationProperties* configurationProperties + ) => + ThisThread.GetViewConfigurationProperties( + instance, + systemId, + viewConfigurationType, + configurationProperties + ); + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + Ref configurationProperties + ) + { + fixed (ViewConfigurationProperties* __dsl_configurationProperties = configurationProperties) + { + return (Result) + ((IXr)this).GetViewConfigurationProperties( + instance, + systemId, + viewConfigurationType, + __dsl_configurationProperties + ); + } + } + + [NativeName("xrGetViewConfigurationProperties")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrGetViewConfigurationProperties")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetViewConfigurationProperties( + InstanceHandle instance, + ulong systemId, + ViewConfigurationType viewConfigurationType, + Ref configurationProperties + ) => + ThisThread.GetViewConfigurationProperties( + instance, + systemId, + viewConfigurationType, + configurationProperties + ); + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + SpaceLocation* location + ) => + ( + (delegate* unmanaged)( + _slots[41] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[41] = nativeContext.LoadFunction("xrLocateSpace", "openxr_loader") + ) + )(space, baseSpace, time, location); + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + SpaceLocation* location + ) => ThisThread.LocateSpace(space, baseSpace, time, location); + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + Ref location + ) + { + fixed (SpaceLocation* __dsl_location = location) + { + return (Result)((IXr)this).LocateSpace(space, baseSpace, time, __dsl_location); + } + } + + [NativeName("xrLocateSpace")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpace")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result LocateSpace( + SpaceHandle space, + SpaceHandle baseSpace, + long time, + Ref location + ) => ThisThread.LocateSpace(space, baseSpace, time, location); + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.LocateSpaces( + SessionHandle session, + SpacesLocateInfo* locateInfo, + SpaceLocations* spaceLocations + ) => + ( + (delegate* unmanaged)( + _slots[42] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[42] = nativeContext.LoadFunction("xrLocateSpaces", "openxr_loader") + ) + )(session, locateInfo, spaceLocations); + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result LocateSpaces( + SessionHandle session, + SpacesLocateInfo* locateInfo, + SpaceLocations* spaceLocations + ) => ThisThread.LocateSpaces(session, locateInfo, spaceLocations); + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.LocateSpaces( + SessionHandle session, + Ref locateInfo, + Ref spaceLocations + ) + { + fixed (SpaceLocations* __dsl_spaceLocations = spaceLocations) + fixed (SpacesLocateInfo* __dsl_locateInfo = locateInfo) + { + return (Result) + ((IXr)this).LocateSpaces(session, __dsl_locateInfo, __dsl_spaceLocations); + } + } + + [NativeName("xrLocateSpaces")] + [SupportedApiProfile("openxr", ["XR_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateSpaces")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result LocateSpaces( + SessionHandle session, + Ref locateInfo, + Ref spaceLocations + ) => ThisThread.LocateSpaces(session, locateInfo, spaceLocations); + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.LocateViews( + SessionHandle session, + ViewLocateInfo* viewLocateInfo, + ViewState* viewState, + uint viewCapacityInput, + uint* viewCountOutput, + View* views + ) => + ( + (delegate* unmanaged< + SessionHandle, + ViewLocateInfo*, + ViewState*, + uint, + uint*, + View*, + Result>)( + _slots[43] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[43] = nativeContext.LoadFunction("xrLocateViews", "openxr_loader") + ) + )(session, viewLocateInfo, viewState, viewCapacityInput, viewCountOutput, views); + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result LocateViews( + SessionHandle session, + ViewLocateInfo* viewLocateInfo, + ViewState* viewState, + uint viewCapacityInput, + uint* viewCountOutput, + View* views + ) => + ThisThread.LocateViews( + session, + viewLocateInfo, + viewState, + viewCapacityInput, + viewCountOutput, + views + ); + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.LocateViews( + SessionHandle session, + Ref viewLocateInfo, + Ref viewState, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ) + { + fixed (View* __dsl_views = views) + fixed (uint* __dsl_viewCountOutput = viewCountOutput) + fixed (ViewState* __dsl_viewState = viewState) + fixed (ViewLocateInfo* __dsl_viewLocateInfo = viewLocateInfo) + { + return (Result) + ((IXr)this).LocateViews( + session, + __dsl_viewLocateInfo, + __dsl_viewState, + viewCapacityInput, + __dsl_viewCountOutput, + __dsl_views + ); + } + } + + [NativeName("xrLocateViews")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrLocateViews")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result LocateViews( + SessionHandle session, + Ref viewLocateInfo, + Ref viewState, + uint viewCapacityInput, + Ref viewCountOutput, + Ref views + ) => + ThisThread.LocateViews( + session, + viewLocateInfo, + viewState, + viewCapacityInput, + viewCountOutput, + views + ); + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ) => + ( + (delegate* unmanaged)( + _slots[44] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[44] = nativeContext.LoadFunction("xrPathToString", "openxr_loader") + ) + )(instance, path, bufferCapacityInput, bufferCountOutput, buffer); + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + uint* bufferCountOutput, + sbyte* buffer + ) => ThisThread.PathToString(instance, path, bufferCapacityInput, bufferCountOutput, buffer); + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ) + { + fixed (sbyte* __dsl_buffer = buffer) + fixed (uint* __dsl_bufferCountOutput = bufferCountOutput) + { + return (Result) + ((IXr)this).PathToString( + instance, + path, + bufferCapacityInput, + __dsl_bufferCountOutput, + __dsl_buffer + ); + } + } + + [NativeName("xrPathToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPathToString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result PathToString( + InstanceHandle instance, + ulong path, + uint bufferCapacityInput, + Ref bufferCountOutput, + Ref buffer + ) => ThisThread.PathToString(instance, path, bufferCapacityInput, bufferCountOutput, buffer); + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.PollEvent(InstanceHandle instance, EventDataBuffer* eventData) => + ( + (delegate* unmanaged)( + _slots[45] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[45] = nativeContext.LoadFunction("xrPollEvent", "openxr_loader") + ) + )(instance, eventData); + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result PollEvent(InstanceHandle instance, EventDataBuffer* eventData) => + ThisThread.PollEvent(instance, eventData); + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.PollEvent(InstanceHandle instance, Ref eventData) + { + fixed (EventDataBuffer* __dsl_eventData = eventData) + { + return (Result)((IXr)this).PollEvent(instance, __dsl_eventData); + } + } + + [NativeName("xrPollEvent")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrPollEvent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result PollEvent(InstanceHandle instance, Ref eventData) => + ThisThread.PollEvent(instance, eventData); + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.ReleaseSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageReleaseInfo* releaseInfo + ) => + ( + (delegate* unmanaged)( + _slots[46] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[46] = nativeContext.LoadFunction( + "xrReleaseSwapchainImage", + "openxr_loader" + ) + ) + )(swapchain, releaseInfo); + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result ReleaseSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageReleaseInfo* releaseInfo + ) => ThisThread.ReleaseSwapchainImage(swapchain, releaseInfo); + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.ReleaseSwapchainImage( + SwapchainHandle swapchain, + Ref releaseInfo + ) + { + fixed (SwapchainImageReleaseInfo* __dsl_releaseInfo = releaseInfo) + { + return (Result)((IXr)this).ReleaseSwapchainImage(swapchain, __dsl_releaseInfo); + } + } + + [NativeName("xrReleaseSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrReleaseSwapchainImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result ReleaseSwapchainImage( + SwapchainHandle swapchain, + Ref releaseInfo + ) => ThisThread.ReleaseSwapchainImage(swapchain, releaseInfo); + + [NativeName("xrRequestExitSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrRequestExitSession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.RequestExitSession(SessionHandle session) => + ( + (delegate* unmanaged)( + _slots[47] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[47] = nativeContext.LoadFunction( + "xrRequestExitSession", + "openxr_loader" + ) + ) + )(session); + + [NativeName("xrRequestExitSession")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrRequestExitSession")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result RequestExitSession(SessionHandle session) => + ThisThread.RequestExitSession(session); + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.ResultToString(InstanceHandle instance, Result value, sbyte* buffer) => + ( + (delegate* unmanaged)( + _slots[48] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[48] = nativeContext.LoadFunction("xrResultToString", "openxr_loader") + ) + )(instance, value, buffer); + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result ResultToString(InstanceHandle instance, Result value, sbyte* buffer) => + ThisThread.ResultToString(instance, value, buffer); + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.ResultToString(InstanceHandle instance, Result value, Ref buffer) + { + fixed (sbyte* __dsl_buffer = buffer) + { + return (Result)((IXr)this).ResultToString(instance, value, __dsl_buffer); + } + } + + [NativeName("xrResultToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrResultToString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result ResultToString(InstanceHandle instance, Result value, Ref buffer) => + ThisThread.ResultToString(instance, value, buffer); + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.StopHapticFeedback(SessionHandle session, HapticActionInfo* hapticActionInfo) => + ( + (delegate* unmanaged)( + _slots[49] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[49] = nativeContext.LoadFunction( + "xrStopHapticFeedback", + "openxr_loader" + ) + ) + )(session, hapticActionInfo); + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result StopHapticFeedback( + SessionHandle session, + HapticActionInfo* hapticActionInfo + ) => ThisThread.StopHapticFeedback(session, hapticActionInfo); + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.StopHapticFeedback(SessionHandle session, Ref hapticActionInfo) + { + fixed (HapticActionInfo* __dsl_hapticActionInfo = hapticActionInfo) + { + return (Result)((IXr)this).StopHapticFeedback(session, __dsl_hapticActionInfo); + } + } + + [NativeName("xrStopHapticFeedback")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStopHapticFeedback")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result StopHapticFeedback( + SessionHandle session, + Ref hapticActionInfo + ) => ThisThread.StopHapticFeedback(session, hapticActionInfo); + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.StringToPath(InstanceHandle instance, sbyte* pathString, ulong* path) => + ( + (delegate* unmanaged)( + _slots[50] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[50] = nativeContext.LoadFunction("xrStringToPath", "openxr_loader") + ) + )(instance, pathString, path); + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result StringToPath(InstanceHandle instance, sbyte* pathString, ulong* path) => + ThisThread.StringToPath(instance, pathString, path); + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.StringToPath(InstanceHandle instance, Ref pathString, Ref path) + { + fixed (ulong* __dsl_path = path) + fixed (sbyte* __dsl_pathString = pathString) + { + return (Result)((IXr)this).StringToPath(instance, __dsl_pathString, __dsl_path); + } + } + + [NativeName("xrStringToPath")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStringToPath")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result StringToPath( + InstanceHandle instance, + Ref pathString, + Ref path + ) => ThisThread.StringToPath(instance, pathString, path); + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.StructureTypeToString(InstanceHandle instance, StructureType value, sbyte* buffer) => + ( + (delegate* unmanaged)( + _slots[51] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[51] = nativeContext.LoadFunction( + "xrStructureTypeToString", + "openxr_loader" + ) + ) + )(instance, value, buffer); + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result StructureTypeToString( + InstanceHandle instance, + StructureType value, + sbyte* buffer + ) => ThisThread.StructureTypeToString(instance, value, buffer); + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.StructureTypeToString( + InstanceHandle instance, + StructureType value, + Ref buffer + ) + { + fixed (sbyte* __dsl_buffer = buffer) + { + return (Result)((IXr)this).StructureTypeToString(instance, value, __dsl_buffer); + } + } + + [NativeName("xrStructureTypeToString")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrStructureTypeToString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result StructureTypeToString( + InstanceHandle instance, + StructureType value, + Ref buffer + ) => ThisThread.StructureTypeToString(instance, value, buffer); + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.SuggestInteractionProfileBindings( + InstanceHandle instance, + InteractionProfileSuggestedBinding* suggestedBindings + ) => + ( + (delegate* unmanaged)( + _slots[52] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[52] = nativeContext.LoadFunction( + "xrSuggestInteractionProfileBindings", + "openxr_loader" + ) + ) + )(instance, suggestedBindings); + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result SuggestInteractionProfileBindings( + InstanceHandle instance, + InteractionProfileSuggestedBinding* suggestedBindings + ) => ThisThread.SuggestInteractionProfileBindings(instance, suggestedBindings); + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.SuggestInteractionProfileBindings( + InstanceHandle instance, + Ref suggestedBindings + ) + { + fixed (InteractionProfileSuggestedBinding* __dsl_suggestedBindings = suggestedBindings) + { + return (Result) + ((IXr)this).SuggestInteractionProfileBindings(instance, __dsl_suggestedBindings); + } + } + + [NativeName("xrSuggestInteractionProfileBindings")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSuggestInteractionProfileBindings")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result SuggestInteractionProfileBindings( + InstanceHandle instance, + Ref suggestedBindings + ) => ThisThread.SuggestInteractionProfileBindings(instance, suggestedBindings); + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.SyncActions(SessionHandle session, ActionsSyncInfo* syncInfo) => + ( + (delegate* unmanaged)( + _slots[53] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[53] = nativeContext.LoadFunction("xrSyncActions", "openxr_loader") + ) + )(session, syncInfo); + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result SyncActions(SessionHandle session, ActionsSyncInfo* syncInfo) => + ThisThread.SyncActions(session, syncInfo); + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.SyncActions(SessionHandle session, Ref syncInfo) + { + fixed (ActionsSyncInfo* __dsl_syncInfo = syncInfo) + { + return (Result)((IXr)this).SyncActions(session, __dsl_syncInfo); + } + } + + [NativeName("xrSyncActions")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrSyncActions")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result SyncActions(SessionHandle session, Ref syncInfo) => + ThisThread.SyncActions(session, syncInfo); + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.WaitFrame( + SessionHandle session, + FrameWaitInfo* frameWaitInfo, + FrameState* frameState + ) => + ( + (delegate* unmanaged)( + _slots[54] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[54] = nativeContext.LoadFunction("xrWaitFrame", "openxr_loader") + ) + )(session, frameWaitInfo, frameState); + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result WaitFrame( + SessionHandle session, + FrameWaitInfo* frameWaitInfo, + FrameState* frameState + ) => ThisThread.WaitFrame(session, frameWaitInfo, frameState); + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.WaitFrame( + SessionHandle session, + Ref frameWaitInfo, + Ref frameState + ) + { + fixed (FrameState* __dsl_frameState = frameState) + fixed (FrameWaitInfo* __dsl_frameWaitInfo = frameWaitInfo) + { + return (Result)((IXr)this).WaitFrame(session, __dsl_frameWaitInfo, __dsl_frameState); + } + } + + [NativeName("xrWaitFrame")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitFrame")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result WaitFrame( + SessionHandle session, + Ref frameWaitInfo, + Ref frameState + ) => ThisThread.WaitFrame(session, frameWaitInfo, frameState); + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.WaitSwapchainImage(SwapchainHandle swapchain, SwapchainImageWaitInfo* waitInfo) => + ( + (delegate* unmanaged)( + _slots[55] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[55] = nativeContext.LoadFunction( + "xrWaitSwapchainImage", + "openxr_loader" + ) + ) + )(swapchain, waitInfo); + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result WaitSwapchainImage( + SwapchainHandle swapchain, + SwapchainImageWaitInfo* waitInfo + ) => ThisThread.WaitSwapchainImage(swapchain, waitInfo); + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IXr.WaitSwapchainImage(SwapchainHandle swapchain, Ref waitInfo) + { + fixed (SwapchainImageWaitInfo* __dsl_waitInfo = waitInfo) + { + return (Result)((IXr)this).WaitSwapchainImage(swapchain, __dsl_waitInfo); + } + } + + [NativeName("xrWaitSwapchainImage")] + [SupportedApiProfile( + "openxr", + ["XR_LOADER_VERSION_1_0", "XR_VERSION_1_0", "XR_VERSION_1_1"], + MinVersion = "1.0" + )] + [NativeFunction("openxr_loader", EntryPoint = "xrWaitSwapchainImage")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result WaitSwapchainImage( + SwapchainHandle swapchain, + Ref waitInfo + ) => ThisThread.WaitSwapchainImage(swapchain, waitInfo); +} diff --git a/sources/OpenXR/OpenXR/Silk.NET.OpenXR.csproj b/sources/OpenXR/OpenXR/Silk.NET.OpenXR.csproj new file mode 100644 index 0000000000..10e7a10b96 --- /dev/null +++ b/sources/OpenXR/OpenXR/Silk.NET.OpenXR.csproj @@ -0,0 +1,11 @@ + + + net10.0 + enable + enable + 1591 + + + + + diff --git a/sources/OpenXR/OpenXR/Xr.cs b/sources/OpenXR/OpenXR/Xr.cs new file mode 100644 index 0000000000..7a61055724 --- /dev/null +++ b/sources/OpenXR/OpenXR/Xr.cs @@ -0,0 +1,136 @@ +using System.Reflection; +using System.Runtime.InteropServices; +using Silk.NET.Core.Loader; + +namespace Silk.NET.OpenXR; + +public partial class Xr +{ + public const string ErrMultipleInstanceSingleObject = + "CurrentInstance cannot be changed once set, use another API object for additional instances. For more " + + "info, see https://dotnet.github.io/Silk.NET/docs/v3/silk.net/static-vs-instance-bindings"; + + static Xr() => LoaderInterface.RegisterHook(Assembly.GetExecutingAssembly()); + + public unsafe partial class DllImport + { + public static partial Result CreateInstance( + InstanceCreateInfo* createInfo, + InstanceHandle* instance + ) => CreateInstanceInternal(createInfo, instance); + } + + public partial class StaticWrapper + { + public InstanceHandle CurrentInstance + { + get; + set + { + if (field == value) + { + return; + } + + if (field != nullptr) + { + throw new InvalidOperationException(ErrMultipleInstanceSingleObject); + } + + field = value; + } + } + + public IXr Clone() => new StaticWrapper(); + } + + public partial class ThisThread + { + private static partial IXr ContextFactory() => Create(); + } + + public InstanceHandle CurrentInstance + { + get; + set + { + if (field == value) + { + return; + } + + if (field != nullptr) + { + throw new InvalidOperationException(ErrMultipleInstanceSingleObject); + } + + field = value; + } + } + + public static IXr Create() + { + var context = new NativeContext(); + var xr = new Xr(context); + context.Xr = xr; + + return xr; + } + + public unsafe IXr Clone() + { + var context = new NativeContext(); + var xr = new Xr(context); + + context.Xr = xr; + + xr.CurrentInstance = CurrentInstance; + Array.Copy(_slots, xr._slots, _slots.Length); + + return xr; + } + + unsafe Result IXr.CreateInstance(InstanceCreateInfo* createInfo, InstanceHandle* instance) + { + var result = CreateInstanceInternal(createInfo, instance); + if (result == Result.Success) + { + CurrentInstance = *instance; + } + + return result; + } + + private class NativeContext : INativeContext + { + public Xr Xr { get; set; } = null!; + private IXr Ixr => Xr; + + public unsafe void* LoadFunction(string functionName, string libraryNameHint) + { + if (functionName == "xrGetInstanceProcAddr") + { + return (delegate* unmanaged) + &GetInstanceProcAddr; + } + + VoidFunction* function = default; + var result = Ixr.GetInstanceProcAddr(Xr.CurrentInstance, functionName, function); + if (result != Result.Success) + { + return null; + } + + return function->Handle; + } + + [UnmanagedCallersOnly] + private static unsafe Result GetInstanceProcAddr( + InstanceHandle instance, + sbyte* name, + VoidFunction* function + ) => DllImport.GetInstanceProcAddr(instance, name, function); + + public void Dispose() { } + } +} diff --git a/sources/OpenXR/OpenXR/Xr.gen.cs b/sources/OpenXR/OpenXR/Xr.gen.cs new file mode 100644 index 0000000000..cc4ae6f26f --- /dev/null +++ b/sources/OpenXR/OpenXR/Xr.gen.cs @@ -0,0 +1,35 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the OpenXR headers and corresponding dependencies. +// Original source is Copyright 2017-2026 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using Silk.NET.Core.Loader; + +namespace Silk.NET.OpenXR; + +partial class Xr(INativeContext nativeContext) : IDisposable +{ + public partial class DllImport : IXr.Static + { + static DllImport() => LoaderInterface.RegisterHook(Assembly.GetExecutingAssembly()); + } + + public partial class ThisThread : IXr.Static + { + public static ThreadLocal Underlying { get; } = new(ContextFactory); + + public static void MakeCurrent(IXr ctx) => Underlying.Value = ctx; + + private static partial IXr ContextFactory(); + } + + private readonly unsafe void*[] _slots = new void*[56]; + + public static IXr Create(INativeContext ctx) => new Xr(ctx); + + /// + public void Dispose() => nativeContext.Dispose(); +} diff --git a/sources/SilkTouch/SilkTouch/Mods/AddOpaqueStructs.cs b/sources/SilkTouch/SilkTouch/Mods/AddOpaqueStructs.cs index 5d8cafcb0e..0686bcb59d 100644 --- a/sources/SilkTouch/SilkTouch/Mods/AddOpaqueStructs.cs +++ b/sources/SilkTouch/SilkTouch/Mods/AddOpaqueStructs.cs @@ -68,11 +68,14 @@ public Task ExecuteAsync(IModContext ctx, CancellationToken ct = default) return Task.CompletedTask; } - foreach (var name in cfg.Names ?? Array.Empty()) + foreach (var fullyQualifiedName in cfg.Names ?? Array.Empty()) { - var qualified = name.LastIndexOf('.'); + var lastPeriodIndex = fullyQualifiedName.LastIndexOf('.'); var ns = - qualified != -1 ? ModUtils.NamespaceIntoIdentifierName(name.AsSpan()[..qualified]) + lastPeriodIndex != -1 + ? ModUtils.NamespaceIntoIdentifierName( + fullyQualifiedName.AsSpan()[..lastPeriodIndex] + ) : _defaultNamespaces.TryGetValue(ctx.JobKey, out var def) ? ModUtils.NamespaceIntoIdentifierName(def) : null; @@ -81,21 +84,27 @@ public Task ExecuteAsync(IModContext ctx, CancellationToken ct = default) logger.LogWarning( "Couldn't resolve namespace for opaque struct \"{0}\" - consider fully qualifying the type in the " + "config", - name + fullyQualifiedName ); continue; } - var fname = $"{name[(qualified + 1)..]}.gen.cs"; + var name = fullyQualifiedName[(lastPeriodIndex + 1)..]; + var fileName = $"{name}.gen.cs"; proj = proj.AddDocument( - fname, + fileName, CompilationUnit() .WithMembers( SingletonList( FileScopedNamespaceDeclaration(ns) .WithMembers( SingletonList( - StructDeclaration(name[(qualified + 1)..]) + StructDeclaration(name) + .WithAttributeLists( + new SyntaxList().WithNativeName( + name + ) + ) .WithModifiers( TokenList( Token(SyntaxKind.PublicKeyword), @@ -107,7 +116,7 @@ public Task ExecuteAsync(IModContext ctx, CancellationToken ct = default) ) ) ), - filePath: proj.FullPath(fname) + filePath: proj.FullPath(fileName) ).Project; } diff --git a/sources/SilkTouch/SilkTouch/Mods/ExtractHandles.cs b/sources/SilkTouch/SilkTouch/Mods/ExtractHandles.cs index f38e321042..87e4075603 100644 --- a/sources/SilkTouch/SilkTouch/Mods/ExtractHandles.cs +++ b/sources/SilkTouch/SilkTouch/Mods/ExtractHandles.cs @@ -293,6 +293,7 @@ Dictionary missingHandleTypes { var fullyQualifiedName = string.IsNullOrWhiteSpace(ns) ? name : $"{ns}.{name}"; var structDeclarationSyntax = StructDeclaration(name) + .WithAttributeLists(new SyntaxList().WithNativeName(name)) .WithModifiers( TokenList( Token(SyntaxKind.PublicKeyword), diff --git a/sources/SilkTouch/SilkTouch/Mods/Metadata/MetadataUtils.cs b/sources/SilkTouch/SilkTouch/Mods/Metadata/MetadataUtils.cs index b834fa78ee..669d482211 100644 --- a/sources/SilkTouch/SilkTouch/Mods/Metadata/MetadataUtils.cs +++ b/sources/SilkTouch/SilkTouch/Mods/Metadata/MetadataUtils.cs @@ -31,6 +31,7 @@ public static int GetIndirectionLevels(this ReadOnlySpan cType) => /// /// The C type or parameter string. /// The mutabilities for each indirection level. + /// Symbol map used to look up symbol values by the symbol name. /// /// If the type had an array specifier, this specifies the count of the outermost indirection level. Will be zero /// if this is not the case. @@ -41,7 +42,8 @@ public static int GetIndirectionLevels(this ReadOnlySpan cType) => public static void GetTypeDetails( this ReadOnlySpan cType, Span mutability, - out int outerCount + out int outerCount, + Dictionary? symbolMap = null ) { outerCount = 0; @@ -52,18 +54,18 @@ out int outerCount { do { - var num = cType[(idx + 1)..]; - if (num.IndexOf(']') is not -1 and var j) + var arraySize = cType[(idx + 1)..]; + if (arraySize.IndexOf(']') is not -1 and var j) { - num = num[..j]; - idx += num.Length + 2; // + 1 for [, + 1 again for ] + arraySize = arraySize[..j]; + idx += arraySize.Length + 2; // + 1 for [, + 1 again for ] } else { - idx += num.Length; + idx += arraySize.Length; } - if (num.Length == 0) + if (arraySize.Length == 0) { break; } @@ -75,7 +77,30 @@ out int outerCount outerCount = 1; } - outerCount *= int.Parse(num); + var resolutionAttempts = 0; + int parsedArraySize; + const int maxResolutionAttempts = 10; + while (!int.TryParse(arraySize, out parsedArraySize)) + { + if ( + resolutionAttempts > maxResolutionAttempts + || symbolMap == null + || !symbolMap.TryGetAlternateLookup>( + out var spanSymbolMap + ) + || !spanSymbolMap.TryGetValue(arraySize, out var newArraySize) + ) + { + throw new InvalidOperationException( + $"Failed to determine outer array size for C type: {cType}" + ); + } + + arraySize = newArraySize; + resolutionAttempts++; + } + + outerCount *= parsedArraySize; } while (idx < cType.Length && cType[idx] == '['); idx = cType.LastIndexOf(']'); } @@ -167,9 +192,20 @@ out int outerCount { foreach (var provider in metadataProviders) { - if (provider.TryGetChildSymbolMetadata(jobKey, parentSymbol, childSymbol, out var childMetadata)) + if ( + provider.TryGetChildSymbolMetadata( + jobKey, + parentSymbol, + childSymbol, + out var childMetadata + ) + ) { - foreach (var child in childMetadata.Where(x => filter.Invoke((x, MetadataSources.Child)))) + foreach ( + var child in childMetadata.Where(x => + filter.Invoke((x, MetadataSources.Child)) + ) + ) { foundChildMetadata = true; yield return child; diff --git a/sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs b/sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs index ef3dc483fe..5233f5de5a 100644 --- a/sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs +++ b/sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs @@ -35,6 +35,17 @@ public partial class MixKhronosData( internal ConcurrentDictionary Jobs = new(); private static readonly char[] _listSeparators = { ',', '|', '+' }; + private class NameAffixes + { + public const string KhronosFunctionDataType = "KhronosFunctionDataType"; + public const string KhronosHandleType = "KhronosHandleType"; + public const string KhronosImpliedVendor = "KhronosImpliedVendor"; + public const string KhronosNamespaceEnum = "KhronosNamespaceEnum"; + public const string KhronosNonExclusiveVendor = "KhronosNonExclusiveVendor"; + public const string KhronosNonVendor = "KhronosNonVendor"; + public const string KhronosVendor = "KhronosVendor"; + } + internal class JobData { /// @@ -56,6 +67,7 @@ internal class JobData /// /// This is OpenGL and OpenCL specific. /// + // TODO: Due to historical reasons, this is keyed by the managed name of the enum. We should use the native name as the key instead since the native name does not change. public Dictionary Groups { get; } = []; /// @@ -125,6 +137,14 @@ public Dictionary< /// A mapping from struct type to information about the structure type member. /// public Dictionary StructureTypeMembers = []; + + /// + /// Whether the API is determined to be likely in OpenCL's style. + /// + /// + /// OpenCL differs strongly from the rest of the Khronos APIs so this is used to special case some functionality. + /// + public bool IsLikelyOpenCL { get; set; } = false; } /// @@ -162,7 +182,7 @@ public record Configuration /// For example, VkFlags and VkFlags64 for Vulkan. /// /// - /// This mainly affects remappings. + /// This mainly affects the auto-injected ClangSharp remappings. /// If some flags types are showing as integral types instead of their proper type, make sure this property is configured. /// public string[] FlagsTypes { get; init; } = []; @@ -454,15 +474,23 @@ public async Task ExecuteAsync(IModContext ctx, CancellationToken ct = default) } // Rewrite phase 3 - var rewriter3 = new RewriterPhase3(jobData, currentConfig); - foreach (var docId in proj.DocumentIds) { - var doc = - proj.GetDocument(docId) ?? throw new InvalidOperationException("Document missing"); - proj = doc.WithSyntaxRoot( - rewriter3.Visit(await doc.GetSyntaxRootAsync(ct)) - ?? throw new InvalidOperationException("Visit returned null.") - ).Project; + // OpenCL uses lower snake case names + var vendorSuffixComparison = jobData.IsLikelyOpenCL + ? StringComparison.OrdinalIgnoreCase + : StringComparison.Ordinal; + + var rewriter3 = new RewriterPhase3(jobData, currentConfig, vendorSuffixComparison); + foreach (var docId in proj.DocumentIds) + { + var doc = + proj.GetDocument(docId) + ?? throw new InvalidOperationException("Document missing"); + proj = doc.WithSyntaxRoot( + rewriter3.Visit(await doc.GetSyntaxRootAsync(ct)) + ?? throw new InvalidOperationException("Visit returned null.") + ).Project; + } } // Rewrite phase 4 @@ -1604,29 +1632,60 @@ jobKey is null } /// - /// This regex matches against known OpenGL function endings, picking them out from function names. + /// This regex matches against known OpenGL function data type suffixes. /// It is comprised of two parts - the main matching set (here, the main capturing group), and a negative /// lookbehind workaround for difficult-to-match names. The primary set matches the actual function ending, /// while the lookbehind asserts that the ending match will not overreach into the end of a word. /// // NOTE: LET THIS BE A LESSON! Do NOT add x (fixed) here, these will frequently conflict with integer overloads. [GeneratedRegex("(? - /// This regex acts like a whitelist for endings that could have been matched in some way by the main - /// expression, but should be exempt from trimming altogether. + /// This regex is used by to identify cases where suffix identification + /// might have identified more than it should have. /// - // Rewindv is to prevent Rewindv from being trimmed as Rewin - // TODO: Consider replacing this with something that prevents a list of words from being trimmed into instead of not being trimmed at all + /// + /// This is configured to return rightmost matches first because we only care about the last match. + /// [GeneratedRegex( - "(sh|ib|[tdrey]s|(? + /// Returns whether the identified suffix can be identified by + /// checking against the regex. + /// + /// + /// This is currently used when identifying function data types and vendor suffixes. + /// + private static bool CanIdentifySuffix(string name, int identifiedSuffixLength) + { + var match = EndingsToNotIdentifyInto().Match(name); + if (!match.Success) + { + return true; + } + + // End of matched region must be before the suffix + if (match.Index + match.Length <= name.Length - identifiedSuffixLength) + { + return true; + } + + return false; + } /// /// This rewriter focuses on adding missing enums. @@ -1641,12 +1700,12 @@ jobKey is null private class RewriterPhase1(JobData job, ILogger logger) : CSharpSyntaxRewriter { /// - /// Tracks enum groups that already exist in the project, prior to the generation of missing enums. + /// Tracks enum groups that already exist in the project by their native name, prior to the generation of missing enums. /// public HashSet AlreadyPresentGroups { get; } = []; /// - /// Tracks enums that exist in the project. + /// Tracks enums that exist in the project by their native name. /// Note that this includes any enum, including enums not present in . /// public HashSet AllKnownEnums { get; } = []; @@ -1656,27 +1715,27 @@ private class RewriterPhase1(JobData job, ILogger logger) : CSharpSyntaxRewriter var results = new List<(string FilePath, SyntaxNode Node)>(); // Generate initial syntax trees - foreach (var (groupName, groupInfo) in job.Groups) + foreach (var group in job.Groups.Values) { - if (!AlreadyPresentGroups.Contains(groupName)) + if (!AlreadyPresentGroups.Contains(group.NativeName)) { - var baseType = groupInfo.BaseType ?? groupName; + var baseType = group.BaseType ?? group.NativeName; while (job.TypeMap.TryGetValue(baseType, out var ty)) { baseType = ty; } - if (baseType == groupName) + if (baseType == group.NativeName) { logger?.LogError( "Enum \"{}\" has no base type. Please add TypeMap entry to the configuration. " + "This enum group will be skipped.", - groupName + group.NativeName ); continue; } - var ns = groupInfo + var ns = group .Enums.Select(x => x.NamespaceFromSyntaxNode()) .Distinct() .Select((x, i) => (x, i)) @@ -1692,23 +1751,23 @@ private class RewriterPhase1(JobData job, ILogger logger) : CSharpSyntaxRewriter logger?.LogError( "Enum \"{}\" has no namespace. Please add Namespace to the configuration. " + "This enum group will be skipped.", - groupName + group.NativeName ); continue; } - AllKnownEnums.Add(groupName); + AllKnownEnums.Add(group.NativeName); var attributes = SingletonList( AttributeList([Attribute(IdentifierName("Transformed"))]) ); - attributes = attributes.WithNativeName(groupInfo.NativeName); + attributes = attributes.WithNativeName(group.NativeName); var baseTypeSyntax = ParseTypeName(baseType); results.Add( ( - $"Enums/{groupName}.gen.cs", + $"Enums/{group.Name}.gen.cs", CompilationUnit() .WithMembers( SingletonList( @@ -1717,7 +1776,7 @@ private class RewriterPhase1(JobData job, ILogger logger) : CSharpSyntaxRewriter ) .WithMembers( SingletonList( - EnumDeclaration(groupName) + EnumDeclaration(group.Name) .WithModifiers( TokenList( Token(SyntaxKind.PublicKeyword) @@ -1731,7 +1790,7 @@ private class RewriterPhase1(JobData job, ILogger logger) : CSharpSyntaxRewriter ) .WithMembers( SeparatedList( - groupInfo.Enums.Select(x => + group.Enums.Select(x => EnumMemberDeclaration( x.Identifier.ToString() ) @@ -1776,7 +1835,7 @@ private class RewriterPhase1(JobData job, ILogger logger) : CSharpSyntaxRewriter public override SyntaxNode? VisitEnumDeclaration(EnumDeclarationSyntax node) { // Track which enums already exist - var identifier = node.Identifier.ToString(); + var identifier = node.AttributeLists.GetNativeNameOrDefault(node.Identifier); identifier = identifier.Replace("FlagBits", "Flags"); AllKnownEnums.Add(identifier); @@ -1981,7 +2040,11 @@ private bool TryGetManagedEnumType( /// /// This rewriter identifies and extracts vendor extension suffixes into [NameSuffix] attributes. /// - private class RewriterPhase3(JobData job, Configuration config) : CSharpSyntaxRewriter + private class RewriterPhase3( + JobData job, + Configuration config, + StringComparison vendorSuffixComparison + ) : CSharpSyntaxRewriter { private SyntaxList ProcessAndGetNewAttributes( SyntaxList attributeLists, @@ -2000,7 +2063,12 @@ private SyntaxList ProcessAndGetNewAttributes( { trimmedName = trimmedName[..^handleSuffix.Length]; attributeLists = attributeLists - .AddNameAffix(NameAffixType.Suffix, "KhronosHandleType", handleSuffix, true) + .AddNameAffix( + NameAffixType.Suffix, + NameAffixes.KhronosHandleType, + handleSuffix, + true + ) .WithNativeName(trimmedName); } } @@ -2010,14 +2078,18 @@ private SyntaxList ProcessAndGetNewAttributes( // Try to identify vendor suffixes foreach (var vendor in job.Vendors) { - if (trimmedName.EndsWith(vendor)) + if ( + trimmedName.EndsWith(vendor, vendorSuffixComparison) + && CanIdentifySuffix(trimmedName, vendor.Length) + ) { + var identifiedSuffix = trimmedName[^vendor.Length..]; attributeLists = attributeLists.AddNameAffix( NameAffixType.Suffix, - "KhronosVendor", - vendor + NameAffixes.KhronosVendor, + identifiedSuffix ); - trimmedName = trimmedName[..^vendor.Length]; + trimmedName = trimmedName[..^identifiedSuffix.Length]; break; } @@ -2032,38 +2104,39 @@ private SyntaxList ProcessAndGetNewAttributes( // Try to identify non-vendor suffixes foreach (var suffix in config.NonVendorSuffixes) { - if (trimmedName.EndsWith(suffix)) + if ( + trimmedName.EndsWith(suffix) + && CanIdentifySuffix(trimmedName, suffix.Length) + ) { + var identifiedSuffix = trimmedName[^suffix.Length..]; attributeLists = attributeLists.AddNameAffix( NameAffixType.Suffix, - "KhronosNonVendor", - suffix, + NameAffixes.KhronosNonVendor, + identifiedSuffix, true ); - trimmedName = trimmedName[..^suffix.Length]; + trimmedName = trimmedName[..^identifiedSuffix.Length]; break; } } // Try to identify data type suffixes - if (config.IdentifyFunctionDataTypes) + if ( + config.IdentifyFunctionDataTypes + && FunctionDataTypesToIdentify().Match(trimmedName) is { Success: true } match + && CanIdentifySuffix(trimmedName, match.Length) + ) { - if ( - EndingsToTrim().Match(trimmedName) is { Success: true } match // Check if we end in a data type suffix - && !EndingsNotToTrim().IsMatch(trimmedName) - ) // Check if the ending is excluded - { - var dataTypeSuffix = trimmedName[match.Index..]; - trimmedName = trimmedName[..match.Index]; - - attributeLists = attributeLists.AddNameAffix( - NameAffixType.Suffix, - "KhronosFunctionDataType", - dataTypeSuffix, - true - ); - } + var identifiedSuffix = trimmedName[match.Index..]; + attributeLists = attributeLists.AddNameAffix( + NameAffixType.Suffix, + NameAffixes.KhronosFunctionDataType, + identifiedSuffix, + true + ); + trimmedName = trimmedName[..^identifiedSuffix.Length]; } } @@ -2106,9 +2179,11 @@ public override SyntaxNode VisitEnumDeclaration(EnumDeclarationSyntax node) var groupInfo = job.Groups.GetValueOrDefault(managedTypeName); - var typeVendor = job.Vendors.FirstOrDefault(nativeTypeName.EndsWith); + var typeVendor = job.Vendors.FirstOrDefault(s => + managedTypeName.EndsWith(s, vendorSuffixComparison) + ); var hasTypeSuffix = typeVendor != null; - var vendorAffixType = "KhronosVendor"; + var vendorAffixType = NameAffixes.KhronosVendor; // Identify the namespace enum // Eg: GLEnum, ALEnum @@ -2117,7 +2192,7 @@ public override SyntaxNode VisitEnumDeclaration(EnumDeclarationSyntax node) node = node.WithAttributeLists( node.AttributeLists.AddNameAffix( NameAffixType.Prefix, - "KhronosNamespaceEnum", + NameAffixes.KhronosNamespaceEnum, groupInfo.Namespace ) ); @@ -2127,7 +2202,10 @@ public override SyntaxNode VisitEnumDeclaration(EnumDeclarationSyntax node) var exclusiveVendor = groupInfo?.ExclusiveVendor ?? typeVendor; if ( exclusiveVendor == null - || !node.Members.All(member => member.Identifier.Text.EndsWith(exclusiveVendor)) + || !node.Members.All(member => + member.Identifier.Text.EndsWith(exclusiveVendor, vendorSuffixComparison) + && CanIdentifySuffix(member.Identifier.Text, exclusiveVendor.Length) + ) ) { // Not all enum members share the exclusive vendor @@ -2153,7 +2231,7 @@ public override SyntaxNode VisitEnumDeclaration(EnumDeclarationSyntax node) if (isVendorMismatch && isSafeToTrimType) { // Identify the affix as a non exclusive vendor since it isn't actually exclusive - vendorAffixType = "KhronosNonExclusiveVendor"; + vendorAffixType = NameAffixes.KhronosNonExclusiveVendor; // Assume that non exclusive vendor suffixes are trimmed hasTypeSuffix = false; @@ -2167,7 +2245,7 @@ public override SyntaxNode VisitEnumDeclaration(EnumDeclarationSyntax node) node.AttributeLists.AddNameAffix( NameAffixType.Suffix, vendorAffixType, - typeVendor, + managedTypeName[^typeVendor.Length..], true ) ); @@ -2176,13 +2254,11 @@ public override SyntaxNode VisitEnumDeclaration(EnumDeclarationSyntax node) // Check if the enum contains unsuffixed members var containsUnsuffixedMembers = node.Members.Any(member => { - var memberName = member.AttributeLists.GetNativeNameOrDefault(member.Identifier); - if (job.Vendors.FirstOrDefault(memberName.EndsWith) == null) - { - return true; - } - - return false; + var memberName = member.Identifier.Text; + return !job.Vendors.Any(vendor => + memberName.EndsWith(vendor, vendorSuffixComparison) + && CanIdentifySuffix(memberName, vendor.Length) + ); }); // We should not identify member suffixes for trimming if the enum type already contains unsuffixed members @@ -2208,18 +2284,19 @@ public override SyntaxNode VisitEnumDeclaration(EnumDeclarationSyntax node) [ .. node.Members.Select(member => { + var memberName = member.Identifier.Text; + if ( - member - .AttributeLists.GetNativeNameOrDefault(member.Identifier) - .EndsWith(typeVendor) + memberName.EndsWith(typeVendor, vendorSuffixComparison) + && CanIdentifySuffix(memberName, typeVendor.Length) ) { // Identify for trimming return member.WithAttributeLists( member.AttributeLists.AddNameAffix( NameAffixType.Suffix, - "KhronosImpliedVendor", - typeVendor, + NameAffixes.KhronosImpliedVendor, + member.Identifier.Text[^typeVendor.Length..], true ) ); @@ -2369,7 +2446,7 @@ internal void ReadGroups(XDocument doc, JobData data, HashSet vendors) // this information will mostly be used to enhance the enums scraped from the headers (eg: native name and bitmask information). var anyNamespaced = doc.Element("registry")?.Elements("enums").Attributes("namespace").Any() ?? false; - var likelyOpenCL = false; // OpenCL specific + var isLikelyOpenCL = false; // OpenCL specific var topLevelIntentionalExclusions = new HashSet(); // OpenCL specific // Parse enum groups @@ -2428,7 +2505,9 @@ internal void ReadGroups(XDocument doc, JobData data, HashSet vendors) groupName = groupName?.Replace("FlagBits", "Flags"); nativeName ??= groupName; - // Skip Vulkan API Constants since it is not an enum + // Skip constants since these aren't enums + // This was originally added to handle Vulkan's "API Constants" block + // Apparently OpenXR does not use any special annotation, so this misses that if (block.Attribute("type")?.Value == "constants") { continue; @@ -2455,7 +2534,12 @@ static bool IsUngroupable(string groupName) => // https://github.com/dotnet/Silk.NET/blob/d8919600/src/Core/Silk.NET.BuildTools/Converters/Readers/OpenCLReader.cs#L855-L870 if (!anyNamespaced && groupName is not null && !topLevelIntentionalExclusion) { - FixupGroupNameForOpenCL(ref groupName, ref likelyOpenCL, ref isBitmask); + FixupGroupNameForOpenCL( + ref groupName, + ref nativeName, + ref isLikelyOpenCL, + ref isBitmask + ); } // Initialize the group before enum members are parsed below @@ -2477,7 +2561,7 @@ static bool IsUngroupable(string groupName) => BaseType = baseType, IsDefinitelyBitmask = isBitmask, - ExclusiveVendor = VendorFromString(groupName, vendors), + ExclusiveVendor = VendorFromEnumName(groupName, vendors), Namespace = enumNamespace, }; } @@ -2509,7 +2593,7 @@ static bool IsUngroupable(string groupName) => ); // Get the vendor (if the enum name ends with a vendor that is). - var memberVendor = VendorFromString(memberName, vendors); + var memberVendor = VendorFromEnumName(memberName, vendors); // Add the enum member to the namespace enum, the main enum group, and its additional OpenGL-style groups var memberGroupNames = new HashSet(); @@ -2580,6 +2664,30 @@ memberVendor is not null ) .ToHashSet(); + // Gather symbol data for symbol lookups when reading function annotations + // This was added to handle OpenXR's XML spec + var symbolMap = new Dictionary(); + { + var nodes = doc.Elements("registry").Elements("enums").Elements("enum"); + nodes = nodes.Concat( + doc.Elements("registry") + .Elements("extensions") + .Elements("extension") + .Elements("require") + .Elements("enum") + ); + + foreach (var node in nodes) + { + var name = node.Attribute("name")?.Value; + var value = node.Attribute("value")?.Value; + if (name != null && value != null) + { + symbolMap[name] = value; + } + } + } + // Read the annotations from the functions foreach (var func in doc.Elements("registry").Elements("commands").Elements("command")) { @@ -2639,7 +2747,7 @@ void AddData(XElement? element, string applicableSymbol) var indirection = element?.Value.AsSpan().GetIndirectionLevels() ?? 0; Span mutability = stackalloc bool[indirection + 1]; var outerCount = 0; - element?.Value.AsSpan().GetTypeDetails(mutability, out outerCount); + element?.Value.AsSpan().GetTypeDetails(mutability, out outerCount, symbolMap); if ( (grp is not null && data.Groups.ContainsKey(grp)) || handle is not null @@ -2687,73 +2795,40 @@ void AddData(XElement? element, string applicableSymbol) } // The relative sanity of the other specs stops here. - if (!likelyOpenCL) + data.IsLikelyOpenCL = isLikelyOpenCL; + if (!isLikelyOpenCL) { return; } - // Add empty enums that are defined in the C headers but have no members (yet). - // This is also used as a type hinting stage. - foreach ( - var @enum in doc.Elements("registry") - .Elements("types") - .Elements("type") - .Where(e => - e.Elements("type").SingleOrDefault()?.Value is "cl_bitfield" or "cl_properties" - ) - .Elements("name") - ) + // Update enum type information + // This also adds enum defined in the XML, but do not have members yet + foreach (var typeNode in doc.Elements("registry").Elements("types").Elements("type")) { - // We don't have to do horrible string manipulation here because this ends up in the actual C header, so - // it's actually correct for once. - if (!data.Groups.ContainsKey(@enum.Value)) + var name = typeNode.Element("name")?.Value; + var baseType = typeNode.Element("type")?.Value; + if (name is null || (baseType != "cl_bitfield" && baseType != "cl_properties")) { - data.Groups[@enum.Value] = new EnumGroup() - { - Name = @enum.Value, - NativeName = @enum.Value, - // cl_properties and cl_bitfield are both cl_ulong which is ulong - // We currently use cl_bitfield to represent the backing type of OpenCL enums - // Decision was made here: https://github.com/dotnet/Silk.NET/pull/2534#discussion_r2686840153 - BaseType = "cl_bitfield", - - IsDefinitelyBitmask = @enum.Parent?.Element("type")?.Value == "cl_bitfield", - ExclusiveVendor = VendorFromString(@enum.Value, vendors), - }; + continue; } - } - void FixupGroupNameForOpenCL( - ref string groupName, - ref bool isLikelyOpenCL, - ref bool isBitmask - ) - { - if (groupName.StartsWith("ErrorCodes") && groupName.Contains('.')) - { - groupName = "ErrorCodes"; - isLikelyOpenCL = true; - } - else if (groupName.EndsWith(".flags")) - { - // NOTE: I've actually gone ahead and disagreed with the original code here because why do we want to - // strip flags out of the name? There are only three instances of this in the spec currently: - // cl_arm_svm_alloc.flags, cl_arm_device_svm_capabilities.flags, and - // cl_intel_advanced_motion_estimation.flags - //groupName = groupName[..^".flags".Length]; - isBitmask = true; - isLikelyOpenCL = true; - } + // These type names are the same in the XML as they are in the C header, so no string manipulation required + data.Groups[name] = data.Groups.TryGetValue(name, out var existing) + ? existing with + { + BaseType = existing.BaseType ?? baseType, + IsDefinitelyBitmask = existing.IsDefinitelyBitmask || baseType == "cl_bitfield", + ExclusiveVendor = existing.ExclusiveVendor ?? VendorFromEnumName(name, vendors), + } + : new EnumGroup() + { + Name = name, + NativeName = name, + BaseType = baseType, - if (groupName.Contains('.')) - { - logger.LogDebug( - "OpenCL-style group name syntax: \"{}\" (replacing '.' with '_')", - groupName - ); - groupName = groupName.Replace('.', '_'); - isLikelyOpenCL = true; - } + IsDefinitelyBitmask = baseType == "cl_bitfield", + ExclusiveVendor = VendorFromEnumName(name, vendors), + }; } // Okay so this bit is absolutely freaking bonkers. We're using the attribute for @@ -2775,7 +2850,7 @@ var enumRequirement in (doc.Element("registry")?.Elements("feature") ?? []) "Expected \"name\" attribute on in tag." ); - var thisVendor = VendorFromString(enumName, vendors); + var thisVendor = VendorFromEnumName(enumName, vendors); // If we've already intentionally excluded this enum, don't change that now. L880 if (topLevelIntentionalExclusions.Contains(enumName)) @@ -2863,23 +2938,29 @@ is var splitList { // Just in case. var tempVar = false; - var groupStr = group; - FixupGroupNameForOpenCL(ref groupStr, ref likelyOpenCL, ref tempVar); + var groupName = group; + var nativeName = group; + FixupGroupNameForOpenCL( + ref groupName, + ref nativeName, + ref isLikelyOpenCL, + ref tempVar + ); // Update the group info if it doesn't exist. - if (data.Groups.TryGetValue(groupStr, out var groupInfo)) + if (data.Groups.TryGetValue(groupName, out var groupInfo)) { if (thisVendor is not null && groupInfo.ExclusiveVendor != thisVendor) { - data.Groups[groupStr] = groupInfo with { ExclusiveVendor = null }; + data.Groups[groupName] = groupInfo with { ExclusiveVendor = null }; } } else { - data.Groups[groupStr] = new EnumGroup() + data.Groups[groupName] = new EnumGroup() { - Name = groupStr, - NativeName = groupStr, + Name = groupName, + NativeName = nativeName ?? groupName, IsDefinitelyBitmask = (typeStr is not null && typeStr.Contains("bitfield")) @@ -2895,16 +2976,155 @@ is var splitList } // Mark this enum. - enumToGroups.Add(groupStr); + enumToGroups.Add(groupName); + } + } + + // Post-process the OpenCL group names + // + // This targets names like cl_intel_advanced_motion_estimation.cl_motion_detect_desc_intel, + // which becomes cl_advanced_motion_estimation_motion_detect_desc_intel after transformation. + // + // We can do this transformation here because these enum types + // will never be output by ClangScraper due to the naming scheme. + // This has the benefit of avoiding a symbol-based rename later. + { + // Hardcoding because we know this is OpenCL + // We also make a lot of assumptions about the format of the relevant names + const string globalPrefix = "cl_"; + + // Filter for relevant names + var groups = data + .Groups.Values.Where(group => + group.NativeName.Contains('.') + && group.NativeName.StartsWith(globalPrefix) + && group.NativeName.All(c => !char.IsUpper(c)) + ) + .ToList(); + + var groupsToRename = new Dictionary(); + foreach (var group in groups) + { + // Split into sections + var sections = group.NativeName.Split('.'); + + // Remove global prefix from each section + for (var i = 0; i < sections.Length; i++) + { + ref var section = ref sections[i]; + if (section.StartsWith(globalPrefix)) + { + section = section[globalPrefix.Length..]; + } + } + + // Look for vendor prefixes/suffixes in each section and remove them + // Assume that names will not have two different vendors + string? identifiedVendor = null; + foreach (var vendor in data.Vendors) + { + var lowercaseVendor = vendor.ToLower(); + for (var i = 0; i < sections.Length; i++) + { + ref var section = ref sections[i]; + if (section.StartsWith(lowercaseVendor)) + { + identifiedVendor = vendor; + section = section[(lowercaseVendor.Length + 1)..]; + } + + if (section.EndsWith(lowercaseVendor)) + { + identifiedVendor = vendor; + section = section[..^(lowercaseVendor.Length + 1)]; + } + } + } + + // Assemble new name + var newName = $"{globalPrefix}{string.Join('_', sections)}"; + if (identifiedVendor != null) + { + newName = $"{newName}_{identifiedVendor.ToLowerInvariant()}"; + } + + groupsToRename[group.Name] = newName; } + + // Apply renames + foreach (var (oldName, newName) in groupsToRename) + { + data.Groups[newName] = data.Groups[oldName] with { Name = newName }; + data.Groups.Remove(oldName); + + foreach (var groupMapping in data.EnumsToGroups.Values) + { + if (groupMapping.Remove(oldName)) + { + groupMapping.Add(newName); + } + } + } + } + } + + /// + /// This normalizes some inconsistencies that the OpenCL group names have compared to the other Khronos XML specs. + /// + /// + /// Currently only intended to be used by . + /// + private void FixupGroupNameForOpenCL( + ref string groupName, + ref string? nativeName, + ref bool isLikelyOpenCL, + ref bool isBitmask + ) + { + // Merge all ErrorCodes blocks + if (groupName.StartsWith("ErrorCodes") && groupName.Contains('.')) + { + groupName = "ErrorCodes"; + nativeName = "ErrorCodes"; + isLikelyOpenCL = true; + } + + if (groupName.EndsWith(".flags")) + { + // NOTE from Perksey: I've actually gone ahead and disagreed with the original code here because why do we want to + // strip flags out of the name? There are only three instances of this in the spec currently: + // cl_arm_svm_alloc.flags, cl_arm_device_svm_capabilities.flags, and + // cl_intel_advanced_motion_estimation.flags + + // groupName = groupName[..^".flags".Length]; + isBitmask = true; + isLikelyOpenCL = true; + } + + if (groupName.Contains('.')) + { + logger.LogDebug( + "OpenCL-style group name syntax: \"{}\" (replacing '.' with '_')", + groupName + ); + groupName = groupName.Replace('.', '_'); + isLikelyOpenCL = true; } } - private static string? VendorFromString(string str, HashSet vendors) => - str.LastIndexOf('_') is > 0 and var idx - && idx < str.Length - && str[idx..].ToUpper() is var vend - && vendors.Contains(vend) - ? vend + /// + /// Extracts the vendor suffix from an enum type or enum member name. + /// + /// + /// Also handles OpenCL-style names, which are in lower snake case instead of upper snake case. + /// + /// Currently only intended to be used by . + /// has an implementation that works for both enum and non-enum names, but behaves differently. + /// + private static string? VendorFromEnumName(string name, HashSet vendors) => + name.LastIndexOf('_') is > 0 and var idx + && name[idx..].ToUpper() is var vendor + && vendors.Contains(vendor) + ? vendor : null; } diff --git a/sources/SilkTouch/SilkTouch/Mods/PrettifyNames.cs b/sources/SilkTouch/SilkTouch/Mods/PrettifyNames.cs index 131311c7bb..aa0cc8d31d 100644 --- a/sources/SilkTouch/SilkTouch/Mods/PrettifyNames.cs +++ b/sources/SilkTouch/SilkTouch/Mods/PrettifyNames.cs @@ -68,6 +68,15 @@ public record NameAffixConfiguration /// public bool Prettify { get; init; } = false; + /// + /// Whether the affix should be fully capitalized. + /// Defaults to false. + /// + /// + /// Applies after , if is also enabled. + /// + public bool Capitalize { get; init; } = false; + /// /// The order with which the affix is applied. /// @@ -199,10 +208,10 @@ await proj.GetCompilationAsync(ct) var typeNames = newNames.GetValueOrDefault("", []); var typeNamesLongestFirst = typeNames.OrderByDescending(x => x.Key.Length).ToArray(); - var documentPaths = proj - .Documents.Select(d => d.RelativePath()) - .Where(d => d != null) - .ToHashSet(); + var documentPaths = new HashSet( + proj.Documents.Select(d => d.RelativePath()).Where(d => d != null), + StringComparer.OrdinalIgnoreCase // Also handle casing differences + ); foreach (var docId in proj.DocumentIds) { @@ -244,7 +253,10 @@ await proj.GetCompilationAsync(ct) if (!documentPaths.Add(newPath)) { logger.LogError( - $"{originalName} -> {doc.Name} failed to rename file as a file already exists at {newPath}" + "Refusing to rename doc from {OldName} to {NewNew} since another document already exists at {Path}", + originalName, + doc.Name, + newPath ); continue; @@ -638,7 +650,7 @@ Dictionary config { private readonly record struct MemberKey(string Scope, string Member); - private readonly record struct NameFragment(string Value, bool Prettify); + private readonly record struct NameFragment(string Value, bool Prettify, bool Capitalize); private static readonly NameAffixConfiguration _defaultConfig = new(); @@ -920,7 +932,7 @@ NameProcessorContext context } ); - var nameFragments = new List { new(baseName, false) }; + var nameFragments = new List { new(baseName, false, false) }; foreach (var affix in affixes) { var affixValue = affix.Affix; @@ -944,7 +956,11 @@ out _ var affixConfig = GetConfiguration(affix); if (!affixConfig.Remove) { - var fragment = new NameFragment(affixValue, affixConfig.Prettify); + var fragment = new NameFragment( + affixValue, + affixConfig.Prettify, + affixConfig.Capitalize + ); if (affix.Type == NameAffixType.Prefix) { @@ -959,50 +975,23 @@ out _ // Build result by merging fragments var result = ""; - var previousFragment = new NameFragment("", false); - foreach (var nameFragment in nameFragments) + foreach (var fragment in nameFragments) { - switch (previousFragment.Prettify, nameFragment.Prettify) + var fragmentValue = fragment.Value; + if (fragment.Prettify) { - case (true, true): - { - previousFragment = new NameFragment( - $"{previousFragment.Value}_{nameFragment.Value}", - true - ); - break; - } - case (false, false): - { - previousFragment = new NameFragment( - $"{previousFragment.Value}{nameFragment.Value}", - false - ); - break; - } - default: - { - OutputFragment(previousFragment); - previousFragment = nameFragment; - break; - } + fragmentValue = namePrettifier.Prettify(fragmentValue, true); } - } - - OutputFragment(previousFragment); - return result; - - void OutputFragment(NameFragment fragment) - { - var fragmentValue = fragment.Value; - if (previousFragment.Prettify) + if (fragment.Capitalize) { - fragmentValue = namePrettifier.Prettify(fragmentValue, true); + fragmentValue = fragmentValue.ToUpperInvariant(); } result += fragmentValue; } + + return result; } /// diff --git a/sources/SilkTouch/SilkTouch/Mods/TransformHandles.cs b/sources/SilkTouch/SilkTouch/Mods/TransformHandles.cs index e722c105a4..a8f223aa22 100644 --- a/sources/SilkTouch/SilkTouch/Mods/TransformHandles.cs +++ b/sources/SilkTouch/SilkTouch/Mods/TransformHandles.cs @@ -233,9 +233,7 @@ public override SyntaxNode VisitStructDeclaration(StructDeclarationSyntax node) var structName = node.Identifier.Text; return node.WithIdentifier(Identifier(structName)) .WithAttributeLists( - new SyntaxList() - .WithNativeName(structName) - .AddNameAffix(NameAffixType.Suffix, "HandleType", "Handle") + node.AttributeLists.AddNameAffix(NameAffixType.Suffix, "HandleType", "Handle") ) .WithMembers( List( diff --git a/sources/SilkTouch/SilkTouch/Program.cs b/sources/SilkTouch/SilkTouch/Program.cs index bd498399a1..3bf6a8c3c9 100644 --- a/sources/SilkTouch/SilkTouch/Program.cs +++ b/sources/SilkTouch/SilkTouch/Program.cs @@ -16,7 +16,7 @@ internal class Program private static Option SkipOption { get; } = new(["--skip", "-s"], Array.Empty) { - Description = "A list of job names to skip. Takes precedence over --only.", + Description = "A list of job names to skip. Takes precedence over --only.", Arity = ArgumentArity.ZeroOrMore, }; diff --git a/sources/Vulkan/Vulkan/Enums/AccessFlags2.gen.cs b/sources/Vulkan/Vulkan/Enums/AccessFlags2.gen.cs index 823e94cfa4..d220925410 100644 --- a/sources/Vulkan/Vulkan/Enums/AccessFlags2.gen.cs +++ b/sources/Vulkan/Vulkan/Enums/AccessFlags2.gen.cs @@ -81,6 +81,12 @@ public enum AccessFlags2 : ulong [NativeName("VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR")] VideoDecodeWriteBitKHR = 0x1000000000, + [NativeName("VK_ACCESS_2_SAMPLER_HEAP_READ_BIT_EXT")] + SamplerHeapReadBitEXT = 0x200000000000000, + + [NativeName("VK_ACCESS_2_RESOURCE_HEAP_READ_BIT_EXT")] + ResourceHeapReadBitEXT = 0x400000000000000, + [NativeName("VK_ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR")] VideoEncodeReadBitKHR = 0x2000000000, diff --git a/sources/Vulkan/Vulkan/Enums/BufferUsageFlags2.gen.cs b/sources/Vulkan/Vulkan/Enums/BufferUsageFlags2.gen.cs index cedda961ec..68939ea539 100644 --- a/sources/Vulkan/Vulkan/Enums/BufferUsageFlags2.gen.cs +++ b/sources/Vulkan/Vulkan/Enums/BufferUsageFlags2.gen.cs @@ -47,6 +47,15 @@ public enum BufferUsageFlags2 : ulong [NativeName("VK_BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX")] ExecutionGraphScratchBitAMDX = 0x2000000, + [NativeName("VK_BUFFER_USAGE_2_DESCRIPTOR_HEAP_BIT_EXT")] + DescriptorHeapBitEXT = 0x10000000, + + [NativeName("VK_BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT")] + MicromapBuildInputReadOnlyBitEXT = 0x800000, + + [NativeName("VK_BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT")] + MicromapStorageBitEXT = 0x1000000, + [NativeName("VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT_KHR")] TransferSrcBitKHR = 0x1, @@ -119,12 +128,6 @@ public enum BufferUsageFlags2 : ulong [NativeName("VK_BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT")] PushDescriptorsDescriptorBufferBitEXT = 0x4000000, - [NativeName("VK_BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT")] - MicromapBuildInputReadOnlyBitEXT = 0x800000, - - [NativeName("VK_BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT")] - MicromapStorageBitEXT = 0x1000000, - [NativeName("VK_BUFFER_USAGE_2_COMPRESSED_DATA_DGF1_BIT_AMDX")] CompressedDataDgf1BitAMDX = 0x200000000, diff --git a/sources/Vulkan/Vulkan/Enums/DataGraphPipelineSessionCreateFlagsARM.gen.cs b/sources/Vulkan/Vulkan/Enums/DataGraphPipelineSessionCreateFlagsARM.gen.cs index 70e0344688..0a64fb4b3b 100644 --- a/sources/Vulkan/Vulkan/Enums/DataGraphPipelineSessionCreateFlagsARM.gen.cs +++ b/sources/Vulkan/Vulkan/Enums/DataGraphPipelineSessionCreateFlagsARM.gen.cs @@ -16,4 +16,7 @@ public enum DataGraphPipelineSessionCreateFlagsARM : ulong [NativeName("VK_DATA_GRAPH_PIPELINE_SESSION_CREATE_PROTECTED_BIT_ARM")] ProtectedBit = 0x1, + + [NativeName("VK_DATA_GRAPH_PIPELINE_SESSION_CREATE_OPTICAL_FLOW_CACHE_BIT_ARM")] + OpticalFlowCacheBit = 0x2, } diff --git a/sources/Vulkan/Vulkan/Enums/FormatFeatureFlags2.gen.cs b/sources/Vulkan/Vulkan/Enums/FormatFeatureFlags2.gen.cs index 56506763e9..3f6a54c5c4 100644 --- a/sources/Vulkan/Vulkan/Enums/FormatFeatureFlags2.gen.cs +++ b/sources/Vulkan/Vulkan/Enums/FormatFeatureFlags2.gen.cs @@ -128,6 +128,9 @@ public enum FormatFeatureFlags2 : ulong [NativeName("VK_FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHR")] VideoEncodeDpbBitKHR = 0x10000000, + [NativeName("VK_FORMAT_FEATURE_2_BLOCK_MATCHING_SXD_BIT_QCOM")] + BlockMatchingSxdBitQCOM = 0x100000000000, + [NativeName("VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT_KHR")] SampledImageBitKHR = 0x1, @@ -260,6 +263,9 @@ public enum FormatFeatureFlags2 : ulong [NativeName("VK_FORMAT_FEATURE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR")] VideoEncodeEmphasisMapBitKHR = 0x4000000000000, + [NativeName("VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_2D_BIT_IMG")] + SampledImageFilterLinear2DBitIMG = 0x200000000000, + [NativeName("VK_FORMAT_FEATURE_2_DEPTH_COPY_ON_COMPUTE_QUEUE_BIT_KHR")] DepthCopyOnComputeQueueBitKHR = 0x10000000000000, @@ -271,4 +277,13 @@ public enum FormatFeatureFlags2 : ulong [NativeName("VK_FORMAT_FEATURE_2_STENCIL_COPY_ON_TRANSFER_QUEUE_BIT_KHR")] StencilCopyOnTransferQueueBitKHR = 0x80000000000000, + + [NativeName("VK_FORMAT_FEATURE_2_DATA_GRAPH_OPTICAL_FLOW_IMAGE_BIT_ARM")] + DataGraphOpticalFlowImageBitARM = 0x100000000000000, + + [NativeName("VK_FORMAT_FEATURE_2_DATA_GRAPH_OPTICAL_FLOW_VECTOR_BIT_ARM")] + DataGraphOpticalFlowVectorBitARM = 0x200000000000000, + + [NativeName("VK_FORMAT_FEATURE_2_DATA_GRAPH_OPTICAL_FLOW_COST_BIT_ARM")] + DataGraphOpticalFlowCostBitARM = 0x400000000000000, } diff --git a/sources/Vulkan/Vulkan/Enums/FormatFeatureFlags4KHR.gen.cs b/sources/Vulkan/Vulkan/Enums/FormatFeatureFlags4KHR.gen.cs new file mode 100644 index 0000000000..103d455c80 --- /dev/null +++ b/sources/Vulkan/Vulkan/Enums/FormatFeatureFlags4KHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkFormatFeatureFlags4KHR")] +[Flags] +public enum FormatFeatureFlags4KHR : ulong +{ + None = 0x0, +} diff --git a/sources/Vulkan/Vulkan/Enums/ImageCreateFlags2KHR.gen.cs b/sources/Vulkan/Vulkan/Enums/ImageCreateFlags2KHR.gen.cs new file mode 100644 index 0000000000..ca8b112238 --- /dev/null +++ b/sources/Vulkan/Vulkan/Enums/ImageCreateFlags2KHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkImageCreateFlags2KHR")] +[Flags] +public enum ImageCreateFlags2KHR : ulong +{ + None = 0x0, + + [NativeName("VK_IMAGE_CREATE_2_SPARSE_BINDING_BIT_KHR")] + SparseBindingBit = 0x1, + + [NativeName("VK_IMAGE_CREATE_2_SPARSE_RESIDENCY_BIT_KHR")] + SparseResidencyBit = 0x2, + + [NativeName("VK_IMAGE_CREATE_2_SPARSE_ALIASED_BIT_KHR")] + SparseAliasedBit = 0x4, + + [NativeName("VK_IMAGE_CREATE_2_MUTABLE_FORMAT_BIT_KHR")] + MutableFormatBit = 0x8, + + [NativeName("VK_IMAGE_CREATE_2_CUBE_COMPATIBLE_BIT_KHR")] + CubeCompatibleBit = 0x10, + + [NativeName("VK_IMAGE_CREATE_2_ALIAS_SINGLE_LAYER_DESCRIPTOR_BIT_KHR")] + AliasSingleLayerDescriptorBit = 0x400000, + + [NativeName("VK_IMAGE_CREATE_2_2D_ARRAY_COMPATIBLE_BIT_KHR")] + X2DArrayCompatibleBit = 0x20, + + [NativeName("VK_IMAGE_CREATE_2_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR")] + SplitInstanceBindRegionsBit = 0x40, + + [NativeName("VK_IMAGE_CREATE_2_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_KHR")] + BlockTexelViewCompatibleBit = 0x80, + + [NativeName("VK_IMAGE_CREATE_2_EXTENDED_USAGE_BIT_KHR")] + ExtendedUsageBit = 0x100, + + [NativeName("VK_IMAGE_CREATE_2_DISJOINT_BIT_KHR")] + DisjointBit = 0x200, + + [NativeName("VK_IMAGE_CREATE_2_ALIAS_BIT_KHR")] + AliasBit = 0x400, + + [NativeName("VK_IMAGE_CREATE_2_PROTECTED_BIT_KHR")] + ProtectedBit = 0x800, + + [NativeName("VK_IMAGE_CREATE_2_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT")] + SampleLocationsCompatibleDepthBitEXT = 0x1000, + + [NativeName("VK_IMAGE_CREATE_2_CORNER_SAMPLED_BIT_NV")] + CornerSampledBitNV = 0x2000, + + [NativeName("VK_IMAGE_CREATE_2_SUBSAMPLED_BIT_EXT")] + SubsampledBitEXT = 0x4000, + + [NativeName("VK_IMAGE_CREATE_2_FRAGMENT_DENSITY_MAP_OFFSET_BIT_EXT")] + FragmentDensityMapOffsetBitEXT = 0x8000, + + [NativeName("VK_IMAGE_CREATE_2_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT")] + DescriptorBufferCaptureReplayBitEXT = 0x10000, + + [NativeName("VK_IMAGE_CREATE_2_2D_VIEW_COMPATIBLE_BIT_EXT")] + X2DViewCompatibleBitEXT = 0x20000, + + [NativeName("VK_IMAGE_CREATE_2_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_BIT_EXT")] + MultisampledRenderToSingleSampledBitEXT = 0x40000, + + [NativeName("VK_IMAGE_CREATE_2_VIDEO_PROFILE_INDEPENDENT_BIT_KHR")] + VideoProfileIndependentBit = 0x100000, +} diff --git a/sources/Vulkan/Vulkan/Enums/ImageUsageFlags2KHR.gen.cs b/sources/Vulkan/Vulkan/Enums/ImageUsageFlags2KHR.gen.cs new file mode 100644 index 0000000000..f76c277dfa --- /dev/null +++ b/sources/Vulkan/Vulkan/Enums/ImageUsageFlags2KHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkImageUsageFlags2KHR")] +[Flags] +public enum ImageUsageFlags2KHR : ulong +{ + None = 0x0, + + [NativeName("VK_IMAGE_USAGE_2_TRANSFER_SRC_BIT_KHR")] + TransferSrcBit = 0x1, + + [NativeName("VK_IMAGE_USAGE_2_TRANSFER_DST_BIT_KHR")] + TransferDstBit = 0x2, + + [NativeName("VK_IMAGE_USAGE_2_SAMPLED_BIT_KHR")] + SampledBit = 0x4, + + [NativeName("VK_IMAGE_USAGE_2_STORAGE_BIT_KHR")] + StorageBit = 0x8, + + [NativeName("VK_IMAGE_USAGE_2_COLOR_ATTACHMENT_BIT_KHR")] + ColorAttachmentBit = 0x10, + + [NativeName("VK_IMAGE_USAGE_2_DEPTH_STENCIL_ATTACHMENT_BIT_KHR")] + DepthStencilAttachmentBit = 0x20, + + [NativeName("VK_IMAGE_USAGE_2_TRANSIENT_ATTACHMENT_BIT_KHR")] + TransientAttachmentBit = 0x40, + + [NativeName("VK_IMAGE_USAGE_2_INPUT_ATTACHMENT_BIT_KHR")] + InputAttachmentBit = 0x80, + + [NativeName("VK_IMAGE_USAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR")] + FragmentShadingRateAttachmentBit = 0x100, + + [NativeName("VK_IMAGE_USAGE_2_FRAGMENT_DENSITY_MAP_BIT_EXT")] + FragmentDensityMapBitEXT = 0x200, + + [NativeName("VK_IMAGE_USAGE_2_VIDEO_DECODE_DST_BIT_KHR")] + VideoDecodeDstBit = 0x400, + + [NativeName("VK_IMAGE_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR")] + VideoDecodeSrcBit = 0x800, + + [NativeName("VK_IMAGE_USAGE_2_VIDEO_DECODE_DPB_BIT_KHR")] + VideoDecodeDpbBit = 0x1000, + + [NativeName("VK_IMAGE_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR")] + VideoEncodeDstBit = 0x2000, + + [NativeName("VK_IMAGE_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR")] + VideoEncodeSrcBit = 0x4000, + + [NativeName("VK_IMAGE_USAGE_2_VIDEO_ENCODE_DPB_BIT_KHR")] + VideoEncodeDpbBit = 0x8000, + + [NativeName("VK_IMAGE_USAGE_2_INVOCATION_MASK_BIT_HUAWEI")] + InvocationMaskBitHUAWEI = 0x40000, + + [NativeName("VK_IMAGE_USAGE_2_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT")] + AttachmentFeedbackLoopBitEXT = 0x80000, + + [NativeName("VK_IMAGE_USAGE_2_SAMPLE_WEIGHT_BIT_QCOM")] + SampleWeightBitQCOM = 0x100000, + + [NativeName("VK_IMAGE_USAGE_2_SAMPLE_BLOCK_MATCH_BIT_QCOM")] + SampleBlockMatchBitQCOM = 0x200000, + + [NativeName("VK_IMAGE_USAGE_2_HOST_TRANSFER_BIT_KHR")] + HostTransferBit = 0x400000, + + [NativeName("VK_IMAGE_USAGE_2_TENSOR_ALIASING_BIT_ARM")] + TensorAliasingBitARM = 0x800000, + + [NativeName("VK_IMAGE_USAGE_2_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR")] + VideoEncodeQuantizationDeltaMapBit = 0x2000000, + + [NativeName("VK_IMAGE_USAGE_2_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR")] + VideoEncodeEmphasisMapBit = 0x4000000, + + [NativeName("VK_IMAGE_USAGE_2_TILE_MEMORY_BIT_QCOM")] + TileMemoryBitQCOM = 0x8000000, +} diff --git a/sources/Vulkan/Vulkan/Enums/PhysicalDeviceSchedulingControlsFlagsARM.gen.cs b/sources/Vulkan/Vulkan/Enums/PhysicalDeviceSchedulingControlsFlagsARM.gen.cs index 198d3c1ae1..d02bae52a5 100644 --- a/sources/Vulkan/Vulkan/Enums/PhysicalDeviceSchedulingControlsFlagsARM.gen.cs +++ b/sources/Vulkan/Vulkan/Enums/PhysicalDeviceSchedulingControlsFlagsARM.gen.cs @@ -16,4 +16,7 @@ public enum PhysicalDeviceSchedulingControlsFlagsARM : ulong [NativeName("VK_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_SHADER_CORE_COUNT_ARM")] ShaderCoreCount = 0x1, + + [NativeName("VK_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_DISPATCH_PARAMETERS_ARM")] + DispatchParameters = 0x2, } diff --git a/sources/Vulkan/Vulkan/Enums/PipelineCreateFlags2.gen.cs b/sources/Vulkan/Vulkan/Enums/PipelineCreateFlags2.gen.cs index a2118eae42..cbf1037675 100644 --- a/sources/Vulkan/Vulkan/Enums/PipelineCreateFlags2.gen.cs +++ b/sources/Vulkan/Vulkan/Enums/PipelineCreateFlags2.gen.cs @@ -44,9 +44,15 @@ public enum PipelineCreateFlags2 : ulong [NativeName("VK_PIPELINE_CREATE_2_EXECUTION_GRAPH_BIT_AMDX")] ExecutionGraphBitAMDX = 0x100000000, + [NativeName("VK_PIPELINE_CREATE_2_DESCRIPTOR_HEAP_BIT_EXT")] + DescriptorHeapBitEXT = 0x1000000000, + [NativeName("VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_BUILT_IN_PRIMITIVES_BIT_KHR")] RayTracingSkipBuiltInPrimitivesBitKHR = 0x1000, + [NativeName("VK_PIPELINE_CREATE_2_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT")] + RayTracingOpacityMicromapBitEXT = 0x1000000, + [NativeName("VK_PIPELINE_CREATE_2_RAY_TRACING_ALLOW_SPHERES_AND_LINEAR_SWEPT_SPHERES_BIT_NV")] RayTracingAllowSpheresAndLinearSweptSpheresBitNV = 0x200000000, @@ -125,9 +131,6 @@ public enum PipelineCreateFlags2 : ulong [NativeName("VK_PIPELINE_CREATE_2_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT")] RenderingFragmentDensityMapAttachmentBitEXT = 0x400000, - [NativeName("VK_PIPELINE_CREATE_2_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT")] - RayTracingOpacityMicromapBitEXT = 0x1000000, - [NativeName("VK_PIPELINE_CREATE_2_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT")] ColorAttachmentFeedbackLoopBitEXT = 0x2000000, @@ -149,6 +152,9 @@ public enum PipelineCreateFlags2 : ulong [NativeName("VK_PIPELINE_CREATE_2_DISALLOW_OPACITY_MICROMAP_BIT_ARM")] DisallowOpacityMicromapBitARM = 0x2000000000, + [NativeName("VK_PIPELINE_CREATE_2_INSTRUMENT_SHADERS_BIT_ARM")] + InstrumentShadersBitARM = 0x8000000000, + [NativeName("VK_PIPELINE_CREATE_2_CAPTURE_DATA_BIT_KHR")] CaptureDataBitKHR = 0x80000000, @@ -158,6 +164,12 @@ public enum PipelineCreateFlags2 : ulong [NativeName("VK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE")] PerLayerFragmentDensityBitVALVE = 0x10000000000, + [NativeName("VK_PIPELINE_CREATE_2_RAY_TRACING_OPACITY_MICROMAP_BIT_KHR")] + RayTracingOpacityMicromapBitKHR = 0x1000000, + + [NativeName("VK_PIPELINE_CREATE_2_OPACITY_MICROMAP_DISALLOW_MIXED_SPECIAL_INDEX_BIT_KHR")] + OpacityMicromapDisallowMixedSpecialIndexBitKHR = 0x20000000000, + [NativeName("VK_PIPELINE_CREATE_2_64_BIT_INDEXING_BIT_EXT")] X64BitIndexingBitEXT = 0x80000000000, } diff --git a/sources/Vulkan/Vulkan/Enums/TensorCreateFlagsARM.gen.cs b/sources/Vulkan/Vulkan/Enums/TensorCreateFlagsARM.gen.cs index 6f11d2ed28..d15b1e20c2 100644 --- a/sources/Vulkan/Vulkan/Enums/TensorCreateFlagsARM.gen.cs +++ b/sources/Vulkan/Vulkan/Enums/TensorCreateFlagsARM.gen.cs @@ -20,6 +20,9 @@ public enum TensorCreateFlagsARM : ulong [NativeName("VK_TENSOR_CREATE_PROTECTED_BIT_ARM")] ProtectedBit = 0x2, + [NativeName("VK_TENSOR_CREATE_DESCRIPTOR_HEAP_CAPTURE_REPLAY_BIT_ARM")] + DescriptorHeapCaptureReplayBit = 0x8, + [NativeName("VK_TENSOR_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_ARM")] DescriptorBufferCaptureReplayBit = 0x4, } diff --git a/sources/Vulkan/Vulkan/Handles/GpaSessionHandleAMD.gen.cs b/sources/Vulkan/Vulkan/Handles/GpaSessionHandleAMD.gen.cs new file mode 100644 index 0000000000..43707715e3 --- /dev/null +++ b/sources/Vulkan/Vulkan/Handles/GpaSessionHandleAMD.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkGpaSessionAMD")] +public readonly unsafe partial struct GpaSessionHandleAMD : IEquatable +{ + public readonly void* Handle; + + public GpaSessionHandleAMD(void* handle) + { + Handle = handle; + } + + public bool Equals(GpaSessionHandleAMD other) => Handle == other.Handle; + + public override bool Equals(object? obj) => obj is GpaSessionHandleAMD other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==(GpaSessionHandleAMD left, GpaSessionHandleAMD right) => + left.Equals(right); + + public static bool operator !=(GpaSessionHandleAMD left, GpaSessionHandleAMD right) => + !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(GpaSessionHandleAMD left, NullPtr right) => left.Equals(right); + + public static bool operator !=(GpaSessionHandleAMD left, NullPtr right) => !left.Equals(right); + + public static implicit operator GpaSessionHandleAMD(NullPtr _) => default; +} diff --git a/sources/Vulkan/Vulkan/Handles/ShaderInstrumentationHandleARM.gen.cs b/sources/Vulkan/Vulkan/Handles/ShaderInstrumentationHandleARM.gen.cs new file mode 100644 index 0000000000..f6075ef7f0 --- /dev/null +++ b/sources/Vulkan/Vulkan/Handles/ShaderInstrumentationHandleARM.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkShaderInstrumentationARM")] +public readonly unsafe partial struct ShaderInstrumentationHandleARM + : IEquatable +{ + public readonly void* Handle; + + public ShaderInstrumentationHandleARM(void* handle) + { + Handle = handle; + } + + public bool Equals(ShaderInstrumentationHandleARM other) => Handle == other.Handle; + + public override bool Equals(object? obj) => + obj is ShaderInstrumentationHandleARM other && Equals(other); + + public override int GetHashCode() => HashCode.Combine((nuint)Handle); + + public static bool operator ==( + ShaderInstrumentationHandleARM left, + ShaderInstrumentationHandleARM right + ) => left.Equals(right); + + public static bool operator !=( + ShaderInstrumentationHandleARM left, + ShaderInstrumentationHandleARM right + ) => !left.Equals(right); + + public bool Equals(NullPtr _) => Handle is null; + + public static bool operator ==(ShaderInstrumentationHandleARM left, NullPtr right) => + left.Equals(right); + + public static bool operator !=(ShaderInstrumentationHandleARM left, NullPtr right) => + !left.Equals(right); + + public static implicit operator ShaderInstrumentationHandleARM(NullPtr _) => default; +} diff --git a/sources/Vulkan/Vulkan/Vk.cs b/sources/Vulkan/Vulkan/Vk.cs index 0b9e8bc7bc..a18f28f3a4 100644 --- a/sources/Vulkan/Vulkan/Vk.cs +++ b/sources/Vulkan/Vulkan/Vk.cs @@ -16,18 +16,24 @@ public partial class Vk static Vk() { - LoaderInterface.RegisterHook(Assembly.GetExecutingAssembly()); LoaderInterface.RegisterAlternativeName("vulkan", "vulkan-1"); LoaderInterface.RegisterAlternativeName("vulkan", "MoltenVK"); } public unsafe partial class DllImport { - public static partial Result CreateInstance(InstanceCreateInfo* pCreateInfo, AllocationCallbacks* pAllocator, InstanceHandle* pInstance) - => CreateInstanceInternal(pCreateInfo, pAllocator, pInstance); - - public static partial Result CreateDevice(PhysicalDeviceHandle physicalDevice, DeviceCreateInfo* pCreateInfo, AllocationCallbacks* pAllocator, DeviceHandle* pDevice) - => CreateDeviceInternal(physicalDevice, pCreateInfo, pAllocator, pDevice); + public static partial Result CreateInstance( + InstanceCreateInfo* pCreateInfo, + AllocationCallbacks* pAllocator, + InstanceHandle* pInstance + ) => CreateInstanceInternal(pCreateInfo, pAllocator, pInstance); + + public static partial Result CreateDevice( + PhysicalDeviceHandle physicalDevice, + DeviceCreateInfo* pCreateInfo, + AllocationCallbacks* pAllocator, + DeviceHandle* pDevice + ) => CreateDeviceInternal(physicalDevice, pCreateInfo, pAllocator, pDevice); } public partial class StaticWrapper @@ -139,7 +145,12 @@ public unsafe IVk Clone() return vk; } - unsafe Result IVk.CreateDevice(PhysicalDeviceHandle physicalDevice, DeviceCreateInfo* pCreateInfo, AllocationCallbacks* pAllocator, DeviceHandle* pDevice) + unsafe Result IVk.CreateDevice( + PhysicalDeviceHandle physicalDevice, + DeviceCreateInfo* pCreateInfo, + AllocationCallbacks* pAllocator, + DeviceHandle* pDevice + ) { var result = CreateDeviceInternal(physicalDevice, pCreateInfo, pAllocator, pDevice); if (result == Result.Success) @@ -150,7 +161,11 @@ unsafe Result IVk.CreateDevice(PhysicalDeviceHandle physicalDevice, DeviceCreate return result; } - unsafe Result IVk.CreateInstance(InstanceCreateInfo* pCreateInfo, AllocationCallbacks* pAllocator, InstanceHandle* pInstance) + unsafe Result IVk.CreateInstance( + InstanceCreateInfo* pCreateInfo, + AllocationCallbacks* pAllocator, + InstanceHandle* pInstance + ) { var result = CreateInstanceInternal(pCreateInfo, pAllocator, pInstance); if (result == Result.Success) @@ -189,17 +204,13 @@ private class NativeContext : INativeContext } [UnmanagedCallersOnly] - private static unsafe void* GetDeviceProcAddr(DeviceHandle device, sbyte* pName) - { - return DllImport.GetDeviceProcAddr(device, pName); - } + private static unsafe void* GetDeviceProcAddr(DeviceHandle device, sbyte* pName) => + DllImport.GetDeviceProcAddr(device, pName); [UnmanagedCallersOnly] - private static unsafe void* GetInstanceProcAddr(InstanceHandle instance, sbyte* pName) - { - return DllImport.GetInstanceProcAddr(instance, pName); - } + private static unsafe void* GetInstanceProcAddr(InstanceHandle instance, sbyte* pName) => + DllImport.GetInstanceProcAddr(instance, pName); - public void Dispose() {} + public void Dispose() { } } } diff --git a/sources/Vulkan/Vulkan/Vk.gen.cs b/sources/Vulkan/Vulkan/Vk.gen.cs index 6b8056689e..112b64bc0b 100644 --- a/sources/Vulkan/Vulkan/Vk.gen.cs +++ b/sources/Vulkan/Vulkan/Vk.gen.cs @@ -26,7 +26,7 @@ public partial class ThisThread : IVk.Static private static partial IVk ContextFactory(); } - private readonly unsafe void*[] _slots = new void*[702]; + private readonly unsafe void*[] _slots = new void*[767]; public static IVk Create(INativeContext ctx) => new Vk(ctx); diff --git a/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureCreateInfo2KHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureCreateInfo2KHR.gen.cs new file mode 100644 index 0000000000..e15ea9846c --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureCreateInfo2KHR.gen.cs @@ -0,0 +1,110 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkAccelerationStructureCreateInfo2KHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct AccelerationStructureCreateInfo2KHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public StructureType SType = StructureType.AccelerationStructureCreateInfo2KHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public void* PNext; + + [NativeName("createFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public AccelerationStructureCreateFlagsKHR CreateFlags; + + [NativeName("addressRange")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public DeviceAddressRangeKHR AddressRange; + + [NativeName("addressFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public AddressCommandFlagsKHR AddressFlags; + + [NativeName("type")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public AccelerationStructureTypeKHR Type; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public AccelerationStructureCreateInfo2KHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureGeometryMicromapDataKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureGeometryMicromapDataKHR.gen.cs new file mode 100644 index 0000000000..0cdc60b5ed --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureGeometryMicromapDataKHR.gen.cs @@ -0,0 +1,84 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkAccelerationStructureGeometryMicromapDataKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct AccelerationStructureGeometryMicromapDataKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public StructureType SType = StructureType.AccelerationStructureGeometryMicromapDataKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public void* PNext; + + [NativeName("usageCountsCount")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public uint UsageCountsCount; + + [NativeName("pUsageCounts")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public MicromapUsageKHR* PUsageCounts; + + [NativeName("ppUsageCounts")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public MicromapUsageKHR** PpUsageCounts; + + [NativeName("data")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public ulong Data; + + [NativeName("triangleArray")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public ulong TriangleArray; + + [NativeName("triangleArrayStride")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public ulong TriangleArrayStride; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public AccelerationStructureGeometryMicromapDataKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureSerializedBlockTypeKHR.gen.cs similarity index 55% rename from sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionEXT.gen.cs rename to sources/Vulkan/Vulkan/Vulkan/AccelerationStructureSerializedBlockTypeKHR.gen.cs index 312d5bc27e..aa307885d8 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureSerializedBlockTypeKHR.gen.cs @@ -2,23 +2,21 @@ // The .NET Foundation licenses this file to you under the MIT license. // Ported from the Vulkan headers and corresponding dependencies. // Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Silk.NET.Vulkan; -[NativeName("VkDeviceFaultVendorBinaryHeaderVersionEXT")] +[NativeName("VkAccelerationStructureSerializedBlockTypeKHR")] [SupportedApiProfile("vulkan")] -public enum DeviceFaultVendorBinaryHeaderVersionEXT : uint +public enum AccelerationStructureSerializedBlockTypeKHR : uint { - [NativeName("VK_DEVICE_FAULT_VENDOR_BINARY_HEADER_VERSION_ONE_EXT")] + [NativeName("VK_ACCELERATION_STRUCTURE_SERIALIZED_BLOCK_TYPE_OPACITY_MICROMAP_KHR")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], - ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", - ] + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] )] - One = 1, + OpacityMicromap = 0, } diff --git a/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureTrianglesOpacityMicromapKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureTrianglesOpacityMicromapKHR.gen.cs new file mode 100644 index 0000000000..30dfdba96a --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureTrianglesOpacityMicromapKHR.gen.cs @@ -0,0 +1,80 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkAccelerationStructureTrianglesOpacityMicromapKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct AccelerationStructureTrianglesOpacityMicromapKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public StructureType SType = StructureType.AccelerationStructureTrianglesOpacityMicromapKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public void* PNext; + + [NativeName("indexType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public IndexType IndexType; + + [NativeName("indexBuffer")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public ulong IndexBuffer; + + [NativeName("indexStride")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public ulong IndexStride; + + [NativeName("baseTriangle")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public uint BaseTriangle; + + [NativeName("micromap")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_opacity_micromap"], + ImpliesSets = [ + "VK_KHR_acceleration_structure+VK_KHR_synchronization2", + "VK_KHR_acceleration_structure+VK_VERSION_1_3", + ] + )] + public AccelerationStructureHandleKHR Micromap; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public AccelerationStructureTrianglesOpacityMicromapKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureTypeKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureTypeKHR.gen.cs index 0c1c7e7f98..43aeab3d31 100644 --- a/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureTypeKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/AccelerationStructureTypeKHR.gen.cs @@ -45,6 +45,14 @@ public enum AccelerationStructureTypeKHR : uint )] Generic = 2, + [NativeName("VK_ACCELERATION_STRUCTURE_TYPE_OPACITY_MICROMAP_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + OpacityMicromap = 1000623000, + [NativeName("VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/AccessFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/AccessFlags.gen.cs index a23763aac1..ee482cdf1d 100644 --- a/sources/Vulkan/Vulkan/Vulkan/AccessFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/AccessFlags.gen.cs @@ -628,8 +628,10 @@ public enum AccessFlags : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -640,8 +642,10 @@ public enum AccessFlags : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/AddressCommandFlagsKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/AddressCommandFlagsKHR.gen.cs new file mode 100644 index 0000000000..ab5e2dc8c6 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/AddressCommandFlagsKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkAddressCommandFlagBitsKHR")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum AddressCommandFlagsKHR : uint +{ + None = 0x0, + + [NativeName("VK_ADDRESS_COMMAND_PROTECTED_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + ProtectedBit = 0x1, + + [NativeName("VK_ADDRESS_COMMAND_FULLY_BOUND_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + FullyBoundBit = 0x2, + + [NativeName("VK_ADDRESS_COMMAND_STORAGE_BUFFER_USAGE_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + StorageBufferUsageBit = 0x4, + + [NativeName("VK_ADDRESS_COMMAND_UNKNOWN_STORAGE_BUFFER_USAGE_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + UnknownStorageBufferUsageBit = 0x8, + + [NativeName("VK_ADDRESS_COMMAND_TRANSFORM_FEEDBACK_BUFFER_USAGE_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + TransformFeedbackBufferUsageBit = 0x10, + + [NativeName("VK_ADDRESS_COMMAND_UNKNOWN_TRANSFORM_FEEDBACK_BUFFER_USAGE_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + UnknownTransformFeedbackBufferUsageBit = 0x20, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/BeginCustomResolveInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/BeginCustomResolveInfoEXT.gen.cs new file mode 100644 index 0000000000..03f9483e74 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/BeginCustomResolveInfoEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkBeginCustomResolveInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct BeginCustomResolveInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.BeginCustomResolveInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public BeginCustomResolveInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/BindDataGraphPipelineSessionMemoryInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/BindDataGraphPipelineSessionMemoryInfoARM.gen.cs index c4ac7afeef..ab25a6d884 100644 --- a/sources/Vulkan/Vulkan/Vulkan/BindDataGraphPipelineSessionMemoryInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/BindDataGraphPipelineSessionMemoryInfoARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct BindDataGraphPipelineSessionMemoryInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.BindDataGraphPipelineSessionMemoryInfoARM; @@ -24,7 +27,10 @@ public unsafe partial struct BindDataGraphPipelineSessionMemoryInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,7 +38,10 @@ public unsafe partial struct BindDataGraphPipelineSessionMemoryInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineSessionHandleARM Session; @@ -40,7 +49,10 @@ public unsafe partial struct BindDataGraphPipelineSessionMemoryInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineSessionBindPointARM BindPoint; @@ -48,7 +60,10 @@ public unsafe partial struct BindDataGraphPipelineSessionMemoryInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint ObjectIndex; @@ -56,7 +71,10 @@ public unsafe partial struct BindDataGraphPipelineSessionMemoryInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DeviceMemoryHandle Memory; @@ -64,14 +82,20 @@ public unsafe partial struct BindDataGraphPipelineSessionMemoryInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public ulong MemoryOffset; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public BindDataGraphPipelineSessionMemoryInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/BindHeapInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/BindHeapInfoEXT.gen.cs new file mode 100644 index 0000000000..0cae98b08b --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/BindHeapInfoEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkBindHeapInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct BindHeapInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public StructureType SType = StructureType.BindHeapInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* PNext; + + [NativeName("heapRange")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DeviceAddressRangeKHR HeapRange; + + [NativeName("reservedRangeOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong ReservedRangeOffset; + + [NativeName("reservedRangeSize")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong ReservedRangeSize; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public BindHeapInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/BindIndexBuffer3InfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/BindIndexBuffer3InfoKHR.gen.cs new file mode 100644 index 0000000000..ce273445ba --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/BindIndexBuffer3InfoKHR.gen.cs @@ -0,0 +1,90 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkBindIndexBuffer3InfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct BindIndexBuffer3InfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StructureType SType = StructureType.BindIndexBuffer3InfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public void* PNext; + + [NativeName("addressRange")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DeviceAddressRangeKHR AddressRange; + + [NativeName("addressFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public AddressCommandFlagsKHR AddressFlags; + + [NativeName("indexType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public IndexType IndexType; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public BindIndexBuffer3InfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/BindIndexBufferIndirectCommandEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/BindIndexBufferIndirectCommandEXT.gen.cs index bed3b4f4e8..641431c239 100644 --- a/sources/Vulkan/Vulkan/Vulkan/BindIndexBufferIndirectCommandEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/BindIndexBufferIndirectCommandEXT.gen.cs @@ -17,8 +17,10 @@ public partial struct BindIndexBufferIndirectCommandEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29,8 +31,10 @@ public partial struct BindIndexBufferIndirectCommandEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -41,8 +45,10 @@ public partial struct BindIndexBufferIndirectCommandEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/BindTransformFeedbackBuffer2InfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/BindTransformFeedbackBuffer2InfoEXT.gen.cs new file mode 100644 index 0000000000..9545d4c780 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/BindTransformFeedbackBuffer2InfoEXT.gen.cs @@ -0,0 +1,82 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkBindTransformFeedbackBuffer2InfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct BindTransformFeedbackBuffer2InfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public StructureType SType = StructureType.BindTransformFeedbackBuffer2InfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public void* PNext; + + [NativeName("addressRange")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public DeviceAddressRangeKHR AddressRange; + + [NativeName("addressFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public AddressCommandFlagsKHR AddressFlags; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public BindTransformFeedbackBuffer2InfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/BindVertexBuffer3InfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/BindVertexBuffer3InfoKHR.gen.cs new file mode 100644 index 0000000000..e9cfa16692 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/BindVertexBuffer3InfoKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkBindVertexBuffer3InfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct BindVertexBuffer3InfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StructureType SType = StructureType.BindVertexBuffer3InfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public void* PNext; + + [NativeName("setStride")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public MaybeBool SetStride; + + [NativeName("addressRange")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StridedDeviceAddressRangeKHR AddressRange; + + [NativeName("addressFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public AddressCommandFlagsKHR AddressFlags; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public BindVertexBuffer3InfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/BindVertexBufferIndirectCommandEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/BindVertexBufferIndirectCommandEXT.gen.cs index ac3715e05b..b01be9d4ae 100644 --- a/sources/Vulkan/Vulkan/Vulkan/BindVertexBufferIndirectCommandEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/BindVertexBufferIndirectCommandEXT.gen.cs @@ -16,8 +16,10 @@ public partial struct BindVertexBufferIndirectCommandEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -28,8 +30,10 @@ public partial struct BindVertexBufferIndirectCommandEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -40,8 +44,10 @@ public partial struct BindVertexBufferIndirectCommandEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/BufferUsageFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/BufferUsageFlags.gen.cs index 67a360ad04..fb632f1437 100644 --- a/sources/Vulkan/Vulkan/Vulkan/BufferUsageFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/BufferUsageFlags.gen.cs @@ -363,6 +363,20 @@ public enum BufferUsageFlags : uint )] ExecutionGraphScratchBitAMDX = 0x2000000, + [NativeName("VK_BUFFER_USAGE_DESCRIPTOR_HEAP_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + DescriptorHeapBitEXT = 0x10000000, + [NativeName("VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/BuildAccelerationStructureFlagsKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/BuildAccelerationStructureFlagsKHR.gen.cs index 9469ad55a4..8d36844c30 100644 --- a/sources/Vulkan/Vulkan/Vulkan/BuildAccelerationStructureFlagsKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/BuildAccelerationStructureFlagsKHR.gen.cs @@ -78,28 +78,6 @@ public enum BuildAccelerationStructureFlagsKHR : uint )] MotionBitNV = 0x20, - [NativeName("VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_BIT_EXT")] - [SupportedApiProfile( - "vulkan", - ["VK_EXT_opacity_micromap"], - ImpliesSets = [ - "VK_KHR_acceleration_structure+VK_KHR_synchronization2", - "VK_KHR_acceleration_structure+VK_VERSION_1_3", - ] - )] - AllowOpacityMicromapUpdateBitEXT = 0x40, - - [NativeName("VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_BIT_EXT")] - [SupportedApiProfile( - "vulkan", - ["VK_EXT_opacity_micromap"], - ImpliesSets = [ - "VK_KHR_acceleration_structure+VK_KHR_synchronization2", - "VK_KHR_acceleration_structure+VK_VERSION_1_3", - ] - )] - AllowDisableOpacityMicromapsBitEXT = 0x80, - [NativeName("VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_BIT_EXT")] [SupportedApiProfile( "vulkan", @@ -135,6 +113,30 @@ public enum BuildAccelerationStructureFlagsKHR : uint )] AllowClusterOpacityMicromapsBitNV = 0x1000, + [NativeName("VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + AllowOpacityMicromapUpdateBit = 0x40, + + [NativeName("VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + AllowDisableOpacityMicromapsBit = 0x80, + + [NativeName("VK_BUILD_ACCELERATION_STRUCTURE_MICROMAP_LOSSY_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + MicromapLossyBit = 0x400, + [NativeName("VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_NV")] [SupportedApiProfile( "vulkan", @@ -189,4 +191,26 @@ public enum BuildAccelerationStructureFlagsKHR : uint ] )] LowMemoryBitNV = LowMemoryBit, + + [NativeName("VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_opacity_micromap"], + ImpliesSets = [ + "VK_KHR_acceleration_structure+VK_KHR_synchronization2", + "VK_KHR_acceleration_structure+VK_VERSION_1_3", + ] + )] + AllowOpacityMicromapUpdateBitEXT = AllowOpacityMicromapUpdateBit, + + [NativeName("VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_opacity_micromap"], + ImpliesSets = [ + "VK_KHR_acceleration_structure+VK_KHR_synchronization2", + "VK_KHR_acceleration_structure+VK_VERSION_1_3", + ] + )] + AllowDisableOpacityMicromapsBitEXT = AllowDisableOpacityMicromapsBit, } diff --git a/sources/Vulkan/Vulkan/Vulkan/CommandBufferInheritanceDescriptorHeapInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/CommandBufferInheritanceDescriptorHeapInfoEXT.gen.cs new file mode 100644 index 0000000000..ffa52c2be2 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/CommandBufferInheritanceDescriptorHeapInfoEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkCommandBufferInheritanceDescriptorHeapInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct CommandBufferInheritanceDescriptorHeapInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public StructureType SType = StructureType.CommandBufferInheritanceDescriptorHeapInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* PNext; + + [NativeName("pSamplerHeapBindInfo")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public BindHeapInfoEXT* PSamplerHeapBindInfo; + + [NativeName("pResourceHeapBindInfo")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public BindHeapInfoEXT* PResourceHeapBindInfo; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public CommandBufferInheritanceDescriptorHeapInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/CompareOp.gen.cs b/sources/Vulkan/Vulkan/Vulkan/CompareOp.gen.cs index 50fcd395d1..acb7a28d92 100644 --- a/sources/Vulkan/Vulkan/Vulkan/CompareOp.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/CompareOp.gen.cs @@ -15,6 +15,11 @@ public enum CompareOp : uint [SupportedApiProfile( "vulkan", [ + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_0", "VK_GRAPHICS_VERSION_1_1", "VK_GRAPHICS_VERSION_1_2", @@ -34,6 +39,11 @@ public enum CompareOp : uint [SupportedApiProfile( "vulkan", [ + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_0", "VK_GRAPHICS_VERSION_1_1", "VK_GRAPHICS_VERSION_1_2", @@ -53,6 +63,11 @@ public enum CompareOp : uint [SupportedApiProfile( "vulkan", [ + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_0", "VK_GRAPHICS_VERSION_1_1", "VK_GRAPHICS_VERSION_1_2", @@ -72,6 +87,11 @@ public enum CompareOp : uint [SupportedApiProfile( "vulkan", [ + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_0", "VK_GRAPHICS_VERSION_1_1", "VK_GRAPHICS_VERSION_1_2", @@ -91,6 +111,11 @@ public enum CompareOp : uint [SupportedApiProfile( "vulkan", [ + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_0", "VK_GRAPHICS_VERSION_1_1", "VK_GRAPHICS_VERSION_1_2", @@ -110,6 +135,11 @@ public enum CompareOp : uint [SupportedApiProfile( "vulkan", [ + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_0", "VK_GRAPHICS_VERSION_1_1", "VK_GRAPHICS_VERSION_1_2", @@ -129,6 +159,11 @@ public enum CompareOp : uint [SupportedApiProfile( "vulkan", [ + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_0", "VK_GRAPHICS_VERSION_1_1", "VK_GRAPHICS_VERSION_1_2", @@ -148,6 +183,11 @@ public enum CompareOp : uint [SupportedApiProfile( "vulkan", [ + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_0", "VK_GRAPHICS_VERSION_1_1", "VK_GRAPHICS_VERSION_1_2", diff --git a/sources/Vulkan/Vulkan/Vulkan/ComputeOccupancyPriorityParametersNV.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ComputeOccupancyPriorityParametersNV.gen.cs new file mode 100644 index 0000000000..692b2177ed --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ComputeOccupancyPriorityParametersNV.gen.cs @@ -0,0 +1,67 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkComputeOccupancyPriorityParametersNV")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ComputeOccupancyPriorityParametersNV +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.ComputeOccupancyPriorityParametersNV; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("occupancyPriority")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public float OccupancyPriority; + + [NativeName("occupancyThrottling")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public float OccupancyThrottling; + + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public ComputeOccupancyPriorityParametersNV() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ConditionalRenderingBeginInfo2EXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ConditionalRenderingBeginInfo2EXT.gen.cs new file mode 100644 index 0000000000..c23f91a5e4 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ConditionalRenderingBeginInfo2EXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkConditionalRenderingBeginInfo2EXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ConditionalRenderingBeginInfo2EXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public StructureType SType = StructureType.ConditionalRenderingBeginInfo2EXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public void* PNext; + + [NativeName("addressRange")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public DeviceAddressRangeKHR AddressRange; + + [NativeName("addressFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public AddressCommandFlagsKHR AddressFlags; + + [NativeName("flags")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public ConditionalRenderingFlagsEXT Flags; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public ConditionalRenderingBeginInfo2EXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/CopyDeviceMemoryImageInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/CopyDeviceMemoryImageInfoKHR.gen.cs new file mode 100644 index 0000000000..7f60813d6f --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/CopyDeviceMemoryImageInfoKHR.gen.cs @@ -0,0 +1,90 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkCopyDeviceMemoryImageInfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct CopyDeviceMemoryImageInfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StructureType SType = StructureType.CopyDeviceMemoryImageInfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public void* PNext; + + [NativeName("image")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public ImageHandle Image; + + [NativeName("regionCount")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public uint RegionCount; + + [NativeName("pRegions")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DeviceMemoryImageCopyKHR* PRegions; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public CopyDeviceMemoryImageInfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/CopyDeviceMemoryInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/CopyDeviceMemoryInfoKHR.gen.cs new file mode 100644 index 0000000000..09f4ca4e1f --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/CopyDeviceMemoryInfoKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkCopyDeviceMemoryInfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct CopyDeviceMemoryInfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StructureType SType = StructureType.CopyDeviceMemoryInfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public void* PNext; + + [NativeName("regionCount")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public uint RegionCount; + + [NativeName("pRegions")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DeviceMemoryCopyKHR* PRegions; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public CopyDeviceMemoryInfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/CustomResolveCreateInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/CustomResolveCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..d95f24931f --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/CustomResolveCreateInfoEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkCustomResolveCreateInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct CustomResolveCreateInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.CustomResolveCreateInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("customResolve")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public MaybeBool CustomResolve; + + [NativeName("colorAttachmentCount")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public uint ColorAttachmentCount; + + [NativeName("pColorAttachmentFormats")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public Format* PColorAttachmentFormats; + + [NativeName("depthAttachmentFormat")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public Format DepthAttachmentFormat; + + [NativeName("stencilAttachmentFormat")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public Format StencilAttachmentFormat; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public CustomResolveCreateInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowCreateFlagsARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowCreateFlagsARM.gen.cs new file mode 100644 index 0000000000..d042fd12ab --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowCreateFlagsARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphOpticalFlowCreateFlagBitsARM")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum DataGraphOpticalFlowCreateFlagsARM : uint +{ + None = 0x0, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_CREATE_ENABLE_HINT_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + EnableHintBit = 0x1, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_CREATE_ENABLE_COST_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + EnableCostBit = 0x2, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_CREATE_RESERVED_30_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + Reserved30Bit = 0x40000000, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowExecuteFlagsARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowExecuteFlagsARM.gen.cs new file mode 100644 index 0000000000..23dd258614 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowExecuteFlagsARM.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphOpticalFlowExecuteFlagBitsARM")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum DataGraphOpticalFlowExecuteFlagsARM : uint +{ + None = 0x0, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_EXECUTE_DISABLE_TEMPORAL_HINTS_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + DisableTemporalHintsBit = 0x1, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_EXECUTE_INPUT_UNCHANGED_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + InputUnchangedBit = 0x2, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_EXECUTE_REFERENCE_UNCHANGED_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + ReferenceUnchangedBit = 0x4, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_EXECUTE_INPUT_IS_PREVIOUS_REFERENCE_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + InputIsPreviousReferenceBit = 0x8, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_EXECUTE_REFERENCE_IS_PREVIOUS_INPUT_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + ReferenceIsPreviousInputBit = 0x10, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowGridSizeFlagsARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowGridSizeFlagsARM.gen.cs new file mode 100644 index 0000000000..3a9a3414f4 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowGridSizeFlagsARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphOpticalFlowGridSizeFlagBitsARM")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum DataGraphOpticalFlowGridSizeFlagsARM : uint +{ + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_UNKNOWN_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + SizeUnknown = 0x0, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_1X1_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + Size1x1Bit = 0x1, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_2X2_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + Size2x2Bit = 0x2, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_4X4_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + Size4x4Bit = 0x4, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_GRID_SIZE_8X8_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + Size8x8Bit = 0x8, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowImageFormatInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowImageFormatInfoARM.gen.cs new file mode 100644 index 0000000000..df169ff836 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowImageFormatInfoARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphOpticalFlowImageFormatInfoARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DataGraphOpticalFlowImageFormatInfoARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public StructureType SType = StructureType.DataGraphOpticalFlowImageFormatInfoARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public void* PNext; + + [NativeName("usage")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphOpticalFlowImageUsageFlagsARM Usage; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphOpticalFlowImageFormatInfoARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowImageFormatPropertiesARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowImageFormatPropertiesARM.gen.cs new file mode 100644 index 0000000000..c83ebc5b72 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowImageFormatPropertiesARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphOpticalFlowImageFormatPropertiesARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DataGraphOpticalFlowImageFormatPropertiesARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public StructureType SType = StructureType.DataGraphOpticalFlowImageFormatPropertiesARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public void* PNext; + + [NativeName("format")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public Format Format; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphOpticalFlowImageFormatPropertiesARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowImageUsageFlagsARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowImageUsageFlagsARM.gen.cs new file mode 100644 index 0000000000..2a10dfe8f8 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowImageUsageFlagsARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphOpticalFlowImageUsageFlagBitsARM")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum DataGraphOpticalFlowImageUsageFlagsARM : uint +{ + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_IMAGE_USAGE_UNKNOWN_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + Unknown = 0x0, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_IMAGE_USAGE_INPUT_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + InputBit = 0x1, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_IMAGE_USAGE_OUTPUT_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + OutputBit = 0x2, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_IMAGE_USAGE_HINT_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + HintBit = 0x4, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_IMAGE_USAGE_COST_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + CostBit = 0x8, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowPerformanceLevelARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowPerformanceLevelARM.gen.cs new file mode 100644 index 0000000000..5e45838158 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphOpticalFlowPerformanceLevelARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphOpticalFlowPerformanceLevelARM")] +[SupportedApiProfile("vulkan")] +public enum DataGraphOpticalFlowPerformanceLevelARM : uint +{ + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_PERFORMANCE_LEVEL_UNKNOWN_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + Unknown = 0, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_PERFORMANCE_LEVEL_SLOW_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + Slow = 1, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_PERFORMANCE_LEVEL_MEDIUM_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + Medium = 2, + + [NativeName("VK_DATA_GRAPH_OPTICAL_FLOW_PERFORMANCE_LEVEL_FAST_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + Fast = 3, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineCompilerControlCreateInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineCompilerControlCreateInfoARM.gen.cs index 87dcd7e9f3..5712bc28a1 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineCompilerControlCreateInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineCompilerControlCreateInfoARM.gen.cs @@ -15,7 +15,10 @@ public unsafe partial struct DataGraphPipelineCompilerControlCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelineCompilerControlCreateInfoARM; @@ -23,7 +26,10 @@ public unsafe partial struct DataGraphPipelineCompilerControlCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -31,14 +37,20 @@ public unsafe partial struct DataGraphPipelineCompilerControlCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public sbyte* PVendorOptions; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineCompilerControlCreateInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineConstantARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineConstantARM.gen.cs index da769d42d2..3f758f44d9 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineConstantARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineConstantARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct DataGraphPipelineConstantARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelineConstantARM; @@ -24,7 +27,10 @@ public unsafe partial struct DataGraphPipelineConstantARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,7 +38,10 @@ public unsafe partial struct DataGraphPipelineConstantARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint Id; @@ -40,14 +49,20 @@ public unsafe partial struct DataGraphPipelineConstantARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PConstantData; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineConstantARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.gen.cs index 832546c7e9..382902ccdf 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM.gen.cs @@ -14,7 +14,10 @@ public unsafe partial struct DataGraphPipelineConstantTensorSemiStructuredSparsi [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph", "VK_ARM_tensors"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"], + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ], RequireAll = true )] public StructureType SType = @@ -24,7 +27,10 @@ public unsafe partial struct DataGraphPipelineConstantTensorSemiStructuredSparsi [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph", "VK_ARM_tensors"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"], + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ], RequireAll = true )] public void* PNext; @@ -33,7 +39,10 @@ public unsafe partial struct DataGraphPipelineConstantTensorSemiStructuredSparsi [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph", "VK_ARM_tensors"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"], + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ], RequireAll = true )] public uint Dimension; @@ -42,7 +51,10 @@ public unsafe partial struct DataGraphPipelineConstantTensorSemiStructuredSparsi [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph", "VK_ARM_tensors"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"], + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ], RequireAll = true )] public uint ZeroCount; @@ -51,7 +63,10 @@ public unsafe partial struct DataGraphPipelineConstantTensorSemiStructuredSparsi [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph", "VK_ARM_tensors"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"], + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ], RequireAll = true )] public uint GroupSize; @@ -59,7 +74,10 @@ public unsafe partial struct DataGraphPipelineConstantTensorSemiStructuredSparsi [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph", "VK_ARM_tensors"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"], + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ], RequireAll = true )] public DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM() { } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineCreateInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineCreateInfoARM.gen.cs index b7e51dfdc0..6aaa935395 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineCreateInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineCreateInfoARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct DataGraphPipelineCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelineCreateInfoARM; @@ -24,7 +27,10 @@ public unsafe partial struct DataGraphPipelineCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,15 +38,21 @@ public unsafe partial struct DataGraphPipelineCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] - public ulong Flags; + public PipelineCreateFlags2 Flags; [NativeName("layout")] [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public PipelineLayoutHandle Layout; @@ -48,7 +60,10 @@ public unsafe partial struct DataGraphPipelineCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint ResourceInfoCount; @@ -56,14 +71,20 @@ public unsafe partial struct DataGraphPipelineCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineResourceInfoARM* PResourceInfos; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineCreateInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineDispatchInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineDispatchInfoARM.gen.cs index f2ec0f6d2d..c8b7a3f3a3 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineDispatchInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineDispatchInfoARM.gen.cs @@ -15,7 +15,10 @@ public unsafe partial struct DataGraphPipelineDispatchInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelineDispatchInfoARM; @@ -23,7 +26,10 @@ public unsafe partial struct DataGraphPipelineDispatchInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -31,14 +37,20 @@ public unsafe partial struct DataGraphPipelineDispatchInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineDispatchFlagsARM Flags; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineDispatchInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineIdentifierCreateInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineIdentifierCreateInfoARM.gen.cs index b15a168e33..e31b7b343e 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineIdentifierCreateInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineIdentifierCreateInfoARM.gen.cs @@ -15,7 +15,10 @@ public unsafe partial struct DataGraphPipelineIdentifierCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelineIdentifierCreateInfoARM; @@ -23,7 +26,10 @@ public unsafe partial struct DataGraphPipelineIdentifierCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -31,7 +37,10 @@ public unsafe partial struct DataGraphPipelineIdentifierCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint IdentifierSize; @@ -39,14 +48,20 @@ public unsafe partial struct DataGraphPipelineIdentifierCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public byte* PIdentifier; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineIdentifierCreateInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineInfoARM.gen.cs index 47936de821..2316a1820c 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineInfoARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct DataGraphPipelineInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelineInfoARM; @@ -24,7 +27,10 @@ public unsafe partial struct DataGraphPipelineInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,14 +38,20 @@ public unsafe partial struct DataGraphPipelineInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public PipelineHandle DataGraphPipeline; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineNeuralStatisticsCreateInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineNeuralStatisticsCreateInfoARM.gen.cs new file mode 100644 index 0000000000..8083ac8fc7 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineNeuralStatisticsCreateInfoARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphPipelineNeuralStatisticsCreateInfoARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DataGraphPipelineNeuralStatisticsCreateInfoARM +{ + [NativeName("sType")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public StructureType SType = StructureType.DataGraphPipelineNeuralStatisticsCreateInfoARM; + + [NativeName("pNext")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public void* PNext; + + [NativeName("allowNeuralStatistics")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public MaybeBool AllowNeuralStatistics; + + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public DataGraphPipelineNeuralStatisticsCreateInfoARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineNodeConnectionTypeARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineNodeConnectionTypeARM.gen.cs new file mode 100644 index 0000000000..b2c3891e9c --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineNodeConnectionTypeARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphPipelineNodeConnectionTypeARM")] +[SupportedApiProfile("vulkan")] +public enum DataGraphPipelineNodeConnectionTypeARM : uint +{ + [NativeName("VK_DATA_GRAPH_PIPELINE_NODE_CONNECTION_TYPE_OPTICAL_FLOW_INPUT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + OpticalFlowInput = 1000631000, + + [NativeName("VK_DATA_GRAPH_PIPELINE_NODE_CONNECTION_TYPE_OPTICAL_FLOW_REFERENCE_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + OpticalFlowReference = 1000631001, + + [NativeName("VK_DATA_GRAPH_PIPELINE_NODE_CONNECTION_TYPE_OPTICAL_FLOW_HINT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + OpticalFlowHint = 1000631002, + + [NativeName("VK_DATA_GRAPH_PIPELINE_NODE_CONNECTION_TYPE_OPTICAL_FLOW_FLOW_VECTOR_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + OpticalFlowFlowVector = 1000631003, + + [NativeName("VK_DATA_GRAPH_PIPELINE_NODE_CONNECTION_TYPE_OPTICAL_FLOW_COST_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + OpticalFlowCost = 1000631004, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineNodeTypeARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineNodeTypeARM.gen.cs new file mode 100644 index 0000000000..867b14d981 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineNodeTypeARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphPipelineNodeTypeARM")] +[SupportedApiProfile("vulkan")] +public enum DataGraphPipelineNodeTypeARM : uint +{ + [NativeName("VK_DATA_GRAPH_PIPELINE_NODE_TYPE_OPTICAL_FLOW_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + OpticalFlow = 1000631000, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineOpticalFlowCreateInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineOpticalFlowCreateInfoARM.gen.cs new file mode 100644 index 0000000000..833944985b --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineOpticalFlowCreateInfoARM.gen.cs @@ -0,0 +1,109 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphPipelineOpticalFlowCreateInfoARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DataGraphPipelineOpticalFlowCreateInfoARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public StructureType SType = StructureType.DataGraphPipelineOpticalFlowCreateInfoARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public void* PNext; + + [NativeName("width")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public uint Width; + + [NativeName("height")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public uint Height; + + [NativeName("imageFormat")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public Format ImageFormat; + + [NativeName("flowVectorFormat")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public Format FlowVectorFormat; + + [NativeName("costFormat")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public Format CostFormat; + + [NativeName("outputGridSize")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphOpticalFlowGridSizeFlagsARM OutputGridSize; + + [NativeName("hintGridSize")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphOpticalFlowGridSizeFlagsARM HintGridSize; + + [NativeName("performanceLevel")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphOpticalFlowPerformanceLevelARM PerformanceLevel; + + [NativeName("flags")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphOpticalFlowCreateFlagsARM Flags; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphPipelineOpticalFlowCreateInfoARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineOpticalFlowDispatchInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineOpticalFlowDispatchInfoARM.gen.cs new file mode 100644 index 0000000000..4a25fbb8f6 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineOpticalFlowDispatchInfoARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphPipelineOpticalFlowDispatchInfoARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DataGraphPipelineOpticalFlowDispatchInfoARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public StructureType SType = StructureType.DataGraphPipelineOpticalFlowDispatchInfoARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public void* PNext; + + [NativeName("flags")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphOpticalFlowExecuteFlagsARM Flags; + + [NativeName("meanFlowL1NormHint")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public uint MeanFlowL1NormHint; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphPipelineOpticalFlowDispatchInfoARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelinePropertyARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelinePropertyARM.gen.cs index 5f85fb92c0..0da418aa21 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelinePropertyARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelinePropertyARM.gen.cs @@ -16,7 +16,10 @@ public enum DataGraphPipelinePropertyARM : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] CreationLog = 0, @@ -24,7 +27,18 @@ public enum DataGraphPipelinePropertyARM : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] Identifier = 1, + + [NativeName("VK_DATA_GRAPH_PIPELINE_PROPERTY_NEURAL_ACCELERATOR_DEBUG_DATABASE_ARM")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + NeuralAcceleratorDebugDatabase = 1000676000, + + [NativeName("VK_DATA_GRAPH_PIPELINE_PROPERTY_NEURAL_ACCELERATOR_STATISTICS_INFO_ARM")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + NeuralAcceleratorStatisticsInfo = 1000676001, } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelinePropertyQueryResultARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelinePropertyQueryResultARM.gen.cs index 12b9cb96a1..90c7addabf 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelinePropertyQueryResultARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelinePropertyQueryResultARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct DataGraphPipelinePropertyQueryResultARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelinePropertyQueryResultARM; @@ -24,7 +27,10 @@ public unsafe partial struct DataGraphPipelinePropertyQueryResultARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,7 +38,10 @@ public unsafe partial struct DataGraphPipelinePropertyQueryResultARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelinePropertyARM Property; @@ -40,7 +49,10 @@ public unsafe partial struct DataGraphPipelinePropertyQueryResultARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public MaybeBool IsText; @@ -48,7 +60,10 @@ public unsafe partial struct DataGraphPipelinePropertyQueryResultARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public nuint DataSize; @@ -56,14 +71,20 @@ public unsafe partial struct DataGraphPipelinePropertyQueryResultARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PData; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelinePropertyQueryResultARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineResourceInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineResourceInfoARM.gen.cs index 1d3942eb55..402de86645 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineResourceInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineResourceInfoARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct DataGraphPipelineResourceInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelineResourceInfoARM; @@ -24,7 +27,10 @@ public unsafe partial struct DataGraphPipelineResourceInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,7 +38,10 @@ public unsafe partial struct DataGraphPipelineResourceInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint DescriptorSet; @@ -40,7 +49,10 @@ public unsafe partial struct DataGraphPipelineResourceInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint Binding; @@ -48,14 +60,20 @@ public unsafe partial struct DataGraphPipelineResourceInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint ArrayElement; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineResourceInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineResourceInfoImageLayoutARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineResourceInfoImageLayoutARM.gen.cs new file mode 100644 index 0000000000..793451e7e3 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineResourceInfoImageLayoutARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphPipelineResourceInfoImageLayoutARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DataGraphPipelineResourceInfoImageLayoutARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public StructureType SType = StructureType.DataGraphPipelineResourceInfoImageLayoutARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public void* PNext; + + [NativeName("layout")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public ImageLayout Layout; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphPipelineResourceInfoImageLayoutARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointARM.gen.cs index f5de05b3be..2d06751b60 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointARM.gen.cs @@ -15,7 +15,22 @@ public enum DataGraphPipelineSessionBindPointARM : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] Transient = 0, + + [NativeName("VK_DATA_GRAPH_PIPELINE_SESSION_BIND_POINT_OPTICAL_FLOW_CACHE_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + OpticalFlowCache = 1000631001, + + [NativeName("VK_DATA_GRAPH_PIPELINE_SESSION_BIND_POINT_NEURAL_ACCELERATOR_STATISTICS_ARM")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + NeuralAcceleratorStatistics = 1000676000, } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointRequirementARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointRequirementARM.gen.cs index 52198eb45e..1479c38af2 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointRequirementARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointRequirementARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct DataGraphPipelineSessionBindPointRequirementARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelineSessionBindPointRequirementARM; @@ -24,7 +27,10 @@ public unsafe partial struct DataGraphPipelineSessionBindPointRequirementARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,7 +38,10 @@ public unsafe partial struct DataGraphPipelineSessionBindPointRequirementARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineSessionBindPointARM BindPoint; @@ -40,7 +49,10 @@ public unsafe partial struct DataGraphPipelineSessionBindPointRequirementARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineSessionBindPointTypeARM BindPointType; @@ -48,14 +60,20 @@ public unsafe partial struct DataGraphPipelineSessionBindPointRequirementARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint NumObjects; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineSessionBindPointRequirementARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointRequirementsInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointRequirementsInfoARM.gen.cs index 72b93ac090..de683859df 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointRequirementsInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointRequirementsInfoARM.gen.cs @@ -15,7 +15,10 @@ public unsafe partial struct DataGraphPipelineSessionBindPointRequirementsInfoAR [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelineSessionBindPointRequirementsInfoARM; @@ -23,7 +26,10 @@ public unsafe partial struct DataGraphPipelineSessionBindPointRequirementsInfoAR [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -31,14 +37,20 @@ public unsafe partial struct DataGraphPipelineSessionBindPointRequirementsInfoAR [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineSessionHandleARM Session; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineSessionBindPointRequirementsInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointTypeARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointTypeARM.gen.cs index 3bef468f6a..9152910b35 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointTypeARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionBindPointTypeARM.gen.cs @@ -16,7 +16,10 @@ public enum DataGraphPipelineSessionBindPointTypeARM : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] Memory = 0, } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionCreateInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionCreateInfoARM.gen.cs index aa2d77b87f..8e3afbf5dc 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionCreateInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionCreateInfoARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct DataGraphPipelineSessionCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelineSessionCreateInfoARM; @@ -24,7 +27,10 @@ public unsafe partial struct DataGraphPipelineSessionCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,7 +38,10 @@ public unsafe partial struct DataGraphPipelineSessionCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineSessionCreateFlagsARM Flags; @@ -40,14 +49,20 @@ public unsafe partial struct DataGraphPipelineSessionCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public PipelineHandle DataGraphPipeline; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineSessionCreateInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionMemoryRequirementsInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionMemoryRequirementsInfoARM.gen.cs index b2961a0bd9..992be3b7cf 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionMemoryRequirementsInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionMemoryRequirementsInfoARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct DataGraphPipelineSessionMemoryRequirementsInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelineSessionMemoryRequirementsInfoARM; @@ -24,7 +27,10 @@ public unsafe partial struct DataGraphPipelineSessionMemoryRequirementsInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,7 +38,10 @@ public unsafe partial struct DataGraphPipelineSessionMemoryRequirementsInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineSessionHandleARM Session; @@ -40,7 +49,10 @@ public unsafe partial struct DataGraphPipelineSessionMemoryRequirementsInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineSessionBindPointARM BindPoint; @@ -48,14 +60,20 @@ public unsafe partial struct DataGraphPipelineSessionMemoryRequirementsInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint ObjectIndex; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineSessionMemoryRequirementsInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionNeuralStatisticsCreateInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionNeuralStatisticsCreateInfoARM.gen.cs new file mode 100644 index 0000000000..4fad37098a --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSessionNeuralStatisticsCreateInfoARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphPipelineSessionNeuralStatisticsCreateInfoARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DataGraphPipelineSessionNeuralStatisticsCreateInfoARM +{ + [NativeName("sType")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public StructureType SType = + StructureType.DataGraphPipelineSessionNeuralStatisticsCreateInfoARM; + + [NativeName("pNext")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public void* PNext; + + [NativeName("mode")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public NeuralAcceleratorStatisticsModeARM Mode; + + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public DataGraphPipelineSessionNeuralStatisticsCreateInfoARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineShaderModuleCreateInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineShaderModuleCreateInfoARM.gen.cs index 8822fb7f42..27f23b20d0 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineShaderModuleCreateInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineShaderModuleCreateInfoARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct DataGraphPipelineShaderModuleCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphPipelineShaderModuleCreateInfoARM; @@ -24,7 +27,10 @@ public unsafe partial struct DataGraphPipelineShaderModuleCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,7 +38,10 @@ public unsafe partial struct DataGraphPipelineShaderModuleCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public ShaderModuleHandle Module; @@ -40,7 +49,10 @@ public unsafe partial struct DataGraphPipelineShaderModuleCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public sbyte* PName; @@ -48,7 +60,10 @@ public unsafe partial struct DataGraphPipelineShaderModuleCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public SpecializationInfo* PSpecializationInfo; @@ -56,7 +71,10 @@ public unsafe partial struct DataGraphPipelineShaderModuleCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint ConstantCount; @@ -64,14 +82,20 @@ public unsafe partial struct DataGraphPipelineShaderModuleCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineConstantARM* PConstants; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphPipelineShaderModuleCreateInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSingleNodeConnectionARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSingleNodeConnectionARM.gen.cs new file mode 100644 index 0000000000..dc12bda6e6 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSingleNodeConnectionARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphPipelineSingleNodeConnectionARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DataGraphPipelineSingleNodeConnectionARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public StructureType SType = StructureType.DataGraphPipelineSingleNodeConnectionARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public void* PNext; + + [NativeName("set")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public uint Set; + + [NativeName("binding")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public uint Binding; + + [NativeName("connection")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphPipelineNodeConnectionTypeARM Connection; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphPipelineSingleNodeConnectionARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSingleNodeCreateInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSingleNodeCreateInfoARM.gen.cs new file mode 100644 index 0000000000..4f5d44cce6 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphPipelineSingleNodeCreateInfoARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphPipelineSingleNodeCreateInfoARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DataGraphPipelineSingleNodeCreateInfoARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public StructureType SType = StructureType.DataGraphPipelineSingleNodeCreateInfoARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public void* PNext; + + [NativeName("nodeType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphPipelineNodeTypeARM NodeType; + + [NativeName("connectionCount")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public uint ConnectionCount; + + [NativeName("pConnections")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphPipelineSingleNodeConnectionARM* PConnections; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphPipelineSingleNodeCreateInfoARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphProcessingEngineCreateInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphProcessingEngineCreateInfoARM.gen.cs index b3eca7ac02..9b4849b075 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DataGraphProcessingEngineCreateInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphProcessingEngineCreateInfoARM.gen.cs @@ -15,7 +15,10 @@ public unsafe partial struct DataGraphProcessingEngineCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.DataGraphProcessingEngineCreateInfoARM; @@ -23,7 +26,10 @@ public unsafe partial struct DataGraphProcessingEngineCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -31,7 +37,10 @@ public unsafe partial struct DataGraphProcessingEngineCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint ProcessingEngineCount; @@ -39,14 +48,20 @@ public unsafe partial struct DataGraphProcessingEngineCreateInfoARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public PhysicalDeviceDataGraphProcessingEngineARM* PProcessingEngines; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public DataGraphProcessingEngineCreateInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphTosaLevelARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphTosaLevelARM.gen.cs new file mode 100644 index 0000000000..8c0dce9709 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphTosaLevelARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphTOSALevelARM")] +[SupportedApiProfile("vulkan")] +public enum DataGraphTosaLevelARM : uint +{ + [NativeName("VK_DATA_GRAPH_TOSA_LEVEL_NONE_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + TosaLevelNone = 0, + + [NativeName("VK_DATA_GRAPH_TOSA_LEVEL_8K_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + TosaLevel8K = 1, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphTosaNameQualityARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphTosaNameQualityARM.gen.cs new file mode 100644 index 0000000000..80069167da --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphTosaNameQualityARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphTOSANameQualityARM")] +[SupportedApiProfile("vulkan")] +public partial struct DataGraphTosaNameQualityARM +{ + [NativeName("name")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphTosaNameQualityARMName Name; + + [NativeName("qualityFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphTosaQualityFlagsARM QualityFlags; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphTosaNameQualityARMName.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphTosaNameQualityARMName.gen.cs new file mode 100644 index 0000000000..f464e4940d --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphTosaNameQualityARMName.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("_name_e__FixedBuffer")] +[InlineArray(128)] +[SupportedApiProfile("vulkan")] +public partial struct DataGraphTosaNameQualityARMName +{ + [NativeName("e0")] + [SupportedApiProfile("vulkan")] + public sbyte E0; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DataGraphTosaQualityFlagsARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DataGraphTosaQualityFlagsARM.gen.cs new file mode 100644 index 0000000000..293791a739 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DataGraphTosaQualityFlagsARM.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDataGraphTOSAQualityFlagBitsARM")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum DataGraphTosaQualityFlagsARM : uint +{ + None = 0x0, + + [NativeName("VK_DATA_GRAPH_TOSA_QUALITY_ACCELERATED_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + TosaQualityAccelerated = 0x1, + + [NativeName("VK_DATA_GRAPH_TOSA_QUALITY_CONFORMANT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + TosaQualityConformant = 0x2, + + [NativeName("VK_DATA_GRAPH_TOSA_QUALITY_EXPERIMENTAL_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + TosaQualityExperimental = 0x4, + + [NativeName("VK_DATA_GRAPH_TOSA_QUALITY_DEPRECATED_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + TosaQualityDeprecated = 0x8, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DecompressMemoryRegionNV.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DecompressMemoryRegionNV.gen.cs index 38039b1a45..ddd251e914 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DecompressMemoryRegionNV.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DecompressMemoryRegionNV.gen.cs @@ -70,5 +70,5 @@ public partial struct DecompressMemoryRegionNV "VK_VERSION_1_2", ] )] - public ulong DecompressionMethod; + public MemoryDecompressionMethodFlagsEXT DecompressionMethod; } diff --git a/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceConstantOffsetEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceConstantOffsetEXT.gen.cs new file mode 100644 index 0000000000..5c482ab272 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceConstantOffsetEXT.gen.cs @@ -0,0 +1,84 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDescriptorMappingSourceConstantOffsetEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DescriptorMappingSourceConstantOffsetEXT +{ + [NativeName("heapOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapOffset; + + [NativeName("heapArrayStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapArrayStride; + + [NativeName("pEmbeddedSampler")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public SamplerCreateInfo* PEmbeddedSampler; + + [NativeName("samplerHeapOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapOffset; + + [NativeName("samplerHeapArrayStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapArrayStride; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceDataEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceDataEXT.gen.cs new file mode 100644 index 0000000000..6b5787a72a --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceDataEXT.gen.cs @@ -0,0 +1,180 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDescriptorMappingSourceDataEXT")] +[StructLayout(LayoutKind.Explicit)] +[SupportedApiProfile("vulkan")] +public partial struct DescriptorMappingSourceDataEXT +{ + [NativeName("constantOffset")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DescriptorMappingSourceConstantOffsetEXT ConstantOffset; + + [NativeName("pushIndex")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DescriptorMappingSourcePushIndexEXT PushIndex; + + [NativeName("indirectIndex")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DescriptorMappingSourceIndirectIndexEXT IndirectIndex; + + [NativeName("indirectIndexArray")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DescriptorMappingSourceIndirectIndexArrayEXT IndirectIndexArray; + + [NativeName("heapData")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DescriptorMappingSourceHeapDataEXT HeapData; + + [NativeName("pushDataOffset")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint PushDataOffset; + + [NativeName("pushAddressOffset")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint PushAddressOffset; + + [NativeName("indirectAddress")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DescriptorMappingSourceIndirectAddressEXT IndirectAddress; + + [NativeName("shaderRecordIndex")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DescriptorMappingSourceShaderRecordIndexEXT ShaderRecordIndex; + + [NativeName("shaderRecordDataOffset")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint ShaderRecordDataOffset; + + [NativeName("shaderRecordAddressOffset")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint ShaderRecordAddressOffset; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceEXT.gen.cs new file mode 100644 index 0000000000..a987baab1d --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceEXT.gen.cs @@ -0,0 +1,175 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDescriptorMappingSourceEXT")] +[SupportedApiProfile("vulkan")] +public enum DescriptorMappingSourceEXT : uint +{ + [NativeName("VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_CONSTANT_OFFSET_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + HeapWithConstantOffset = 0, + + [NativeName("VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_PUSH_INDEX_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + HeapWithPushIndex = 1, + + [NativeName("VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + HeapWithIndirectIndex = 2, + + [NativeName("VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_ARRAY_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + HeapWithIndirectIndexArray = 3, + + [NativeName("VK_DESCRIPTOR_MAPPING_SOURCE_RESOURCE_HEAP_DATA_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + ResourceHeapData = 4, + + [NativeName("VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_DATA_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + PushData = 5, + + [NativeName("VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_ADDRESS_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + PushAddress = 6, + + [NativeName("VK_DESCRIPTOR_MAPPING_SOURCE_INDIRECT_ADDRESS_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + IndirectAddress = 7, + + [NativeName("VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_SHADER_RECORD_INDEX_EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_EXT_descriptor_heap+VK_KHR_ray_tracing_pipeline", + "VK_EXT_descriptor_heap+VK_NV_ray_tracing", + ], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + HeapWithShaderRecordIndex = 8, + + [NativeName("VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_DATA_EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_EXT_descriptor_heap+VK_KHR_ray_tracing_pipeline", + "VK_EXT_descriptor_heap+VK_NV_ray_tracing", + ], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + ShaderRecordData = 9, + + [NativeName("VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_ADDRESS_EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_EXT_descriptor_heap+VK_KHR_ray_tracing_pipeline", + "VK_EXT_descriptor_heap+VK_NV_ray_tracing", + ], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + ShaderRecordAddress = 10, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceHeapDataEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceHeapDataEXT.gen.cs new file mode 100644 index 0000000000..dc9054eb7e --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceHeapDataEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDescriptorMappingSourceHeapDataEXT")] +[SupportedApiProfile("vulkan")] +public partial struct DescriptorMappingSourceHeapDataEXT +{ + [NativeName("heapOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapOffset; + + [NativeName("pushOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint PushOffset; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceIndirectAddressEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceIndirectAddressEXT.gen.cs new file mode 100644 index 0000000000..0570613497 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceIndirectAddressEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDescriptorMappingSourceIndirectAddressEXT")] +[SupportedApiProfile("vulkan")] +public partial struct DescriptorMappingSourceIndirectAddressEXT +{ + [NativeName("pushOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint PushOffset; + + [NativeName("addressOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint AddressOffset; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceIndirectIndexArrayEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceIndirectIndexArrayEXT.gen.cs new file mode 100644 index 0000000000..f7ad268033 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceIndirectIndexArrayEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDescriptorMappingSourceIndirectIndexArrayEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DescriptorMappingSourceIndirectIndexArrayEXT +{ + [NativeName("heapOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapOffset; + + [NativeName("pushOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint PushOffset; + + [NativeName("addressOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint AddressOffset; + + [NativeName("heapIndexStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapIndexStride; + + [NativeName("pEmbeddedSampler")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public SamplerCreateInfo* PEmbeddedSampler; + + [NativeName("useCombinedImageSamplerIndex")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public MaybeBool UseCombinedImageSamplerIndex; + + [NativeName("samplerHeapOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapOffset; + + [NativeName("samplerPushOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerPushOffset; + + [NativeName("samplerAddressOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerAddressOffset; + + [NativeName("samplerHeapIndexStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapIndexStride; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceIndirectIndexEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceIndirectIndexEXT.gen.cs new file mode 100644 index 0000000000..5a2414edff --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceIndirectIndexEXT.gen.cs @@ -0,0 +1,182 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDescriptorMappingSourceIndirectIndexEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DescriptorMappingSourceIndirectIndexEXT +{ + [NativeName("heapOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapOffset; + + [NativeName("pushOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint PushOffset; + + [NativeName("addressOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint AddressOffset; + + [NativeName("heapIndexStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapIndexStride; + + [NativeName("heapArrayStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapArrayStride; + + [NativeName("pEmbeddedSampler")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public SamplerCreateInfo* PEmbeddedSampler; + + [NativeName("useCombinedImageSamplerIndex")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public MaybeBool UseCombinedImageSamplerIndex; + + [NativeName("samplerHeapOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapOffset; + + [NativeName("samplerPushOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerPushOffset; + + [NativeName("samplerAddressOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerAddressOffset; + + [NativeName("samplerHeapIndexStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapIndexStride; + + [NativeName("samplerHeapArrayStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapArrayStride; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourcePushIndexEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourcePushIndexEXT.gen.cs new file mode 100644 index 0000000000..9118c15f92 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourcePushIndexEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDescriptorMappingSourcePushIndexEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DescriptorMappingSourcePushIndexEXT +{ + [NativeName("heapOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapOffset; + + [NativeName("pushOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint PushOffset; + + [NativeName("heapIndexStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapIndexStride; + + [NativeName("heapArrayStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapArrayStride; + + [NativeName("pEmbeddedSampler")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public SamplerCreateInfo* PEmbeddedSampler; + + [NativeName("useCombinedImageSamplerIndex")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public MaybeBool UseCombinedImageSamplerIndex; + + [NativeName("samplerHeapOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapOffset; + + [NativeName("samplerPushOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerPushOffset; + + [NativeName("samplerHeapIndexStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapIndexStride; + + [NativeName("samplerHeapArrayStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapArrayStride; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceShaderRecordIndexEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceShaderRecordIndexEXT.gen.cs new file mode 100644 index 0000000000..c826dd078e --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DescriptorMappingSourceShaderRecordIndexEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDescriptorMappingSourceShaderRecordIndexEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DescriptorMappingSourceShaderRecordIndexEXT +{ + [NativeName("heapOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapOffset; + + [NativeName("shaderRecordOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint ShaderRecordOffset; + + [NativeName("heapIndexStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapIndexStride; + + [NativeName("heapArrayStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint HeapArrayStride; + + [NativeName("pEmbeddedSampler")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public SamplerCreateInfo* PEmbeddedSampler; + + [NativeName("useCombinedImageSamplerIndex")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public MaybeBool UseCombinedImageSamplerIndex; + + [NativeName("samplerHeapOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapOffset; + + [NativeName("samplerShaderRecordOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerShaderRecordOffset; + + [NativeName("samplerHeapIndexStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapIndexStride; + + [NativeName("samplerHeapArrayStride")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerHeapArrayStride; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DescriptorSetAndBindingMappingEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DescriptorSetAndBindingMappingEXT.gen.cs new file mode 100644 index 0000000000..ac7772cc17 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DescriptorSetAndBindingMappingEXT.gen.cs @@ -0,0 +1,139 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDescriptorSetAndBindingMappingEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DescriptorSetAndBindingMappingEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public StructureType SType = StructureType.DescriptorSetAndBindingMappingEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* PNext; + + [NativeName("descriptorSet")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint DescriptorSet; + + [NativeName("firstBinding")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint FirstBinding; + + [NativeName("bindingCount")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint BindingCount; + + [NativeName("resourceMask")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public SpirvResourceTypeFlagsEXT ResourceMask; + + [NativeName("source")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DescriptorMappingSourceEXT Source; + + [NativeName("sourceData")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DescriptorMappingSourceDataEXT SourceData; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DescriptorSetAndBindingMappingEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceAddressRangeKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceAddressRangeKHR.gen.cs new file mode 100644 index 0000000000..53b97ee0d3 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceAddressRangeKHR.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDeviceAddressRangeKHR")] +[SupportedApiProfile("vulkan")] +public partial struct DeviceAddressRangeKHR +{ + [NativeName("address")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public ulong Address; + + [NativeName("size")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public ulong Size; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultAddressInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultAddressInfoKHR.gen.cs similarity index 60% rename from sources/Vulkan/Vulkan/Vulkan/DeviceFaultAddressInfoEXT.gen.cs rename to sources/Vulkan/Vulkan/Vulkan/DeviceFaultAddressInfoKHR.gen.cs index da1a2551ca..fedf99d06a 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultAddressInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultAddressInfoKHR.gen.cs @@ -2,34 +2,33 @@ // The .NET Foundation licenses this file to you under the MIT license. // Ported from the Vulkan headers and corresponding dependencies. // Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. -using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Silk.NET.Vulkan; -[NativeName("VkDeviceFaultAddressInfoEXT")] +[NativeName("VkDeviceFaultAddressInfoKHR")] [SupportedApiProfile("vulkan")] -public partial struct DeviceFaultAddressInfoEXT +public partial struct DeviceFaultAddressInfoKHR { [NativeName("addressType")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] - public DeviceFaultAddressTypeEXT AddressType; + public DeviceFaultAddressTypeKHR AddressType; [NativeName("reportedAddress")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public ulong ReportedAddress; @@ -37,10 +36,10 @@ public partial struct DeviceFaultAddressInfoEXT [NativeName("addressPrecision")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public ulong AddressPrecision; diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultAddressTypeEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultAddressTypeKHR.gen.cs similarity index 52% rename from sources/Vulkan/Vulkan/Vulkan/DeviceFaultAddressTypeEXT.gen.cs rename to sources/Vulkan/Vulkan/Vulkan/DeviceFaultAddressTypeKHR.gen.cs index dceb2a3838..e645e4c583 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultAddressTypeEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultAddressTypeKHR.gen.cs @@ -7,10 +7,87 @@ namespace Silk.NET.Vulkan; -[NativeName("VkDeviceFaultAddressTypeEXT")] +[NativeName("VkDeviceFaultAddressTypeKHR")] [SupportedApiProfile("vulkan")] -public enum DeviceFaultAddressTypeEXT : uint +public enum DeviceFaultAddressTypeKHR : uint { + [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_NONE_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + None = 0, + + [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + ReadInvalid = 1, + + [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + WriteInvalid = 2, + + [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + ExecuteInvalid = 3, + + [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + InstructionPointerUnknown = 4, + + [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + InstructionPointerInvalid = 5, + + [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + InstructionPointerFault = 6, + [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_NONE_EXT")] [SupportedApiProfile( "vulkan", @@ -20,7 +97,7 @@ public enum DeviceFaultAddressTypeEXT : uint "VK_EXT_device_fault+VK_VERSION_1_1", ] )] - None = 0, + NoneEXT = None, [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_EXT")] [SupportedApiProfile( @@ -31,7 +108,7 @@ public enum DeviceFaultAddressTypeEXT : uint "VK_EXT_device_fault+VK_VERSION_1_1", ] )] - ReadInvalid = 1, + ReadInvalidEXT = ReadInvalid, [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_EXT")] [SupportedApiProfile( @@ -42,7 +119,7 @@ public enum DeviceFaultAddressTypeEXT : uint "VK_EXT_device_fault+VK_VERSION_1_1", ] )] - WriteInvalid = 2, + WriteInvalidEXT = WriteInvalid, [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_EXT")] [SupportedApiProfile( @@ -53,7 +130,7 @@ public enum DeviceFaultAddressTypeEXT : uint "VK_EXT_device_fault+VK_VERSION_1_1", ] )] - ExecuteInvalid = 3, + ExecuteInvalidEXT = ExecuteInvalid, [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_EXT")] [SupportedApiProfile( @@ -64,7 +141,7 @@ public enum DeviceFaultAddressTypeEXT : uint "VK_EXT_device_fault+VK_VERSION_1_1", ] )] - InstructionPointerUnknown = 4, + InstructionPointerUnknownEXT = InstructionPointerUnknown, [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_EXT")] [SupportedApiProfile( @@ -75,7 +152,7 @@ public enum DeviceFaultAddressTypeEXT : uint "VK_EXT_device_fault+VK_VERSION_1_1", ] )] - InstructionPointerInvalid = 5, + InstructionPointerInvalidEXT = InstructionPointerInvalid, [NativeName("VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_EXT")] [SupportedApiProfile( @@ -86,5 +163,5 @@ public enum DeviceFaultAddressTypeEXT : uint "VK_EXT_device_fault+VK_VERSION_1_1", ] )] - InstructionPointerFault = 6, + InstructionPointerFaultEXT = InstructionPointerFault, } diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultDebugInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultDebugInfoKHR.gen.cs new file mode 100644 index 0000000000..ef9a2c3161 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultDebugInfoKHR.gen.cs @@ -0,0 +1,68 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDeviceFaultDebugInfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DeviceFaultDebugInfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.DeviceFaultDebugInfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("vendorBinarySize")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public uint VendorBinarySize; + + [NativeName("pVendorBinaryData")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public void* PVendorBinaryData; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public DeviceFaultDebugInfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultFlagsKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultFlagsKHR.gen.cs new file mode 100644 index 0000000000..6209b08a60 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultFlagsKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDeviceFaultFlagBitsKHR")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum DeviceFaultFlagsKHR : uint +{ + None = 0x0, + + [NativeName("VK_DEVICE_FAULT_FLAG_DEVICE_LOST_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + DeviceLost = 0x1, + + [NativeName("VK_DEVICE_FAULT_FLAG_MEMORY_ADDRESS_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + MemoryAddress = 0x2, + + [NativeName("VK_DEVICE_FAULT_FLAG_INSTRUCTION_ADDRESS_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + InstructionAddress = 0x4, + + [NativeName("VK_DEVICE_FAULT_FLAG_VENDOR_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + Vendor = 0x8, + + [NativeName("VK_DEVICE_FAULT_FLAG_WATCHDOG_TIMEOUT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + WatchdogTimeout = 0x10, + + [NativeName("VK_DEVICE_FAULT_FLAG_OVERFLOW_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + Overflow = 0x20, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultInfoEXT.gen.cs index 61cf9e24c8..f8e9a44a8c 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultInfoEXT.gen.cs @@ -53,7 +53,7 @@ public unsafe partial struct DeviceFaultInfoEXT "VK_EXT_device_fault+VK_VERSION_1_1", ] )] - public DeviceFaultAddressInfoEXT* PAddressInfos; + public DeviceFaultAddressInfoKHR* PAddressInfos; [NativeName("pVendorInfos")] [SupportedApiProfile( @@ -64,7 +64,7 @@ public unsafe partial struct DeviceFaultInfoEXT "VK_EXT_device_fault+VK_VERSION_1_1", ] )] - public DeviceFaultVendorInfoEXT* PVendorInfos; + public DeviceFaultVendorInfoKHR* PVendorInfos; [NativeName("pVendorBinaryData")] [SupportedApiProfile( diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultInfoKHR.gen.cs new file mode 100644 index 0000000000..3c8b88854c --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultInfoKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDeviceFaultInfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DeviceFaultInfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.DeviceFaultInfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("flags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public DeviceFaultFlagsKHR Flags; + + [NativeName("groupId")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public ulong GroupId; + + [NativeName("description")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public DeviceFaultInfoKHRDescription Description; + + [NativeName("faultAddressInfo")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public DeviceFaultAddressInfoKHR FaultAddressInfo; + + [NativeName("instructionAddressInfo")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public DeviceFaultAddressInfoKHR InstructionAddressInfo; + + [NativeName("vendorInfo")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public DeviceFaultVendorInfoKHR VendorInfo; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public DeviceFaultInfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorInfoEXTDescription.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultInfoKHRDescription.gen.cs similarity index 91% rename from sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorInfoEXTDescription.gen.cs rename to sources/Vulkan/Vulkan/Vulkan/DeviceFaultInfoKHRDescription.gen.cs index 6f754dab2e..151d716492 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorInfoEXTDescription.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultInfoKHRDescription.gen.cs @@ -11,7 +11,7 @@ namespace Silk.NET.Vulkan; [NativeName("_description_e__FixedBuffer")] [InlineArray(256)] [SupportedApiProfile("vulkan")] -public partial struct DeviceFaultVendorInfoEXTDescription +public partial struct DeviceFaultInfoKHRDescription { [NativeName("e0")] [SupportedApiProfile("vulkan")] diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultShaderAbortMessageInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultShaderAbortMessageInfoKHR.gen.cs new file mode 100644 index 0000000000..866e47491b --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultShaderAbortMessageInfoKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDeviceFaultShaderAbortMessageInfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DeviceFaultShaderAbortMessageInfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public StructureType SType = StructureType.DeviceFaultShaderAbortMessageInfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public void* PNext; + + [NativeName("messageDataSize")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public ulong MessageDataSize; + + [NativeName("pMessageData")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public void* PMessageData; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public DeviceFaultShaderAbortMessageInfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionKHR.gen.cs new file mode 100644 index 0000000000..edc9c63f68 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDeviceFaultVendorBinaryHeaderVersionKHR")] +[SupportedApiProfile("vulkan")] +public enum DeviceFaultVendorBinaryHeaderVersionKHR : uint +{ + [NativeName("VK_DEVICE_FAULT_VENDOR_BINARY_HEADER_VERSION_ONE_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + One = 1, + + [NativeName("VK_DEVICE_FAULT_VENDOR_BINARY_HEADER_VERSION_ONE_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + OneEXT = One, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionOneEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionOneKHR.gen.cs similarity index 53% rename from sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionOneEXT.gen.cs rename to sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionOneKHR.gen.cs index 603198dba3..da417c27f0 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionOneEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionOneKHR.gen.cs @@ -7,17 +7,17 @@ namespace Silk.NET.Vulkan; -[NativeName("VkDeviceFaultVendorBinaryHeaderVersionOneEXT")] +[NativeName("VkDeviceFaultVendorBinaryHeaderVersionOneKHR")] [SupportedApiProfile("vulkan")] -public partial struct DeviceFaultVendorBinaryHeaderVersionOneEXT +public partial struct DeviceFaultVendorBinaryHeaderVersionOneKHR { [NativeName("headerSize")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public uint HeaderSize; @@ -25,21 +25,21 @@ public partial struct DeviceFaultVendorBinaryHeaderVersionOneEXT [NativeName("headerVersion")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] - public DeviceFaultVendorBinaryHeaderVersionEXT HeaderVersion; + public DeviceFaultVendorBinaryHeaderVersionKHR HeaderVersion; [NativeName("vendorID")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public uint VendorID; @@ -47,10 +47,10 @@ public partial struct DeviceFaultVendorBinaryHeaderVersionOneEXT [NativeName("deviceID")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public uint DeviceID; @@ -58,10 +58,10 @@ public partial struct DeviceFaultVendorBinaryHeaderVersionOneEXT [NativeName("driverVersion")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public uint DriverVersion; @@ -69,21 +69,21 @@ public partial struct DeviceFaultVendorBinaryHeaderVersionOneEXT [NativeName("pipelineCacheUUID")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] - public DeviceFaultVendorBinaryHeaderVersionOneEXTPipelineCacheUuid PipelineCacheUuid; + public DeviceFaultVendorBinaryHeaderVersionOneKHRPipelineCacheUuid PipelineCacheUuid; [NativeName("applicationNameOffset")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public uint ApplicationNameOffset; @@ -91,10 +91,10 @@ public partial struct DeviceFaultVendorBinaryHeaderVersionOneEXT [NativeName("applicationVersion")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public uint ApplicationVersion; @@ -102,10 +102,10 @@ public partial struct DeviceFaultVendorBinaryHeaderVersionOneEXT [NativeName("engineNameOffset")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public uint EngineNameOffset; @@ -113,10 +113,10 @@ public partial struct DeviceFaultVendorBinaryHeaderVersionOneEXT [NativeName("engineVersion")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public uint EngineVersion; @@ -124,10 +124,10 @@ public partial struct DeviceFaultVendorBinaryHeaderVersionOneEXT [NativeName("apiVersion")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public uint ApiVersion; diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionOneEXTPipelineCacheUuid.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionOneKHRPipelineCacheUuid.gen.cs similarity index 90% rename from sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionOneEXTPipelineCacheUuid.gen.cs rename to sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionOneKHRPipelineCacheUuid.gen.cs index 6ce5eea9de..df8d6b29a7 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionOneEXTPipelineCacheUuid.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorBinaryHeaderVersionOneKHRPipelineCacheUuid.gen.cs @@ -11,7 +11,7 @@ namespace Silk.NET.Vulkan; [NativeName("_pipelineCacheUUID_e__FixedBuffer")] [InlineArray(16)] [SupportedApiProfile("vulkan")] -public partial struct DeviceFaultVendorBinaryHeaderVersionOneEXTPipelineCacheUuid +public partial struct DeviceFaultVendorBinaryHeaderVersionOneKHRPipelineCacheUuid { [NativeName("e0")] [SupportedApiProfile("vulkan")] diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorInfoKHR.gen.cs similarity index 60% rename from sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorInfoEXT.gen.cs rename to sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorInfoKHR.gen.cs index 753adcbc03..5af925c13b 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorInfoKHR.gen.cs @@ -8,28 +8,28 @@ namespace Silk.NET.Vulkan; -[NativeName("VkDeviceFaultVendorInfoEXT")] +[NativeName("VkDeviceFaultVendorInfoKHR")] [SupportedApiProfile("vulkan")] -public partial struct DeviceFaultVendorInfoEXT +public partial struct DeviceFaultVendorInfoKHR { [NativeName("description")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] - public DeviceFaultVendorInfoEXTDescription Description; + public DeviceFaultVendorInfoKHRDescription Description; [NativeName("vendorFaultCode")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public ulong VendorFaultCode; @@ -37,10 +37,10 @@ public partial struct DeviceFaultVendorInfoEXT [NativeName("vendorFaultData")] [SupportedApiProfile( "vulkan", - ["VK_EXT_device_fault"], + ["VK_KHR_device_fault"], ImpliesSets = [ - "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", - "VK_EXT_device_fault+VK_VERSION_1_1", + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", ] )] public ulong VendorFaultData; diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorInfoKHRDescription.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorInfoKHRDescription.gen.cs new file mode 100644 index 0000000000..85247b8910 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceFaultVendorInfoKHRDescription.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("_description_e__FixedBuffer")] +[InlineArray(256)] +[SupportedApiProfile("vulkan")] +public partial struct DeviceFaultVendorInfoKHRDescription +{ + [NativeName("e0")] + [SupportedApiProfile("vulkan")] + public sbyte E0; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceMemoryCopyKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceMemoryCopyKHR.gen.cs new file mode 100644 index 0000000000..be2d509147 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceMemoryCopyKHR.gen.cs @@ -0,0 +1,104 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDeviceMemoryCopyKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DeviceMemoryCopyKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StructureType SType = StructureType.DeviceMemoryCopyKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public void* PNext; + + [NativeName("srcRange")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DeviceAddressRangeKHR SrcRange; + + [NativeName("srcFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public AddressCommandFlagsKHR SrcFlags; + + [NativeName("dstRange")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DeviceAddressRangeKHR DstRange; + + [NativeName("dstFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public AddressCommandFlagsKHR DstFlags; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DeviceMemoryCopyKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceMemoryImageCopyKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceMemoryImageCopyKHR.gen.cs new file mode 100644 index 0000000000..f3c2c39ae3 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceMemoryImageCopyKHR.gen.cs @@ -0,0 +1,155 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDeviceMemoryImageCopyKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DeviceMemoryImageCopyKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StructureType SType = StructureType.DeviceMemoryImageCopyKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public void* PNext; + + [NativeName("addressRange")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DeviceAddressRangeKHR AddressRange; + + [NativeName("addressFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public AddressCommandFlagsKHR AddressFlags; + + [NativeName("addressRowLength")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public uint AddressRowLength; + + [NativeName("addressImageHeight")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public uint AddressImageHeight; + + [NativeName("imageSubresource")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public ImageSubresourceLayers ImageSubresource; + + [NativeName("imageLayout")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public ImageLayout ImageLayout; + + [NativeName("imageOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public Offset3D ImageOffset; + + [NativeName("imageExtent")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public Extent3D ImageExtent; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DeviceMemoryImageCopyKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DevicePipelineBinaryInternalCacheControlKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DevicePipelineBinaryInternalCacheControlKHR.gen.cs index 485ec538c3..0068a95f67 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DevicePipelineBinaryInternalCacheControlKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DevicePipelineBinaryInternalCacheControlKHR.gen.cs @@ -17,6 +17,7 @@ public unsafe partial struct DevicePipelineBinaryInternalCacheControlKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -28,6 +29,7 @@ public unsafe partial struct DevicePipelineBinaryInternalCacheControlKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -39,6 +41,7 @@ public unsafe partial struct DevicePipelineBinaryInternalCacheControlKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -49,6 +52,7 @@ public unsafe partial struct DevicePipelineBinaryInternalCacheControlKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/DeviceQueueCreateFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DeviceQueueCreateFlags.gen.cs index 6dc7be1776..0711a8e98b 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DeviceQueueCreateFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DeviceQueueCreateFlags.gen.cs @@ -39,4 +39,12 @@ public enum DeviceQueueCreateFlags : uint MinVersion = "1.1" )] ProtectedBit = 0x1, + + [NativeName("VK_DEVICE_QUEUE_CREATE_INTERNALLY_SYNCHRONIZED_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_internally_synchronized_queues"], + ImpliesSets = ["VK_VERSION_1_1"] + )] + InternallySynchronizedBitKHR = 0x4, } diff --git a/sources/Vulkan/Vulkan/Vulkan/DispatchIndirect2InfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DispatchIndirect2InfoKHR.gen.cs new file mode 100644 index 0000000000..eef900d483 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DispatchIndirect2InfoKHR.gen.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDispatchIndirect2InfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DispatchIndirect2InfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StructureType SType = StructureType.DispatchIndirect2InfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public void* PNext; + + [NativeName("addressRange")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DeviceAddressRangeKHR AddressRange; + + [NativeName("addressFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public AddressCommandFlagsKHR AddressFlags; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DispatchIndirect2InfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DispatchParametersARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DispatchParametersARM.gen.cs new file mode 100644 index 0000000000..92dfd2e0d3 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DispatchParametersARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDispatchParametersARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DispatchParametersARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public StructureType SType = StructureType.DispatchParametersARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public void* PNext; + + [NativeName("workGroupBatchSize")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public uint WorkGroupBatchSize; + + [NativeName("maxQueuedWorkGroupBatches")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public uint MaxQueuedWorkGroupBatches; + + [NativeName("maxWarpsPerShaderCore")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public uint MaxWarpsPerShaderCore; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public DispatchParametersARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DispatchTileInfoQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DispatchTileInfoQCOM.gen.cs index 0305a6343a..f585128c4b 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DispatchTileInfoQCOM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DispatchTileInfoQCOM.gen.cs @@ -16,10 +16,7 @@ public unsafe partial struct DispatchTileInfoQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public StructureType SType = StructureType.DispatchTileInfoQCOM; @@ -27,20 +24,14 @@ public unsafe partial struct DispatchTileInfoQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public void* PNext; [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public DispatchTileInfoQCOM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/DrawIndirect2InfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DrawIndirect2InfoKHR.gen.cs new file mode 100644 index 0000000000..e148e15240 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DrawIndirect2InfoKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDrawIndirect2InfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DrawIndirect2InfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StructureType SType = StructureType.DrawIndirect2InfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public void* PNext; + + [NativeName("addressRange")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StridedDeviceAddressRangeKHR AddressRange; + + [NativeName("addressFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public AddressCommandFlagsKHR AddressFlags; + + [NativeName("drawCount")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public uint DrawCount; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DrawIndirect2InfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DrawIndirectCount2InfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DrawIndirectCount2InfoKHR.gen.cs new file mode 100644 index 0000000000..d3ca25f6e7 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/DrawIndirectCount2InfoKHR.gen.cs @@ -0,0 +1,117 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkDrawIndirectCount2InfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct DrawIndirectCount2InfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StructureType SType = StructureType.DrawIndirectCount2InfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public void* PNext; + + [NativeName("addressRange")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StridedDeviceAddressRangeKHR AddressRange; + + [NativeName("addressFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public AddressCommandFlagsKHR AddressFlags; + + [NativeName("countAddressRange")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DeviceAddressRangeKHR CountAddressRange; + + [NativeName("countAddressFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public AddressCommandFlagsKHR CountAddressFlags; + + [NativeName("maxDrawCount")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public uint MaxDrawCount; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DrawIndirectCount2InfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/DrawIndirectCountIndirectCommandEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DrawIndirectCountIndirectCommandEXT.gen.cs index 55dc1da779..be04a4b7ed 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DrawIndirectCountIndirectCommandEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DrawIndirectCountIndirectCommandEXT.gen.cs @@ -17,8 +17,10 @@ public partial struct DrawIndirectCountIndirectCommandEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29,8 +31,10 @@ public partial struct DrawIndirectCountIndirectCommandEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -41,8 +45,10 @@ public partial struct DrawIndirectCountIndirectCommandEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/DriverId.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DriverId.gen.cs index 525f11b8bc..0dabccb4ab 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DriverId.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DriverId.gen.cs @@ -600,6 +600,48 @@ public enum DriverId : uint )] MesaKosmickrisp = 28, + [NativeName("VK_DRIVER_ID_MESA_GFXSTREAM")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.2" + )] + MesaGfxstream = 29, + + [NativeName("VK_DRIVER_ID_APE_SOFT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.2" + )] + ApeSoft = 30, + [NativeName("VK_DRIVER_ID_AMD_PROPRIETARY_KHR")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/DynamicState.gen.cs b/sources/Vulkan/Vulkan/Vulkan/DynamicState.gen.cs index 4c7d02750e..4300fef074 100644 --- a/sources/Vulkan/Vulkan/Vulkan/DynamicState.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/DynamicState.gen.cs @@ -680,24 +680,30 @@ public enum DynamicState : uint [NativeName("VK_DYNAMIC_STATE_LINE_RASTERIZATION_MODE_EXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] LineRasterizationModeEXT = 1000455020, [NativeName("VK_DYNAMIC_STATE_LINE_STIPPLE_ENABLE_EXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] LineStippleEnableEXT = 1000455021, diff --git a/sources/Vulkan/Vulkan/Vulkan/Format.gen.cs b/sources/Vulkan/Vulkan/Vulkan/Format.gen.cs index 0ed6d6b675..4fa2eab2b8 100644 --- a/sources/Vulkan/Vulkan/Vulkan/Format.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/Format.gen.cs @@ -6625,10 +6625,367 @@ public enum Format : uint [SupportedApiProfile("vulkan", ["VK_IMG_format_pvrtc"])] Pvrtc2x4BppSrgbBlockIMG = 1000054007, + [NativeName("VK_FORMAT_ASTC_3x3x3_UNORM_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc3x3x3UnormBlockEXT = 1000288000, + + [NativeName("VK_FORMAT_ASTC_3x3x3_SRGB_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc3x3x3SrgbBlockEXT = 1000288001, + + [NativeName("VK_FORMAT_ASTC_3x3x3_SFLOAT_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc3x3x3SfloatBlockEXT = 1000288002, + + [NativeName("VK_FORMAT_ASTC_4x3x3_UNORM_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc4x3x3UnormBlockEXT = 1000288003, + + [NativeName("VK_FORMAT_ASTC_4x3x3_SRGB_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc4x3x3SrgbBlockEXT = 1000288004, + + [NativeName("VK_FORMAT_ASTC_4x3x3_SFLOAT_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc4x3x3SfloatBlockEXT = 1000288005, + + [NativeName("VK_FORMAT_ASTC_4x4x3_UNORM_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc4x4x3UnormBlockEXT = 1000288006, + + [NativeName("VK_FORMAT_ASTC_4x4x3_SRGB_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc4x4x3SrgbBlockEXT = 1000288007, + + [NativeName("VK_FORMAT_ASTC_4x4x3_SFLOAT_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc4x4x3SfloatBlockEXT = 1000288008, + + [NativeName("VK_FORMAT_ASTC_4x4x4_UNORM_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc4x4x4UnormBlockEXT = 1000288009, + + [NativeName("VK_FORMAT_ASTC_4x4x4_SRGB_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc4x4x4SrgbBlockEXT = 1000288010, + + [NativeName("VK_FORMAT_ASTC_4x4x4_SFLOAT_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc4x4x4SfloatBlockEXT = 1000288011, + + [NativeName("VK_FORMAT_ASTC_5x4x4_UNORM_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc5x4x4UnormBlockEXT = 1000288012, + + [NativeName("VK_FORMAT_ASTC_5x4x4_SRGB_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc5x4x4SrgbBlockEXT = 1000288013, + + [NativeName("VK_FORMAT_ASTC_5x4x4_SFLOAT_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc5x4x4SfloatBlockEXT = 1000288014, + + [NativeName("VK_FORMAT_ASTC_5x5x4_UNORM_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc5x5x4UnormBlockEXT = 1000288015, + + [NativeName("VK_FORMAT_ASTC_5x5x4_SRGB_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc5x5x4SrgbBlockEXT = 1000288016, + + [NativeName("VK_FORMAT_ASTC_5x5x4_SFLOAT_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc5x5x4SfloatBlockEXT = 1000288017, + + [NativeName("VK_FORMAT_ASTC_5x5x5_UNORM_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc5x5x5UnormBlockEXT = 1000288018, + + [NativeName("VK_FORMAT_ASTC_5x5x5_SRGB_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc5x5x5SrgbBlockEXT = 1000288019, + + [NativeName("VK_FORMAT_ASTC_5x5x5_SFLOAT_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc5x5x5SfloatBlockEXT = 1000288020, + + [NativeName("VK_FORMAT_ASTC_6x5x5_UNORM_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc6x5x5UnormBlockEXT = 1000288021, + + [NativeName("VK_FORMAT_ASTC_6x5x5_SRGB_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc6x5x5SrgbBlockEXT = 1000288022, + + [NativeName("VK_FORMAT_ASTC_6x5x5_SFLOAT_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc6x5x5SfloatBlockEXT = 1000288023, + + [NativeName("VK_FORMAT_ASTC_6x6x5_UNORM_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc6x6x5UnormBlockEXT = 1000288024, + + [NativeName("VK_FORMAT_ASTC_6x6x5_SRGB_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc6x6x5SrgbBlockEXT = 1000288025, + + [NativeName("VK_FORMAT_ASTC_6x6x5_SFLOAT_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc6x6x5SfloatBlockEXT = 1000288026, + + [NativeName("VK_FORMAT_ASTC_6x6x6_UNORM_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc6x6x6UnormBlockEXT = 1000288027, + + [NativeName("VK_FORMAT_ASTC_6x6x6_SRGB_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc6x6x6SrgbBlockEXT = 1000288028, + + [NativeName("VK_FORMAT_ASTC_6x6x6_SFLOAT_BLOCK_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + Astc6x6x6SfloatBlockEXT = 1000288029, + [NativeName("VK_FORMAT_R8_BOOL_ARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] R8BoolARM = 1000460000, + [NativeName("VK_FORMAT_R16_SFLOAT_FPENCODING_BFLOAT16_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_KHR_shader_bfloat16"], + ImpliesSets = ["VK_VERSION_1_3"], + RequireAll = true + )] + R16SfloatFpencodingBfloat16ARM = 1000460001, + + [NativeName("VK_FORMAT_R8_SFLOAT_FPENCODING_FLOAT8E4M3_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_shader_float8"], + ImpliesSets = ["VK_VERSION_1_3"], + RequireAll = true + )] + R8SfloatFpencodingFloat8E4M3ARM = 1000460002, + + [NativeName("VK_FORMAT_R8_SFLOAT_FPENCODING_FLOAT8E5M2_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_shader_float8"], + ImpliesSets = ["VK_VERSION_1_3"], + RequireAll = true + )] + R8SfloatFpencodingFloat8E5M2ARM = 1000460003, + [NativeName("VK_FORMAT_R16G16_SFIXED5_NV")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/FormatProperties4KHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/FormatProperties4KHR.gen.cs new file mode 100644 index 0000000000..9fd4576189 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/FormatProperties4KHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkFormatProperties4KHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct FormatProperties4KHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.FormatProperties4KHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("linearTilingFeatures")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public FormatFeatureFlags4KHR LinearTilingFeatures; + + [NativeName("optimalTilingFeatures")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public FormatFeatureFlags4KHR OptimalTilingFeatures; + + [NativeName("bufferFeatures")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public FormatFeatureFlags4KHR BufferFeatures; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public FormatProperties4KHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsInfoEXT.gen.cs index 5d387fc8fc..6edd15608b 100644 --- a/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsInfoEXT.gen.cs @@ -16,8 +16,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -28,8 +30,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -40,8 +44,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -52,8 +58,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -64,8 +72,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -76,8 +86,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -88,8 +100,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -100,8 +114,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -112,8 +128,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -124,8 +142,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -136,8 +156,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -148,8 +170,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -159,8 +183,10 @@ public unsafe partial struct GeneratedCommandsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsMemoryRequirementsInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsMemoryRequirementsInfoEXT.gen.cs index 643ac5bb84..db6256d43f 100644 --- a/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsMemoryRequirementsInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsMemoryRequirementsInfoEXT.gen.cs @@ -17,8 +17,10 @@ public unsafe partial struct GeneratedCommandsMemoryRequirementsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29,8 +31,10 @@ public unsafe partial struct GeneratedCommandsMemoryRequirementsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -41,8 +45,10 @@ public unsafe partial struct GeneratedCommandsMemoryRequirementsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -53,8 +59,10 @@ public unsafe partial struct GeneratedCommandsMemoryRequirementsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -65,8 +73,10 @@ public unsafe partial struct GeneratedCommandsMemoryRequirementsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -77,8 +87,10 @@ public unsafe partial struct GeneratedCommandsMemoryRequirementsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -88,8 +100,10 @@ public unsafe partial struct GeneratedCommandsMemoryRequirementsInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsPipelineInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsPipelineInfoEXT.gen.cs index ebeb52dec9..21667fa3dd 100644 --- a/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsPipelineInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsPipelineInfoEXT.gen.cs @@ -17,8 +17,10 @@ public unsafe partial struct GeneratedCommandsPipelineInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29,8 +31,10 @@ public unsafe partial struct GeneratedCommandsPipelineInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -41,8 +45,10 @@ public unsafe partial struct GeneratedCommandsPipelineInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -52,8 +58,10 @@ public unsafe partial struct GeneratedCommandsPipelineInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsShaderInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsShaderInfoEXT.gen.cs index fa543108a8..b77e93bcf7 100644 --- a/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsShaderInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/GeneratedCommandsShaderInfoEXT.gen.cs @@ -17,8 +17,10 @@ public unsafe partial struct GeneratedCommandsShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29,8 +31,10 @@ public unsafe partial struct GeneratedCommandsShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -41,8 +45,10 @@ public unsafe partial struct GeneratedCommandsShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -53,8 +59,10 @@ public unsafe partial struct GeneratedCommandsShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -64,8 +72,10 @@ public unsafe partial struct GeneratedCommandsShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/GeometryInstanceFlagsKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GeometryInstanceFlagsKHR.gen.cs index c4a0b4996c..405131342d 100644 --- a/sources/Vulkan/Vulkan/Vulkan/GeometryInstanceFlagsKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/GeometryInstanceFlagsKHR.gen.cs @@ -59,27 +59,21 @@ public enum GeometryInstanceFlagsKHR : uint )] ForceNoOpaqueBit = 0x8, - [NativeName("VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_BIT_EXT")] + [NativeName("VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_BIT_KHR")] [SupportedApiProfile( "vulkan", - ["VK_EXT_opacity_micromap"], - ImpliesSets = [ - "VK_KHR_acceleration_structure+VK_KHR_synchronization2", - "VK_KHR_acceleration_structure+VK_VERSION_1_3", - ] + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] )] - ForceOpacityMicromap2StateBitEXT = 0x10, + ForceOpacityMicromap2StateBit = 0x10, - [NativeName("VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_BIT_EXT")] + [NativeName("VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_BIT_KHR")] [SupportedApiProfile( "vulkan", - ["VK_EXT_opacity_micromap"], - ImpliesSets = [ - "VK_KHR_acceleration_structure+VK_KHR_synchronization2", - "VK_KHR_acceleration_structure+VK_VERSION_1_3", - ] + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] )] - DisableOpacityMicromapsBitEXT = 0x20, + DisableOpacityMicromapsBit = 0x20, [NativeName("VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_KHR")] [SupportedApiProfile( @@ -135,4 +129,26 @@ public enum GeometryInstanceFlagsKHR : uint ] )] ForceNoOpaqueBitNV = ForceNoOpaqueBit, + + [NativeName("VK_GEOMETRY_INSTANCE_FORCE_OPACITY_MICROMAP_2_STATE_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_opacity_micromap"], + ImpliesSets = [ + "VK_KHR_acceleration_structure+VK_KHR_synchronization2", + "VK_KHR_acceleration_structure+VK_VERSION_1_3", + ] + )] + ForceOpacityMicromap2StateBitEXT = ForceOpacityMicromap2StateBit, + + [NativeName("VK_GEOMETRY_INSTANCE_DISABLE_OPACITY_MICROMAPS_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_opacity_micromap"], + ImpliesSets = [ + "VK_KHR_acceleration_structure+VK_KHR_synchronization2", + "VK_KHR_acceleration_structure+VK_VERSION_1_3", + ] + )] + DisableOpacityMicromapsBitEXT = DisableOpacityMicromapsBit, } diff --git a/sources/Vulkan/Vulkan/Vulkan/GeometryTypeKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GeometryTypeKHR.gen.cs index 32b3267eb4..4e2b8fa517 100644 --- a/sources/Vulkan/Vulkan/Vulkan/GeometryTypeKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/GeometryTypeKHR.gen.cs @@ -66,12 +66,21 @@ public enum GeometryTypeKHR : uint "vulkan", ["VK_AMDX_dense_geometry_format"], ImpliesSets = [ + "VK_KHR_acceleration_structure+VK_KHR_extended_flags", "VK_KHR_acceleration_structure+VK_KHR_maintenance5", "VK_KHR_acceleration_structure+VK_VERSION_1_4", ] )] DenseGeometryFormatTrianglesAMDX = 1000478000, + [NativeName("VK_GEOMETRY_TYPE_MICROMAP_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + Micromap = 1000623000, + [NativeName("VK_GEOMETRY_TYPE_TRIANGLES_NV")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/GpaDeviceClockModeAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GpaDeviceClockModeAMD.gen.cs new file mode 100644 index 0000000000..d63d447433 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/GpaDeviceClockModeAMD.gen.cs @@ -0,0 +1,80 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkGpaDeviceClockModeAMD")] +[SupportedApiProfile("vulkan")] +public enum GpaDeviceClockModeAMD : uint +{ + [NativeName("VK_GPA_DEVICE_CLOCK_MODE_DEFAULT_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Default = 0, + + [NativeName("VK_GPA_DEVICE_CLOCK_MODE_QUERY_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Query = 1, + + [NativeName("VK_GPA_DEVICE_CLOCK_MODE_PROFILING_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Profiling = 2, + + [NativeName("VK_GPA_DEVICE_CLOCK_MODE_MIN_MEMORY_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + MinMemory = 3, + + [NativeName("VK_GPA_DEVICE_CLOCK_MODE_MIN_ENGINE_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + MinEngine = 4, + + [NativeName("VK_GPA_DEVICE_CLOCK_MODE_PEAK_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Peak = 5, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/GpaDeviceClockModeInfoAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GpaDeviceClockModeInfoAMD.gen.cs new file mode 100644 index 0000000000..26d7df2bfa --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/GpaDeviceClockModeInfoAMD.gen.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkGpaDeviceClockModeInfoAMD")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct GpaDeviceClockModeInfoAMD +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.GpaDeviceClockModeInfoAMD; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("clockMode")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public GpaDeviceClockModeAMD ClockMode; + + [NativeName("memoryClockRatioToPeak")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public float MemoryClockRatioToPeak; + + [NativeName("engineClockRatioToPeak")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public float EngineClockRatioToPeak; + + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public GpaDeviceClockModeInfoAMD() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/GpaDeviceGetClockInfoAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GpaDeviceGetClockInfoAMD.gen.cs new file mode 100644 index 0000000000..704bde7cf3 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/GpaDeviceGetClockInfoAMD.gen.cs @@ -0,0 +1,89 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkGpaDeviceGetClockInfoAMD")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct GpaDeviceGetClockInfoAMD +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.GpaDeviceGetClockInfoAMD; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("memoryClockRatioToPeak")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public float MemoryClockRatioToPeak; + + [NativeName("engineClockRatioToPeak")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public float EngineClockRatioToPeak; + + [NativeName("memoryClockFrequency")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint MemoryClockFrequency; + + [NativeName("engineClockFrequency")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint EngineClockFrequency; + + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public GpaDeviceGetClockInfoAMD() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/GpaPerfBlockAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GpaPerfBlockAMD.gen.cs new file mode 100644 index 0000000000..c96636b940 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/GpaPerfBlockAMD.gen.cs @@ -0,0 +1,663 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkGpaPerfBlockAMD")] +[SupportedApiProfile("vulkan")] +public enum GpaPerfBlockAMD : uint +{ + [NativeName("VK_GPA_PERF_BLOCK_CPF_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Cpf = 0, + + [NativeName("VK_GPA_PERF_BLOCK_IA_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Ia = 1, + + [NativeName("VK_GPA_PERF_BLOCK_VGT_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Vgt = 2, + + [NativeName("VK_GPA_PERF_BLOCK_PA_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Pa = 3, + + [NativeName("VK_GPA_PERF_BLOCK_SC_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Sc = 4, + + [NativeName("VK_GPA_PERF_BLOCK_SPI_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Spi = 5, + + [NativeName("VK_GPA_PERF_BLOCK_SQ_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Sq = 6, + + [NativeName("VK_GPA_PERF_BLOCK_SX_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Sx = 7, + + [NativeName("VK_GPA_PERF_BLOCK_TA_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Ta = 8, + + [NativeName("VK_GPA_PERF_BLOCK_TD_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Td = 9, + + [NativeName("VK_GPA_PERF_BLOCK_TCP_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Tcp = 10, + + [NativeName("VK_GPA_PERF_BLOCK_TCC_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Tcc = 11, + + [NativeName("VK_GPA_PERF_BLOCK_TCA_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Tca = 12, + + [NativeName("VK_GPA_PERF_BLOCK_DB_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Db = 13, + + [NativeName("VK_GPA_PERF_BLOCK_CB_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Cb = 14, + + [NativeName("VK_GPA_PERF_BLOCK_GDS_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Gds = 15, + + [NativeName("VK_GPA_PERF_BLOCK_SRBM_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Srbm = 16, + + [NativeName("VK_GPA_PERF_BLOCK_GRBM_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Grbm = 17, + + [NativeName("VK_GPA_PERF_BLOCK_GRBM_SE_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + GrbmSe = 18, + + [NativeName("VK_GPA_PERF_BLOCK_RLC_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Rlc = 19, + + [NativeName("VK_GPA_PERF_BLOCK_DMA_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Dma = 20, + + [NativeName("VK_GPA_PERF_BLOCK_MC_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Mc = 21, + + [NativeName("VK_GPA_PERF_BLOCK_CPG_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Cpg = 22, + + [NativeName("VK_GPA_PERF_BLOCK_CPC_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Cpc = 23, + + [NativeName("VK_GPA_PERF_BLOCK_WD_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Wd = 24, + + [NativeName("VK_GPA_PERF_BLOCK_TCS_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Tcs = 25, + + [NativeName("VK_GPA_PERF_BLOCK_ATC_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Atc = 26, + + [NativeName("VK_GPA_PERF_BLOCK_ATC_L2_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + AtcL2 = 27, + + [NativeName("VK_GPA_PERF_BLOCK_MC_VM_L2_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + McVmL2 = 28, + + [NativeName("VK_GPA_PERF_BLOCK_EA_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Ea = 29, + + [NativeName("VK_GPA_PERF_BLOCK_RPB_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Rpb = 30, + + [NativeName("VK_GPA_PERF_BLOCK_RMI_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Rmi = 31, + + [NativeName("VK_GPA_PERF_BLOCK_UMCCH_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Umcch = 32, + + [NativeName("VK_GPA_PERF_BLOCK_GE_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Ge = 33, + + [NativeName("VK_GPA_PERF_BLOCK_GL1A_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Gl1A = 34, + + [NativeName("VK_GPA_PERF_BLOCK_GL1C_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Gl1C = 35, + + [NativeName("VK_GPA_PERF_BLOCK_GL1CG_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Gl1Cg = 36, + + [NativeName("VK_GPA_PERF_BLOCK_GL2A_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Gl2A = 37, + + [NativeName("VK_GPA_PERF_BLOCK_GL2C_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Gl2C = 38, + + [NativeName("VK_GPA_PERF_BLOCK_CHA_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Cha = 39, + + [NativeName("VK_GPA_PERF_BLOCK_CHC_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Chc = 40, + + [NativeName("VK_GPA_PERF_BLOCK_CHCG_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Chcg = 41, + + [NativeName("VK_GPA_PERF_BLOCK_GUS_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Gus = 42, + + [NativeName("VK_GPA_PERF_BLOCK_GCR_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Gcr = 43, + + [NativeName("VK_GPA_PERF_BLOCK_PH_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Ph = 44, + + [NativeName("VK_GPA_PERF_BLOCK_UTCL1_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Utcl1 = 45, + + [NativeName("VK_GPA_PERF_BLOCK_GE_DIST_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + GeDist = 46, + + [NativeName("VK_GPA_PERF_BLOCK_GE_SE_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + GeSe = 47, + + [NativeName("VK_GPA_PERF_BLOCK_DF_MALL_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + DfMall = 48, + + [NativeName("VK_GPA_PERF_BLOCK_SQ_WGP_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + SqWgp = 49, + + [NativeName("VK_GPA_PERF_BLOCK_PC_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Pc = 50, + + [NativeName("VK_GPA_PERF_BLOCK_GL1XA_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Gl1Xa = 51, + + [NativeName("VK_GPA_PERF_BLOCK_GL1XC_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Gl1Xc = 52, + + [NativeName("VK_GPA_PERF_BLOCK_WGS_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Wgs = 53, + + [NativeName("VK_GPA_PERF_BLOCK_EACPWD_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Eacpwd = 54, + + [NativeName("VK_GPA_PERF_BLOCK_EASE_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Ease = 55, + + [NativeName("VK_GPA_PERF_BLOCK_RLCUSER_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Rlcuser = 56, + + [NativeName("VK_GPA_PERF_BLOCK_GE1_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Ge1 = Ge, + + [NativeName("VK_GPA_PERF_BLOCK_RLCLOCAL_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Rlclocal = Rlcuser, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/GpaPerfBlockPropertiesAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GpaPerfBlockPropertiesAMD.gen.cs new file mode 100644 index 0000000000..36a4b92937 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/GpaPerfBlockPropertiesAMD.gen.cs @@ -0,0 +1,90 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkGpaPerfBlockPropertiesAMD")] +[SupportedApiProfile("vulkan")] +public partial struct GpaPerfBlockPropertiesAMD +{ + [NativeName("blockType")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public GpaPerfBlockAMD BlockType; + + [NativeName("flags")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint Flags; + + [NativeName("instanceCount")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint InstanceCount; + + [NativeName("maxEventID")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint MaxEventID; + + [NativeName("maxGlobalOnlyCounters")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint MaxGlobalOnlyCounters; + + [NativeName("maxGlobalSharedCounters")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint MaxGlobalSharedCounters; + + [NativeName("maxStreamingCounters")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint MaxStreamingCounters; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/GpaPerfCounterAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GpaPerfCounterAMD.gen.cs new file mode 100644 index 0000000000..a6fcbcf4e1 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/GpaPerfCounterAMD.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkGpaPerfCounterAMD")] +[SupportedApiProfile("vulkan")] +public partial struct GpaPerfCounterAMD +{ + [NativeName("blockType")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public GpaPerfBlockAMD BlockType; + + [NativeName("blockInstance")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint BlockInstance; + + [NativeName("eventID")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint EventID; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/GpaSampleBeginInfoAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GpaSampleBeginInfoAMD.gen.cs new file mode 100644 index 0000000000..31ac979ad4 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/GpaSampleBeginInfoAMD.gen.cs @@ -0,0 +1,200 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkGpaSampleBeginInfoAMD")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct GpaSampleBeginInfoAMD +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.GpaSampleBeginInfoAMD; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("sampleType")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public GpaSampleTypeAMD SampleType; + + [NativeName("sampleInternalOperations")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public MaybeBool SampleInternalOperations; + + [NativeName("cacheFlushOnCounterCollection")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public MaybeBool CacheFlushOnCounterCollection; + + [NativeName("sqShaderMaskEnable")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public MaybeBool SqShaderMaskEnable; + + [NativeName("sqShaderMask")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public GpaSqShaderStageFlagsAMD SqShaderMask; + + [NativeName("perfCounterCount")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint PerfCounterCount; + + [NativeName("pPerfCounters")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public GpaPerfCounterAMD* PPerfCounters; + + [NativeName("streamingPerfTraceSampleInterval")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint StreamingPerfTraceSampleInterval; + + [NativeName("perfCounterDeviceMemoryLimit")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public ulong PerfCounterDeviceMemoryLimit; + + [NativeName("sqThreadTraceEnable")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public MaybeBool SqThreadTraceEnable; + + [NativeName("sqThreadTraceSuppressInstructionTokens")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public MaybeBool SqThreadTraceSuppressInstructionTokens; + + [NativeName("sqThreadTraceDeviceMemoryLimit")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public ulong SqThreadTraceDeviceMemoryLimit; + + [NativeName("timingPreSample")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public PipelineStageFlags TimingPreSample; + + [NativeName("timingPostSample")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public PipelineStageFlags TimingPostSample; + + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public GpaSampleBeginInfoAMD() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/GpaSampleTypeAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GpaSampleTypeAMD.gen.cs new file mode 100644 index 0000000000..3b7f5660f0 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/GpaSampleTypeAMD.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkGpaSampleTypeAMD")] +[SupportedApiProfile("vulkan")] +public enum GpaSampleTypeAMD : uint +{ + [NativeName("VK_GPA_SAMPLE_TYPE_CUMULATIVE_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Cumulative = 0, + + [NativeName("VK_GPA_SAMPLE_TYPE_TRACE_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Trace = 1, + + [NativeName("VK_GPA_SAMPLE_TYPE_TIMING_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + Timing = 2, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/GpaSessionCreateInfoAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GpaSessionCreateInfoAMD.gen.cs new file mode 100644 index 0000000000..9563f33708 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/GpaSessionCreateInfoAMD.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkGpaSessionCreateInfoAMD")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct GpaSessionCreateInfoAMD +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.GpaSessionCreateInfoAMD; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("secondaryCopySource")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public GpaSessionHandleAMD SecondaryCopySource; + + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public GpaSessionCreateInfoAMD() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/GpaSqShaderStageFlagsAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/GpaSqShaderStageFlagsAMD.gen.cs new file mode 100644 index 0000000000..d3573e8762 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/GpaSqShaderStageFlagsAMD.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkGpaSqShaderStageFlagBitsAMD")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum GpaSqShaderStageFlagsAMD : uint +{ + None = 0x0, + + [NativeName("VK_GPA_SQ_SHADER_STAGE_PS_BIT_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + PsBit = 0x1, + + [NativeName("VK_GPA_SQ_SHADER_STAGE_VS_BIT_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + VsBit = 0x2, + + [NativeName("VK_GPA_SQ_SHADER_STAGE_GS_BIT_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + GsBit = 0x4, + + [NativeName("VK_GPA_SQ_SHADER_STAGE_ES_BIT_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + EsBit = 0x8, + + [NativeName("VK_GPA_SQ_SHADER_STAGE_HS_BIT_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + HsBit = 0x10, + + [NativeName("VK_GPA_SQ_SHADER_STAGE_LS_BIT_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + LsBit = 0x20, + + [NativeName("VK_GPA_SQ_SHADER_STAGE_CS_BIT_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + CsBit = 0x40, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/HostAddressRangeConstEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/HostAddressRangeConstEXT.gen.cs new file mode 100644 index 0000000000..8b2b239bbc --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/HostAddressRangeConstEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkHostAddressRangeConstEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct HostAddressRangeConstEXT +{ + [NativeName("address")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* Address; + + [NativeName("size")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public nuint Size; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/HostAddressRangeEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/HostAddressRangeEXT.gen.cs new file mode 100644 index 0000000000..e03651b9fd --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/HostAddressRangeEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkHostAddressRangeEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct HostAddressRangeEXT +{ + [NativeName("address")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* Address; + + [NativeName("size")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public nuint Size; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/IVk.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IVk.gen.cs index 6f0adc941d..754ba8bc15 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IVk.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IVk.gen.cs @@ -561,9 +561,8 @@ Ref pBindInfos "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] @@ -578,9 +577,8 @@ static abstract Result BindDataGraphPipelineSessionMemoryARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] @@ -838,6 +836,57 @@ static abstract Result BuildMicromapsEXT( Ref pInfos ); + [NativeName("vkClearShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkClearShaderInstrumentationMetricsARM")] + static abstract void ClearShaderInstrumentationMetricsARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation + ); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + static abstract void CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + ConditionalRenderingBeginInfo2EXT* pConditionalRenderingBegin + ); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + static abstract void CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + Ref pConditionalRenderingBegin + ); + [NativeName("vkCmdBeginConditionalRenderingEXT")] [SupportedApiProfile( "vulkan", @@ -868,6 +917,42 @@ static abstract void CmdBeginConditionalRenderingEXT( Ref pConditionalRenderingBegin ); + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", + "VK_EXT_custom_resolve+VK_VERSION_1_3", + ], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + static abstract void CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + BeginCustomResolveInfoEXT* pBeginCustomResolveInfo + ); + + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", + "VK_EXT_custom_resolve+VK_VERSION_1_3", + ], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + static abstract void CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + Ref pBeginCustomResolveInfo + ); + [NativeName("vkCmdBeginDebugUtilsLabelEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginDebugUtilsLabelEXT")] @@ -884,15 +969,61 @@ static abstract void CmdBeginDebugUtilsLabelEXT( Ref pLabelInfo ); - [NativeName("vkCmdBeginPerTileExecutionQCOM")] + [NativeName("vkCmdBeginGpaSampleAMD")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + static abstract Result CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + GpaSampleBeginInfoAMD* pGpaSampleBeginInfo, + uint* pSampleID + ); + + [NativeName("vkCmdBeginGpaSampleAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + static abstract Result CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + Ref pGpaSampleBeginInfo, + Ref pSampleID + ); + + [NativeName("vkCmdBeginGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSessionAMD")] + static abstract Result CmdBeginGpaSessionAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ); + + [NativeName("vkCmdBeginPerTileExecutionQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] static abstract void CmdBeginPerTileExecutionQCOM( CommandBufferHandle commandBuffer, @@ -903,10 +1034,7 @@ static abstract void CmdBeginPerTileExecutionQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] static abstract void CmdBeginPerTileExecutionQCOM( @@ -1147,6 +1275,80 @@ static abstract void CmdBeginRenderPass2KHR( Ref pSubpassBeginInfo ); + [NativeName("vkCmdBeginShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginShaderInstrumentationARM")] + static abstract void CmdBeginShaderInstrumentationARM( + CommandBufferHandle commandBuffer, + ShaderInstrumentationHandleARM instrumentation + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + static abstract void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + static abstract void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + static abstract void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ); + [NativeName("vkCmdBeginTransformFeedbackEXT")] [SupportedApiProfile( "vulkan", @@ -1468,6 +1670,40 @@ static abstract void CmdBindIndexBuffer2KHR( IndexType indexType ); + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + static abstract void CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + BindIndexBuffer3InfoKHR* pInfo + ); + + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + static abstract void CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + [NativeName("vkCmdBindInvocationMaskHUAWEI")] [SupportedApiProfile( "vulkan", @@ -1527,6 +1763,78 @@ static abstract void CmdBindPipelineShaderGroupNV( uint groupIndex ); + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + static abstract void CmdBindResourceHeapEXT( + CommandBufferHandle commandBuffer, + BindHeapInfoEXT* pBindInfo + ); + + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + static abstract void CmdBindResourceHeapEXT( + CommandBufferHandle commandBuffer, + Ref pBindInfo + ); + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + static abstract void CmdBindSamplerHeapEXT( + CommandBufferHandle commandBuffer, + BindHeapInfoEXT* pBindInfo + ); + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + static abstract void CmdBindSamplerHeapEXT( + CommandBufferHandle commandBuffer, + Ref pBindInfo + ); + [NativeName("vkCmdBindShadersEXT")] [SupportedApiProfile( "vulkan", @@ -1609,6 +1917,65 @@ static abstract void CmdBindTileMemoryQCOM( Ref pTileMemoryBindInfo ); + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + static abstract void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindTransformFeedbackBuffer2InfoEXT* pBindingInfos + ); + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + static abstract void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ); + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + static abstract void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindTransformFeedbackBuffer2InfoEXT pBindingInfos + ); + [NativeName("vkCmdBindTransformFeedbackBuffersEXT")] [SupportedApiProfile( "vulkan", @@ -1783,33 +2150,89 @@ static abstract void CmdBindVertexBuffers2EXT( Ref pStrides ); - [NativeName("vkCmdBlitImage")] + [NativeName("vkCmdBindVertexBuffers3KHR")] [SupportedApiProfile( "vulkan", - [ - "VK_GRAPHICS_VERSION_1_0", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_0", - "VK_VERSION_1_1", - "VK_VERSION_1_2", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.0" + ] )] - [NativeFunction("vulkan", EntryPoint = "vkCmdBlitImage")] - static abstract void CmdBlitImage( + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + static abstract void CmdBindVertexBuffers3KHR( CommandBufferHandle commandBuffer, - ImageHandle srcImage, - ImageLayout srcImageLayout, - ImageHandle dstImage, - ImageLayout dstImageLayout, - uint regionCount, - ImageBlit* pRegions, - Filter filter + uint firstBinding, + uint bindingCount, + BindVertexBuffer3InfoKHR* pBindingInfos + ); + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + static abstract void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ); + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + static abstract void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindVertexBuffer3InfoKHR pBindingInfos + ); + + [NativeName("vkCmdBlitImage")] + [SupportedApiProfile( + "vulkan", + [ + "VK_GRAPHICS_VERSION_1_0", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_0", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.0" + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBlitImage")] + static abstract void CmdBlitImage( + CommandBufferHandle commandBuffer, + ImageHandle srcImage, + ImageLayout srcImageLayout, + ImageHandle dstImage, + ImageLayout dstImageLayout, + uint regionCount, + ImageBlit* pRegions, + Filter filter ); [NativeName("vkCmdBlitImage")] @@ -2880,6 +3303,21 @@ static abstract void CmdCopyBufferToImage2KHR( Ref pCopyBufferToImageInfo ); + [NativeName("vkCmdCopyGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyGpaSessionResultsAMD")] + static abstract void CmdCopyGpaSessionResultsAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ); + [NativeName("vkCmdCopyImage")] [SupportedApiProfile( "vulkan", @@ -3247,6 +3685,40 @@ static abstract void CmdCopyImageToBuffer2KHR( Ref pCopyImageToBufferInfo ); + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + static abstract void CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ); + + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + static abstract void CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ); + [NativeName("vkCmdCopyMemoryIndirectKHR")] [SupportedApiProfile( "vulkan", @@ -3295,6 +3767,40 @@ static abstract void CmdCopyMemoryIndirectNV( uint stride ); + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + static abstract void CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryInfoKHR* pCopyMemoryInfo + ); + + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + static abstract void CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ); + [NativeName("vkCmdCopyMemoryToAccelerationStructureKHR")] [SupportedApiProfile( "vulkan", @@ -3417,6 +3923,40 @@ static abstract void CmdCopyMemoryToImageIndirectNV( ImageSubresourceLayers pImageSubresources ); + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + static abstract void CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ); + + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + static abstract void CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ); + [NativeName("vkCmdCopyMemoryToMicromapEXT")] [SupportedApiProfile( "vulkan", @@ -3546,6 +4086,50 @@ static abstract void CmdCopyQueryPoolResults( QueryResultFlags flags ); + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + static abstract void CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + StridedDeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ); + + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + static abstract void CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ); + [NativeName("vkCmdCopyTensorARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] [NativeFunction("vulkan", EntryPoint = "vkCmdCopyTensorARM")] @@ -3855,9 +4439,8 @@ uint groupCountZ "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] @@ -3872,9 +4455,8 @@ static abstract void CmdDispatchDataGraphARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] @@ -3913,15 +4495,46 @@ static abstract void CmdDispatchIndirect( ulong offset ); - [NativeName("vkCmdDispatchTileQCOM")] + [NativeName("vkCmdDispatchIndirect2KHR")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + static abstract void CmdDispatchIndirect2KHR( + CommandBufferHandle commandBuffer, + DispatchIndirect2InfoKHR* pInfo + ); + + [NativeName("vkCmdDispatchIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + static abstract void CmdDispatchIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + + [NativeName("vkCmdDispatchTileQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] static abstract void CmdDispatchTileQCOM( CommandBufferHandle commandBuffer, @@ -3932,10 +4545,7 @@ static abstract void CmdDispatchTileQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] static abstract void CmdDispatchTileQCOM( @@ -4055,6 +4665,40 @@ static abstract void CmdDrawIndexedIndirect( uint stride ); + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + static abstract void CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + static abstract void CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + [NativeName("vkCmdDrawIndexedIndirectCount")] [SupportedApiProfile( "vulkan", @@ -4079,6 +4723,46 @@ static abstract void CmdDrawIndexedIndirectCount( uint stride ); + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + static abstract void CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + static abstract void CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + [NativeName("vkCmdDrawIndexedIndirectCountAMD")] [SupportedApiProfile("vulkan", ["VK_AMD_draw_indirect_count"])] [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCountAMD")] @@ -4131,6 +4815,84 @@ static abstract void CmdDrawIndirect( uint stride ); + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + static abstract void CmdDrawIndirect2KHR( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + static abstract void CmdDrawIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + static abstract void CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfo, + uint counterOffset, + uint vertexStride + ); + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + static abstract void CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + Ref pCounterInfo, + uint counterOffset, + uint vertexStride + ); + [NativeName("vkCmdDrawIndirectByteCountEXT")] [SupportedApiProfile( "vulkan", @@ -4175,6 +4937,46 @@ static abstract void CmdDrawIndirectCount( uint stride ); + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + static abstract void CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + static abstract void CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + [NativeName("vkCmdDrawIndirectCountAMD")] [SupportedApiProfile("vulkan", ["VK_AMD_draw_indirect_count"])] [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCountAMD")] @@ -4218,6 +5020,82 @@ static abstract void CmdDrawMeshTasksEXT( uint groupCountZ ); + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + static abstract void CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + static abstract void CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + static abstract void CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + static abstract void CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + [NativeName("vkCmdDrawMeshTasksIndirectCountEXT")] [SupportedApiProfile( "vulkan", @@ -4480,15 +5358,43 @@ Ref pEncodeInfo [NativeFunction("vulkan", EntryPoint = "vkCmdEndDebugUtilsLabelEXT")] static abstract void CmdEndDebugUtilsLabelEXT(CommandBufferHandle commandBuffer); - [NativeName("vkCmdEndPerTileExecutionQCOM")] + [NativeName("vkCmdEndGpaSampleAMD")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_AMD_gpa_interface"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndGpaSampleAMD")] + static abstract void CmdEndGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + uint sampleID + ); + + [NativeName("vkCmdEndGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndGpaSessionAMD")] + static abstract Result CmdEndGpaSessionAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ); + + [NativeName("vkCmdEndPerTileExecutionQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] static abstract void CmdEndPerTileExecutionQCOM( CommandBufferHandle commandBuffer, @@ -4499,10 +5405,7 @@ static abstract void CmdEndPerTileExecutionQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] static abstract void CmdEndPerTileExecutionQCOM( @@ -4742,6 +5645,77 @@ static abstract void CmdEndRenderPass2KHR( Ref pSubpassEndInfo ); + [NativeName("vkCmdEndShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndShaderInstrumentationARM")] + static abstract void CmdEndShaderInstrumentationARM(CommandBufferHandle commandBuffer); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + static abstract void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + static abstract void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + static abstract void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ); + [NativeName("vkCmdEndTransformFeedbackEXT")] [SupportedApiProfile( "vulkan", @@ -4908,8 +5882,10 @@ Ref pCommandBuffers "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -4925,8 +5901,10 @@ static abstract void CmdExecuteGeneratedCommandsEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -4999,6 +5977,44 @@ static abstract void CmdFillBuffer( uint data ); + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + static abstract void CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ); + + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + static abstract void CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ); + [NativeName("vkCmdInsertDebugUtilsLabelEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] [NativeFunction("vulkan", EntryPoint = "vkCmdInsertDebugUtilsLabelEXT")] @@ -5297,8 +6313,10 @@ Ref pDependencyInfo "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -5314,8 +6332,10 @@ CommandBufferHandle stateCommandBuffer "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -5454,6 +6474,42 @@ static abstract void CmdPushConstants2KHR( Ref pPushConstantsInfo ); + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + static abstract void CmdPushDataEXT( + CommandBufferHandle commandBuffer, + PushDataInfoEXT* pPushDataInfo + ); + + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + static abstract void CmdPushDataEXT( + CommandBufferHandle commandBuffer, + Ref pPushDataInfo + ); + [NativeName("vkCmdPushDescriptorSet")] [SupportedApiProfile( "vulkan", @@ -6427,6 +7483,36 @@ static abstract void CmdSetColorWriteMaskEXT( ColorComponentFlags pColorWriteMasks ); + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + static abstract void CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + ComputeOccupancyPriorityParametersNV* pParameters + ); + + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + static abstract void CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + Ref pParameters + ); + [NativeName("vkCmdSetConservativeRasterizationModeEXT")] [SupportedApiProfile( "vulkan", @@ -7337,6 +8423,30 @@ static abstract void CmdSetDiscardRectangleModeEXT( DiscardRectangleModeEXT discardRectangleMode ); + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + static abstract void CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + DispatchParametersARM* pDispatchParameters + ); + + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + static abstract void CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + Ref pDispatchParameters + ); + [NativeName("vkCmdSetEvent")] [SupportedApiProfile( "vulkan", @@ -7649,12 +8759,15 @@ FrontFace frontFace [NativeName("vkCmdSetLineRasterizationModeEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineRasterizationModeEXT")] static abstract void CmdSetLineRasterizationModeEXT( @@ -7678,12 +8791,15 @@ ushort lineStipplePattern [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] static abstract void CmdSetLineStippleEnableEXT( @@ -7694,12 +8810,15 @@ uint stippledLineEnable [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] static abstract void CmdSetLineStippleEnableEXT( @@ -7943,6 +9062,21 @@ static abstract void CmdSetPrimitiveRestartEnableEXT( MaybeBool primitiveRestartEnable ); + [NativeName("vkCmdSetPrimitiveRestartIndexEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetPrimitiveRestartIndexEXT")] + static abstract void CmdSetPrimitiveRestartIndexEXT( + CommandBufferHandle commandBuffer, + uint primitiveRestartIndex + ); + [NativeName("vkCmdSetPrimitiveTopology")] [SupportedApiProfile( "vulkan", @@ -9315,6 +10449,46 @@ static abstract void CmdUpdateBuffer( Ref pData ); + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + static abstract void CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + void* pData + ); + + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + static abstract void CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + Ref pData + ); + [NativeName("vkCmdUpdatePipelineIndirectBufferNV")] [SupportedApiProfile( "vulkan", @@ -9615,6 +10789,42 @@ static abstract void CmdWriteBufferMarkerAMD( uint marker ); + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + static abstract void CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + MemoryMarkerInfoAMD* pInfo + ); + + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + static abstract void CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + [NativeName("vkCmdWriteMicromapsPropertiesEXT")] [SupportedApiProfile( "vulkan", @@ -10182,6 +11392,46 @@ static abstract Result CopyMicromapToMemoryEXT( Ref pInfo ); + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + static abstract Result CreateAccelerationStructure2KHR( + DeviceHandle device, + AccelerationStructureCreateInfo2KHR* pCreateInfo, + AllocationCallbacks* pAllocator, + AccelerationStructureHandleKHR* pAccelerationStructure + ); + + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + static abstract Result CreateAccelerationStructure2KHR( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pAccelerationStructure + ); + [NativeName("vkCreateAccelerationStructureKHR")] [SupportedApiProfile( "vulkan", @@ -10559,9 +11809,8 @@ Ref pModule "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] @@ -10580,9 +11829,8 @@ static abstract Result CreateDataGraphPipelinesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] @@ -10601,9 +11849,8 @@ Ref pPipelines "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] @@ -10619,9 +11866,8 @@ static abstract Result CreateDataGraphPipelineSessionARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] @@ -11196,6 +12442,40 @@ static abstract Result CreateFramebuffer( Ref pFramebuffer ); + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + static abstract Result CreateGpaSessionAMD( + DeviceHandle device, + GpaSessionCreateInfoAMD* pCreateInfo, + AllocationCallbacks* pAllocator, + GpaSessionHandleAMD* pGpaSession + ); + + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + static abstract Result CreateGpaSessionAMD( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pGpaSession + ); + [NativeName("vkCreateGraphicsPipelines")] [SupportedApiProfile( "vulkan", @@ -11423,8 +12703,10 @@ Ref pView "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -11441,8 +12723,10 @@ static abstract Result CreateIndirectCommandsLayoutEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -11487,8 +12771,10 @@ Ref pIndirectCommandsLayout "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -11505,8 +12791,10 @@ static abstract Result CreateIndirectExecutionSetEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -11661,6 +12949,7 @@ Ref pSession "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -11678,6 +12967,7 @@ static abstract Result CreatePipelineBinariesKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -12376,6 +13666,40 @@ static abstract Result CreateSemaphore( Ref pSemaphore ); + [NativeName("vkCreateShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] + static abstract Result CreateShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationCreateInfoARM* pCreateInfo, + AllocationCallbacks* pAllocator, + ShaderInstrumentationHandleARM* pInstrumentation + ); + + [NativeName("vkCreateShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] + static abstract Result CreateShaderInstrumentationARM( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pInstrumentation + ); + [NativeName("vkCreateShaderModule")] [SupportedApiProfile( "vulkan", @@ -13023,9 +14347,8 @@ Ref pAllocator "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] @@ -13040,9 +14363,8 @@ static abstract void DestroyDataGraphPipelineSessionARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] @@ -13547,6 +14869,38 @@ static abstract void DestroyFramebuffer( Ref pAllocator ); + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + static abstract void DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + AllocationCallbacks* pAllocator + ); + + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + static abstract void DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + Ref pAllocator + ); + [NativeName("vkDestroyImage")] [SupportedApiProfile( "vulkan", @@ -13688,8 +15042,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -13705,8 +15061,10 @@ static abstract void DestroyIndirectCommandsLayoutEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -13748,8 +15106,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -13765,8 +15125,10 @@ static abstract void DestroyIndirectExecutionSetEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -13972,6 +15334,7 @@ Ref pAllocator "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -13988,6 +15351,7 @@ static abstract void DestroyPipelineBinaryKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -14551,6 +15915,38 @@ static abstract void DestroyShaderEXT( Ref pAllocator ); + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + static abstract void DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + AllocationCallbacks* pAllocator + ); + + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + static abstract void DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pAllocator + ); + [NativeName("vkDestroyShaderModule")] [SupportedApiProfile( "vulkan", @@ -15391,6 +16787,44 @@ static abstract Result EnumeratePhysicalDevices( Ref pPhysicalDevices ); + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" + )] + static abstract Result EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + uint* pDescriptionCount, + ShaderInstrumentationMetricDescriptionARM* pDescriptions + ); + + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" + )] + static abstract Result EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + Ref pDescriptionCount, + Ref pDescriptions + ); + [NativeName("vkFlushMappedMemoryRanges")] [SupportedApiProfile( "vulkan", @@ -16346,9 +17780,8 @@ Ref pSizeInfo "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] @@ -16364,9 +17797,8 @@ static abstract Result GetDataGraphPipelineAvailablePropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] @@ -16382,9 +17814,8 @@ Ref pProperties "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] @@ -16400,9 +17831,8 @@ static abstract Result GetDataGraphPipelinePropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] @@ -16418,9 +17848,8 @@ Ref pProperties "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -16439,9 +17868,8 @@ static abstract Result GetDataGraphPipelineSessionBindPointRequirementsARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -16460,9 +17888,8 @@ Ref pBindPointRequirements "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -16480,9 +17907,8 @@ static abstract void GetDataGraphPipelineSessionMemoryRequirementsARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -16865,6 +18291,45 @@ static abstract void GetDeviceBufferMemoryRequirementsKHR( Ref pMemoryRequirements ); + [NativeName("vkGetDeviceCombinedImageSamplerIndexNVX")] + [SupportedApiProfile("vulkan", ["VK_NVX_image_view_handle"])] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceCombinedImageSamplerIndexNVX")] + static abstract ulong GetDeviceCombinedImageSamplerIndexNVX( + DeviceHandle device, + ulong imageViewIndex, + ulong samplerIndex + ); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + static abstract Result GetDeviceFaultDebugInfoKHR( + DeviceHandle device, + DeviceFaultDebugInfoKHR* pDebugInfo + ); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + static abstract Result GetDeviceFaultDebugInfoKHR( + DeviceHandle device, + Ref pDebugInfo + ); + [NativeName("vkGetDeviceFaultInfoEXT")] [SupportedApiProfile( "vulkan", @@ -16897,6 +18362,40 @@ static abstract Result GetDeviceFaultInfoEXT( Ref pFaultInfo ); + [NativeName("vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] + static abstract Result GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + uint* pFaultCounts, + DeviceFaultInfoKHR* pFaultInfo + ); + + [NativeName("vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] + static abstract Result GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + Ref pFaultCounts, + Ref pFaultInfo + ); + [NativeName("vkGetDeviceGroupPeerMemoryFeatures")] [SupportedApiProfile( "vulkan", @@ -18011,8 +19510,10 @@ Ref pProperties "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -18028,8 +19529,10 @@ static abstract void GetGeneratedCommandsMemoryRequirementsEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -18066,6 +19569,87 @@ static abstract void GetGeneratedCommandsMemoryRequirementsNV( Ref pMemoryRequirements ); + [NativeName("vkGetGpaDeviceClockInfoAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] + static abstract Result GetGpaDeviceClockInfoAMD( + DeviceHandle device, + GpaDeviceGetClockInfoAMD* pInfo + ); + + [NativeName("vkGetGpaDeviceClockInfoAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] + static abstract Result GetGpaDeviceClockInfoAMD( + DeviceHandle device, + Ref pInfo + ); + + [NativeName("vkGetGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] + static abstract Result GetGpaSessionResultsAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + uint sampleID, + nuint* pSizeInBytes, + void* pData + ); + + [NativeName("vkGetGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] + static abstract Result GetGpaSessionResultsAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + uint sampleID, + Ref pSizeInBytes, + Ref pData + ); + + [NativeName("vkGetGpaSessionStatusAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionStatusAMD")] + static abstract Result GetGpaSessionStatusAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession + ); + [NativeName("vkGetImageDrmFormatModifierPropertiesEXT")] [SupportedApiProfile( "vulkan", @@ -18246,6 +19830,46 @@ static abstract void GetImageMemoryRequirements2KHR( Ref pMemoryRequirements ); + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + static abstract Result GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + ImageHandle* pImages, + HostAddressRangeEXT* pDatas + ); + + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + static abstract Result GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + Ref pImages, + Ref pDatas + ); + [NativeName("vkGetImageOpaqueCaptureDescriptorDataEXT")] [SupportedApiProfile( "vulkan", @@ -18986,6 +20610,42 @@ static abstract void GetPartitionedAccelerationStructuresBuildSizesNV( Ref pSizeInfo ); + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + static abstract Result GetPastPresentationTimingEXT( + DeviceHandle device, + PastPresentationTimingInfoEXT* pPastPresentationTimingInfo, + PastPresentationTimingPropertiesEXT* pPastPresentationTimingProperties + ); + + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + static abstract Result GetPastPresentationTimingEXT( + DeviceHandle device, + Ref pPastPresentationTimingInfo, + Ref pPastPresentationTimingProperties + ); + [NativeName("vkGetPastPresentationTimingGOOGLE")] [SupportedApiProfile( "vulkan", @@ -19224,6 +20884,24 @@ static abstract Result GetPhysicalDeviceCooperativeVectorPropertiesNV( Ref pProperties ); + [NativeName("vkGetPhysicalDeviceDescriptorSizeEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPhysicalDeviceDescriptorSizeEXT")] + static abstract ulong GetPhysicalDeviceDescriptorSizeEXT( + PhysicalDeviceHandle physicalDevice, + DescriptorType descriptorType + ); + [NativeName("vkGetPhysicalDeviceDisplayPlaneProperties2KHR")] [SupportedApiProfile( "vulkan", @@ -20492,14 +22170,85 @@ static abstract void GetPhysicalDeviceProperties2KHR( Ref pProperties ); + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + static abstract Result GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + BaseOutStructure* pProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + static abstract Result GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + static abstract Result GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + DataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, + uint* pFormatCount, + DataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + static abstract Result GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pOpticalFlowImageFormatInfo, + Ref pFormatCount, + Ref pImageFormatProperties + ); + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM")] [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -20517,9 +22266,8 @@ static abstract void GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProper "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -20537,9 +22285,8 @@ Ref pQueueFamilyDataGraphProc "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -20558,9 +22305,8 @@ static abstract Result GetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -21279,6 +23025,7 @@ Ref pVideoFormatProperties "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -21297,6 +23044,7 @@ static abstract Result GetPipelineBinaryDataKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -21527,6 +23275,7 @@ Ref pMemoryRequirements "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -21543,6 +23292,7 @@ static abstract Result GetPipelineKeyKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -22287,6 +24037,42 @@ static abstract Result GetShaderInfoAMD( Ref pInfo ); + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + static abstract Result GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + uint* pMetricBlockCount, + void* pMetricValues, + uint flags + ); + + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + static abstract Result GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pMetricBlockCount, + Ref pMetricValues, + uint flags + ); + [NativeName("vkGetShaderModuleCreateInfoIdentifierEXT")] [SupportedApiProfile( "vulkan", @@ -22418,6 +24204,82 @@ static abstract Result GetSwapchainStatusKHR( SwapchainHandleKHR swapchain ); + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + static abstract Result GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimeDomainPropertiesEXT* pSwapchainTimeDomainProperties, + ulong* pTimeDomainsCounter + ); + + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + static abstract Result GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimeDomainProperties, + Ref pTimeDomainsCounter + ); + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + static abstract Result GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimingPropertiesEXT* pSwapchainTimingProperties, + ulong* pSwapchainTimingPropertiesCounter + ); + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + static abstract Result GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimingProperties, + Ref pSwapchainTimingPropertiesCounter + ); + [NativeName("vkGetTensorMemoryRequirementsARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] [NativeFunction("vulkan", EntryPoint = "vkGetTensorMemoryRequirementsARM")] @@ -22436,6 +24298,48 @@ static abstract void GetTensorMemoryRequirementsARM( Ref pMemoryRequirements ); + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + static abstract Result GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + TensorHandleARM* pTensors, + HostAddressRangeEXT* pDatas + ); + + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + static abstract Result GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + Ref pTensors, + Ref pDatas + ); + [NativeName("vkGetTensorOpaqueCaptureDescriptorDataARM")] [SupportedApiProfile( "vulkan", @@ -23079,6 +24983,36 @@ Ref pQueueTypeInfo [NativeFunction("vulkan", EntryPoint = "vkQueuePresentKHR")] static abstract Result QueuePresentKHR(QueueHandle queue, Ref pPresentInfo); + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + static abstract Result QueueSetPerfHintQCOM( + QueueHandle queue, + PerfHintInfoQCOM* pPerfHintInfo + ); + + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + static abstract Result QueueSetPerfHintQCOM( + QueueHandle queue, + Ref pPerfHintInfo + ); + [NativeName("vkQueueSetPerformanceConfigurationINTEL")] [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerformanceConfigurationINTEL")] @@ -23267,6 +25201,48 @@ FenceHandle fence [NativeFunction("vulkan", EntryPoint = "vkQueueWaitIdle")] static abstract Result QueueWaitIdle(QueueHandle queue); + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + static abstract Result RegisterCustomBorderColorEXT( + DeviceHandle device, + SamplerCustomBorderColorCreateInfoEXT* pBorderColor, + uint requestIndex, + uint* pIndex + ); + + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + static abstract Result RegisterCustomBorderColorEXT( + DeviceHandle device, + Ref pBorderColor, + MaybeBool requestIndex, + Ref pIndex + ); + [NativeName("vkRegisterDeviceEventEXT")] [SupportedApiProfile( "vulkan", @@ -23330,6 +25306,7 @@ Ref pFence "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -23346,6 +25323,7 @@ static abstract Result ReleaseCapturedPipelineDataKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -23424,9 +25402,8 @@ Ref pReleaseInfo "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -23440,9 +25417,8 @@ static abstract Result ReleaseSwapchainImagesKHR( "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -23640,6 +25616,21 @@ static abstract Result ResetFences( Ref pFences ); + [NativeName("vkResetGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkResetGpaSessionAMD")] + static abstract Result ResetGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession + ); + [NativeName("vkResetQueryPool")] [SupportedApiProfile( "vulkan", @@ -23754,6 +25745,36 @@ float priority [NativeFunction("vulkan", EntryPoint = "vkSetEvent")] static abstract Result SetEvent(DeviceHandle device, EventHandle @event); + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + static abstract Result SetGpaDeviceClockModeAMD( + DeviceHandle device, + GpaDeviceClockModeInfoAMD* pInfo + ); + + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + static abstract Result SetGpaDeviceClockModeAMD( + DeviceHandle device, + Ref pInfo + ); + [NativeName("vkSetHdrMetadataEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_hdr_metadata"], ImpliesSets = ["VK_KHR_swapchain"])] [NativeFunction("vulkan", EntryPoint = "vkSetHdrMetadataEXT")] @@ -23920,6 +25941,24 @@ static abstract Result SetPrivateDataEXT( ulong data ); + [NativeName("vkSetSwapchainPresentTimingQueueSizeEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetSwapchainPresentTimingQueueSizeEXT")] + static abstract Result SetSwapchainPresentTimingQueueSizeEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + uint size + ); + [NativeName("vkSignalSemaphore")] [SupportedApiProfile( "vulkan", @@ -24211,6 +26250,22 @@ static abstract Result UnmapMemory2KHR( Ref pMemoryUnmapInfo ); + [NativeName("vkUnregisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkUnregisterCustomBorderColorEXT")] + static abstract void UnregisterCustomBorderColorEXT(DeviceHandle device, uint index); + [NativeName("vkUpdateDescriptorSets")] [SupportedApiProfile( "vulkan", @@ -24352,8 +26407,10 @@ Ref pData "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -24370,8 +26427,10 @@ static abstract void UpdateIndirectExecutionSetPipelineEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -24388,8 +26447,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -24405,8 +26466,10 @@ WriteIndirectExecutionSetPipelineEXT pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -24423,8 +26486,10 @@ static abstract void UpdateIndirectExecutionSetShaderEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -24441,8 +26506,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -24764,6 +26831,86 @@ static abstract Result WriteMicromapsPropertiesEXT( Ref pData, nuint stride ); + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + static abstract Result WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + ResourceDescriptorInfoEXT* pResources, + HostAddressRangeEXT* pDescriptors + ); + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + static abstract Result WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + Ref pResources, + Ref pDescriptors + ); + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + static abstract Result WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + SamplerCreateInfo* pSamplers, + HostAddressRangeEXT* pDescriptors + ); + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + static abstract Result WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + Ref pSamplers, + Ref pDescriptors + ); } [NativeName("vkAcquireDrmDisplayEXT")] @@ -25308,7 +27455,10 @@ Ref pBindInfos [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] Result BindDataGraphPipelineSessionMemoryARM( @@ -25321,7 +27471,10 @@ Result BindDataGraphPipelineSessionMemoryARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] Result BindDataGraphPipelineSessionMemoryARM( @@ -25578,6 +27731,57 @@ Result BuildMicromapsEXT( Ref pInfos ); + [NativeName("vkClearShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkClearShaderInstrumentationMetricsARM")] + void ClearShaderInstrumentationMetricsARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation + ); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + void CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + ConditionalRenderingBeginInfo2EXT* pConditionalRenderingBegin + ); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + void CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + Ref pConditionalRenderingBegin + ); + [NativeName("vkCmdBeginConditionalRenderingEXT")] [SupportedApiProfile( "vulkan", @@ -25608,6 +27812,36 @@ void CmdBeginConditionalRenderingEXT( Ref pConditionalRenderingBegin ); + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + void CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + BeginCustomResolveInfoEXT* pBeginCustomResolveInfo + ); + + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + void CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + Ref pBeginCustomResolveInfo + ); + [NativeName("vkCmdBeginDebugUtilsLabelEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginDebugUtilsLabelEXT")] @@ -25624,15 +27858,58 @@ void CmdBeginDebugUtilsLabelEXT( Ref pLabelInfo ); - [NativeName("vkCmdBeginPerTileExecutionQCOM")] + [NativeName("vkCmdBeginGpaSampleAMD")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_AMD_gpa_interface"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + Result CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + GpaSampleBeginInfoAMD* pGpaSampleBeginInfo, + uint* pSampleID + ); + + [NativeName("vkCmdBeginGpaSampleAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + Result CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + Ref pGpaSampleBeginInfo, + Ref pSampleID + ); + + [NativeName("vkCmdBeginGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSessionAMD")] + Result CmdBeginGpaSessionAMD(CommandBufferHandle commandBuffer, GpaSessionHandleAMD gpaSession); + + [NativeName("vkCmdBeginPerTileExecutionQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] void CmdBeginPerTileExecutionQCOM( CommandBufferHandle commandBuffer, @@ -25643,10 +27920,7 @@ void CmdBeginPerTileExecutionQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] void CmdBeginPerTileExecutionQCOM( @@ -25865,6 +28139,80 @@ void CmdBeginRenderPass2KHR( Ref pSubpassBeginInfo ); + [NativeName("vkCmdBeginShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginShaderInstrumentationARM")] + void CmdBeginShaderInstrumentationARM( + CommandBufferHandle commandBuffer, + ShaderInstrumentationHandleARM instrumentation + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ); + [NativeName("vkCmdBeginTransformFeedbackEXT")] [SupportedApiProfile( "vulkan", @@ -26186,6 +28534,37 @@ void CmdBindIndexBuffer2KHR( IndexType indexType ); + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + void CmdBindIndexBuffer3KHR(CommandBufferHandle commandBuffer, BindIndexBuffer3InfoKHR* pInfo); + + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + void CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + [NativeName("vkCmdBindInvocationMaskHUAWEI")] [SupportedApiProfile( "vulkan", @@ -26245,6 +28624,66 @@ void CmdBindPipelineShaderGroupNV( uint groupIndex ); + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + void CmdBindResourceHeapEXT(CommandBufferHandle commandBuffer, BindHeapInfoEXT* pBindInfo); + + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + void CmdBindResourceHeapEXT(CommandBufferHandle commandBuffer, Ref pBindInfo); + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + void CmdBindSamplerHeapEXT(CommandBufferHandle commandBuffer, BindHeapInfoEXT* pBindInfo); + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + void CmdBindSamplerHeapEXT(CommandBufferHandle commandBuffer, Ref pBindInfo); + [NativeName("vkCmdBindShadersEXT")] [SupportedApiProfile( "vulkan", @@ -26327,6 +28766,65 @@ void CmdBindTileMemoryQCOM( Ref pTileMemoryBindInfo ); + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindTransformFeedbackBuffer2InfoEXT* pBindingInfos + ); + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ); + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindTransformFeedbackBuffer2InfoEXT pBindingInfos + ); + [NativeName("vkCmdBindTransformFeedbackBuffersEXT")] [SupportedApiProfile( "vulkan", @@ -26491,6 +28989,62 @@ void CmdBindVertexBuffers2EXT( Ref pStrides ); + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindVertexBuffer3InfoKHR* pBindingInfos + ); + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ); + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindVertexBuffer3InfoKHR pBindingInfos + ); + [NativeName("vkCmdBlitImage")] [SupportedApiProfile( "vulkan", @@ -27551,6 +30105,21 @@ void CmdCopyBufferToImage2KHR( Ref pCopyBufferToImageInfo ); + [NativeName("vkCmdCopyGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyGpaSessionResultsAMD")] + void CmdCopyGpaSessionResultsAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ); + [NativeName("vkCmdCopyImage")] [SupportedApiProfile( "vulkan", @@ -27906,6 +30475,40 @@ void CmdCopyImageToBuffer2KHR( Ref pCopyImageToBufferInfo ); + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + void CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ); + + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + void CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ); + [NativeName("vkCmdCopyMemoryIndirectKHR")] [SupportedApiProfile( "vulkan", @@ -27954,6 +30557,40 @@ void CmdCopyMemoryIndirectNV( uint stride ); + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + void CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryInfoKHR* pCopyMemoryInfo + ); + + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + void CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ); + [NativeName("vkCmdCopyMemoryToAccelerationStructureKHR")] [SupportedApiProfile( "vulkan", @@ -28076,6 +30713,40 @@ void CmdCopyMemoryToImageIndirectNV( ImageSubresourceLayers pImageSubresources ); + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + void CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ); + + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + void CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ); + [NativeName("vkCmdCopyMemoryToMicromapEXT")] [SupportedApiProfile( "vulkan", @@ -28199,6 +30870,50 @@ void CmdCopyQueryPoolResults( QueryResultFlags flags ); + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + void CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + StridedDeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ); + + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + void CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ); + [NativeName("vkCmdCopyTensorARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] [NativeFunction("vulkan", EntryPoint = "vkCmdCopyTensorARM")] @@ -28413,120 +31128,157 @@ DecompressMemoryRegionNV pDecompressMemoryRegions ], MinVersion = "1.0" )] - [NativeFunction("vulkan", EntryPoint = "vkCmdDispatch")] - void CmdDispatch( - CommandBufferHandle commandBuffer, - uint groupCountX, - uint groupCountY, - uint groupCountZ - ); + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatch")] + void CmdDispatch( + CommandBufferHandle commandBuffer, + uint groupCountX, + uint groupCountY, + uint groupCountZ + ); + + [NativeName("vkCmdDispatchBase")] + [SupportedApiProfile( + "vulkan", + [ + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.1" + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchBase")] + void CmdDispatchBase( + CommandBufferHandle commandBuffer, + uint baseGroupX, + uint baseGroupY, + uint baseGroupZ, + uint groupCountX, + uint groupCountY, + uint groupCountZ + ); + + [NativeName("vkCmdDispatchBaseKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_group"], + ImpliesSets = ["VK_KHR_device_group_creation"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchBaseKHR")] + void CmdDispatchBaseKHR( + CommandBufferHandle commandBuffer, + uint baseGroupX, + uint baseGroupY, + uint baseGroupZ, + uint groupCountX, + uint groupCountY, + uint groupCountZ + ); + + [NativeName("vkCmdDispatchDataGraphARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph"], + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] + void CmdDispatchDataGraphARM( + CommandBufferHandle commandBuffer, + DataGraphPipelineSessionHandleARM session, + DataGraphPipelineDispatchInfoARM* pInfo + ); + + [NativeName("vkCmdDispatchDataGraphARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph"], + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] + void CmdDispatchDataGraphARM( + CommandBufferHandle commandBuffer, + DataGraphPipelineSessionHandleARM session, + Ref pInfo + ); + + [NativeName("vkCmdDispatchIndirect")] + [SupportedApiProfile( + "vulkan", + [ + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_0", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_0", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.0" + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect")] + void CmdDispatchIndirect(CommandBufferHandle commandBuffer, BufferHandle buffer, ulong offset); - [NativeName("vkCmdDispatchBase")] + [NativeName("vkCmdDispatchIndirect2KHR")] [SupportedApiProfile( "vulkan", - [ - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_1", - "VK_VERSION_1_2", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.1" - )] - [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchBase")] - void CmdDispatchBase( - CommandBufferHandle commandBuffer, - uint baseGroupX, - uint baseGroupY, - uint baseGroupZ, - uint groupCountX, - uint groupCountY, - uint groupCountZ - ); - - [NativeName("vkCmdDispatchBaseKHR")] - [SupportedApiProfile( - "vulkan", - ["VK_KHR_device_group"], - ImpliesSets = ["VK_KHR_device_group_creation"] - )] - [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchBaseKHR")] - void CmdDispatchBaseKHR( - CommandBufferHandle commandBuffer, - uint baseGroupX, - uint baseGroupY, - uint baseGroupZ, - uint groupCountX, - uint groupCountY, - uint groupCountZ - ); - - [NativeName("vkCmdDispatchDataGraphARM")] - [SupportedApiProfile( - "vulkan", - ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ] )] - [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] - void CmdDispatchDataGraphARM( + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + void CmdDispatchIndirect2KHR( CommandBufferHandle commandBuffer, - DataGraphPipelineSessionHandleARM session, - DataGraphPipelineDispatchInfoARM* pInfo + DispatchIndirect2InfoKHR* pInfo ); - [NativeName("vkCmdDispatchDataGraphARM")] + [NativeName("vkCmdDispatchIndirect2KHR")] [SupportedApiProfile( "vulkan", - ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] )] - [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] - void CmdDispatchDataGraphARM( + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + void CmdDispatchIndirect2KHR( CommandBufferHandle commandBuffer, - DataGraphPipelineSessionHandleARM session, - Ref pInfo + Ref pInfo ); - [NativeName("vkCmdDispatchIndirect")] - [SupportedApiProfile( - "vulkan", - [ - "VK_COMPUTE_VERSION_1_0", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_0", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_0", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.0" - )] - [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect")] - void CmdDispatchIndirect(CommandBufferHandle commandBuffer, BufferHandle buffer, ulong offset); - [NativeName("vkCmdDispatchTileQCOM")] [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] void CmdDispatchTileQCOM( @@ -28538,10 +31290,7 @@ void CmdDispatchTileQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] void CmdDispatchTileQCOM( @@ -28661,6 +31410,37 @@ void CmdDrawIndexedIndirect( uint stride ); + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + void CmdDrawIndexedIndirect2KHR(CommandBufferHandle commandBuffer, DrawIndirect2InfoKHR* pInfo); + + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + void CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + [NativeName("vkCmdDrawIndexedIndirectCount")] [SupportedApiProfile( "vulkan", @@ -28685,6 +31465,46 @@ void CmdDrawIndexedIndirectCount( uint stride ); + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + void CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + void CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + [NativeName("vkCmdDrawIndexedIndirectCountAMD")] [SupportedApiProfile("vulkan", ["VK_AMD_draw_indirect_count"])] [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCountAMD")] @@ -28737,6 +31557,78 @@ void CmdDrawIndirect( uint stride ); + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + void CmdDrawIndirect2KHR(CommandBufferHandle commandBuffer, DrawIndirect2InfoKHR* pInfo); + + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + void CmdDrawIndirect2KHR(CommandBufferHandle commandBuffer, Ref pInfo); + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + void CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfo, + uint counterOffset, + uint vertexStride + ); + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + void CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + Ref pCounterInfo, + uint counterOffset, + uint vertexStride + ); + [NativeName("vkCmdDrawIndirectByteCountEXT")] [SupportedApiProfile( "vulkan", @@ -28781,6 +31673,46 @@ void CmdDrawIndirectCount( uint stride ); + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + void CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + void CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + [NativeName("vkCmdDrawIndirectCountAMD")] [SupportedApiProfile("vulkan", ["VK_AMD_draw_indirect_count"])] [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCountAMD")] @@ -28821,6 +31753,82 @@ void CmdDrawMeshTasksEXT( uint groupCountZ ); + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + void CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + void CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + void CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + void CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + [NativeName("vkCmdDrawMeshTasksIndirectCountEXT")] [SupportedApiProfile( "vulkan", @@ -29067,15 +32075,40 @@ Ref pVertexOffset [NativeFunction("vulkan", EntryPoint = "vkCmdEndDebugUtilsLabelEXT")] void CmdEndDebugUtilsLabelEXT(CommandBufferHandle commandBuffer); - [NativeName("vkCmdEndPerTileExecutionQCOM")] + [NativeName("vkCmdEndGpaSampleAMD")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_AMD_gpa_interface"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndGpaSampleAMD")] + void CmdEndGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + uint sampleID + ); + + [NativeName("vkCmdEndGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndGpaSessionAMD")] + Result CmdEndGpaSessionAMD(CommandBufferHandle commandBuffer, GpaSessionHandleAMD gpaSession); + + [NativeName("vkCmdEndPerTileExecutionQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] void CmdEndPerTileExecutionQCOM( CommandBufferHandle commandBuffer, @@ -29086,10 +32119,7 @@ void CmdEndPerTileExecutionQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] void CmdEndPerTileExecutionQCOM( @@ -29311,6 +32341,77 @@ void CmdEndRenderPass2KHR( Ref pSubpassEndInfo ); + [NativeName("vkCmdEndShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndShaderInstrumentationARM")] + void CmdEndShaderInstrumentationARM(CommandBufferHandle commandBuffer); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ); + [NativeName("vkCmdEndTransformFeedbackEXT")] [SupportedApiProfile( "vulkan", @@ -29474,8 +32575,10 @@ Ref pCommandBuffers "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29491,8 +32594,10 @@ void CmdExecuteGeneratedCommandsEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29565,6 +32670,44 @@ void CmdFillBuffer( uint data ); + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + void CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ); + + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + void CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ); + [NativeName("vkCmdInsertDebugUtilsLabelEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] [NativeFunction("vulkan", EntryPoint = "vkCmdInsertDebugUtilsLabelEXT")] @@ -29854,8 +32997,10 @@ Ref pDependencyInfo "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29871,8 +33016,10 @@ CommandBufferHandle stateCommandBuffer "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -30011,6 +33158,36 @@ void CmdPushConstants2KHR( Ref pPushConstantsInfo ); + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + void CmdPushDataEXT(CommandBufferHandle commandBuffer, PushDataInfoEXT* pPushDataInfo); + + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + void CmdPushDataEXT(CommandBufferHandle commandBuffer, Ref pPushDataInfo); + [NativeName("vkCmdPushDescriptorSet")] [SupportedApiProfile( "vulkan", @@ -30953,6 +34130,36 @@ void CmdSetColorWriteMaskEXT( ColorComponentFlags pColorWriteMasks ); + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + void CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + ComputeOccupancyPriorityParametersNV* pParameters + ); + + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + void CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + Ref pParameters + ); + [NativeName("vkCmdSetConservativeRasterizationModeEXT")] [SupportedApiProfile( "vulkan", @@ -31762,6 +34969,30 @@ void CmdSetDiscardRectangleModeEXT( DiscardRectangleModeEXT discardRectangleMode ); + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + void CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + DispatchParametersARM* pDispatchParameters + ); + + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + void CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + Ref pDispatchParameters + ); + [NativeName("vkCmdSetEvent")] [SupportedApiProfile( "vulkan", @@ -32063,12 +35294,15 @@ Ref combinerOps [NativeName("vkCmdSetLineRasterizationModeEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineRasterizationModeEXT")] void CmdSetLineRasterizationModeEXT( @@ -32092,12 +35326,15 @@ ushort lineStipplePattern [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] void CmdSetLineStippleEnableEXT(CommandBufferHandle commandBuffer, uint stippledLineEnable); @@ -32105,12 +35342,15 @@ ushort lineStipplePattern [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] void CmdSetLineStippleEnableEXT( @@ -32332,6 +35572,21 @@ void CmdSetPrimitiveRestartEnableEXT( MaybeBool primitiveRestartEnable ); + [NativeName("vkCmdSetPrimitiveRestartIndexEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetPrimitiveRestartIndexEXT")] + void CmdSetPrimitiveRestartIndexEXT( + CommandBufferHandle commandBuffer, + uint primitiveRestartIndex + ); + [NativeName("vkCmdSetPrimitiveTopology")] [SupportedApiProfile( "vulkan", @@ -33612,6 +36867,46 @@ void CmdUpdateBuffer( Ref pData ); + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + void CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + void* pData + ); + + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + void CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + Ref pData + ); + [NativeName("vkCmdUpdatePipelineIndirectBufferNV")] [SupportedApiProfile( "vulkan", @@ -33912,6 +37207,39 @@ void CmdWriteBufferMarkerAMD( uint marker ); + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + void CmdWriteMarkerToMemoryAMD(CommandBufferHandle commandBuffer, MemoryMarkerInfoAMD* pInfo); + + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + void CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + Ref pInfo + ); + [NativeName("vkCmdWriteMicromapsPropertiesEXT")] [SupportedApiProfile( "vulkan", @@ -34454,6 +37782,46 @@ Result CopyMicromapToMemoryEXT( Ref pInfo ); + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + Result CreateAccelerationStructure2KHR( + DeviceHandle device, + AccelerationStructureCreateInfo2KHR* pCreateInfo, + AllocationCallbacks* pAllocator, + AccelerationStructureHandleKHR* pAccelerationStructure + ); + + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + Result CreateAccelerationStructure2KHR( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pAccelerationStructure + ); + [NativeName("vkCreateAccelerationStructureKHR")] [SupportedApiProfile( "vulkan", @@ -34830,7 +38198,10 @@ Ref pModule [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] Result CreateDataGraphPipelinesARM( @@ -34847,7 +38218,10 @@ Result CreateDataGraphPipelinesARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] Result CreateDataGraphPipelinesARM( @@ -34864,7 +38238,10 @@ Ref pPipelines [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] Result CreateDataGraphPipelineSessionARM( @@ -34878,7 +38255,10 @@ Result CreateDataGraphPipelineSessionARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] Result CreateDataGraphPipelineSessionARM( @@ -35452,6 +38832,40 @@ Result CreateFramebuffer( Ref pFramebuffer ); + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + Result CreateGpaSessionAMD( + DeviceHandle device, + GpaSessionCreateInfoAMD* pCreateInfo, + AllocationCallbacks* pAllocator, + GpaSessionHandleAMD* pGpaSession + ); + + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + Result CreateGpaSessionAMD( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pGpaSession + ); + [NativeName("vkCreateGraphicsPipelines")] [SupportedApiProfile( "vulkan", @@ -35671,8 +39085,10 @@ Ref pView "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -35689,8 +39105,10 @@ Result CreateIndirectCommandsLayoutEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -35735,8 +39153,10 @@ Ref pIndirectCommandsLayout "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -35753,8 +39173,10 @@ Result CreateIndirectExecutionSetEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -35909,6 +39331,7 @@ Ref pSession "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -35926,6 +39349,7 @@ Result CreatePipelineBinariesKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -36584,44 +40008,78 @@ Ref pYcbcrConversion [NativeFunction("vulkan", EntryPoint = "vkCreateSemaphore")] Result CreateSemaphore( DeviceHandle device, - SemaphoreCreateInfo* pCreateInfo, + SemaphoreCreateInfo* pCreateInfo, + AllocationCallbacks* pAllocator, + SemaphoreHandle* pSemaphore + ); + + [NativeName("vkCreateSemaphore")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_0", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_0", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.0" + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateSemaphore")] + Result CreateSemaphore( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pSemaphore + ); + + [NativeName("vkCreateShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] + Result CreateShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationCreateInfoARM* pCreateInfo, AllocationCallbacks* pAllocator, - SemaphoreHandle* pSemaphore + ShaderInstrumentationHandleARM* pInstrumentation ); - [NativeName("vkCreateSemaphore")] + [NativeName("vkCreateShaderInstrumentationARM")] [SupportedApiProfile( "vulkan", - [ - "VK_BASE_VERSION_1_0", - "VK_BASE_VERSION_1_1", - "VK_BASE_VERSION_1_2", - "VK_BASE_VERSION_1_3", - "VK_BASE_VERSION_1_4", - "VK_COMPUTE_VERSION_1_0", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_0", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_0", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.0" + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] )] - [NativeFunction("vulkan", EntryPoint = "vkCreateSemaphore")] - Result CreateSemaphore( + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] + Result CreateShaderInstrumentationARM( DeviceHandle device, - Ref pCreateInfo, + Ref pCreateInfo, Ref pAllocator, - Ref pSemaphore + Ref pInstrumentation ); [NativeName("vkCreateShaderModule")] @@ -37244,7 +40702,10 @@ Ref pAllocator [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] void DestroyDataGraphPipelineSessionARM( @@ -37257,7 +40718,10 @@ void DestroyDataGraphPipelineSessionARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] void DestroyDataGraphPipelineSessionARM( @@ -37742,6 +41206,38 @@ void DestroyFramebuffer( Ref pAllocator ); + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + void DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + AllocationCallbacks* pAllocator + ); + + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + void DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + Ref pAllocator + ); + [NativeName("vkDestroyImage")] [SupportedApiProfile( "vulkan", @@ -37875,8 +41371,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -37892,8 +41390,10 @@ void DestroyIndirectCommandsLayoutEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -37935,8 +41435,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -37952,8 +41454,10 @@ void DestroyIndirectExecutionSetEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -38153,6 +41657,7 @@ Ref pAllocator "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -38169,6 +41674,7 @@ void DestroyPipelineBinaryKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -38732,6 +42238,38 @@ void DestroyShaderEXT( Ref pAllocator ); + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + void DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + AllocationCallbacks* pAllocator + ); + + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + void DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pAllocator + ); + [NativeName("vkDestroyShaderModule")] [SupportedApiProfile( "vulkan", @@ -39569,6 +43107,44 @@ Result EnumeratePhysicalDevices( Ref pPhysicalDevices ); + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" + )] + Result EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + uint* pDescriptionCount, + ShaderInstrumentationMetricDescriptionARM* pDescriptions + ); + + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" + )] + Result EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + Ref pDescriptionCount, + Ref pDescriptions + ); + [NativeName("vkFlushMappedMemoryRanges")] [SupportedApiProfile( "vulkan", @@ -40493,7 +44069,10 @@ Ref pSizeInfo [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] Result GetDataGraphPipelineAvailablePropertiesARM( @@ -40507,7 +44086,10 @@ Result GetDataGraphPipelineAvailablePropertiesARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] Result GetDataGraphPipelineAvailablePropertiesARM( @@ -40521,7 +44103,10 @@ Ref pProperties [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] Result GetDataGraphPipelinePropertiesARM( @@ -40535,7 +44120,10 @@ Result GetDataGraphPipelinePropertiesARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] Result GetDataGraphPipelinePropertiesARM( @@ -40549,7 +44137,10 @@ Ref pProperties [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM")] Result GetDataGraphPipelineSessionBindPointRequirementsARM( @@ -40563,7 +44154,10 @@ Result GetDataGraphPipelineSessionBindPointRequirementsARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM")] Result GetDataGraphPipelineSessionBindPointRequirementsARM( @@ -40577,7 +44171,10 @@ Ref pBindPointRequirements [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineSessionMemoryRequirementsARM")] void GetDataGraphPipelineSessionMemoryRequirementsARM( @@ -40590,7 +44187,10 @@ void GetDataGraphPipelineSessionMemoryRequirementsARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineSessionMemoryRequirementsARM")] void GetDataGraphPipelineSessionMemoryRequirementsARM( @@ -40966,6 +44566,39 @@ void GetDeviceBufferMemoryRequirementsKHR( Ref pMemoryRequirements ); + [NativeName("vkGetDeviceCombinedImageSamplerIndexNVX")] + [SupportedApiProfile("vulkan", ["VK_NVX_image_view_handle"])] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceCombinedImageSamplerIndexNVX")] + ulong GetDeviceCombinedImageSamplerIndexNVX( + DeviceHandle device, + ulong imageViewIndex, + ulong samplerIndex + ); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + Result GetDeviceFaultDebugInfoKHR(DeviceHandle device, DeviceFaultDebugInfoKHR* pDebugInfo); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + Result GetDeviceFaultDebugInfoKHR(DeviceHandle device, Ref pDebugInfo); + [NativeName("vkGetDeviceFaultInfoEXT")] [SupportedApiProfile( "vulkan", @@ -40998,6 +44631,40 @@ Result GetDeviceFaultInfoEXT( Ref pFaultInfo ); + [NativeName("vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] + Result GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + uint* pFaultCounts, + DeviceFaultInfoKHR* pFaultInfo + ); + + [NativeName("vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] + Result GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + Ref pFaultCounts, + Ref pFaultInfo + ); + [NativeName("vkGetDeviceGroupPeerMemoryFeatures")] [SupportedApiProfile( "vulkan", @@ -42100,8 +45767,10 @@ Ref pProperties "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -42117,8 +45786,10 @@ void GetGeneratedCommandsMemoryRequirementsEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -42155,6 +45826,78 @@ void GetGeneratedCommandsMemoryRequirementsNV( Ref pMemoryRequirements ); + [NativeName("vkGetGpaDeviceClockInfoAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] + Result GetGpaDeviceClockInfoAMD(DeviceHandle device, GpaDeviceGetClockInfoAMD* pInfo); + + [NativeName("vkGetGpaDeviceClockInfoAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] + Result GetGpaDeviceClockInfoAMD(DeviceHandle device, Ref pInfo); + + [NativeName("vkGetGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] + Result GetGpaSessionResultsAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + uint sampleID, + nuint* pSizeInBytes, + void* pData + ); + + [NativeName("vkGetGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] + Result GetGpaSessionResultsAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + uint sampleID, + Ref pSizeInBytes, + Ref pData + ); + + [NativeName("vkGetGpaSessionStatusAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionStatusAMD")] + Result GetGpaSessionStatusAMD(DeviceHandle device, GpaSessionHandleAMD gpaSession); + [NativeName("vkGetImageDrmFormatModifierPropertiesEXT")] [SupportedApiProfile( "vulkan", @@ -42335,6 +46078,46 @@ void GetImageMemoryRequirements2KHR( Ref pMemoryRequirements ); + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + Result GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + ImageHandle* pImages, + HostAddressRangeEXT* pDatas + ); + + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + Result GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + Ref pImages, + Ref pDatas + ); + [NativeName("vkGetImageOpaqueCaptureDescriptorDataEXT")] [SupportedApiProfile( "vulkan", @@ -43049,6 +46832,42 @@ void GetPartitionedAccelerationStructuresBuildSizesNV( Ref pSizeInfo ); + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + Result GetPastPresentationTimingEXT( + DeviceHandle device, + PastPresentationTimingInfoEXT* pPastPresentationTimingInfo, + PastPresentationTimingPropertiesEXT* pPastPresentationTimingProperties + ); + + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + Result GetPastPresentationTimingEXT( + DeviceHandle device, + Ref pPastPresentationTimingInfo, + Ref pPastPresentationTimingProperties + ); + [NativeName("vkGetPastPresentationTimingGOOGLE")] [SupportedApiProfile( "vulkan", @@ -43287,6 +47106,24 @@ Result GetPhysicalDeviceCooperativeVectorPropertiesNV( Ref pProperties ); + [NativeName("vkGetPhysicalDeviceDescriptorSizeEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPhysicalDeviceDescriptorSizeEXT")] + ulong GetPhysicalDeviceDescriptorSizeEXT( + PhysicalDeviceHandle physicalDevice, + DescriptorType descriptorType + ); + [NativeName("vkGetPhysicalDeviceDisplayPlaneProperties2KHR")] [SupportedApiProfile( "vulkan", @@ -44549,11 +48386,86 @@ void GetPhysicalDeviceProperties2KHR( Ref pProperties ); + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + Result GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + BaseOutStructure* pProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + Result GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + Result GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + DataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, + uint* pFormatCount, + DataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + Result GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pOpticalFlowImageFormatInfo, + Ref pFormatCount, + Ref pImageFormatProperties + ); + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM")] [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction( "vulkan", @@ -44569,7 +48481,10 @@ void GetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction( "vulkan", @@ -44585,7 +48500,10 @@ Ref pQueueFamilyDataGraphProc [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM")] Result GetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( @@ -44599,7 +48517,10 @@ Result GetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM")] Result GetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( @@ -45308,6 +49229,7 @@ Ref pVideoFormatProperties "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -45326,6 +49248,7 @@ Result GetPipelineBinaryDataKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -45556,6 +49479,7 @@ Ref pMemoryRequirements "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -45572,6 +49496,7 @@ Result GetPipelineKeyKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -46308,6 +50233,42 @@ Result GetShaderInfoAMD( Ref pInfo ); + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + Result GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + uint* pMetricBlockCount, + void* pMetricValues, + uint flags + ); + + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + Result GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pMetricBlockCount, + Ref pMetricValues, + uint flags + ); + [NativeName("vkGetShaderModuleCreateInfoIdentifierEXT")] [SupportedApiProfile( "vulkan", @@ -46436,6 +50397,82 @@ Ref pSwapchainImages [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainStatusKHR")] Result GetSwapchainStatusKHR(DeviceHandle device, SwapchainHandleKHR swapchain); + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + Result GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimeDomainPropertiesEXT* pSwapchainTimeDomainProperties, + ulong* pTimeDomainsCounter + ); + + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + Result GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimeDomainProperties, + Ref pTimeDomainsCounter + ); + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + Result GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimingPropertiesEXT* pSwapchainTimingProperties, + ulong* pSwapchainTimingPropertiesCounter + ); + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + Result GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimingProperties, + Ref pSwapchainTimingPropertiesCounter + ); + [NativeName("vkGetTensorMemoryRequirementsARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] [NativeFunction("vulkan", EntryPoint = "vkGetTensorMemoryRequirementsARM")] @@ -46454,6 +50491,48 @@ void GetTensorMemoryRequirementsARM( Ref pMemoryRequirements ); + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + Result GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + TensorHandleARM* pTensors, + HostAddressRangeEXT* pDatas + ); + + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + Result GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + Ref pTensors, + Ref pDatas + ); + [NativeName("vkGetTensorOpaqueCaptureDescriptorDataARM")] [SupportedApiProfile( "vulkan", @@ -47057,6 +51136,30 @@ FenceHandle fence [NativeFunction("vulkan", EntryPoint = "vkQueuePresentKHR")] Result QueuePresentKHR(QueueHandle queue, Ref pPresentInfo); + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + Result QueueSetPerfHintQCOM(QueueHandle queue, PerfHintInfoQCOM* pPerfHintInfo); + + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + Result QueueSetPerfHintQCOM(QueueHandle queue, Ref pPerfHintInfo); + [NativeName("vkQueueSetPerformanceConfigurationINTEL")] [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerformanceConfigurationINTEL")] @@ -47245,6 +51348,48 @@ FenceHandle fence [NativeFunction("vulkan", EntryPoint = "vkQueueWaitIdle")] Result QueueWaitIdle(QueueHandle queue); + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + Result RegisterCustomBorderColorEXT( + DeviceHandle device, + SamplerCustomBorderColorCreateInfoEXT* pBorderColor, + uint requestIndex, + uint* pIndex + ); + + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + Result RegisterCustomBorderColorEXT( + DeviceHandle device, + Ref pBorderColor, + MaybeBool requestIndex, + Ref pIndex + ); + [NativeName("vkRegisterDeviceEventEXT")] [SupportedApiProfile( "vulkan", @@ -47308,6 +51453,7 @@ Ref pFence "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -47324,6 +51470,7 @@ Result ReleaseCapturedPipelineDataKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -47399,9 +51546,8 @@ Ref pReleaseInfo "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -47415,9 +51561,8 @@ Result ReleaseSwapchainImagesKHR( "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -47604,6 +51749,18 @@ uint flags [NativeFunction("vulkan", EntryPoint = "vkResetFences")] Result ResetFences(DeviceHandle device, uint fenceCount, Ref pFences); + [NativeName("vkResetGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkResetGpaSessionAMD")] + Result ResetGpaSessionAMD(DeviceHandle device, GpaSessionHandleAMD gpaSession); + [NativeName("vkResetQueryPool")] [SupportedApiProfile( "vulkan", @@ -47705,6 +51862,30 @@ Ref pNameInfo [NativeFunction("vulkan", EntryPoint = "vkSetEvent")] Result SetEvent(DeviceHandle device, EventHandle @event); + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + Result SetGpaDeviceClockModeAMD(DeviceHandle device, GpaDeviceClockModeInfoAMD* pInfo); + + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + Result SetGpaDeviceClockModeAMD(DeviceHandle device, Ref pInfo); + [NativeName("vkSetHdrMetadataEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_hdr_metadata"], ImpliesSets = ["VK_KHR_swapchain"])] [NativeFunction("vulkan", EntryPoint = "vkSetHdrMetadataEXT")] @@ -47871,6 +52052,24 @@ Result SetPrivateDataEXT( ulong data ); + [NativeName("vkSetSwapchainPresentTimingQueueSizeEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetSwapchainPresentTimingQueueSizeEXT")] + Result SetSwapchainPresentTimingQueueSizeEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + uint size + ); + [NativeName("vkSignalSemaphore")] [SupportedApiProfile( "vulkan", @@ -48133,6 +52332,22 @@ Ref pTransitions [NativeFunction("vulkan", EntryPoint = "vkUnmapMemory2KHR")] Result UnmapMemory2KHR(DeviceHandle device, Ref pMemoryUnmapInfo); + [NativeName("vkUnregisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkUnregisterCustomBorderColorEXT")] + void UnregisterCustomBorderColorEXT(DeviceHandle device, uint index); + [NativeName("vkUpdateDescriptorSets")] [SupportedApiProfile( "vulkan", @@ -48274,8 +52489,10 @@ Ref pData "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -48292,8 +52509,10 @@ void UpdateIndirectExecutionSetPipelineEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -48310,8 +52529,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -48327,8 +52548,10 @@ WriteIndirectExecutionSetPipelineEXT pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -48345,8 +52568,10 @@ void UpdateIndirectExecutionSetShaderEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -48363,8 +52588,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -48670,4 +52897,84 @@ Result WriteMicromapsPropertiesEXT( Ref pData, nuint stride ); + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + Result WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + ResourceDescriptorInfoEXT* pResources, + HostAddressRangeEXT* pDescriptors + ); + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + Result WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + Ref pResources, + Ref pDescriptors + ); + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + Result WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + SamplerCreateInfo* pSamplers, + HostAddressRangeEXT* pDescriptors + ); + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + Result WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + Ref pSamplers, + Ref pDescriptors + ); } diff --git a/sources/Vulkan/Vulkan/Vulkan/ImageCreateFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ImageCreateFlags.gen.cs index cb9e72a13c..a8a71bd96c 100644 --- a/sources/Vulkan/Vulkan/Vulkan/ImageCreateFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/ImageCreateFlags.gen.cs @@ -345,6 +345,20 @@ public enum ImageCreateFlags : uint )] CreateCornerSampledBitNV = 0x2000, + [NativeName("VK_IMAGE_CREATE_DESCRIPTOR_HEAP_CAPTURE_REPLAY_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + CreateDescriptorHeapCaptureReplayBitEXT = 0x10000, + [NativeName("VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT")] [SupportedApiProfile( "vulkan", @@ -367,19 +381,6 @@ public enum ImageCreateFlags : uint )] CreateSubsampledBitEXT = 0x4000, - [NativeName("VK_IMAGE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT")] - [SupportedApiProfile( - "vulkan", - ["VK_EXT_descriptor_buffer"], - ImpliesSets = [ - "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_KHR_get_physical_device_properties2", - "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_VERSION_1_1", - "VK_KHR_synchronization2+VK_VERSION_1_2", - "VK_VERSION_1_3", - ] - )] - CreateDescriptorBufferCaptureReplayBitEXT = 0x10000, - [NativeName("VK_IMAGE_CREATE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_BIT_EXT")] [SupportedApiProfile( "vulkan", @@ -424,6 +425,17 @@ public enum ImageCreateFlags : uint )] CreateFragmentDensityMapOffsetBitEXT = 0x8000, + [NativeName("VK_IMAGE_CREATE_ALIAS_SINGLE_LAYER_DESCRIPTOR_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + CreateAliasSingleLayerDescriptorBitKHR = 0x400000, + [NativeName("VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR")] [SupportedApiProfile( "vulkan", @@ -460,6 +472,19 @@ public enum ImageCreateFlags : uint [SupportedApiProfile("vulkan", ["VK_KHR_bind_memory2"])] CreateAliasBitKHR = CreateAliasBit, + [NativeName("VK_IMAGE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_buffer"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + CreateDescriptorBufferCaptureReplayBitEXT = CreateDescriptorHeapCaptureReplayBitEXT, + [NativeName("VK_IMAGE_CREATE_FRAGMENT_DENSITY_MAP_OFFSET_BIT_QCOM")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/ImageCreateFlags2CreateInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ImageCreateFlags2CreateInfoKHR.gen.cs new file mode 100644 index 0000000000..347579d1f8 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ImageCreateFlags2CreateInfoKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkImageCreateFlags2CreateInfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ImageCreateFlags2CreateInfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.ImageCreateFlags2CreateInfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("flags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public ImageCreateFlags2KHR Flags; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public ImageCreateFlags2CreateInfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ImageDescriptorInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ImageDescriptorInfoEXT.gen.cs new file mode 100644 index 0000000000..0e3564a0b1 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ImageDescriptorInfoEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkImageDescriptorInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ImageDescriptorInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public StructureType SType = StructureType.ImageDescriptorInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* PNext; + + [NativeName("pView")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ImageViewCreateInfo* PView; + + [NativeName("layout")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ImageLayout Layout; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ImageDescriptorInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ImageStencilUsage2CreateInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ImageStencilUsage2CreateInfoKHR.gen.cs new file mode 100644 index 0000000000..29aa0211c0 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ImageStencilUsage2CreateInfoKHR.gen.cs @@ -0,0 +1,68 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkImageStencilUsage2CreateInfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ImageStencilUsage2CreateInfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_extended_flags+VK_EXT_separate_stencil_usage", + "VK_KHR_extended_flags+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.ImageStencilUsage2CreateInfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_extended_flags+VK_EXT_separate_stencil_usage", + "VK_KHR_extended_flags+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("stencilUsage")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_extended_flags+VK_EXT_separate_stencil_usage", + "VK_KHR_extended_flags+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public ImageUsageFlags2KHR StencilUsage; + + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_extended_flags+VK_EXT_separate_stencil_usage", + "VK_KHR_extended_flags+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public ImageStencilUsage2CreateInfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ImageUsageFlags2CreateInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ImageUsageFlags2CreateInfoKHR.gen.cs new file mode 100644 index 0000000000..5899a40b0b --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ImageUsageFlags2CreateInfoKHR.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkImageUsageFlags2CreateInfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ImageUsageFlags2CreateInfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.ImageUsageFlags2CreateInfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("usage")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public ImageUsageFlags2KHR Usage; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public ImageUsageFlags2CreateInfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ImageViewUsage2CreateInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ImageViewUsage2CreateInfoKHR.gen.cs new file mode 100644 index 0000000000..062d8e5f59 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ImageViewUsage2CreateInfoKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkImageViewUsage2CreateInfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ImageViewUsage2CreateInfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.ImageViewUsage2CreateInfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("usage")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public ImageUsageFlags2KHR Usage; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public ImageViewUsage2CreateInfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsExecutionSetTokenEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsExecutionSetTokenEXT.gen.cs index 7e29d4dd54..b41feffbec 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsExecutionSetTokenEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsExecutionSetTokenEXT.gen.cs @@ -17,8 +17,10 @@ public partial struct IndirectCommandsExecutionSetTokenEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29,8 +31,10 @@ public partial struct IndirectCommandsExecutionSetTokenEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsIndexBufferTokenEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsIndexBufferTokenEXT.gen.cs index 09ed97c4fc..c5abd8cc3c 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsIndexBufferTokenEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsIndexBufferTokenEXT.gen.cs @@ -17,8 +17,10 @@ public partial struct IndirectCommandsIndexBufferTokenEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsInputModeFlagsEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsInputModeFlagsEXT.gen.cs index 906595283a..2022762c7d 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsInputModeFlagsEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsInputModeFlagsEXT.gen.cs @@ -20,8 +20,10 @@ public enum IndirectCommandsInputModeFlagsEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -32,8 +34,10 @@ public enum IndirectCommandsInputModeFlagsEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutCreateInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutCreateInfoEXT.gen.cs index a7918de6a8..bd857b7f21 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutCreateInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutCreateInfoEXT.gen.cs @@ -16,8 +16,10 @@ public unsafe partial struct IndirectCommandsLayoutCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -28,8 +30,10 @@ public unsafe partial struct IndirectCommandsLayoutCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -40,8 +44,10 @@ public unsafe partial struct IndirectCommandsLayoutCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -52,8 +58,10 @@ public unsafe partial struct IndirectCommandsLayoutCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -64,8 +72,10 @@ public unsafe partial struct IndirectCommandsLayoutCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -76,8 +86,10 @@ public unsafe partial struct IndirectCommandsLayoutCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -88,8 +100,10 @@ public unsafe partial struct IndirectCommandsLayoutCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -100,8 +114,10 @@ public unsafe partial struct IndirectCommandsLayoutCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -111,8 +127,10 @@ public unsafe partial struct IndirectCommandsLayoutCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutPushDataTokenNV.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutPushDataTokenNV.gen.cs new file mode 100644 index 0000000000..180cba097a --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutPushDataTokenNV.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkIndirectCommandsLayoutPushDataTokenNV")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct IndirectCommandsLayoutPushDataTokenNV +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_NV_device_generated_commands"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public StructureType SType = StructureType.IndirectCommandsLayoutPushDataTokenNV; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_NV_device_generated_commands"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public void* PNext; + + [NativeName("pushDataOffset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_NV_device_generated_commands"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public uint PushDataOffset; + + [NativeName("pushDataSize")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_NV_device_generated_commands"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public uint PushDataSize; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_NV_device_generated_commands"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public IndirectCommandsLayoutPushDataTokenNV() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutTokenEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutTokenEXT.gen.cs index 28a0789f08..1a19f8c2bf 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutTokenEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutTokenEXT.gen.cs @@ -16,8 +16,10 @@ public unsafe partial struct IndirectCommandsLayoutTokenEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -28,8 +30,10 @@ public unsafe partial struct IndirectCommandsLayoutTokenEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -40,8 +44,10 @@ public unsafe partial struct IndirectCommandsLayoutTokenEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -52,8 +58,10 @@ public unsafe partial struct IndirectCommandsLayoutTokenEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -64,8 +72,10 @@ public unsafe partial struct IndirectCommandsLayoutTokenEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -75,8 +85,10 @@ public unsafe partial struct IndirectCommandsLayoutTokenEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutUsageFlagsEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutUsageFlagsEXT.gen.cs index 177ecd89f6..3291650242 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutUsageFlagsEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsLayoutUsageFlagsEXT.gen.cs @@ -19,8 +19,10 @@ public enum IndirectCommandsLayoutUsageFlagsEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -31,8 +33,10 @@ public enum IndirectCommandsLayoutUsageFlagsEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsPushConstantTokenEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsPushConstantTokenEXT.gen.cs index 4e74bd8135..9fb081f68e 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsPushConstantTokenEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsPushConstantTokenEXT.gen.cs @@ -17,8 +17,10 @@ public partial struct IndirectCommandsPushConstantTokenEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsTokenDataEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsTokenDataEXT.gen.cs index bef6eff880..cda96201e2 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsTokenDataEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsTokenDataEXT.gen.cs @@ -19,8 +19,10 @@ public unsafe partial struct IndirectCommandsTokenDataEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -32,8 +34,10 @@ public unsafe partial struct IndirectCommandsTokenDataEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -45,8 +49,10 @@ public unsafe partial struct IndirectCommandsTokenDataEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -58,8 +64,10 @@ public unsafe partial struct IndirectCommandsTokenDataEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsTokenTypeEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsTokenTypeEXT.gen.cs index 5013c4484f..434606e6d3 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsTokenTypeEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsTokenTypeEXT.gen.cs @@ -17,8 +17,10 @@ public enum IndirectCommandsTokenTypeEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29,8 +31,10 @@ public enum IndirectCommandsTokenTypeEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -41,8 +45,10 @@ public enum IndirectCommandsTokenTypeEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -53,8 +59,10 @@ public enum IndirectCommandsTokenTypeEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -65,8 +73,10 @@ public enum IndirectCommandsTokenTypeEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -77,8 +87,10 @@ public enum IndirectCommandsTokenTypeEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -89,8 +101,10 @@ public enum IndirectCommandsTokenTypeEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -101,8 +115,10 @@ public enum IndirectCommandsTokenTypeEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -113,8 +129,10 @@ public enum IndirectCommandsTokenTypeEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -125,13 +143,45 @@ public enum IndirectCommandsTokenTypeEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] Dispatch = 9, + [NativeName("VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DATA_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_EXT_device_generated_commands"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + PushData = 1000135000, + + [NativeName("VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DATA_SEQUENCE_INDEX_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_EXT_device_generated_commands"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + PushDataSequenceIndex = 1000135001, + [NativeName("VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_NV_EXT")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsTokenTypeNV.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsTokenTypeNV.gen.cs index 7bc25f676c..71cb49a419 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsTokenTypeNV.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsTokenTypeNV.gen.cs @@ -76,6 +76,21 @@ public enum IndirectCommandsTokenTypeNV : uint )] DrawTasks = 7, + [NativeName("VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DATA_NV")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_NV_device_generated_commands"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + PushData = 1000135000, + [NativeName("VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_MESH_TASKS_NV")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsVertexBufferTokenEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsVertexBufferTokenEXT.gen.cs index bbc5ece0b9..8b934adf85 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsVertexBufferTokenEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectCommandsVertexBufferTokenEXT.gen.cs @@ -17,8 +17,10 @@ public partial struct IndirectCommandsVertexBufferTokenEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetCreateInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetCreateInfoEXT.gen.cs index 089268f298..6599a03275 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetCreateInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetCreateInfoEXT.gen.cs @@ -16,8 +16,10 @@ public unsafe partial struct IndirectExecutionSetCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -28,8 +30,10 @@ public unsafe partial struct IndirectExecutionSetCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -40,8 +44,10 @@ public unsafe partial struct IndirectExecutionSetCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -52,8 +58,10 @@ public unsafe partial struct IndirectExecutionSetCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -63,8 +71,10 @@ public unsafe partial struct IndirectExecutionSetCreateInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetInfoEXT.gen.cs index db1e75dda9..585d697614 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetInfoEXT.gen.cs @@ -18,8 +18,10 @@ public unsafe partial struct IndirectExecutionSetInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -31,8 +33,10 @@ public unsafe partial struct IndirectExecutionSetInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetInfoTypeEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetInfoTypeEXT.gen.cs index 8c07305f9d..4367e900dc 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetInfoTypeEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetInfoTypeEXT.gen.cs @@ -17,8 +17,10 @@ public enum IndirectExecutionSetInfoTypeEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29,8 +31,10 @@ public enum IndirectExecutionSetInfoTypeEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetPipelineInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetPipelineInfoEXT.gen.cs index 2d2896d4f2..8d4ab89537 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetPipelineInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetPipelineInfoEXT.gen.cs @@ -17,8 +17,10 @@ public unsafe partial struct IndirectExecutionSetPipelineInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29,8 +31,10 @@ public unsafe partial struct IndirectExecutionSetPipelineInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -41,8 +45,10 @@ public unsafe partial struct IndirectExecutionSetPipelineInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -53,8 +59,10 @@ public unsafe partial struct IndirectExecutionSetPipelineInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -64,8 +72,10 @@ public unsafe partial struct IndirectExecutionSetPipelineInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetShaderInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetShaderInfoEXT.gen.cs index 0f774d7ec4..b55ace4446 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetShaderInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetShaderInfoEXT.gen.cs @@ -17,8 +17,10 @@ public unsafe partial struct IndirectExecutionSetShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29,8 +31,10 @@ public unsafe partial struct IndirectExecutionSetShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -41,8 +45,10 @@ public unsafe partial struct IndirectExecutionSetShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -53,8 +59,10 @@ public unsafe partial struct IndirectExecutionSetShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -65,8 +73,10 @@ public unsafe partial struct IndirectExecutionSetShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -77,8 +87,10 @@ public unsafe partial struct IndirectExecutionSetShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -89,8 +101,10 @@ public unsafe partial struct IndirectExecutionSetShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -101,8 +115,10 @@ public unsafe partial struct IndirectExecutionSetShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -112,8 +128,10 @@ public unsafe partial struct IndirectExecutionSetShaderInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetShaderLayoutInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetShaderLayoutInfoEXT.gen.cs index f1ae3ce2a2..c74e85257d 100644 --- a/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetShaderLayoutInfoEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/IndirectExecutionSetShaderLayoutInfoEXT.gen.cs @@ -16,8 +16,10 @@ public unsafe partial struct IndirectExecutionSetShaderLayoutInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -28,8 +30,10 @@ public unsafe partial struct IndirectExecutionSetShaderLayoutInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -40,8 +44,10 @@ public unsafe partial struct IndirectExecutionSetShaderLayoutInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -52,8 +58,10 @@ public unsafe partial struct IndirectExecutionSetShaderLayoutInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -63,8 +71,10 @@ public unsafe partial struct IndirectExecutionSetShaderLayoutInfoEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/MemoryMarkerInfoAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/MemoryMarkerInfoAMD.gen.cs new file mode 100644 index 0000000000..76cd5d405d --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/MemoryMarkerInfoAMD.gen.cs @@ -0,0 +1,111 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkMemoryMarkerInfoAMD")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct MemoryMarkerInfoAMD +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public StructureType SType = StructureType.MemoryMarkerInfoAMD; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public void* PNext; + + [NativeName("stage")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public ulong Stage; + + [NativeName("dstRange")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public DeviceAddressRangeKHR DstRange; + + [NativeName("dstFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public AddressCommandFlagsKHR DstFlags; + + [NativeName("marker")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public uint Marker; + + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public MemoryMarkerInfoAMD() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/MemoryRangeBarrierKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/MemoryRangeBarrierKHR.gen.cs new file mode 100644 index 0000000000..3c099012db --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/MemoryRangeBarrierKHR.gen.cs @@ -0,0 +1,155 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkMemoryRangeBarrierKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct MemoryRangeBarrierKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StructureType SType = StructureType.MemoryRangeBarrierKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public void* PNext; + + [NativeName("srcStageMask")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public PipelineStageFlags2 SrcStageMask; + + [NativeName("srcAccessMask")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public AccessFlags2 SrcAccessMask; + + [NativeName("dstStageMask")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public PipelineStageFlags2 DstStageMask; + + [NativeName("dstAccessMask")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public AccessFlags2 DstAccessMask; + + [NativeName("srcQueueFamilyIndex")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public uint SrcQueueFamilyIndex; + + [NativeName("dstQueueFamilyIndex")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public uint DstQueueFamilyIndex; + + [NativeName("addressRange")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public DeviceAddressRangeKHR AddressRange; + + [NativeName("addressFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public AddressCommandFlagsKHR AddressFlags; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public MemoryRangeBarrierKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/MemoryRangeBarriersInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/MemoryRangeBarriersInfoKHR.gen.cs new file mode 100644 index 0000000000..2b4c58f684 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/MemoryRangeBarriersInfoKHR.gen.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkMemoryRangeBarriersInfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct MemoryRangeBarriersInfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StructureType SType = StructureType.MemoryRangeBarriersInfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public void* PNext; + + [NativeName("memoryRangeBarrierCount")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public uint MemoryRangeBarrierCount; + + [NativeName("pMemoryRangeBarriers")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public MemoryRangeBarrierKHR* PMemoryRangeBarriers; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public MemoryRangeBarriersInfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/MicromapTriangleEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/MicromapTriangleKHR.gen.cs similarity index 53% rename from sources/Vulkan/Vulkan/Vulkan/MicromapTriangleEXT.gen.cs rename to sources/Vulkan/Vulkan/Vulkan/MicromapTriangleKHR.gen.cs index 97e923cb75..159c6a5673 100644 --- a/sources/Vulkan/Vulkan/Vulkan/MicromapTriangleEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/MicromapTriangleKHR.gen.cs @@ -2,45 +2,37 @@ // The .NET Foundation licenses this file to you under the MIT license. // Ported from the Vulkan headers and corresponding dependencies. // Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Silk.NET.Vulkan; -[NativeName("VkMicromapTriangleEXT")] +[NativeName("VkMicromapTriangleKHR")] [SupportedApiProfile("vulkan")] -public partial struct MicromapTriangleEXT +public partial struct MicromapTriangleKHR { [NativeName("dataOffset")] [SupportedApiProfile( "vulkan", - ["VK_EXT_opacity_micromap"], - ImpliesSets = [ - "VK_KHR_acceleration_structure+VK_KHR_synchronization2", - "VK_KHR_acceleration_structure+VK_VERSION_1_3", - ] + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] )] public uint DataOffset; [NativeName("subdivisionLevel")] [SupportedApiProfile( "vulkan", - ["VK_EXT_opacity_micromap"], - ImpliesSets = [ - "VK_KHR_acceleration_structure+VK_KHR_synchronization2", - "VK_KHR_acceleration_structure+VK_VERSION_1_3", - ] + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] )] public ushort SubdivisionLevel; [NativeName("format")] [SupportedApiProfile( "vulkan", - ["VK_EXT_opacity_micromap"], - ImpliesSets = [ - "VK_KHR_acceleration_structure+VK_KHR_synchronization2", - "VK_KHR_acceleration_structure+VK_VERSION_1_3", - ] + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] )] public ushort Format; } diff --git a/sources/Vulkan/Vulkan/Vulkan/MicromapUsageKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/MicromapUsageKHR.gen.cs new file mode 100644 index 0000000000..adc6bb46f3 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/MicromapUsageKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkMicromapUsageKHR")] +[SupportedApiProfile("vulkan")] +public partial struct MicromapUsageKHR +{ + [NativeName("count")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public uint Count; + + [NativeName("subdivisionLevel")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public uint SubdivisionLevel; + + [NativeName("format")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public OpacityMicromapFormatKHR Format; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/NeuralAcceleratorStatisticsModeARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/NeuralAcceleratorStatisticsModeARM.gen.cs new file mode 100644 index 0000000000..e1ee6c436a --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/NeuralAcceleratorStatisticsModeARM.gen.cs @@ -0,0 +1,25 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkNeuralAcceleratorStatisticsModeARM")] +[SupportedApiProfile("vulkan")] +public enum NeuralAcceleratorStatisticsModeARM : uint +{ + [NativeName("VK_NEURAL_ACCELERATOR_STATISTICS_MODE_DISABLED_ARM")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + Disabled = 0, + + [NativeName("VK_NEURAL_ACCELERATOR_STATISTICS_MODE_STATISTICS0_ARM")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + Statistics0 = 1, + + [NativeName("VK_NEURAL_ACCELERATOR_STATISTICS_MODE_STATISTICS1_ARM")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + Statistics1 = 2, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ObjectType.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ObjectType.gen.cs index b970b4af9d..7d089093b5 100644 --- a/sources/Vulkan/Vulkan/Vulkan/ObjectType.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/ObjectType.gen.cs @@ -873,6 +873,17 @@ public enum ObjectType : uint [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] DebugUtilsMessengerEXT = 1000128000, + [NativeName("VK_OBJECT_TYPE_GPA_SESSION_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + GpaSessionAMD = 1000133000, + [NativeName("VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR")] [SupportedApiProfile( "vulkan", @@ -996,6 +1007,7 @@ public enum ObjectType : uint "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -1006,7 +1018,10 @@ public enum ObjectType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineSessionARM = 1000507000, @@ -1019,8 +1034,10 @@ public enum ObjectType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -1031,13 +1048,26 @@ public enum ObjectType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] IndirectExecutionSetEXT = 1000572001, + [NativeName("VK_OBJECT_TYPE_SHADER_INSTRUMENTATION_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + ShaderInstrumentationARM = 1000607000, + [NativeName("VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR")] [SupportedApiProfile("vulkan", ["VK_KHR_descriptor_update_template"])] DescriptorUpdateTemplateKHR = DescriptorUpdateTemplate, diff --git a/sources/Vulkan/Vulkan/Vulkan/OpacityMicromapFormatEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/OpacityMicromapFormatKHR.gen.cs similarity index 63% rename from sources/Vulkan/Vulkan/Vulkan/OpacityMicromapFormatEXT.gen.cs rename to sources/Vulkan/Vulkan/Vulkan/OpacityMicromapFormatKHR.gen.cs index 5edd754242..26a76dde6c 100644 --- a/sources/Vulkan/Vulkan/Vulkan/OpacityMicromapFormatEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/OpacityMicromapFormatKHR.gen.cs @@ -2,16 +2,31 @@ // The .NET Foundation licenses this file to you under the MIT license. // Ported from the Vulkan headers and corresponding dependencies. // Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. -using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Silk.NET.Vulkan; -[NativeName("VkOpacityMicromapFormatEXT")] +[NativeName("VkOpacityMicromapFormatKHR")] [SupportedApiProfile("vulkan")] -public enum OpacityMicromapFormatEXT : uint +public enum OpacityMicromapFormatKHR : uint { + [NativeName("VK_OPACITY_MICROMAP_FORMAT_2_STATE_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + Format2State = 1, + + [NativeName("VK_OPACITY_MICROMAP_FORMAT_4_STATE_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + Format4State = 2, + [NativeName("VK_OPACITY_MICROMAP_FORMAT_2_STATE_EXT")] [SupportedApiProfile( "vulkan", @@ -21,7 +36,7 @@ public enum OpacityMicromapFormatEXT : uint "VK_KHR_acceleration_structure+VK_VERSION_1_3", ] )] - Format2State = 1, + Format2StateEXT = Format2State, [NativeName("VK_OPACITY_MICROMAP_FORMAT_4_STATE_EXT")] [SupportedApiProfile( @@ -32,5 +47,5 @@ public enum OpacityMicromapFormatEXT : uint "VK_KHR_acceleration_structure+VK_VERSION_1_3", ] )] - Format4State = 2, + Format4StateEXT = Format4State, } diff --git a/sources/Vulkan/Vulkan/Vulkan/OpacityMicromapSpecialIndexEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/OpacityMicromapSpecialIndexKHR.gen.cs similarity index 63% rename from sources/Vulkan/Vulkan/Vulkan/OpacityMicromapSpecialIndexEXT.gen.cs rename to sources/Vulkan/Vulkan/Vulkan/OpacityMicromapSpecialIndexKHR.gen.cs index 2385272d5b..9bd32f3bbb 100644 --- a/sources/Vulkan/Vulkan/Vulkan/OpacityMicromapSpecialIndexEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/OpacityMicromapSpecialIndexKHR.gen.cs @@ -8,10 +8,51 @@ namespace Silk.NET.Vulkan; -[NativeName("VkOpacityMicromapSpecialIndexEXT")] +[NativeName("VkOpacityMicromapSpecialIndexKHR")] [SupportedApiProfile("vulkan")] -public enum OpacityMicromapSpecialIndexEXT +public enum OpacityMicromapSpecialIndexKHR { + [NativeName("VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_TRANSPARENT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + FullyTransparent = -1, + + [NativeName("VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_OPAQUE_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + FullyOpaque = -2, + + [NativeName("VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_UNKNOWN_TRANSPARENT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + FullyUnknownTransparent = -3, + + [NativeName("VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_UNKNOWN_OPAQUE_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + FullyUnknownOpaque = -4, + + [NativeName("VK_OPACITY_MICROMAP_SPECIAL_INDEX_CLUSTER_GEOMETRY_DISABLE_OPACITY_MICROMAP_NV")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_opacity_micromap", "VK_NV_cluster_acceleration_structure"], + ImpliesSets = ["VK_KHR_acceleration_structure"], + RequireAll = true + )] + ClusterGeometryDisableOpacityMicromapNV = -5, + [NativeName("VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_TRANSPARENT_EXT")] [SupportedApiProfile( "vulkan", @@ -21,7 +62,7 @@ public enum OpacityMicromapSpecialIndexEXT "VK_KHR_acceleration_structure+VK_VERSION_1_3", ] )] - FullyTransparent = -1, + FullyTransparentEXT = FullyTransparent, [NativeName("VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_OPAQUE_EXT")] [SupportedApiProfile( @@ -32,7 +73,7 @@ public enum OpacityMicromapSpecialIndexEXT "VK_KHR_acceleration_structure+VK_VERSION_1_3", ] )] - FullyOpaque = -2, + FullyOpaqueEXT = FullyOpaque, [NativeName("VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_UNKNOWN_TRANSPARENT_EXT")] [SupportedApiProfile( @@ -43,7 +84,7 @@ public enum OpacityMicromapSpecialIndexEXT "VK_KHR_acceleration_structure+VK_VERSION_1_3", ] )] - FullyUnknownTransparent = -3, + FullyUnknownTransparentEXT = FullyUnknownTransparent, [NativeName("VK_OPACITY_MICROMAP_SPECIAL_INDEX_FULLY_UNKNOWN_OPAQUE_EXT")] [SupportedApiProfile( @@ -54,14 +95,5 @@ public enum OpacityMicromapSpecialIndexEXT "VK_KHR_acceleration_structure+VK_VERSION_1_3", ] )] - FullyUnknownOpaque = -4, - - [NativeName("VK_OPACITY_MICROMAP_SPECIAL_INDEX_CLUSTER_GEOMETRY_DISABLE_OPACITY_MICROMAP_NV")] - [SupportedApiProfile( - "vulkan", - ["VK_EXT_opacity_micromap", "VK_NV_cluster_acceleration_structure"], - ImpliesSets = ["VK_KHR_acceleration_structure"], - RequireAll = true - )] - ClusterGeometryDisableOpacityMicromapNV = -5, + FullyUnknownOpaqueEXT = FullyUnknownOpaque, } diff --git a/sources/Vulkan/Vulkan/Vulkan/OpaqueCaptureDataCreateInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/OpaqueCaptureDataCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..657d9793e4 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/OpaqueCaptureDataCreateInfoEXT.gen.cs @@ -0,0 +1,69 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkOpaqueCaptureDataCreateInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct OpaqueCaptureDataCreateInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public StructureType SType = StructureType.OpaqueCaptureDataCreateInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* PNext; + + [NativeName("pData")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public HostAddressRangeConstEXT* PData; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public OpaqueCaptureDataCreateInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PastPresentationTimingEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PastPresentationTimingEXT.gen.cs new file mode 100644 index 0000000000..c996d2e49a --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PastPresentationTimingEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPastPresentationTimingEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PastPresentationTimingEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public StructureType SType = StructureType.PastPresentationTimingEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public void* PNext; + + [NativeName("presentId")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_present_id"], + ImpliesSets = [ + "VK_KHR_swapchain+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_VERSION_1_1", + ] + )] + public ulong PresentId; + + [NativeName("targetTime")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public ulong TargetTime; + + [NativeName("presentStageCount")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public uint PresentStageCount; + + [NativeName("pPresentStages")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PresentStageTimeEXT* PPresentStages; + + [NativeName("timeDomain")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public TimeDomainKHR TimeDomain; + + [NativeName("timeDomainId")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public ulong TimeDomainId; + + [NativeName("reportComplete")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public MaybeBool ReportComplete; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PastPresentationTimingEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PastPresentationTimingFlagsEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PastPresentationTimingFlagsEXT.gen.cs new file mode 100644 index 0000000000..8d08639dab --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PastPresentationTimingFlagsEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPastPresentationTimingFlagBitsEXT")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum PastPresentationTimingFlagsEXT : uint +{ + None = 0x0, + + [NativeName("VK_PAST_PRESENTATION_TIMING_ALLOW_PARTIAL_RESULTS_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + AllowPartialResultsBit = 0x1, + + [NativeName("VK_PAST_PRESENTATION_TIMING_ALLOW_OUT_OF_ORDER_RESULTS_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + AllowOutOfOrderResultsBit = 0x2, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PastPresentationTimingInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PastPresentationTimingInfoEXT.gen.cs new file mode 100644 index 0000000000..5f487530d8 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PastPresentationTimingInfoEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPastPresentationTimingInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PastPresentationTimingInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public StructureType SType = StructureType.PastPresentationTimingInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public void* PNext; + + [NativeName("flags")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PastPresentationTimingFlagsEXT Flags; + + [NativeName("swapchain")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public SwapchainHandleKHR Swapchain; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PastPresentationTimingInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PastPresentationTimingPropertiesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PastPresentationTimingPropertiesEXT.gen.cs new file mode 100644 index 0000000000..0ebd59dcb1 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PastPresentationTimingPropertiesEXT.gen.cs @@ -0,0 +1,104 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPastPresentationTimingPropertiesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PastPresentationTimingPropertiesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public StructureType SType = StructureType.PastPresentationTimingPropertiesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public void* PNext; + + [NativeName("timingPropertiesCounter")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public ulong TimingPropertiesCounter; + + [NativeName("timeDomainsCounter")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public ulong TimeDomainsCounter; + + [NativeName("presentationTimingCount")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public uint PresentationTimingCount; + + [NativeName("pPresentationTimings")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PastPresentationTimingEXT* PPresentationTimings; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PastPresentationTimingPropertiesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PerTileBeginInfoQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PerTileBeginInfoQCOM.gen.cs index b9416d5c60..24137176c4 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PerTileBeginInfoQCOM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PerTileBeginInfoQCOM.gen.cs @@ -15,10 +15,7 @@ public unsafe partial struct PerTileBeginInfoQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public StructureType SType = StructureType.PerTileBeginInfoQCOM; @@ -26,20 +23,14 @@ public unsafe partial struct PerTileBeginInfoQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public void* PNext; [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public PerTileBeginInfoQCOM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/PerTileEndInfoQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PerTileEndInfoQCOM.gen.cs index 13d4aec883..46c722edec 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PerTileEndInfoQCOM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PerTileEndInfoQCOM.gen.cs @@ -16,10 +16,7 @@ public unsafe partial struct PerTileEndInfoQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public StructureType SType = StructureType.PerTileEndInfoQCOM; @@ -27,20 +24,14 @@ public unsafe partial struct PerTileEndInfoQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public void* PNext; [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public PerTileEndInfoQCOM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/PerfHintInfoQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PerfHintInfoQCOM.gen.cs new file mode 100644 index 0000000000..f9f22fb276 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PerfHintInfoQCOM.gen.cs @@ -0,0 +1,68 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPerfHintInfoQCOM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PerfHintInfoQCOM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PerfHintInfoQCOM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("type")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public PerfHintTypeQCOM Type; + + [NativeName("scale")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public uint Scale; + + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public PerfHintInfoQCOM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PerfHintTypeQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PerfHintTypeQCOM.gen.cs new file mode 100644 index 0000000000..4aceed8029 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PerfHintTypeQCOM.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPerfHintTypeQCOM")] +[SupportedApiProfile("vulkan")] +public enum PerfHintTypeQCOM : uint +{ + [NativeName("VK_PERF_HINT_TYPE_DEFAULT_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + Default = 0, + + [NativeName("VK_PERF_HINT_TYPE_FREQUENCY_MIN_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + FrequencyMin = 1, + + [NativeName("VK_PERF_HINT_TYPE_FREQUENCY_MAX_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + FrequencyMax = 2, + + [NativeName("VK_PERF_HINT_TYPE_FREQUENCY_SCALED_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + FrequencyScaled = 3, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceComputeOccupancyPriorityFeaturesNV.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceComputeOccupancyPriorityFeaturesNV.gen.cs new file mode 100644 index 0000000000..a36dd99d0e --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceComputeOccupancyPriorityFeaturesNV.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceComputeOccupancyPriorityFeaturesNV")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceComputeOccupancyPriorityFeaturesNV +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceComputeOccupancyPriorityFeaturesNV; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("computeOccupancyPriority")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public MaybeBool ComputeOccupancyPriority; + + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceComputeOccupancyPriorityFeaturesNV() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCooperativeMatrix2FeaturesNV.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCooperativeMatrix2FeaturesNV.gen.cs index e0ebbf5f90..461c422f2b 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCooperativeMatrix2FeaturesNV.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCooperativeMatrix2FeaturesNV.gen.cs @@ -79,8 +79,8 @@ public unsafe partial struct PhysicalDeviceCooperativeMatrix2FeaturesNV [NativeName("cooperativeMatrixBlockLoads")] [SupportedApiProfile( "vulkan", - ["VK_NV_cooperative_matrix2"], - ImpliesSets = ["VK_KHR_cooperative_matrix"] + ["VK_NV_cooperative_matrix_decode_vector"], + ImpliesSets = ["VK_NV_cooperative_matrix2"] )] public MaybeBool CooperativeMatrixBlockLoads; diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCooperativeMatrixConversionFeaturesQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCooperativeMatrixConversionFeaturesQCOM.gen.cs new file mode 100644 index 0000000000..1b341d53ab --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCooperativeMatrixConversionFeaturesQCOM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceCooperativeMatrixConversionFeaturesQCOM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_cooperative_matrix_conversion"], + ImpliesSets = ["VK_KHR_cooperative_matrix"] + )] + public StructureType SType = + StructureType.PhysicalDeviceCooperativeMatrixConversionFeaturesQCOM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_cooperative_matrix_conversion"], + ImpliesSets = ["VK_KHR_cooperative_matrix"] + )] + public void* PNext; + + [NativeName("cooperativeMatrixConversion")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_cooperative_matrix_conversion"], + ImpliesSets = ["VK_KHR_cooperative_matrix"] + )] + public MaybeBool CooperativeMatrixConversion; + + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_cooperative_matrix_conversion"], + ImpliesSets = ["VK_KHR_cooperative_matrix"] + )] + public PhysicalDeviceCooperativeMatrixConversionFeaturesQCOM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV.gen.cs new file mode 100644 index 0000000000..5fc13b4470 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_cooperative_matrix_decode_vector"], + ImpliesSets = ["VK_NV_cooperative_matrix2"] + )] + public StructureType SType = + StructureType.PhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_cooperative_matrix_decode_vector"], + ImpliesSets = ["VK_NV_cooperative_matrix2"] + )] + public void* PNext; + + [NativeName("cooperativeMatrixDecodeVector")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_cooperative_matrix_decode_vector"], + ImpliesSets = ["VK_NV_cooperative_matrix2"] + )] + public MaybeBool CooperativeMatrixDecodeVector; + + [SupportedApiProfile( + "vulkan", + ["VK_NV_cooperative_matrix_decode_vector"], + ImpliesSets = ["VK_NV_cooperative_matrix2"] + )] + public PhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCustomResolveFeaturesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCustomResolveFeaturesEXT.gen.cs new file mode 100644 index 0000000000..94eeaa5395 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceCustomResolveFeaturesEXT.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceCustomResolveFeaturesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceCustomResolveFeaturesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceCustomResolveFeaturesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("customResolve")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public MaybeBool CustomResolve; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceCustomResolveFeaturesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphFeaturesARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphFeaturesARM.gen.cs index 70836a0b36..a1a3b4563d 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphFeaturesARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphFeaturesARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct PhysicalDeviceDataGraphFeaturesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.PhysicalDeviceDataGraphFeaturesARM; @@ -24,7 +27,10 @@ public unsafe partial struct PhysicalDeviceDataGraphFeaturesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,7 +38,10 @@ public unsafe partial struct PhysicalDeviceDataGraphFeaturesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public MaybeBool DataGraph; @@ -40,7 +49,10 @@ public unsafe partial struct PhysicalDeviceDataGraphFeaturesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public MaybeBool DataGraphUpdateAfterBind; @@ -48,7 +60,10 @@ public unsafe partial struct PhysicalDeviceDataGraphFeaturesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public MaybeBool DataGraphSpecializationConstants; @@ -56,7 +71,10 @@ public unsafe partial struct PhysicalDeviceDataGraphFeaturesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public MaybeBool DataGraphDescriptorBuffer; @@ -64,14 +82,20 @@ public unsafe partial struct PhysicalDeviceDataGraphFeaturesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public MaybeBool DataGraphShaderModule; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public PhysicalDeviceDataGraphFeaturesARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphNeuralAcceleratorStatisticsFeaturesARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphNeuralAcceleratorStatisticsFeaturesARM.gen.cs new file mode 100644 index 0000000000..d1690f7cf2 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphNeuralAcceleratorStatisticsFeaturesARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceDataGraphNeuralAcceleratorStatisticsFeaturesARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceDataGraphNeuralAcceleratorStatisticsFeaturesARM +{ + [NativeName("sType")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public StructureType SType = + StructureType.PhysicalDeviceDataGraphNeuralAcceleratorStatisticsFeaturesARM; + + [NativeName("pNext")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public void* PNext; + + [NativeName("dataGraphNeuralAcceleratorStatistics")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public MaybeBool DataGraphNeuralAcceleratorStatistics; + + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public PhysicalDeviceDataGraphNeuralAcceleratorStatisticsFeaturesARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphOperationSupportARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphOperationSupportARM.gen.cs index 61f19560dd..8ed56539ad 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphOperationSupportARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphOperationSupportARM.gen.cs @@ -16,7 +16,10 @@ public partial struct PhysicalDeviceDataGraphOperationSupportARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public PhysicalDeviceDataGraphOperationTypeARM OperationType; @@ -24,7 +27,10 @@ public partial struct PhysicalDeviceDataGraphOperationSupportARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public PhysicalDeviceDataGraphOperationSupportARMName Name; @@ -32,7 +38,10 @@ public partial struct PhysicalDeviceDataGraphOperationSupportARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint Version; } diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphOperationTypeARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphOperationTypeARM.gen.cs index 54c1e53635..23ae410543 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphOperationTypeARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphOperationTypeARM.gen.cs @@ -16,7 +16,10 @@ public enum PhysicalDeviceDataGraphOperationTypeARM : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] SpirvExtendedInstructionSet = 0, @@ -35,4 +38,12 @@ public enum PhysicalDeviceDataGraphOperationTypeARM : uint ImpliesSets = ["VK_ARM_data_graph"] )] BuiltinModelQCOM = 1000629001, + + [NativeName("VK_PHYSICAL_DEVICE_DATA_GRAPH_OPERATION_TYPE_OPTICAL_FLOW_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + OpticalFlow = 1000631000, } diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphOpticalFlowFeaturesARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphOpticalFlowFeaturesARM.gen.cs new file mode 100644 index 0000000000..f80277dfcf --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphOpticalFlowFeaturesARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceDataGraphOpticalFlowFeaturesARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceDataGraphOpticalFlowFeaturesARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public StructureType SType = StructureType.PhysicalDeviceDataGraphOpticalFlowFeaturesARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public void* PNext; + + [NativeName("dataGraphOpticalFlow")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public MaybeBool DataGraphOpticalFlow; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public PhysicalDeviceDataGraphOpticalFlowFeaturesARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphProcessingEngineARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphProcessingEngineARM.gen.cs index d6d7a4c562..9e5b98c86b 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphProcessingEngineARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphProcessingEngineARM.gen.cs @@ -15,7 +15,10 @@ public partial struct PhysicalDeviceDataGraphProcessingEngineARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public PhysicalDeviceDataGraphProcessingEngineTypeARM Type; @@ -23,7 +26,10 @@ public partial struct PhysicalDeviceDataGraphProcessingEngineARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public MaybeBool IsForeign; } diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphProcessingEngineTypeARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphProcessingEngineTypeARM.gen.cs index fecbd22bb3..e6db5bd4ae 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphProcessingEngineTypeARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDataGraphProcessingEngineTypeARM.gen.cs @@ -16,7 +16,10 @@ public enum PhysicalDeviceDataGraphProcessingEngineTypeARM : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] Default = 0, diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorBufferDensityMapPropertiesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorBufferDensityMapPropertiesEXT.gen.cs index 3cab184ce6..11da5fd654 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorBufferDensityMapPropertiesEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorBufferDensityMapPropertiesEXT.gen.cs @@ -15,13 +15,14 @@ public unsafe partial struct PhysicalDeviceDescriptorBufferDensityMapPropertiesE [NativeName("sType")] [SupportedApiProfile( "vulkan", - ["VK_EXT_descriptor_buffer"], + ["VK_EXT_descriptor_buffer", "VK_EXT_fragment_density_map"], ImpliesSets = [ "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_KHR_get_physical_device_properties2", "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_VERSION_1_1", "VK_KHR_synchronization2+VK_VERSION_1_2", "VK_VERSION_1_3", - ] + ], + RequireAll = true )] public StructureType SType = StructureType.PhysicalDeviceDescriptorBufferDensityMapPropertiesEXT; @@ -29,38 +30,41 @@ public unsafe partial struct PhysicalDeviceDescriptorBufferDensityMapPropertiesE [NativeName("pNext")] [SupportedApiProfile( "vulkan", - ["VK_EXT_descriptor_buffer"], + ["VK_EXT_descriptor_buffer", "VK_EXT_fragment_density_map"], ImpliesSets = [ "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_KHR_get_physical_device_properties2", "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_VERSION_1_1", "VK_KHR_synchronization2+VK_VERSION_1_2", "VK_VERSION_1_3", - ] + ], + RequireAll = true )] public void* PNext; [NativeName("combinedImageSamplerDensityMapDescriptorSize")] [SupportedApiProfile( "vulkan", - ["VK_EXT_descriptor_buffer"], + ["VK_EXT_descriptor_buffer", "VK_EXT_fragment_density_map"], ImpliesSets = [ "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_KHR_get_physical_device_properties2", "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_VERSION_1_1", "VK_KHR_synchronization2+VK_VERSION_1_2", "VK_VERSION_1_3", - ] + ], + RequireAll = true )] public nuint CombinedImageSamplerDensityMapDescriptorSize; [SupportedApiProfile( "vulkan", - ["VK_EXT_descriptor_buffer"], + ["VK_EXT_descriptor_buffer", "VK_EXT_fragment_density_map"], ImpliesSets = [ "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_KHR_get_physical_device_properties2", "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_VERSION_1_1", "VK_KHR_synchronization2+VK_VERSION_1_2", "VK_VERSION_1_3", - ] + ], + RequireAll = true )] public PhysicalDeviceDescriptorBufferDensityMapPropertiesEXT() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorHeapFeaturesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorHeapFeaturesEXT.gen.cs new file mode 100644 index 0000000000..c6dacb98a5 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorHeapFeaturesEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceDescriptorHeapFeaturesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceDescriptorHeapFeaturesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceDescriptorHeapFeaturesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* PNext; + + [NativeName("descriptorHeap")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public MaybeBool DescriptorHeap; + + [NativeName("descriptorHeapCaptureReplay")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public MaybeBool DescriptorHeapCaptureReplay; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public PhysicalDeviceDescriptorHeapFeaturesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorHeapPropertiesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorHeapPropertiesEXT.gen.cs new file mode 100644 index 0000000000..fe0f189c1e --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorHeapPropertiesEXT.gen.cs @@ -0,0 +1,320 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceDescriptorHeapPropertiesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceDescriptorHeapPropertiesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceDescriptorHeapPropertiesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* PNext; + + [NativeName("samplerHeapAlignment")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong SamplerHeapAlignment; + + [NativeName("resourceHeapAlignment")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong ResourceHeapAlignment; + + [NativeName("maxSamplerHeapSize")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong MaxSamplerHeapSize; + + [NativeName("maxResourceHeapSize")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong MaxResourceHeapSize; + + [NativeName("minSamplerHeapReservedRange")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong MinSamplerHeapReservedRange; + + [NativeName("minSamplerHeapReservedRangeWithEmbedded")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong MinSamplerHeapReservedRangeWithEmbedded; + + [NativeName("minResourceHeapReservedRange")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong MinResourceHeapReservedRange; + + [NativeName("samplerDescriptorSize")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong SamplerDescriptorSize; + + [NativeName("imageDescriptorSize")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong ImageDescriptorSize; + + [NativeName("bufferDescriptorSize")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong BufferDescriptorSize; + + [NativeName("samplerDescriptorAlignment")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong SamplerDescriptorAlignment; + + [NativeName("imageDescriptorAlignment")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong ImageDescriptorAlignment; + + [NativeName("bufferDescriptorAlignment")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong BufferDescriptorAlignment; + + [NativeName("maxPushDataSize")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ulong MaxPushDataSize; + + [NativeName("imageCaptureReplayOpaqueDataSize")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public nuint ImageCaptureReplayOpaqueDataSize; + + [NativeName("maxDescriptorHeapEmbeddedSamplers")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint MaxDescriptorHeapEmbeddedSamplers; + + [NativeName("samplerYcbcrConversionCount")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint SamplerYcbcrConversionCount; + + [NativeName("sparseDescriptorHeaps")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public MaybeBool SparseDescriptorHeaps; + + [NativeName("protectedDescriptorHeaps")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public MaybeBool ProtectedDescriptorHeaps; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public PhysicalDeviceDescriptorHeapPropertiesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorHeapTensorPropertiesARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorHeapTensorPropertiesARM.gen.cs new file mode 100644 index 0000000000..b819161309 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDescriptorHeapTensorPropertiesARM.gen.cs @@ -0,0 +1,103 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceDescriptorHeapTensorPropertiesARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceDescriptorHeapTensorPropertiesARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public StructureType SType = StructureType.PhysicalDeviceDescriptorHeapTensorPropertiesARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public void* PNext; + + [NativeName("tensorDescriptorSize")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public ulong TensorDescriptorSize; + + [NativeName("tensorDescriptorAlignment")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public ulong TensorDescriptorAlignment; + + [NativeName("tensorCaptureReplayOpaqueDataSize")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public nuint TensorCaptureReplayOpaqueDataSize; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public PhysicalDeviceDescriptorHeapTensorPropertiesARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDeviceAddressCommandsFeaturesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDeviceAddressCommandsFeaturesKHR.gen.cs new file mode 100644 index 0000000000..0a8d1593a5 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDeviceAddressCommandsFeaturesKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceDeviceAddressCommandsFeaturesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceDeviceAddressCommandsFeaturesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceDeviceAddressCommandsFeaturesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public void* PNext; + + [NativeName("deviceAddressCommands")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public MaybeBool DeviceAddressCommands; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public PhysicalDeviceDeviceAddressCommandsFeaturesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDeviceGeneratedCommandsFeaturesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDeviceGeneratedCommandsFeaturesEXT.gen.cs index 5f03250a4f..8f597317f5 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDeviceGeneratedCommandsFeaturesEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDeviceGeneratedCommandsFeaturesEXT.gen.cs @@ -17,8 +17,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsFeaturesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29,8 +31,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsFeaturesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -49,8 +53,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsFeaturesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -60,8 +66,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsFeaturesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT.gen.cs index a8bbb4b969..88c8f21462 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT.gen.cs @@ -16,8 +16,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -28,8 +30,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -40,8 +44,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -52,8 +58,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -64,8 +72,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -76,8 +86,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -88,8 +100,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -100,8 +114,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -112,8 +128,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -124,8 +142,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -136,8 +156,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -148,8 +170,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -160,8 +184,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -172,8 +198,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -183,8 +211,10 @@ public unsafe partial struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceElapsedTimerQueryFeaturesQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceElapsedTimerQueryFeaturesQCOM.gen.cs new file mode 100644 index 0000000000..faddf95a3f --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceElapsedTimerQueryFeaturesQCOM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceElapsedTimerQueryFeaturesQCOM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceElapsedTimerQueryFeaturesQCOM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_elapsed_timer_query"], + ImpliesSets = [ + "VK_QCOM_elapsed_timer_query+VK_KHR_get_physical_device_properties2", + "VK_QCOM_elapsed_timer_query+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceElapsedTimerQueryFeaturesQCOM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_elapsed_timer_query"], + ImpliesSets = [ + "VK_QCOM_elapsed_timer_query+VK_KHR_get_physical_device_properties2", + "VK_QCOM_elapsed_timer_query+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("elapsedTimerQuery")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_elapsed_timer_query"], + ImpliesSets = [ + "VK_QCOM_elapsed_timer_query+VK_KHR_get_physical_device_properties2", + "VK_QCOM_elapsed_timer_query+VK_VERSION_1_1", + ] + )] + public MaybeBool ElapsedTimerQuery; + + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_elapsed_timer_query"], + ImpliesSets = [ + "VK_QCOM_elapsed_timer_query+VK_KHR_get_physical_device_properties2", + "VK_QCOM_elapsed_timer_query+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceElapsedTimerQueryFeaturesQCOM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceExtendedFlagsFeaturesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceExtendedFlagsFeaturesKHR.gen.cs new file mode 100644 index 0000000000..790c68149c --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceExtendedFlagsFeaturesKHR.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceExtendedFlagsFeaturesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceExtendedFlagsFeaturesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceExtendedFlagsFeaturesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("extendedFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public MaybeBool ExtendedFlags; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceExtendedFlagsFeaturesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFaultFeaturesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFaultFeaturesKHR.gen.cs new file mode 100644 index 0000000000..36b0c8631e --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFaultFeaturesKHR.gen.cs @@ -0,0 +1,89 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceFaultFeaturesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceFaultFeaturesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceFaultFeaturesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("deviceFault")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_device_fault"], + ImpliesSets = [ + "VK_EXT_device_fault+VK_KHR_get_physical_device_properties2", + "VK_EXT_device_fault+VK_VERSION_1_1", + ] + )] + public MaybeBool DeviceFault; + + [NativeName("deviceFaultVendorBinary")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public MaybeBool DeviceFaultVendorBinary; + + [NativeName("deviceFaultReportMasked")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public MaybeBool DeviceFaultReportMasked; + + [NativeName("deviceFaultDeviceLostOnMasked")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public MaybeBool DeviceFaultDeviceLostOnMasked; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceFaultFeaturesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFaultPropertiesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFaultPropertiesKHR.gen.cs new file mode 100644 index 0000000000..c4fb9b267d --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFaultPropertiesKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceFaultPropertiesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceFaultPropertiesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceFaultPropertiesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("maxDeviceFaultCount")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public uint MaxDeviceFaultCount; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceFaultPropertiesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE.gen.cs index 13296e756e..dd94dca2b8 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE.gen.cs @@ -17,6 +17,7 @@ public unsafe partial struct PhysicalDeviceFragmentDensityMapLayeredFeaturesVALV "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -28,6 +29,7 @@ public unsafe partial struct PhysicalDeviceFragmentDensityMapLayeredFeaturesVALV "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -39,6 +41,7 @@ public unsafe partial struct PhysicalDeviceFragmentDensityMapLayeredFeaturesVALV "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -49,6 +52,7 @@ public unsafe partial struct PhysicalDeviceFragmentDensityMapLayeredFeaturesVALV "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE.gen.cs index 6990a29007..2fb8918457 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFragmentDensityMapLayeredPropertiesVALVE.gen.cs @@ -16,6 +16,7 @@ public unsafe partial struct PhysicalDeviceFragmentDensityMapLayeredPropertiesVA "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -28,6 +29,7 @@ public unsafe partial struct PhysicalDeviceFragmentDensityMapLayeredPropertiesVA "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -39,6 +41,7 @@ public unsafe partial struct PhysicalDeviceFragmentDensityMapLayeredPropertiesVA "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -49,6 +52,7 @@ public unsafe partial struct PhysicalDeviceFragmentDensityMapLayeredPropertiesVA "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFragmentShaderBarycentricPropertiesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFragmentShaderBarycentricPropertiesKHR.gen.cs index 8e3f73ffde..d5f5262c0e 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFragmentShaderBarycentricPropertiesKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceFragmentShaderBarycentricPropertiesKHR.gen.cs @@ -15,43 +15,47 @@ public unsafe partial struct PhysicalDeviceFragmentShaderBarycentricPropertiesKH [NativeName("sType")] [SupportedApiProfile( "vulkan", - ["VK_KHR_fragment_shader_barycentric"], + ["VK_EXT_provoking_vertex", "VK_KHR_fragment_shader_barycentric"], ImpliesSets = [ "VK_KHR_fragment_shader_barycentric+VK_KHR_get_physical_device_properties2", "VK_KHR_fragment_shader_barycentric+VK_VERSION_1_1", - ] + ], + RequireAll = true )] public StructureType SType = StructureType.PhysicalDeviceFragmentShaderBarycentricPropertiesKHR; [NativeName("pNext")] [SupportedApiProfile( "vulkan", - ["VK_KHR_fragment_shader_barycentric"], + ["VK_EXT_provoking_vertex", "VK_KHR_fragment_shader_barycentric"], ImpliesSets = [ "VK_KHR_fragment_shader_barycentric+VK_KHR_get_physical_device_properties2", "VK_KHR_fragment_shader_barycentric+VK_VERSION_1_1", - ] + ], + RequireAll = true )] public void* PNext; [NativeName("triStripVertexOrderIndependentOfProvokingVertex")] [SupportedApiProfile( "vulkan", - ["VK_KHR_fragment_shader_barycentric"], + ["VK_EXT_provoking_vertex", "VK_KHR_fragment_shader_barycentric"], ImpliesSets = [ "VK_KHR_fragment_shader_barycentric+VK_KHR_get_physical_device_properties2", "VK_KHR_fragment_shader_barycentric+VK_VERSION_1_1", - ] + ], + RequireAll = true )] public MaybeBool TriStripVertexOrderIndependentOfProvokingVertex; [SupportedApiProfile( "vulkan", - ["VK_KHR_fragment_shader_barycentric"], + ["VK_EXT_provoking_vertex", "VK_KHR_fragment_shader_barycentric"], ImpliesSets = [ "VK_KHR_fragment_shader_barycentric+VK_KHR_get_physical_device_properties2", "VK_KHR_fragment_shader_barycentric+VK_VERSION_1_1", - ] + ], + RequireAll = true )] public PhysicalDeviceFragmentShaderBarycentricPropertiesKHR() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceGpaFeaturesAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceGpaFeaturesAMD.gen.cs new file mode 100644 index 0000000000..4302d2fdfc --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceGpaFeaturesAMD.gen.cs @@ -0,0 +1,90 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceGpaFeaturesAMD")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceGpaFeaturesAMD +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceGpaFeaturesAMD; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("perfCounters")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public MaybeBool PerfCounters; + + [NativeName("streamingPerfCounters")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public MaybeBool StreamingPerfCounters; + + [NativeName("sqThreadTracing")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public MaybeBool SqThreadTracing; + + [NativeName("clockModes")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public MaybeBool ClockModes; + + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceGpaFeaturesAMD() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceGpaProperties2AMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceGpaProperties2AMD.gen.cs new file mode 100644 index 0000000000..f6b144d6b9 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceGpaProperties2AMD.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceGpaProperties2AMD")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceGpaProperties2AMD +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceGpaProperties2AMD; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("revisionId")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint RevisionId; + + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceGpaProperties2AMD() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceGpaPropertiesAMD.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceGpaPropertiesAMD.gen.cs new file mode 100644 index 0000000000..3d73d40561 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceGpaPropertiesAMD.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceGpaPropertiesAMD")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceGpaPropertiesAMD +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceGpaPropertiesAMD; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("flags")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint Flags; + + [NativeName("maxSqttSeBufferSize")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public ulong MaxSqttSeBufferSize; + + [NativeName("shaderEngineCount")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint ShaderEngineCount; + + [NativeName("perfBlockCount")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public uint PerfBlockCount; + + [NativeName("pPerfBlocks")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public GpaPerfBlockPropertiesAMD* PPerfBlocks; + + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceGpaPropertiesAMD() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceImageProcessing3FeaturesQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceImageProcessing3FeaturesQCOM.gen.cs new file mode 100644 index 0000000000..8d77d5a6b9 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceImageProcessing3FeaturesQCOM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceImageProcessing3FeaturesQCOM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceImageProcessing3FeaturesQCOM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_image_processing3"], + ImpliesSets = [ + "VK_QCOM_image_processing3+VK_KHR_get_physical_device_properties2", + "VK_QCOM_image_processing3+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceImageProcessing3FeaturesQCOM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_image_processing3"], + ImpliesSets = [ + "VK_QCOM_image_processing3+VK_KHR_get_physical_device_properties2", + "VK_QCOM_image_processing3+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("imageGatherLinear")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_image_processing3"], + ImpliesSets = [ + "VK_QCOM_image_processing3+VK_KHR_get_physical_device_properties2", + "VK_QCOM_image_processing3+VK_VERSION_1_1", + ] + )] + public MaybeBool ImageGatherLinear; + + [NativeName("imageGatherExtendedModes")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_image_processing3"], + ImpliesSets = [ + "VK_QCOM_image_processing3+VK_KHR_get_physical_device_properties2", + "VK_QCOM_image_processing3+VK_VERSION_1_1", + ] + )] + public MaybeBool ImageGatherExtendedModes; + + [NativeName("blockMatchExtendedClampToEdge")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_image_processing3"], + ImpliesSets = [ + "VK_QCOM_image_processing3+VK_KHR_get_physical_device_properties2", + "VK_QCOM_image_processing3+VK_VERSION_1_1", + ] + )] + public MaybeBool BlockMatchExtendedClampToEdge; + + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_image_processing3"], + ImpliesSets = [ + "VK_QCOM_image_processing3+VK_KHR_get_physical_device_properties2", + "VK_QCOM_image_processing3+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceImageProcessing3FeaturesQCOM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceInternallySynchronizedQueuesFeaturesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceInternallySynchronizedQueuesFeaturesKHR.gen.cs new file mode 100644 index 0000000000..df908c0210 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceInternallySynchronizedQueuesFeaturesKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceInternallySynchronizedQueuesFeaturesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_internally_synchronized_queues"], + ImpliesSets = ["VK_VERSION_1_1"] + )] + public StructureType SType = + StructureType.PhysicalDeviceInternallySynchronizedQueuesFeaturesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_internally_synchronized_queues"], + ImpliesSets = ["VK_VERSION_1_1"] + )] + public void* PNext; + + [NativeName("internallySynchronizedQueues")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_internally_synchronized_queues"], + ImpliesSets = ["VK_VERSION_1_1"] + )] + public MaybeBool InternallySynchronizedQueues; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_internally_synchronized_queues"], + ImpliesSets = ["VK_VERSION_1_1"] + )] + public PhysicalDeviceInternallySynchronizedQueuesFeaturesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceMaintenance11FeaturesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceMaintenance11FeaturesKHR.gen.cs new file mode 100644 index 0000000000..76ca99c9e8 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceMaintenance11FeaturesKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceMaintenance11FeaturesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceMaintenance11FeaturesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceMaintenance11FeaturesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("maintenance11")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + public MaybeBool Maintenance11; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceMaintenance11FeaturesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceMultisampledRenderToSwapchainFeaturesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceMultisampledRenderToSwapchainFeaturesEXT.gen.cs new file mode 100644 index 0000000000..a683f25683 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceMultisampledRenderToSwapchainFeaturesEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceMultisampledRenderToSwapchainFeaturesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceMultisampledRenderToSwapchainFeaturesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + public StructureType SType = + StructureType.PhysicalDeviceMultisampledRenderToSwapchainFeaturesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + public void* PNext; + + [NativeName("multisampledRenderToSwapchain")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + public MaybeBool MultisampledRenderToSwapchain; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + public PhysicalDeviceMultisampledRenderToSwapchainFeaturesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceOpacityMicromapFeaturesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceOpacityMicromapFeaturesKHR.gen.cs new file mode 100644 index 0000000000..a301a1357d --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceOpacityMicromapFeaturesKHR.gen.cs @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceOpacityMicromapFeaturesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceOpacityMicromapFeaturesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public StructureType SType = StructureType.PhysicalDeviceOpacityMicromapFeaturesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public void* PNext; + + [NativeName("micromap")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_opacity_micromap"], + ImpliesSets = [ + "VK_KHR_acceleration_structure+VK_KHR_synchronization2", + "VK_KHR_acceleration_structure+VK_VERSION_1_3", + ] + )] + public MaybeBool Micromap; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public PhysicalDeviceOpacityMicromapFeaturesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceOpacityMicromapPropertiesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceOpacityMicromapPropertiesKHR.gen.cs new file mode 100644 index 0000000000..9fda290a8e --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceOpacityMicromapPropertiesKHR.gen.cs @@ -0,0 +1,69 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceOpacityMicromapPropertiesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceOpacityMicromapPropertiesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public StructureType SType = StructureType.PhysicalDeviceOpacityMicromapPropertiesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public void* PNext; + + [NativeName("maxOpacity2StateSubdivisionLevel")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public uint MaxOpacity2StateSubdivisionLevel; + + [NativeName("maxOpacity4StateSubdivisionLevel")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public uint MaxOpacity4StateSubdivisionLevel; + + [NativeName("maxOpacityLossy4StateSubdivisionLevel")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public uint MaxOpacityLossy4StateSubdivisionLevel; + + [NativeName("maxMicromapTriangles")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public ulong MaxMicromapTriangles; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public PhysicalDeviceOpacityMicromapPropertiesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePipelineBinaryFeaturesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePipelineBinaryFeaturesKHR.gen.cs index 5e5096c8d2..a1d1736153 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePipelineBinaryFeaturesKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePipelineBinaryFeaturesKHR.gen.cs @@ -17,6 +17,7 @@ public unsafe partial struct PhysicalDevicePipelineBinaryFeaturesKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -28,6 +29,7 @@ public unsafe partial struct PhysicalDevicePipelineBinaryFeaturesKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -39,6 +41,7 @@ public unsafe partial struct PhysicalDevicePipelineBinaryFeaturesKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -49,6 +52,7 @@ public unsafe partial struct PhysicalDevicePipelineBinaryFeaturesKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePipelineBinaryPropertiesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePipelineBinaryPropertiesKHR.gen.cs index 5710211e44..971696be8c 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePipelineBinaryPropertiesKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePipelineBinaryPropertiesKHR.gen.cs @@ -16,6 +16,7 @@ public unsafe partial struct PhysicalDevicePipelineBinaryPropertiesKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -27,6 +28,7 @@ public unsafe partial struct PhysicalDevicePipelineBinaryPropertiesKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -38,6 +40,7 @@ public unsafe partial struct PhysicalDevicePipelineBinaryPropertiesKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -49,6 +52,7 @@ public unsafe partial struct PhysicalDevicePipelineBinaryPropertiesKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -60,6 +64,7 @@ public unsafe partial struct PhysicalDevicePipelineBinaryPropertiesKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -71,6 +76,7 @@ public unsafe partial struct PhysicalDevicePipelineBinaryPropertiesKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -82,6 +88,7 @@ public unsafe partial struct PhysicalDevicePipelineBinaryPropertiesKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -92,6 +99,7 @@ public unsafe partial struct PhysicalDevicePipelineBinaryPropertiesKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePresentTimingFeaturesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePresentTimingFeaturesEXT.gen.cs new file mode 100644 index 0000000000..79fcd842a1 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePresentTimingFeaturesEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDevicePresentTimingFeaturesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDevicePresentTimingFeaturesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public StructureType SType = StructureType.PhysicalDevicePresentTimingFeaturesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public void* PNext; + + [NativeName("presentTiming")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public MaybeBool PresentTiming; + + [NativeName("presentAtAbsoluteTime")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public MaybeBool PresentAtAbsoluteTime; + + [NativeName("presentAtRelativeTime")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public MaybeBool PresentAtRelativeTime; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PhysicalDevicePresentTimingFeaturesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePrimitiveRestartIndexFeaturesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePrimitiveRestartIndexFeaturesEXT.gen.cs new file mode 100644 index 0000000000..8b9631327d --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePrimitiveRestartIndexFeaturesEXT.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDevicePrimitiveRestartIndexFeaturesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDevicePrimitiveRestartIndexFeaturesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDevicePrimitiveRestartIndexFeaturesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("primitiveRestartIndex")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + public MaybeBool PrimitiveRestartIndex; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + public PhysicalDevicePrimitiveRestartIndexFeaturesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePushConstantBankFeaturesNV.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePushConstantBankFeaturesNV.gen.cs new file mode 100644 index 0000000000..bc976255ad --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePushConstantBankFeaturesNV.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDevicePushConstantBankFeaturesNV")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDevicePushConstantBankFeaturesNV +{ + [NativeName("sType")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public StructureType SType = StructureType.PhysicalDevicePushConstantBankFeaturesNV; + + [NativeName("pNext")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public void* PNext; + + [NativeName("pushConstantBank")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public MaybeBool PushConstantBank; + + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public PhysicalDevicePushConstantBankFeaturesNV() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePushConstantBankPropertiesNV.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePushConstantBankPropertiesNV.gen.cs new file mode 100644 index 0000000000..4dba370972 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePushConstantBankPropertiesNV.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDevicePushConstantBankPropertiesNV")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDevicePushConstantBankPropertiesNV +{ + [NativeName("sType")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public StructureType SType = StructureType.PhysicalDevicePushConstantBankPropertiesNV; + + [NativeName("pNext")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public void* PNext; + + [NativeName("maxGraphicsPushConstantBanks")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public uint MaxGraphicsPushConstantBanks; + + [NativeName("maxComputePushConstantBanks")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public uint MaxComputePushConstantBanks; + + [NativeName("maxGraphicsPushDataBanks")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public uint MaxGraphicsPushDataBanks; + + [NativeName("maxComputePushDataBanks")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public uint MaxComputePushDataBanks; + + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public PhysicalDevicePushConstantBankPropertiesNV() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM.gen.cs index a04b9187f9..47a3b16f68 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct PhysicalDeviceQueueFamilyDataGraphProcessingEngineI [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM; @@ -25,7 +28,10 @@ public unsafe partial struct PhysicalDeviceQueueFamilyDataGraphProcessingEngineI [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -33,7 +39,10 @@ public unsafe partial struct PhysicalDeviceQueueFamilyDataGraphProcessingEngineI [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public uint QueueFamilyIndex; @@ -41,14 +50,20 @@ public unsafe partial struct PhysicalDeviceQueueFamilyDataGraphProcessingEngineI [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public PhysicalDeviceDataGraphProcessingEngineTypeARM EngineType; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceQueuePerfHintFeaturesQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceQueuePerfHintFeaturesQCOM.gen.cs new file mode 100644 index 0000000000..bacf837183 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceQueuePerfHintFeaturesQCOM.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceQueuePerfHintFeaturesQCOM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceQueuePerfHintFeaturesQCOM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceQueuePerfHintFeaturesQCOM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("queuePerfHint")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public MaybeBool QueuePerfHint; + + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceQueuePerfHintFeaturesQCOM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceQueuePerfHintPropertiesQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceQueuePerfHintPropertiesQCOM.gen.cs new file mode 100644 index 0000000000..ebefff7f10 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceQueuePerfHintPropertiesQCOM.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceQueuePerfHintPropertiesQCOM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceQueuePerfHintPropertiesQCOM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceQueuePerfHintPropertiesQCOM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("supportedQueues")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public QueueFlags SupportedQueues; + + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceQueuePerfHintPropertiesQCOM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceRayTracingInvocationReorderFeaturesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceRayTracingInvocationReorderFeaturesEXT.gen.cs new file mode 100644 index 0000000000..69b3fb83d0 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceRayTracingInvocationReorderFeaturesEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceRayTracingInvocationReorderFeaturesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceRayTracingInvocationReorderFeaturesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + public StructureType SType = StructureType.PhysicalDeviceRayTracingInvocationReorderFeaturesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + public void* PNext; + + [NativeName("rayTracingInvocationReorder")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + public MaybeBool RayTracingInvocationReorder; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + public PhysicalDeviceRayTracingInvocationReorderFeaturesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceRayTracingInvocationReorderPropertiesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceRayTracingInvocationReorderPropertiesEXT.gen.cs new file mode 100644 index 0000000000..b9a2f4b6d3 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceRayTracingInvocationReorderPropertiesEXT.gen.cs @@ -0,0 +1,54 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceRayTracingInvocationReorderPropertiesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceRayTracingInvocationReorderPropertiesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + public StructureType SType = + StructureType.PhysicalDeviceRayTracingInvocationReorderPropertiesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + public void* PNext; + + [NativeName("rayTracingInvocationReorderReorderingHint")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + public RayTracingInvocationReorderModeEXT RayTracingInvocationReorderReorderingHint; + + [NativeName("maxShaderBindingTableRecordIndex")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + public uint MaxShaderBindingTableRecordIndex; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + public PhysicalDeviceRayTracingInvocationReorderPropertiesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceRayTracingInvocationReorderPropertiesNV.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceRayTracingInvocationReorderPropertiesNV.gen.cs index 8c34cb6152..a2024dd9ef 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceRayTracingInvocationReorderPropertiesNV.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceRayTracingInvocationReorderPropertiesNV.gen.cs @@ -35,7 +35,7 @@ public unsafe partial struct PhysicalDeviceRayTracingInvocationReorderProperties ["VK_NV_ray_tracing_invocation_reorder"], ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] )] - public RayTracingInvocationReorderModeNV RayTracingInvocationReorderReorderingHint; + public RayTracingInvocationReorderModeEXT RayTracingInvocationReorderReorderingHint; [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM.gen.cs new file mode 100644 index 0000000000..ceff81ae55 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public StructureType SType = + StructureType.PhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public void* PNext; + + [NativeName("schedulingControlsMaxWarpsCount")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public uint SchedulingControlsMaxWarpsCount; + + [NativeName("schedulingControlsMaxQueuedBatchesCount")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public uint SchedulingControlsMaxQueuedBatchesCount; + + [NativeName("schedulingControlsMaxWorkGroupBatchSize")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public uint SchedulingControlsMaxWorkGroupBatchSize; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public PhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderAbortFeaturesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderAbortFeaturesKHR.gen.cs new file mode 100644 index 0000000000..5b34fad534 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderAbortFeaturesKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderAbortFeaturesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderAbortFeaturesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public StructureType SType = StructureType.PhysicalDeviceShaderAbortFeaturesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public void* PNext; + + [NativeName("shaderAbort")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public MaybeBool ShaderAbort; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public PhysicalDeviceShaderAbortFeaturesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderAbortPropertiesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderAbortPropertiesKHR.gen.cs new file mode 100644 index 0000000000..a280830806 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderAbortPropertiesKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderAbortPropertiesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderAbortPropertiesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public StructureType SType = StructureType.PhysicalDeviceShaderAbortPropertiesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public void* PNext; + + [NativeName("maxShaderAbortMessageSize")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public ulong MaxShaderAbortMessageSize; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public PhysicalDeviceShaderAbortPropertiesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderConstantDataFeaturesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderConstantDataFeaturesKHR.gen.cs new file mode 100644 index 0000000000..38cab73aa1 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderConstantDataFeaturesKHR.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderConstantDataFeaturesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderConstantDataFeaturesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_constant_data"], + ImpliesSets = [ + "VK_KHR_shader_constant_data+VK_KHR_get_physical_device_properties2", + "VK_KHR_shader_constant_data+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceShaderConstantDataFeaturesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_constant_data"], + ImpliesSets = [ + "VK_KHR_shader_constant_data+VK_KHR_get_physical_device_properties2", + "VK_KHR_shader_constant_data+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("shaderConstantData")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_constant_data"], + ImpliesSets = [ + "VK_KHR_shader_constant_data+VK_KHR_get_physical_device_properties2", + "VK_KHR_shader_constant_data+VK_VERSION_1_1", + ] + )] + public MaybeBool ShaderConstantData; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_constant_data"], + ImpliesSets = [ + "VK_KHR_shader_constant_data+VK_KHR_get_physical_device_properties2", + "VK_KHR_shader_constant_data+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceShaderConstantDataFeaturesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderInstrumentationFeaturesARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderInstrumentationFeaturesARM.gen.cs new file mode 100644 index 0000000000..ae04069dfd --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderInstrumentationFeaturesARM.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderInstrumentationFeaturesARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderInstrumentationFeaturesARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceShaderInstrumentationFeaturesARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("shaderInstrumentation")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public MaybeBool ShaderInstrumentation; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceShaderInstrumentationFeaturesARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderInstrumentationPropertiesARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderInstrumentationPropertiesARM.gen.cs new file mode 100644 index 0000000000..a51bcb6be3 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderInstrumentationPropertiesARM.gen.cs @@ -0,0 +1,68 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderInstrumentationPropertiesARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderInstrumentationPropertiesARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceShaderInstrumentationPropertiesARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("numMetrics")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public uint NumMetrics; + + [NativeName("perBasicBlockGranularity")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public MaybeBool PerBasicBlockGranularity; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceShaderInstrumentationPropertiesARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderLongVectorFeaturesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderLongVectorFeaturesEXT.gen.cs new file mode 100644 index 0000000000..5ff14e8c41 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderLongVectorFeaturesEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderLongVectorFeaturesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderLongVectorFeaturesEXT +{ + [NativeName("sType")] + [SupportedApiProfile("vulkan", ["VK_EXT_shader_long_vector"], ImpliesSets = ["VK_VERSION_1_2"])] + public StructureType SType = StructureType.PhysicalDeviceShaderLongVectorFeaturesEXT; + + [NativeName("pNext")] + [SupportedApiProfile("vulkan", ["VK_EXT_shader_long_vector"], ImpliesSets = ["VK_VERSION_1_2"])] + public void* PNext; + + [NativeName("longVector")] + [SupportedApiProfile("vulkan", ["VK_EXT_shader_long_vector"], ImpliesSets = ["VK_VERSION_1_2"])] + public MaybeBool LongVector; + + [SupportedApiProfile("vulkan", ["VK_EXT_shader_long_vector"], ImpliesSets = ["VK_VERSION_1_2"])] + public PhysicalDeviceShaderLongVectorFeaturesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderLongVectorPropertiesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderLongVectorPropertiesEXT.gen.cs new file mode 100644 index 0000000000..74c1143a0a --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderLongVectorPropertiesEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderLongVectorPropertiesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderLongVectorPropertiesEXT +{ + [NativeName("sType")] + [SupportedApiProfile("vulkan", ["VK_EXT_shader_long_vector"], ImpliesSets = ["VK_VERSION_1_2"])] + public StructureType SType = StructureType.PhysicalDeviceShaderLongVectorPropertiesEXT; + + [NativeName("pNext")] + [SupportedApiProfile("vulkan", ["VK_EXT_shader_long_vector"], ImpliesSets = ["VK_VERSION_1_2"])] + public void* PNext; + + [NativeName("maxVectorComponents")] + [SupportedApiProfile("vulkan", ["VK_EXT_shader_long_vector"], ImpliesSets = ["VK_VERSION_1_2"])] + public uint MaxVectorComponents; + + [SupportedApiProfile("vulkan", ["VK_EXT_shader_long_vector"], ImpliesSets = ["VK_VERSION_1_2"])] + public PhysicalDeviceShaderLongVectorPropertiesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.gen.cs new file mode 100644 index 0000000000..a13036449d --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE.gen.cs @@ -0,0 +1,104 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_VALVE_shader_mixed_float_dot_product"], + ImpliesSets = [ + "VK_KHR_get_physical_device_properties2+VK_KHR_shader_float16_int8", + "VK_KHR_get_physical_device_properties2+VK_VERSION_1_2", + "VK_VERSION_1_1+VK_KHR_shader_float16_int8", + "VK_VERSION_1_1+VK_VERSION_1_2", + ] + )] + public StructureType SType = + StructureType.PhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_VALVE_shader_mixed_float_dot_product"], + ImpliesSets = [ + "VK_KHR_get_physical_device_properties2+VK_KHR_shader_float16_int8", + "VK_KHR_get_physical_device_properties2+VK_VERSION_1_2", + "VK_VERSION_1_1+VK_KHR_shader_float16_int8", + "VK_VERSION_1_1+VK_VERSION_1_2", + ] + )] + public void* PNext; + + [NativeName("shaderMixedFloatDotProductFloat16AccFloat32")] + [SupportedApiProfile( + "vulkan", + ["VK_VALVE_shader_mixed_float_dot_product"], + ImpliesSets = [ + "VK_KHR_get_physical_device_properties2+VK_KHR_shader_float16_int8", + "VK_KHR_get_physical_device_properties2+VK_VERSION_1_2", + "VK_VERSION_1_1+VK_KHR_shader_float16_int8", + "VK_VERSION_1_1+VK_VERSION_1_2", + ] + )] + public MaybeBool ShaderMixedFloatDotProductFloat16AccFloat32; + + [NativeName("shaderMixedFloatDotProductFloat16AccFloat16")] + [SupportedApiProfile( + "vulkan", + ["VK_VALVE_shader_mixed_float_dot_product"], + ImpliesSets = [ + "VK_KHR_get_physical_device_properties2+VK_KHR_shader_float16_int8", + "VK_KHR_get_physical_device_properties2+VK_VERSION_1_2", + "VK_VERSION_1_1+VK_KHR_shader_float16_int8", + "VK_VERSION_1_1+VK_VERSION_1_2", + ] + )] + public MaybeBool ShaderMixedFloatDotProductFloat16AccFloat16; + + [NativeName("shaderMixedFloatDotProductBFloat16Acc")] + [SupportedApiProfile( + "vulkan", + ["VK_VALVE_shader_mixed_float_dot_product"], + ImpliesSets = [ + "VK_KHR_get_physical_device_properties2+VK_KHR_shader_float16_int8", + "VK_KHR_get_physical_device_properties2+VK_VERSION_1_2", + "VK_VERSION_1_1+VK_KHR_shader_float16_int8", + "VK_VERSION_1_1+VK_VERSION_1_2", + ] + )] + public MaybeBool ShaderMixedFloatDotProductBFloat16Acc; + + [NativeName("shaderMixedFloatDotProductFloat8AccFloat32")] + [SupportedApiProfile( + "vulkan", + ["VK_VALVE_shader_mixed_float_dot_product"], + ImpliesSets = [ + "VK_KHR_get_physical_device_properties2+VK_KHR_shader_float16_int8", + "VK_KHR_get_physical_device_properties2+VK_VERSION_1_2", + "VK_VERSION_1_1+VK_KHR_shader_float16_int8", + "VK_VERSION_1_1+VK_VERSION_1_2", + ] + )] + public MaybeBool ShaderMixedFloatDotProductFloat8AccFloat32; + + [SupportedApiProfile( + "vulkan", + ["VK_VALVE_shader_mixed_float_dot_product"], + ImpliesSets = [ + "VK_KHR_get_physical_device_properties2+VK_KHR_shader_float16_int8", + "VK_KHR_get_physical_device_properties2+VK_VERSION_1_2", + "VK_VERSION_1_1+VK_KHR_shader_float16_int8", + "VK_VERSION_1_1+VK_VERSION_1_2", + ] + )] + public PhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderMultipleWaitQueuesFeaturesQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderMultipleWaitQueuesFeaturesQCOM.gen.cs new file mode 100644 index 0000000000..8f9da05b05 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderMultipleWaitQueuesFeaturesQCOM.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderMultipleWaitQueuesFeaturesQCOM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderMultipleWaitQueuesFeaturesQCOM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_shader_multiple_wait_queues"], + ImpliesSets = [ + "VK_QCOM_shader_multiple_wait_queues+VK_KHR_get_physical_device_properties2", + "VK_QCOM_shader_multiple_wait_queues+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceShaderMultipleWaitQueuesFeaturesQCOM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_shader_multiple_wait_queues"], + ImpliesSets = [ + "VK_QCOM_shader_multiple_wait_queues+VK_KHR_get_physical_device_properties2", + "VK_QCOM_shader_multiple_wait_queues+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("shaderMultipleWaitQueues")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_shader_multiple_wait_queues"], + ImpliesSets = [ + "VK_QCOM_shader_multiple_wait_queues+VK_KHR_get_physical_device_properties2", + "VK_QCOM_shader_multiple_wait_queues+VK_VERSION_1_1", + ] + )] + public MaybeBool ShaderMultipleWaitQueues; + + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_shader_multiple_wait_queues"], + ImpliesSets = [ + "VK_QCOM_shader_multiple_wait_queues+VK_KHR_get_physical_device_properties2", + "VK_QCOM_shader_multiple_wait_queues+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceShaderMultipleWaitQueuesFeaturesQCOM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderMultipleWaitQueuesPropertiesQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderMultipleWaitQueuesPropertiesQCOM.gen.cs new file mode 100644 index 0000000000..681eae8e6d --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderMultipleWaitQueuesPropertiesQCOM.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderMultipleWaitQueuesPropertiesQCOM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderMultipleWaitQueuesPropertiesQCOM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_shader_multiple_wait_queues"], + ImpliesSets = [ + "VK_QCOM_shader_multiple_wait_queues+VK_KHR_get_physical_device_properties2", + "VK_QCOM_shader_multiple_wait_queues+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceShaderMultipleWaitQueuesPropertiesQCOM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_shader_multiple_wait_queues"], + ImpliesSets = [ + "VK_QCOM_shader_multiple_wait_queues+VK_KHR_get_physical_device_properties2", + "VK_QCOM_shader_multiple_wait_queues+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("maxShaderWaitQueues")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_shader_multiple_wait_queues"], + ImpliesSets = [ + "VK_QCOM_shader_multiple_wait_queues+VK_KHR_get_physical_device_properties2", + "VK_QCOM_shader_multiple_wait_queues+VK_VERSION_1_1", + ] + )] + public uint MaxShaderWaitQueues; + + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_shader_multiple_wait_queues"], + ImpliesSets = [ + "VK_QCOM_shader_multiple_wait_queues+VK_KHR_get_physical_device_properties2", + "VK_QCOM_shader_multiple_wait_queues+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceShaderMultipleWaitQueuesPropertiesQCOM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderSplitBarrierFeaturesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderSplitBarrierFeaturesEXT.gen.cs new file mode 100644 index 0000000000..a9121c482c --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderSplitBarrierFeaturesEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderSplitBarrierFeaturesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderSplitBarrierFeaturesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_split_barrier"], + ImpliesSets = [ + "VK_EXT_shader_split_barrier+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_split_barrier+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceShaderSplitBarrierFeaturesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_split_barrier"], + ImpliesSets = [ + "VK_EXT_shader_split_barrier+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_split_barrier+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("shaderSplitBarrier")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_split_barrier"], + ImpliesSets = [ + "VK_EXT_shader_split_barrier+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_split_barrier+VK_VERSION_1_1", + ] + )] + public MaybeBool ShaderSplitBarrier; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_split_barrier"], + ImpliesSets = [ + "VK_EXT_shader_split_barrier+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_split_barrier+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceShaderSplitBarrierFeaturesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderSplitBarrierPropertiesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderSplitBarrierPropertiesEXT.gen.cs new file mode 100644 index 0000000000..1ad07e1952 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderSplitBarrierPropertiesEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderSplitBarrierPropertiesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderSplitBarrierPropertiesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_split_barrier"], + ImpliesSets = [ + "VK_EXT_shader_split_barrier+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_split_barrier+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceShaderSplitBarrierPropertiesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_split_barrier"], + ImpliesSets = [ + "VK_EXT_shader_split_barrier+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_split_barrier+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("splitBarrierReservedSharedMemory")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_split_barrier"], + ImpliesSets = [ + "VK_EXT_shader_split_barrier+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_split_barrier+VK_VERSION_1_1", + ] + )] + public uint SplitBarrierReservedSharedMemory; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_split_barrier"], + ImpliesSets = [ + "VK_EXT_shader_split_barrier+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_split_barrier+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceShaderSplitBarrierPropertiesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT.gen.cs new file mode 100644 index 0000000000..c00deb16b4 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_subgroup_partitioned"], + ImpliesSets = [ + "VK_EXT_shader_subgroup_partitioned+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_subgroup_partitioned+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_subgroup_partitioned"], + ImpliesSets = [ + "VK_EXT_shader_subgroup_partitioned+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_subgroup_partitioned+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("shaderSubgroupPartitioned")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_subgroup_partitioned"], + ImpliesSets = [ + "VK_EXT_shader_subgroup_partitioned+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_subgroup_partitioned+VK_VERSION_1_1", + ] + )] + public MaybeBool ShaderSubgroupPartitioned; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_subgroup_partitioned"], + ImpliesSets = [ + "VK_EXT_shader_subgroup_partitioned+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_subgroup_partitioned+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceSwapchainMaintenance1FeaturesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceSwapchainMaintenance1FeaturesKHR.gen.cs index 843d11803f..296cd07426 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceSwapchainMaintenance1FeaturesKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceSwapchainMaintenance1FeaturesKHR.gen.cs @@ -17,9 +17,8 @@ public unsafe partial struct PhysicalDeviceSwapchainMaintenance1FeaturesKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public StructureType SType = StructureType.PhysicalDeviceSwapchainMaintenance1FeaturesKHR; @@ -29,9 +28,8 @@ public unsafe partial struct PhysicalDeviceSwapchainMaintenance1FeaturesKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public void* PNext; @@ -51,9 +49,8 @@ public unsafe partial struct PhysicalDeviceSwapchainMaintenance1FeaturesKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public PhysicalDeviceSwapchainMaintenance1FeaturesKHR() { } diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceTextureCompressionAstc3DFeaturesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceTextureCompressionAstc3DFeaturesEXT.gen.cs new file mode 100644 index 0000000000..e4bae2aeb9 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceTextureCompressionAstc3DFeaturesEXT.gen.cs @@ -0,0 +1,57 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceTextureCompressionAstc3DFeaturesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.PhysicalDeviceTextureCompressionAstc3DFeaturesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("textureCompressionASTC_3D")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + public MaybeBool TextureCompressionAstc3D; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + public PhysicalDeviceTextureCompressionAstc3DFeaturesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceThrottleHintFeaturesSEC.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceThrottleHintFeaturesSEC.gen.cs new file mode 100644 index 0000000000..e6ff85d460 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceThrottleHintFeaturesSEC.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceThrottleHintFeaturesSEC")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceThrottleHintFeaturesSEC +{ + [NativeName("sType")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + public StructureType SType = StructureType.PhysicalDeviceThrottleHintFeaturesSEC; + + [NativeName("pNext")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + public void* PNext; + + [NativeName("throttleHint")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + public MaybeBool ThrottleHint; + + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + public PhysicalDeviceThrottleHintFeaturesSEC() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceTileShadingFeaturesQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceTileShadingFeaturesQCOM.gen.cs index de7f1081f9..c67a637e5a 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceTileShadingFeaturesQCOM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceTileShadingFeaturesQCOM.gen.cs @@ -15,10 +15,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public StructureType SType = StructureType.PhysicalDeviceTileShadingFeaturesQCOM; @@ -26,10 +23,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public void* PNext; @@ -37,10 +31,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShading; @@ -48,10 +39,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingFragmentStage; @@ -59,10 +47,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingColorAttachments; @@ -70,10 +55,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingDepthAttachments; @@ -81,10 +63,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingStencilAttachments; @@ -92,10 +71,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingInputAttachments; @@ -103,10 +79,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingSampledAttachments; @@ -114,10 +87,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingPerTileDraw; @@ -125,10 +95,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingPerTileDispatch; @@ -136,10 +103,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingDispatchTile; @@ -147,10 +111,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingApron; @@ -158,10 +119,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingAnisotropicApron; @@ -169,10 +127,7 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingAtomicOps; @@ -180,20 +135,14 @@ public unsafe partial struct PhysicalDeviceTileShadingFeaturesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool TileShadingImageProcessing; [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public PhysicalDeviceTileShadingFeaturesQCOM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceTileShadingPropertiesQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceTileShadingPropertiesQCOM.gen.cs index a348158598..e1b6f01c17 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceTileShadingPropertiesQCOM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceTileShadingPropertiesQCOM.gen.cs @@ -16,10 +16,7 @@ public unsafe partial struct PhysicalDeviceTileShadingPropertiesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public StructureType SType = StructureType.PhysicalDeviceTileShadingPropertiesQCOM; @@ -27,10 +24,7 @@ public unsafe partial struct PhysicalDeviceTileShadingPropertiesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public void* PNext; @@ -38,10 +32,7 @@ public unsafe partial struct PhysicalDeviceTileShadingPropertiesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public uint MaxApronSize; @@ -49,10 +40,7 @@ public unsafe partial struct PhysicalDeviceTileShadingPropertiesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public MaybeBool PreferNonCoherent; @@ -60,10 +48,7 @@ public unsafe partial struct PhysicalDeviceTileShadingPropertiesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public Extent2D TileGranularity; @@ -71,20 +56,14 @@ public unsafe partial struct PhysicalDeviceTileShadingPropertiesQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public Extent2D MaxTileShadingRate; [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public PhysicalDeviceTileShadingPropertiesQCOM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceVideoEncodeFeedback2FeaturesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceVideoEncodeFeedback2FeaturesKHR.gen.cs new file mode 100644 index 0000000000..839038c5d9 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceVideoEncodeFeedback2FeaturesKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPhysicalDeviceVideoEncodeFeedback2FeaturesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PhysicalDeviceVideoEncodeFeedback2FeaturesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public StructureType SType = StructureType.PhysicalDeviceVideoEncodeFeedback2FeaturesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public void* PNext; + + [NativeName("videoEncodeFeedback2")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public MaybeBool VideoEncodeFeedback2; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public PhysicalDeviceVideoEncodeFeedback2FeaturesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR.gen.cs index 63c898c622..ddd8d53ac7 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR.gen.cs @@ -49,11 +49,9 @@ public unsafe partial struct PhysicalDeviceWorkgroupMemoryExplicitLayoutFeatures [NativeName("workgroupMemoryExplicitLayoutScalarBlockLayout")] [SupportedApiProfile( "vulkan", - ["VK_KHR_workgroup_memory_explicit_layout"], - ImpliesSets = [ - "VK_KHR_workgroup_memory_explicit_layout+VK_KHR_get_physical_device_properties2", - "VK_KHR_workgroup_memory_explicit_layout+VK_VERSION_1_1", - ] + ["VK_EXT_shader_long_vector", "VK_KHR_workgroup_memory_explicit_layout"], + ImpliesSets = ["VK_VERSION_1_2"], + RequireAll = true )] public MaybeBool WorkgroupMemoryExplicitLayoutScalarBlockLayout; diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryCreateInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryCreateInfoKHR.gen.cs index d84967ca33..17489efd79 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryCreateInfoKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryCreateInfoKHR.gen.cs @@ -17,6 +17,7 @@ public unsafe partial struct PipelineBinaryCreateInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -28,6 +29,7 @@ public unsafe partial struct PipelineBinaryCreateInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -39,6 +41,7 @@ public unsafe partial struct PipelineBinaryCreateInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -50,6 +53,7 @@ public unsafe partial struct PipelineBinaryCreateInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -61,6 +65,7 @@ public unsafe partial struct PipelineBinaryCreateInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -71,6 +76,7 @@ public unsafe partial struct PipelineBinaryCreateInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryDataInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryDataInfoKHR.gen.cs index 3051f37171..a5f156b598 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryDataInfoKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryDataInfoKHR.gen.cs @@ -16,6 +16,7 @@ public unsafe partial struct PipelineBinaryDataInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -27,6 +28,7 @@ public unsafe partial struct PipelineBinaryDataInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -38,6 +40,7 @@ public unsafe partial struct PipelineBinaryDataInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -48,6 +51,7 @@ public unsafe partial struct PipelineBinaryDataInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryDataKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryDataKHR.gen.cs index d377204443..f97728764c 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryDataKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryDataKHR.gen.cs @@ -17,6 +17,7 @@ public unsafe partial struct PipelineBinaryDataKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -28,6 +29,7 @@ public unsafe partial struct PipelineBinaryDataKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryHandlesInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryHandlesInfoKHR.gen.cs index 9989330fe6..8ae4b2d39c 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryHandlesInfoKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryHandlesInfoKHR.gen.cs @@ -17,6 +17,7 @@ public unsafe partial struct PipelineBinaryHandlesInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -28,6 +29,7 @@ public unsafe partial struct PipelineBinaryHandlesInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -39,6 +41,7 @@ public unsafe partial struct PipelineBinaryHandlesInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -50,6 +53,7 @@ public unsafe partial struct PipelineBinaryHandlesInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -60,6 +64,7 @@ public unsafe partial struct PipelineBinaryHandlesInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryInfoKHR.gen.cs index 1ce9075b63..e61de62213 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryInfoKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryInfoKHR.gen.cs @@ -17,6 +17,7 @@ public unsafe partial struct PipelineBinaryInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -28,6 +29,7 @@ public unsafe partial struct PipelineBinaryInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -39,6 +41,7 @@ public unsafe partial struct PipelineBinaryInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -50,6 +53,7 @@ public unsafe partial struct PipelineBinaryInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -60,6 +64,7 @@ public unsafe partial struct PipelineBinaryInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryKeyKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryKeyKHR.gen.cs index d98795409c..05cd6a761b 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryKeyKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryKeyKHR.gen.cs @@ -17,6 +17,7 @@ public unsafe partial struct PipelineBinaryKeyKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -28,6 +29,7 @@ public unsafe partial struct PipelineBinaryKeyKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -39,6 +41,7 @@ public unsafe partial struct PipelineBinaryKeyKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -50,6 +53,7 @@ public unsafe partial struct PipelineBinaryKeyKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -60,6 +64,7 @@ public unsafe partial struct PipelineBinaryKeyKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryKeysAndDataKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryKeysAndDataKHR.gen.cs index 01247d05d8..889ac5279b 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryKeysAndDataKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineBinaryKeysAndDataKHR.gen.cs @@ -16,6 +16,7 @@ public unsafe partial struct PipelineBinaryKeysAndDataKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -27,6 +28,7 @@ public unsafe partial struct PipelineBinaryKeysAndDataKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -38,6 +40,7 @@ public unsafe partial struct PipelineBinaryKeysAndDataKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineBindPoint.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineBindPoint.gen.cs index 07c80d38cb..cc39dd2d60 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineBindPoint.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineBindPoint.gen.cs @@ -98,7 +98,10 @@ public enum PipelineBindPoint : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphARM = 1000507000, diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineCreateFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineCreateFlags.gen.cs index bb53fbdbb7..a32972ae65 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineCreateFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineCreateFlags.gen.cs @@ -387,17 +387,6 @@ public enum PipelineCreateFlags : uint )] DepthStencilAttachmentFeedbackLoopBitEXT = 0x4000000, - [NativeName("VK_PIPELINE_CREATE_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT")] - [SupportedApiProfile( - "vulkan", - ["VK_EXT_opacity_micromap"], - ImpliesSets = [ - "VK_KHR_acceleration_structure+VK_KHR_synchronization2", - "VK_KHR_acceleration_structure+VK_VERSION_1_3", - ] - )] - RayTracingOpacityMicromapBitEXT = 0x1000000, - [NativeName("VK_PIPELINE_CREATE_RAY_TRACING_DISPLACEMENT_MICROMAP_BIT_NV")] [SupportedApiProfile( "vulkan", @@ -406,6 +395,14 @@ public enum PipelineCreateFlags : uint )] RayTracingDisplacementMicromapBitNV = 0x10000000, + [NativeName("VK_PIPELINE_CREATE_RAY_TRACING_OPACITY_MICROMAP_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + RayTracingOpacityMicromapBitKHR = 0x1000000, + [NativeName("VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR")] [SupportedApiProfile( "vulkan", @@ -444,6 +441,17 @@ public enum PipelineCreateFlags : uint )] EarlyReturnOnFailureBitEXT = EarlyReturnOnFailureBit, + [NativeName("VK_PIPELINE_CREATE_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_opacity_micromap"], + ImpliesSets = [ + "VK_KHR_acceleration_structure+VK_KHR_synchronization2", + "VK_KHR_acceleration_structure+VK_VERSION_1_3", + ] + )] + RayTracingOpacityMicromapBitEXT = RayTracingOpacityMicromapBitKHR, + [NativeName("VK_PIPELINE_CREATE_NO_PROTECTED_ACCESS_BIT_EXT")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineCreateInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineCreateInfoKHR.gen.cs index 53f45acf8c..c47622ac90 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineCreateInfoKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineCreateInfoKHR.gen.cs @@ -16,6 +16,7 @@ public unsafe partial struct PipelineCreateInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -27,6 +28,7 @@ public unsafe partial struct PipelineCreateInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -37,6 +39,7 @@ public unsafe partial struct PipelineCreateInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineFragmentDensityMapLayeredCreateInfoVALVE.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineFragmentDensityMapLayeredCreateInfoVALVE.gen.cs index b6cd13848f..b9fdbb4afb 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineFragmentDensityMapLayeredCreateInfoVALVE.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineFragmentDensityMapLayeredCreateInfoVALVE.gen.cs @@ -17,6 +17,7 @@ public unsafe partial struct PipelineFragmentDensityMapLayeredCreateInfoVALVE "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -28,6 +29,7 @@ public unsafe partial struct PipelineFragmentDensityMapLayeredCreateInfoVALVE "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -39,6 +41,7 @@ public unsafe partial struct PipelineFragmentDensityMapLayeredCreateInfoVALVE "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -49,6 +52,7 @@ public unsafe partial struct PipelineFragmentDensityMapLayeredCreateInfoVALVE "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineLayoutCreateFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineLayoutCreateFlags.gen.cs index b295694343..8828bcf280 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineLayoutCreateFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineLayoutCreateFlags.gen.cs @@ -24,4 +24,18 @@ public enum PipelineLayoutCreateFlags : uint ] )] IndependentSetsBitEXT = 0x2, + + [NativeName("VK_PIPELINE_LAYOUT_CREATE_NO_TASK_SHADER_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_maintenance11+VK_EXT_shader_object+VK_EXT_mesh_shader", + "VK_KHR_maintenance11+VK_EXT_shader_object+VK_NV_mesh_shader", + ], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + NoTaskShaderBitKHR = 0x4, } diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineRobustnessBufferBehavior.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineRobustnessBufferBehavior.gen.cs index 38c322d09a..b3f1919333 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineRobustnessBufferBehavior.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineRobustnessBufferBehavior.gen.cs @@ -15,7 +15,12 @@ public enum PipelineRobustnessBufferBehavior : uint [NativeName("VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DEVICE_DEFAULT")] [SupportedApiProfile( "vulkan", - ["VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_4", "VK_VERSION_1_4"], + [ + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_4", + ], MinVersion = "1.4" )] DeviceDefault = 0, @@ -23,7 +28,12 @@ public enum PipelineRobustnessBufferBehavior : uint [NativeName("VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DISABLED")] [SupportedApiProfile( "vulkan", - ["VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_4", "VK_VERSION_1_4"], + [ + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_4", + ], MinVersion = "1.4" )] Disabled = 1, @@ -31,7 +41,12 @@ public enum PipelineRobustnessBufferBehavior : uint [NativeName("VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS")] [SupportedApiProfile( "vulkan", - ["VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_4", "VK_VERSION_1_4"], + [ + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_4", + ], MinVersion = "1.4" )] RobustBufferAccess = 2, @@ -39,7 +54,12 @@ public enum PipelineRobustnessBufferBehavior : uint [NativeName("VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2")] [SupportedApiProfile( "vulkan", - ["VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_4", "VK_VERSION_1_4"], + [ + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_4", + ], MinVersion = "1.4" )] RobustBufferAccess2 = 3, diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineRobustnessImageBehavior.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineRobustnessImageBehavior.gen.cs index 69fc65ef7a..24df9b0d8c 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineRobustnessImageBehavior.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineRobustnessImageBehavior.gen.cs @@ -15,7 +15,12 @@ public enum PipelineRobustnessImageBehavior : uint [NativeName("VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DEVICE_DEFAULT")] [SupportedApiProfile( "vulkan", - ["VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_4", "VK_VERSION_1_4"], + [ + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_4", + ], MinVersion = "1.4" )] DeviceDefault = 0, @@ -23,7 +28,12 @@ public enum PipelineRobustnessImageBehavior : uint [NativeName("VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DISABLED")] [SupportedApiProfile( "vulkan", - ["VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_4", "VK_VERSION_1_4"], + [ + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_4", + ], MinVersion = "1.4" )] Disabled = 1, @@ -31,7 +41,12 @@ public enum PipelineRobustnessImageBehavior : uint [NativeName("VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS")] [SupportedApiProfile( "vulkan", - ["VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_4", "VK_VERSION_1_4"], + [ + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_4", + ], MinVersion = "1.4" )] RobustImageAccess = 2, @@ -39,7 +54,12 @@ public enum PipelineRobustnessImageBehavior : uint [NativeName("VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_ROBUST_IMAGE_ACCESS_2")] [SupportedApiProfile( "vulkan", - ["VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_4", "VK_VERSION_1_4"], + [ + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_4", + ], MinVersion = "1.4" )] RobustImageAccess2 = 3, diff --git a/sources/Vulkan/Vulkan/Vulkan/PipelineStageFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PipelineStageFlags.gen.cs index dde08c6cc4..263e9f750b 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PipelineStageFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PipelineStageFlags.gen.cs @@ -611,8 +611,10 @@ public enum PipelineStageFlags : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/PointClippingBehavior.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PointClippingBehavior.gen.cs index bbabddef93..cb3dcd4069 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PointClippingBehavior.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PointClippingBehavior.gen.cs @@ -16,6 +16,14 @@ public enum PointClippingBehavior : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_1", "VK_GRAPHICS_VERSION_1_2", "VK_GRAPHICS_VERSION_1_3", @@ -33,6 +41,14 @@ public enum PointClippingBehavior : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_1", "VK_GRAPHICS_VERSION_1_2", "VK_GRAPHICS_VERSION_1_3", diff --git a/sources/Vulkan/Vulkan/Vulkan/PresentGravityFlagsKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PresentGravityFlagsKHR.gen.cs index 393045075b..cf17770295 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PresentGravityFlagsKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PresentGravityFlagsKHR.gen.cs @@ -19,10 +19,7 @@ public enum PresentGravityFlagsKHR : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] MinBit = 0x1, @@ -30,10 +27,7 @@ public enum PresentGravityFlagsKHR : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] MaxBit = 0x2, @@ -41,10 +35,7 @@ public enum PresentGravityFlagsKHR : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] CenteredBit = 0x4, @@ -52,10 +43,7 @@ public enum PresentGravityFlagsKHR : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] MinBitEXT = MinBit, @@ -63,10 +51,7 @@ public enum PresentGravityFlagsKHR : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] MaxBitEXT = MaxBit, @@ -74,10 +59,7 @@ public enum PresentGravityFlagsKHR : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] CenteredBitEXT = CenteredBit, } diff --git a/sources/Vulkan/Vulkan/Vulkan/PresentScalingFlagsKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PresentScalingFlagsKHR.gen.cs index 46a7f95fbb..6d72e14d05 100644 --- a/sources/Vulkan/Vulkan/Vulkan/PresentScalingFlagsKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/PresentScalingFlagsKHR.gen.cs @@ -19,10 +19,7 @@ public enum PresentScalingFlagsKHR : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] OneToOneBit = 0x1, @@ -30,10 +27,7 @@ public enum PresentScalingFlagsKHR : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] AspectRatioStretchBit = 0x2, @@ -41,10 +35,7 @@ public enum PresentScalingFlagsKHR : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] StretchBit = 0x4, @@ -52,10 +43,7 @@ public enum PresentScalingFlagsKHR : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] OneToOneBitEXT = OneToOneBit, @@ -63,10 +51,7 @@ public enum PresentScalingFlagsKHR : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] AspectRatioStretchBitEXT = AspectRatioStretchBit, @@ -74,10 +59,7 @@ public enum PresentScalingFlagsKHR : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] StretchBitEXT = StretchBit, } diff --git a/sources/Vulkan/Vulkan/Vulkan/PresentStageFlagsEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PresentStageFlagsEXT.gen.cs new file mode 100644 index 0000000000..8e7df8938f --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PresentStageFlagsEXT.gen.cs @@ -0,0 +1,69 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPresentStageFlagBitsEXT")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum PresentStageFlagsEXT : uint +{ + None = 0x0, + + [NativeName("VK_PRESENT_STAGE_QUEUE_OPERATIONS_END_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + QueueOperationsEndBit = 0x1, + + [NativeName("VK_PRESENT_STAGE_REQUEST_DEQUEUED_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + RequestDequeuedBit = 0x2, + + [NativeName("VK_PRESENT_STAGE_IMAGE_FIRST_PIXEL_OUT_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + ImageFirstPixelOutBit = 0x4, + + [NativeName("VK_PRESENT_STAGE_IMAGE_FIRST_PIXEL_VISIBLE_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + ImageFirstPixelVisibleBit = 0x8, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PresentStageTimeEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PresentStageTimeEXT.gen.cs new file mode 100644 index 0000000000..a5d709bcc7 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PresentStageTimeEXT.gen.cs @@ -0,0 +1,40 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPresentStageTimeEXT")] +[SupportedApiProfile("vulkan")] +public partial struct PresentStageTimeEXT +{ + [NativeName("stage")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PresentStageFlagsEXT Stage; + + [NativeName("time")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public ulong Time; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PresentTimingInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PresentTimingInfoEXT.gen.cs new file mode 100644 index 0000000000..e4ad0b3069 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PresentTimingInfoEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPresentTimingInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PresentTimingInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public StructureType SType = StructureType.PresentTimingInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public void* PNext; + + [NativeName("flags")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PresentTimingInfoFlagsEXT Flags; + + [NativeName("targetTime")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public ulong TargetTime; + + [NativeName("timeDomainId")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public ulong TimeDomainId; + + [NativeName("presentStageQueries")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PresentStageFlagsEXT PresentStageQueries; + + [NativeName("targetTimeDomainPresentStage")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PresentStageFlagsEXT TargetTimeDomainPresentStage; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PresentTimingInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PresentTimingInfoFlagsEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PresentTimingInfoFlagsEXT.gen.cs new file mode 100644 index 0000000000..936af65e35 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PresentTimingInfoFlagsEXT.gen.cs @@ -0,0 +1,43 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPresentTimingInfoFlagBitsEXT")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum PresentTimingInfoFlagsEXT : uint +{ + None = 0x0, + + [NativeName("VK_PRESENT_TIMING_INFO_PRESENT_AT_RELATIVE_TIME_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + PresentAtRelativeTimeBit = 0x1, + + [NativeName("VK_PRESENT_TIMING_INFO_PRESENT_AT_NEAREST_REFRESH_CYCLE_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + PresentAtNearestRefreshCycleBit = 0x2, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PresentTimingSurfaceCapabilitiesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PresentTimingSurfaceCapabilitiesEXT.gen.cs new file mode 100644 index 0000000000..73d3ff8e22 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PresentTimingSurfaceCapabilitiesEXT.gen.cs @@ -0,0 +1,104 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPresentTimingSurfaceCapabilitiesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PresentTimingSurfaceCapabilitiesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public StructureType SType = StructureType.PresentTimingSurfaceCapabilitiesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public void* PNext; + + [NativeName("presentTimingSupported")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public MaybeBool PresentTimingSupported; + + [NativeName("presentAtAbsoluteTimeSupported")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public MaybeBool PresentAtAbsoluteTimeSupported; + + [NativeName("presentAtRelativeTimeSupported")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public MaybeBool PresentAtRelativeTimeSupported; + + [NativeName("presentStageQueries")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PresentStageFlagsEXT PresentStageQueries; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PresentTimingSurfaceCapabilitiesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PresentTimingsInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PresentTimingsInfoEXT.gen.cs new file mode 100644 index 0000000000..f9d0f91760 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PresentTimingsInfoEXT.gen.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPresentTimingsInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PresentTimingsInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public StructureType SType = StructureType.PresentTimingsInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public void* PNext; + + [NativeName("swapchainCount")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public uint SwapchainCount; + + [NativeName("pTimingInfos")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PresentTimingInfoEXT* PTimingInfos; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PresentTimingsInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PushConstantBankInfoNV.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PushConstantBankInfoNV.gen.cs new file mode 100644 index 0000000000..4a551f7aa4 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PushConstantBankInfoNV.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPushConstantBankInfoNV")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PushConstantBankInfoNV +{ + [NativeName("sType")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public StructureType SType = StructureType.PushConstantBankInfoNV; + + [NativeName("pNext")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public void* PNext; + + [NativeName("bank")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public uint Bank; + + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public PushConstantBankInfoNV() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/PushDataInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/PushDataInfoEXT.gen.cs new file mode 100644 index 0000000000..35bf26f4e0 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/PushDataInfoEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkPushDataInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct PushDataInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public StructureType SType = StructureType.PushDataInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* PNext; + + [NativeName("offset")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint Offset; + + [NativeName("data")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public HostAddressRangeConstEXT Data; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public PushDataInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/QueryPipelineStatisticFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/QueryPipelineStatisticFlags.gen.cs index d170afca24..1aea69e4f3 100644 --- a/sources/Vulkan/Vulkan/Vulkan/QueryPipelineStatisticFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/QueryPipelineStatisticFlags.gen.cs @@ -19,6 +19,11 @@ public enum QueryPipelineStatisticFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -43,6 +48,11 @@ public enum QueryPipelineStatisticFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -67,6 +77,11 @@ public enum QueryPipelineStatisticFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -91,6 +106,11 @@ public enum QueryPipelineStatisticFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -115,6 +135,11 @@ public enum QueryPipelineStatisticFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -139,6 +164,11 @@ public enum QueryPipelineStatisticFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -163,6 +193,11 @@ public enum QueryPipelineStatisticFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -187,6 +222,11 @@ public enum QueryPipelineStatisticFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -211,6 +251,11 @@ public enum QueryPipelineStatisticFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -235,6 +280,11 @@ public enum QueryPipelineStatisticFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -259,6 +309,11 @@ public enum QueryPipelineStatisticFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", diff --git a/sources/Vulkan/Vulkan/Vulkan/QueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/QueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR.gen.cs new file mode 100644 index 0000000000..ae3db303ba --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/QueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR.gen.cs @@ -0,0 +1,54 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkQueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct QueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public StructureType SType = + StructureType.QueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public void* PNext; + + [NativeName("maxPerPartitionFeedbackEntries")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public uint MaxPerPartitionFeedbackEntries; + + [NativeName("perPartitionEncodeFeedbackFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public VideoEncodePerPartitionFeedbackFlagsKHR PerPartitionEncodeFeedbackFlags; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public QueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/QueryType.gen.cs b/sources/Vulkan/Vulkan/Vulkan/QueryType.gen.cs index 5581964dc0..51c0d1d8f4 100644 --- a/sources/Vulkan/Vulkan/Vulkan/QueryType.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/QueryType.gen.cs @@ -162,6 +162,17 @@ public enum QueryType : uint )] AccelerationStructureCompactedSizeNV = 1000165000, + [NativeName("VK_QUERY_TYPE_TIME_ELAPSED_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_elapsed_timer_query"], + ImpliesSets = [ + "VK_QCOM_elapsed_timer_query+VK_KHR_get_physical_device_properties2", + "VK_QCOM_elapsed_timer_query+VK_VERSION_1_1", + ] + )] + TimeElapsedQCOM = 1000173000, + [NativeName("VK_QUERY_TYPE_PERFORMANCE_QUERY_INTEL")] [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] PerformanceQueryINTEL = 1000210000, diff --git a/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphOpticalFlowPropertiesARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphOpticalFlowPropertiesARM.gen.cs new file mode 100644 index 0000000000..ead58c1ca5 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphOpticalFlowPropertiesARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkQueueFamilyDataGraphOpticalFlowPropertiesARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct QueueFamilyDataGraphOpticalFlowPropertiesARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public StructureType SType = StructureType.QueueFamilyDataGraphOpticalFlowPropertiesARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public void* PNext; + + [NativeName("supportedOutputGridSizes")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphOpticalFlowGridSizeFlagsARM SupportedOutputGridSizes; + + [NativeName("supportedHintGridSizes")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphOpticalFlowGridSizeFlagsARM SupportedHintGridSizes; + + [NativeName("hintSupported")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public MaybeBool HintSupported; + + [NativeName("costSupported")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public MaybeBool CostSupported; + + [NativeName("minWidth")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public uint MinWidth; + + [NativeName("minHeight")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public uint MinHeight; + + [NativeName("maxWidth")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public uint MaxWidth; + + [NativeName("maxHeight")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public uint MaxHeight; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public QueueFamilyDataGraphOpticalFlowPropertiesARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphProcessingEnginePropertiesARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphProcessingEnginePropertiesARM.gen.cs index 8d5239848b..9b72b7ec15 100644 --- a/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphProcessingEnginePropertiesARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphProcessingEnginePropertiesARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct QueueFamilyDataGraphProcessingEnginePropertiesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.QueueFamilyDataGraphProcessingEnginePropertiesARM; @@ -24,7 +27,10 @@ public unsafe partial struct QueueFamilyDataGraphProcessingEnginePropertiesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,7 +38,10 @@ public unsafe partial struct QueueFamilyDataGraphProcessingEnginePropertiesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public ExternalSemaphoreHandleTypeFlags ForeignSemaphoreHandleTypes; @@ -40,14 +49,20 @@ public unsafe partial struct QueueFamilyDataGraphProcessingEnginePropertiesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public ExternalMemoryHandleTypeFlags ForeignMemoryHandleTypes; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public QueueFamilyDataGraphProcessingEnginePropertiesARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphPropertiesARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphPropertiesARM.gen.cs index d992aefcd4..c997b192ab 100644 --- a/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphPropertiesARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphPropertiesARM.gen.cs @@ -16,7 +16,10 @@ public unsafe partial struct QueueFamilyDataGraphPropertiesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public StructureType SType = StructureType.QueueFamilyDataGraphPropertiesARM; @@ -24,7 +27,10 @@ public unsafe partial struct QueueFamilyDataGraphPropertiesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public void* PNext; @@ -32,7 +38,10 @@ public unsafe partial struct QueueFamilyDataGraphPropertiesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public PhysicalDeviceDataGraphProcessingEngineARM Engine; @@ -40,14 +49,20 @@ public unsafe partial struct QueueFamilyDataGraphPropertiesARM [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public PhysicalDeviceDataGraphOperationSupportARM Operation; [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public QueueFamilyDataGraphPropertiesARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphTosaPropertiesARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphTosaPropertiesARM.gen.cs new file mode 100644 index 0000000000..fbdca83584 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/QueueFamilyDataGraphTosaPropertiesARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkQueueFamilyDataGraphTOSAPropertiesARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct QueueFamilyDataGraphTosaPropertiesARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public StructureType SType = StructureType.QueueFamilyDataGraphTosaPropertiesARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public void* PNext; + + [NativeName("profileCount")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public uint ProfileCount; + + [NativeName("pProfiles")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphTosaNameQualityARM* PProfiles; + + [NativeName("extensionCount")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public uint ExtensionCount; + + [NativeName("pExtensions")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphTosaNameQualityARM* PExtensions; + + [NativeName("level")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public DataGraphTosaLevelARM Level; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public QueueFamilyDataGraphTosaPropertiesARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/QueueFamilyOptimalImageTransferGranularityPropertiesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/QueueFamilyOptimalImageTransferGranularityPropertiesKHR.gen.cs new file mode 100644 index 0000000000..fcfc2fea20 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/QueueFamilyOptimalImageTransferGranularityPropertiesKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkQueueFamilyOptimalImageTransferGranularityPropertiesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct QueueFamilyOptimalImageTransferGranularityPropertiesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + public StructureType SType = + StructureType.QueueFamilyOptimalImageTransferGranularityPropertiesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("optimalImageTransferGranularity")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + public Extent3D OptimalImageTransferGranularity; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + public QueueFamilyOptimalImageTransferGranularityPropertiesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/QueueFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/QueueFlags.gen.cs index 9c07d5fd9e..8f3cc0ea74 100644 --- a/sources/Vulkan/Vulkan/Vulkan/QueueFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/QueueFlags.gen.cs @@ -194,7 +194,10 @@ public enum QueueFlags : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphBitARM = 0x400, } diff --git a/sources/Vulkan/Vulkan/Vulkan/RayTracingInvocationReorderModeNV.gen.cs b/sources/Vulkan/Vulkan/Vulkan/RayTracingInvocationReorderModeEXT.gen.cs similarity index 60% rename from sources/Vulkan/Vulkan/Vulkan/RayTracingInvocationReorderModeNV.gen.cs rename to sources/Vulkan/Vulkan/Vulkan/RayTracingInvocationReorderModeEXT.gen.cs index a9c0dde6b9..58963482d2 100644 --- a/sources/Vulkan/Vulkan/Vulkan/RayTracingInvocationReorderModeNV.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/RayTracingInvocationReorderModeEXT.gen.cs @@ -8,17 +8,33 @@ namespace Silk.NET.Vulkan; -[NativeName("VkRayTracingInvocationReorderModeNV")] +[NativeName("VkRayTracingInvocationReorderModeEXT")] [SupportedApiProfile("vulkan")] -public enum RayTracingInvocationReorderModeNV : uint +public enum RayTracingInvocationReorderModeEXT : uint { + [NativeName("VK_RAY_TRACING_INVOCATION_REORDER_MODE_NONE_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + None = 0, + + [NativeName("VK_RAY_TRACING_INVOCATION_REORDER_MODE_REORDER_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + Reorder = 1, + [NativeName("VK_RAY_TRACING_INVOCATION_REORDER_MODE_NONE_NV")] [SupportedApiProfile( "vulkan", ["VK_NV_ray_tracing_invocation_reorder"], ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] )] - None = 0, + NoneNV = None, [NativeName("VK_RAY_TRACING_INVOCATION_REORDER_MODE_REORDER_NV")] [SupportedApiProfile( @@ -26,5 +42,5 @@ public enum RayTracingInvocationReorderModeNV : uint ["VK_NV_ray_tracing_invocation_reorder"], ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] )] - Reorder = 1, + ReorderNV = Reorder, } diff --git a/sources/Vulkan/Vulkan/Vulkan/ReleaseCapturedPipelineDataInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ReleaseCapturedPipelineDataInfoKHR.gen.cs index b8701cd78c..833c34c91a 100644 --- a/sources/Vulkan/Vulkan/Vulkan/ReleaseCapturedPipelineDataInfoKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/ReleaseCapturedPipelineDataInfoKHR.gen.cs @@ -17,6 +17,7 @@ public unsafe partial struct ReleaseCapturedPipelineDataInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -28,6 +29,7 @@ public unsafe partial struct ReleaseCapturedPipelineDataInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -39,6 +41,7 @@ public unsafe partial struct ReleaseCapturedPipelineDataInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -49,6 +52,7 @@ public unsafe partial struct ReleaseCapturedPipelineDataInfoKHR "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/ReleaseSwapchainImagesInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ReleaseSwapchainImagesInfoKHR.gen.cs index 32e97a4fa9..3ae1d2cf15 100644 --- a/sources/Vulkan/Vulkan/Vulkan/ReleaseSwapchainImagesInfoKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/ReleaseSwapchainImagesInfoKHR.gen.cs @@ -17,9 +17,8 @@ public unsafe partial struct ReleaseSwapchainImagesInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public StructureType SType = StructureType.ReleaseSwapchainImagesInfoKHR; @@ -29,9 +28,8 @@ public unsafe partial struct ReleaseSwapchainImagesInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public void* PNext; @@ -41,9 +39,8 @@ public unsafe partial struct ReleaseSwapchainImagesInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public SwapchainHandleKHR Swapchain; @@ -53,9 +50,8 @@ public unsafe partial struct ReleaseSwapchainImagesInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public uint ImageIndexCount; @@ -65,9 +61,8 @@ public unsafe partial struct ReleaseSwapchainImagesInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public uint* PImageIndices; @@ -76,9 +71,8 @@ public unsafe partial struct ReleaseSwapchainImagesInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public ReleaseSwapchainImagesInfoKHR() { } diff --git a/sources/Vulkan/Vulkan/Vulkan/RenderPassCreateFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/RenderPassCreateFlags.gen.cs index d39ba9f9a5..8b12e43ffa 100644 --- a/sources/Vulkan/Vulkan/Vulkan/RenderPassCreateFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/RenderPassCreateFlags.gen.cs @@ -23,6 +23,7 @@ public enum RenderPassCreateFlags : uint "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/RenderPassTileShadingCreateInfoQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/RenderPassTileShadingCreateInfoQCOM.gen.cs index a3160b86f6..43ba90e768 100644 --- a/sources/Vulkan/Vulkan/Vulkan/RenderPassTileShadingCreateInfoQCOM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/RenderPassTileShadingCreateInfoQCOM.gen.cs @@ -15,10 +15,7 @@ public unsafe partial struct RenderPassTileShadingCreateInfoQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public StructureType SType = StructureType.RenderPassTileShadingCreateInfoQCOM; @@ -26,10 +23,7 @@ public unsafe partial struct RenderPassTileShadingCreateInfoQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public void* PNext; @@ -37,10 +31,7 @@ public unsafe partial struct RenderPassTileShadingCreateInfoQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public TileShadingRenderPassFlagsQCOM Flags; @@ -48,20 +39,14 @@ public unsafe partial struct RenderPassTileShadingCreateInfoQCOM [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public Extent2D TileApronSize; [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public RenderPassTileShadingCreateInfoQCOM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/RenderingFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/RenderingFlags.gen.cs index c68d118b5c..a08edbdbce 100644 --- a/sources/Vulkan/Vulkan/Vulkan/RenderingFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/RenderingFlags.gen.cs @@ -43,8 +43,10 @@ public enum RenderingFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_EXT_legacy_dithering+VK_KHR_dynamic_rendering+VK_KHR_extended_flags", "VK_EXT_legacy_dithering+VK_KHR_dynamic_rendering+VK_KHR_maintenance5", "VK_EXT_legacy_dithering+VK_KHR_dynamic_rendering+VK_VERSION_1_4", + "VK_EXT_legacy_dithering+VK_VERSION_1_3+VK_KHR_extended_flags", "VK_EXT_legacy_dithering+VK_VERSION_1_3+VK_KHR_maintenance5", "VK_EXT_legacy_dithering+VK_VERSION_1_3+VK_VERSION_1_4", ], @@ -64,12 +66,35 @@ public enum RenderingFlags : uint "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] )] PerLayerFragmentDensityBitVALVE = 0x20, + [NativeName("VK_RENDERING_FRAGMENT_REGION_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + FragmentRegionBitEXT = 0x40, + + [NativeName("VK_RENDERING_CUSTOM_RESOLVE_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + CustomResolveBitEXT = 0x80, + [NativeName("VK_RENDERING_LOCAL_READ_CONCURRENT_ACCESS_CONTROL_BIT_KHR")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/ResolveModeFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ResolveModeFlags.gen.cs index 3b8a9f720a..6efad37b49 100644 --- a/sources/Vulkan/Vulkan/Vulkan/ResolveModeFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/ResolveModeFlags.gen.cs @@ -17,6 +17,12 @@ public enum ResolveModeFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_2", "VK_GRAPHICS_VERSION_1_3", "VK_GRAPHICS_VERSION_1_4", @@ -32,6 +38,12 @@ public enum ResolveModeFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_2", "VK_GRAPHICS_VERSION_1_3", "VK_GRAPHICS_VERSION_1_4", @@ -47,6 +59,12 @@ public enum ResolveModeFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_2", "VK_GRAPHICS_VERSION_1_3", "VK_GRAPHICS_VERSION_1_4", @@ -62,6 +80,12 @@ public enum ResolveModeFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_2", "VK_GRAPHICS_VERSION_1_3", "VK_GRAPHICS_VERSION_1_4", @@ -77,6 +101,12 @@ public enum ResolveModeFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", "VK_GRAPHICS_VERSION_1_2", "VK_GRAPHICS_VERSION_1_3", "VK_GRAPHICS_VERSION_1_4", @@ -99,6 +129,17 @@ public enum ResolveModeFlags : uint )] ExternalFormatDownsampleBitANDROID = 0x10, + [NativeName("VK_RESOLVE_MODE_CUSTOM_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + CustomBitEXT = 0x20, + [NativeName("VK_RESOLVE_MODE_NONE_KHR")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/ResourceDescriptorDataEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ResourceDescriptorDataEXT.gen.cs new file mode 100644 index 0000000000..d845f7fd17 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ResourceDescriptorDataEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkResourceDescriptorDataEXT")] +[StructLayout(LayoutKind.Explicit)] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ResourceDescriptorDataEXT +{ + [NativeName("pImage")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ImageDescriptorInfoEXT* PImage; + + [NativeName("pTexelBuffer")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public TexelBufferDescriptorInfoEXT* PTexelBuffer; + + [NativeName("pAddressRange")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DeviceAddressRangeKHR* PAddressRange; + + [NativeName("pTensorARM")] + [FieldOffset(0)] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public TensorViewCreateInfoARM* PTensorARM; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ResourceDescriptorInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ResourceDescriptorInfoEXT.gen.cs new file mode 100644 index 0000000000..e346452ebd --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ResourceDescriptorInfoEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkResourceDescriptorInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ResourceDescriptorInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public StructureType SType = StructureType.ResourceDescriptorInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* PNext; + + [NativeName("type")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DescriptorType Type; + + [NativeName("data")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ResourceDescriptorDataEXT Data; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ResourceDescriptorInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/Result.gen.cs b/sources/Vulkan/Vulkan/Vulkan/Result.gen.cs index 98734dba18..ee8766aba0 100644 --- a/sources/Vulkan/Vulkan/Vulkan/Result.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/Result.gen.cs @@ -797,6 +797,19 @@ public enum Result )] ErrorInvalidDrmFormatModifierPlaneLayoutEXT = -1000158000, + [NativeName("VK_ERROR_PRESENT_TIMING_QUEUE_FULL_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + ErrorPresentTimingQueueFullEXT = -1000208000, + [NativeName("VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT")] [SupportedApiProfile( "vulkan", @@ -863,6 +876,7 @@ public enum Result "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -874,6 +888,7 @@ public enum Result "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] diff --git a/sources/Vulkan/Vulkan/Vulkan/SamplerAddressMode.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SamplerAddressMode.gen.cs index 2b9a708fb6..76b30607a9 100644 --- a/sources/Vulkan/Vulkan/Vulkan/SamplerAddressMode.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/SamplerAddressMode.gen.cs @@ -112,9 +112,6 @@ public enum SamplerAddressMode : uint [SupportedApiProfile( "vulkan", [ - "VK_BASE_VERSION_1_2", - "VK_BASE_VERSION_1_3", - "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_2", "VK_COMPUTE_VERSION_1_3", "VK_COMPUTE_VERSION_1_4", diff --git a/sources/Vulkan/Vulkan/Vulkan/SamplerCustomBorderColorIndexCreateInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SamplerCustomBorderColorIndexCreateInfoEXT.gen.cs new file mode 100644 index 0000000000..53303575b3 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/SamplerCustomBorderColorIndexCreateInfoEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkSamplerCustomBorderColorIndexCreateInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct SamplerCustomBorderColorIndexCreateInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public StructureType SType = StructureType.SamplerCustomBorderColorIndexCreateInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public void* PNext; + + [NativeName("index")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public uint Index; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public SamplerCustomBorderColorIndexCreateInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ShaderCreateFlagsEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ShaderCreateFlagsEXT.gen.cs index 4fd6d20208..00737cf183 100644 --- a/sources/Vulkan/Vulkan/Vulkan/ShaderCreateFlagsEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/ShaderCreateFlagsEXT.gen.cs @@ -27,6 +27,30 @@ public enum ShaderCreateFlagsEXT : uint )] CreateLinkStageBit = 0x1, + [NativeName("VK_SHADER_CREATE_DESCRIPTOR_HEAP_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_EXT_shader_object"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + CreateDescriptorHeapBit = 0x400, + + [NativeName("VK_SHADER_CREATE_INSTRUMENT_SHADER_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation", "VK_KHR_maintenance5"], + ImpliesSets = ["VK_VERSION_1_1+VK_KHR_dynamic_rendering", "VK_VERSION_1_3"], + RequireAll = true + )] + CreateInstrumentShaderBitARM = 0x800, + [NativeName("VK_SHADER_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT_EXT")] [SupportedApiProfile( "vulkan", @@ -112,13 +136,24 @@ public enum ShaderCreateFlagsEXT : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] CreateIndirectBindableBit = 0x80, + [NativeName("VK_SHADER_CREATE_OPACITY_MICROMAP_DISALLOW_MIXED_SPECIAL_INDEX_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_object", "VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + RequireAll = true + )] + CreateOpacityMicromapDisallowMixedSpecialIndexBit = 0x1000, + [NativeName("VK_SHADER_CREATE_64_BIT_INDEXING_BIT_EXT")] [SupportedApiProfile( "vulkan", @@ -129,4 +164,16 @@ public enum ShaderCreateFlagsEXT : uint ] )] Create64BitIndexingBit = 0x8000, + + [NativeName("VK_SHADER_CREATE_INDEPENDENT_SETS_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_object", "VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ], + RequireAll = true + )] + CreateIndependentSetsBitKHR = 0x40000, } diff --git a/sources/Vulkan/Vulkan/Vulkan/ShaderDescriptorSetAndBindingMappingInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ShaderDescriptorSetAndBindingMappingInfoEXT.gen.cs new file mode 100644 index 0000000000..46e1f240d4 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ShaderDescriptorSetAndBindingMappingInfoEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkShaderDescriptorSetAndBindingMappingInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ShaderDescriptorSetAndBindingMappingInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public StructureType SType = StructureType.ShaderDescriptorSetAndBindingMappingInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* PNext; + + [NativeName("mappingCount")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public uint MappingCount; + + [NativeName("pMappings")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DescriptorSetAndBindingMappingEXT* PMappings; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public ShaderDescriptorSetAndBindingMappingInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ShaderFloatControlsIndependence.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ShaderFloatControlsIndependence.gen.cs index 1f31c90f05..00bf89612b 100644 --- a/sources/Vulkan/Vulkan/Vulkan/ShaderFloatControlsIndependence.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/ShaderFloatControlsIndependence.gen.cs @@ -16,6 +16,9 @@ public enum ShaderFloatControlsIndependence : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_2", "VK_COMPUTE_VERSION_1_3", "VK_COMPUTE_VERSION_1_4", @@ -34,6 +37,9 @@ public enum ShaderFloatControlsIndependence : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_2", "VK_COMPUTE_VERSION_1_3", "VK_COMPUTE_VERSION_1_4", @@ -52,6 +58,9 @@ public enum ShaderFloatControlsIndependence : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_2", "VK_COMPUTE_VERSION_1_3", "VK_COMPUTE_VERSION_1_4", diff --git a/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationCreateInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationCreateInfoARM.gen.cs new file mode 100644 index 0000000000..39e42ebcaf --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationCreateInfoARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkShaderInstrumentationCreateInfoARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ShaderInstrumentationCreateInfoARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.ShaderInstrumentationCreateInfoARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public ShaderInstrumentationCreateInfoARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationMetricDataHeaderARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationMetricDataHeaderARM.gen.cs new file mode 100644 index 0000000000..0a399ae6d1 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationMetricDataHeaderARM.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkShaderInstrumentationMetricDataHeaderARM")] +[SupportedApiProfile("vulkan")] +public partial struct ShaderInstrumentationMetricDataHeaderARM +{ + [NativeName("resultIndex")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public uint ResultIndex; + + [NativeName("resultSubIndex")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public uint ResultSubIndex; + + [NativeName("stages")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public ShaderStageFlags Stages; + + [NativeName("basicBlockIndex")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public uint BasicBlockIndex; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationMetricDescriptionARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationMetricDescriptionARM.gen.cs new file mode 100644 index 0000000000..15361581b6 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationMetricDescriptionARM.gen.cs @@ -0,0 +1,68 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkShaderInstrumentationMetricDescriptionARM")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ShaderInstrumentationMetricDescriptionARM +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public StructureType SType = StructureType.ShaderInstrumentationMetricDescriptionARM; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public void* PNext; + + [NativeName("name")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public ShaderInstrumentationMetricDescriptionARMName Name; + + [NativeName("description")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public ShaderInstrumentationMetricDescriptionARMDescription Description; + + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public ShaderInstrumentationMetricDescriptionARM() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationMetricDescriptionARMDescription.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationMetricDescriptionARMDescription.gen.cs new file mode 100644 index 0000000000..2ea349892f --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationMetricDescriptionARMDescription.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("_description_e__FixedBuffer")] +[InlineArray(256)] +[SupportedApiProfile("vulkan")] +public partial struct ShaderInstrumentationMetricDescriptionARMDescription +{ + [NativeName("e0")] + [SupportedApiProfile("vulkan")] + public sbyte E0; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationMetricDescriptionARMName.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationMetricDescriptionARMName.gen.cs new file mode 100644 index 0000000000..42d6136725 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ShaderInstrumentationMetricDescriptionARMName.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("_name_e__FixedBuffer")] +[InlineArray(256)] +[SupportedApiProfile("vulkan")] +public partial struct ShaderInstrumentationMetricDescriptionARMName +{ + [NativeName("e0")] + [SupportedApiProfile("vulkan")] + public sbyte E0; +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ShaderStageFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ShaderStageFlags.gen.cs index 377241e334..d97a2ed1a4 100644 --- a/sources/Vulkan/Vulkan/Vulkan/ShaderStageFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/ShaderStageFlags.gen.cs @@ -18,6 +18,11 @@ public enum ShaderStageFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -42,6 +47,11 @@ public enum ShaderStageFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -66,6 +76,11 @@ public enum ShaderStageFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -90,6 +105,11 @@ public enum ShaderStageFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -114,6 +134,11 @@ public enum ShaderStageFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -138,6 +163,11 @@ public enum ShaderStageFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -162,6 +192,11 @@ public enum ShaderStageFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", @@ -186,6 +221,11 @@ public enum ShaderStageFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_0", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", diff --git a/sources/Vulkan/Vulkan/Vulkan/SharedPresentSurfaceCapabilities2KHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SharedPresentSurfaceCapabilities2KHR.gen.cs new file mode 100644 index 0000000000..667a284c7c --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/SharedPresentSurfaceCapabilities2KHR.gen.cs @@ -0,0 +1,60 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkSharedPresentSurfaceCapabilities2KHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct SharedPresentSurfaceCapabilities2KHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags", "VK_KHR_shared_presentable_image"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ], + RequireAll = true + )] + public StructureType SType = StructureType.SharedPresentSurfaceCapabilities2KHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags", "VK_KHR_shared_presentable_image"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ], + RequireAll = true + )] + public void* PNext; + + [NativeName("sharedPresentSupportedUsageFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags", "VK_KHR_shared_presentable_image"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ], + RequireAll = true + )] + public ImageUsageFlags2KHR SharedPresentSupportedUsageFlags; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags", "VK_KHR_shared_presentable_image"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ], + RequireAll = true + )] + public SharedPresentSurfaceCapabilities2KHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/SpirvResourceTypeFlagsEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SpirvResourceTypeFlagsEXT.gen.cs new file mode 100644 index 0000000000..b1e357a25e --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/SpirvResourceTypeFlagsEXT.gen.cs @@ -0,0 +1,175 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkSpirvResourceTypeFlagBitsEXT")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum SpirvResourceTypeFlagsEXT : uint +{ + None = 0x0, + + [NativeName("VK_SPIRV_RESOURCE_TYPE_ALL_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + All = 0x7FFFFFFF, + + [NativeName("VK_SPIRV_RESOURCE_TYPE_SAMPLER_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + SamplerBit = 0x1, + + [NativeName("VK_SPIRV_RESOURCE_TYPE_SAMPLED_IMAGE_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + SampledImageBit = 0x2, + + [NativeName("VK_SPIRV_RESOURCE_TYPE_READ_ONLY_IMAGE_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + ReadOnlyImageBit = 0x4, + + [NativeName("VK_SPIRV_RESOURCE_TYPE_READ_WRITE_IMAGE_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + ReadWriteImageBit = 0x8, + + [NativeName("VK_SPIRV_RESOURCE_TYPE_COMBINED_SAMPLED_IMAGE_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + CombinedSampledImageBit = 0x10, + + [NativeName("VK_SPIRV_RESOURCE_TYPE_UNIFORM_BUFFER_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + UniformBufferBit = 0x20, + + [NativeName("VK_SPIRV_RESOURCE_TYPE_READ_ONLY_STORAGE_BUFFER_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + ReadOnlyStorageBufferBit = 0x40, + + [NativeName("VK_SPIRV_RESOURCE_TYPE_READ_WRITE_STORAGE_BUFFER_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + ReadWriteStorageBufferBit = 0x80, + + [NativeName("VK_SPIRV_RESOURCE_TYPE_ACCELERATION_STRUCTURE_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_EXT_descriptor_heap+VK_KHR_ray_tracing_pipeline", + "VK_EXT_descriptor_heap+VK_NV_ray_tracing", + ], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + AccelerationStructureBit = 0x100, + + [NativeName("VK_SPIRV_RESOURCE_TYPE_TENSOR_BIT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + TensorBitARM = 0x200, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/StridedDeviceAddressRangeKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/StridedDeviceAddressRangeKHR.gen.cs index 29e8cac29c..8180538e88 100644 --- a/sources/Vulkan/Vulkan/Vulkan/StridedDeviceAddressRangeKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/StridedDeviceAddressRangeKHR.gen.cs @@ -15,10 +15,12 @@ public partial struct StridedDeviceAddressRangeKHR [NativeName("address")] [SupportedApiProfile( "vulkan", - ["VK_KHR_copy_memory_indirect"], + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_KHR_get_physical_device_properties2+VK_KHR_buffer_device_address", - "VK_VERSION_1_2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] public ulong Address; @@ -26,10 +28,12 @@ public partial struct StridedDeviceAddressRangeKHR [NativeName("size")] [SupportedApiProfile( "vulkan", - ["VK_KHR_copy_memory_indirect"], + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_KHR_get_physical_device_properties2+VK_KHR_buffer_device_address", - "VK_VERSION_1_2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] public ulong Size; @@ -37,10 +41,12 @@ public partial struct StridedDeviceAddressRangeKHR [NativeName("stride")] [SupportedApiProfile( "vulkan", - ["VK_KHR_copy_memory_indirect"], + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_KHR_get_physical_device_properties2+VK_KHR_buffer_device_address", - "VK_VERSION_1_2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] public ulong Stride; diff --git a/sources/Vulkan/Vulkan/Vulkan/StructureType.gen.cs b/sources/Vulkan/Vulkan/Vulkan/StructureType.gen.cs index 2e570b0213..039488ee32 100644 --- a/sources/Vulkan/Vulkan/Vulkan/StructureType.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/StructureType.gen.cs @@ -2945,7 +2945,7 @@ public enum StructureType : uint )] PhysicalDeviceShaderDrawParametersFeatures = 1000063000, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES")] + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES")] [SupportedApiProfile( "vulkan", [ @@ -2964,9 +2964,9 @@ public enum StructureType : uint ], MinVersion = "1.2" )] - PhysicalDeviceVulkan1x1Features = 49, + PhysicalDeviceDriverProperties = 1000196000, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES")] + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES")] [SupportedApiProfile( "vulkan", [ @@ -2985,9 +2985,9 @@ public enum StructureType : uint ], MinVersion = "1.2" )] - PhysicalDeviceVulkan1x1Properties = 50, + PhysicalDeviceVulkan1x1Features = 49, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES")] + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES")] [SupportedApiProfile( "vulkan", [ @@ -3006,9 +3006,9 @@ public enum StructureType : uint ], MinVersion = "1.2" )] - PhysicalDeviceVulkan1x2Features = 51, + PhysicalDeviceVulkan1x1Properties = 50, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES")] + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES")] [SupportedApiProfile( "vulkan", [ @@ -3027,9 +3027,9 @@ public enum StructureType : uint ], MinVersion = "1.2" )] - PhysicalDeviceVulkan1x2Properties = 52, + PhysicalDeviceVulkan1x2Features = 51, - [NativeName("VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO")] + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES")] [SupportedApiProfile( "vulkan", [ @@ -3048,9 +3048,9 @@ public enum StructureType : uint ], MinVersion = "1.2" )] - ImageFormatListCreateInfo = 1000147000, + PhysicalDeviceVulkan1x2Properties = 52, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES")] + [NativeName("VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO")] [SupportedApiProfile( "vulkan", [ @@ -3069,7 +3069,7 @@ public enum StructureType : uint ], MinVersion = "1.2" )] - PhysicalDeviceDriverProperties = 1000196000, + ImageFormatListCreateInfo = 1000147000, [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES")] [SupportedApiProfile( @@ -6533,6 +6533,83 @@ public enum StructureType : uint )] AndroidHardwareBufferFormatProperties2ANDROID = 1000129006, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GPA_FEATURES_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + PhysicalDeviceGpaFeaturesAMD = 1000133000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GPA_PROPERTIES_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + PhysicalDeviceGpaPropertiesAMD = 1000133001, + + [NativeName("VK_STRUCTURE_TYPE_GPA_SAMPLE_BEGIN_INFO_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + GpaSampleBeginInfoAMD = 1000133002, + + [NativeName("VK_STRUCTURE_TYPE_GPA_SESSION_CREATE_INFO_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + GpaSessionCreateInfoAMD = 1000133003, + + [NativeName("VK_STRUCTURE_TYPE_GPA_DEVICE_CLOCK_MODE_INFO_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + GpaDeviceClockModeInfoAMD = 1000133004, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GPA_PROPERTIES_2_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + PhysicalDeviceGpaProperties2AMD = 1000133005, + + [NativeName("VK_STRUCTURE_TYPE_GPA_DEVICE_GET_CLOCK_INFO_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + GpaDeviceGetClockInfoAMD = 1000133006, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ENQUEUE_FEATURES_AMDX")] [SupportedApiProfile( "vulkan", @@ -6588,6 +6665,220 @@ public enum StructureType : uint )] PipelineShaderStageNodeCreateInfoAMDX = 1000134004, + [NativeName("VK_STRUCTURE_TYPE_TEXEL_BUFFER_DESCRIPTOR_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + TexelBufferDescriptorInfoEXT = 1000135000, + + [NativeName("VK_STRUCTURE_TYPE_IMAGE_DESCRIPTOR_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + ImageDescriptorInfoEXT = 1000135001, + + [NativeName("VK_STRUCTURE_TYPE_RESOURCE_DESCRIPTOR_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + ResourceDescriptorInfoEXT = 1000135002, + + [NativeName("VK_STRUCTURE_TYPE_BIND_HEAP_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + BindHeapInfoEXT = 1000135003, + + [NativeName("VK_STRUCTURE_TYPE_PUSH_DATA_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + PushDataInfoEXT = 1000135004, + + [NativeName("VK_STRUCTURE_TYPE_DESCRIPTOR_SET_AND_BINDING_MAPPING_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + DescriptorSetAndBindingMappingEXT = 1000135005, + + [NativeName("VK_STRUCTURE_TYPE_SHADER_DESCRIPTOR_SET_AND_BINDING_MAPPING_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + ShaderDescriptorSetAndBindingMappingInfoEXT = 1000135006, + + [NativeName("VK_STRUCTURE_TYPE_OPAQUE_CAPTURE_DATA_CREATE_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + OpaqueCaptureDataCreateInfoEXT = 1000135007, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_HEAP_PROPERTIES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + PhysicalDeviceDescriptorHeapPropertiesEXT = 1000135008, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_HEAP_FEATURES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + PhysicalDeviceDescriptorHeapFeaturesEXT = 1000135009, + + [NativeName("VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_DESCRIPTOR_HEAP_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + CommandBufferInheritanceDescriptorHeapInfoEXT = 1000135010, + + [NativeName("VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_INDEX_CREATE_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + SamplerCustomBorderColorIndexCreateInfoEXT = 1000135011, + + [NativeName("VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_PUSH_DATA_TOKEN_NV")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_NV_device_generated_commands"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + IndirectCommandsLayoutPushDataTokenNV = 1000135012, + + [NativeName("VK_STRUCTURE_TYPE_SUBSAMPLED_IMAGE_FORMAT_PROPERTIES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_EXT_fragment_density_map"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + SubsampledImageFormatPropertiesEXT = 1000135013, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_HEAP_TENSOR_PROPERTIES_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + PhysicalDeviceDescriptorHeapTensorPropertiesARM = 1000135014, + [NativeName("VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD")] [SupportedApiProfile( "vulkan", @@ -7244,6 +7535,25 @@ public enum StructureType : uint [SupportedApiProfile("vulkan", ["VK_EXT_filter_cubic"])] FilterCubicImageViewImageFormatPropertiesEXT = 1000170001, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_CONVERSION_FEATURES_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_cooperative_matrix_conversion"], + ImpliesSets = ["VK_KHR_cooperative_matrix"] + )] + PhysicalDeviceCooperativeMatrixConversionFeaturesQCOM = 1000172000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ELAPSED_TIMER_QUERY_FEATURES_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_elapsed_timer_query"], + ImpliesSets = [ + "VK_QCOM_elapsed_timer_query+VK_KHR_get_physical_device_properties2", + "VK_QCOM_elapsed_timer_query+VK_VERSION_1_1", + ] + )] + PhysicalDeviceElapsedTimerQueryFeaturesQCOM = 1000173000, + [NativeName("VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT")] [SupportedApiProfile( "vulkan", @@ -7479,51 +7789,181 @@ public enum StructureType : uint )] CheckpointData2NV = 1000314009, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL")] + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_TIMING_FEATURES_EXT")] [SupportedApiProfile( "vulkan", - ["VK_INTEL_shader_integer_functions2"], + ["VK_EXT_present_timing"], ImpliesSets = [ - "VK_INTEL_shader_integer_functions2+VK_KHR_get_physical_device_properties2", - "VK_INTEL_shader_integer_functions2+VK_VERSION_1_1", + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", ] )] - PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL = 1000209000, + PhysicalDevicePresentTimingFeaturesEXT = 1000208000, - [NativeName("VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL")] - [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] - QueryPoolPerformanceQueryCreateInfoINTEL = 1000210000, - - [NativeName("VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL")] - [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] - InitializePerformanceApiInfoINTEL = 1000210001, - - [NativeName("VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL")] - [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] - PerformanceMarkerInfoINTEL = 1000210002, - - [NativeName("VK_STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL")] - [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] - PerformanceStreamMarkerInfoINTEL = 1000210003, - - [NativeName("VK_STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTEL")] - [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] - PerformanceOverrideInfoINTEL = 1000210004, - - [NativeName("VK_STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL")] - [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] - PerformanceConfigurationAcquireInfoINTEL = 1000210005, - - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT")] + [NativeName("VK_STRUCTURE_TYPE_SWAPCHAIN_TIMING_PROPERTIES_EXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_pci_bus_info"], + ["VK_EXT_present_timing"], ImpliesSets = [ - "VK_EXT_pci_bus_info+VK_KHR_get_physical_device_properties2", - "VK_EXT_pci_bus_info+VK_VERSION_1_1", + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", ] )] - PhysicalDevicePciBusInfoPropertiesEXT = 1000212000, + SwapchainTimingPropertiesEXT = 1000208001, + + [NativeName("VK_STRUCTURE_TYPE_SWAPCHAIN_TIME_DOMAIN_PROPERTIES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + SwapchainTimeDomainPropertiesEXT = 1000208002, + + [NativeName("VK_STRUCTURE_TYPE_PRESENT_TIMINGS_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + PresentTimingsInfoEXT = 1000208003, + + [NativeName("VK_STRUCTURE_TYPE_PRESENT_TIMING_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + PresentTimingInfoEXT = 1000208004, + + [NativeName("VK_STRUCTURE_TYPE_PAST_PRESENTATION_TIMING_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + PastPresentationTimingInfoEXT = 1000208005, + + [NativeName("VK_STRUCTURE_TYPE_PAST_PRESENTATION_TIMING_PROPERTIES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + PastPresentationTimingPropertiesEXT = 1000208006, + + [NativeName("VK_STRUCTURE_TYPE_PAST_PRESENTATION_TIMING_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + PastPresentationTimingEXT = 1000208007, + + [NativeName("VK_STRUCTURE_TYPE_PRESENT_TIMING_SURFACE_CAPABILITIES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + PresentTimingSurfaceCapabilitiesEXT = 1000208008, + + [NativeName("VK_STRUCTURE_TYPE_SWAPCHAIN_CALIBRATED_TIMESTAMP_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + SwapchainCalibratedTimestampInfoEXT = 1000208009, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL")] + [SupportedApiProfile( + "vulkan", + ["VK_INTEL_shader_integer_functions2"], + ImpliesSets = [ + "VK_INTEL_shader_integer_functions2+VK_KHR_get_physical_device_properties2", + "VK_INTEL_shader_integer_functions2+VK_VERSION_1_1", + ] + )] + PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL = 1000209000, + + [NativeName("VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL")] + [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] + QueryPoolPerformanceQueryCreateInfoINTEL = 1000210000, + + [NativeName("VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL")] + [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] + InitializePerformanceApiInfoINTEL = 1000210001, + + [NativeName("VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL")] + [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] + PerformanceMarkerInfoINTEL = 1000210002, + + [NativeName("VK_STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL")] + [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] + PerformanceStreamMarkerInfoINTEL = 1000210003, + + [NativeName("VK_STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTEL")] + [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] + PerformanceOverrideInfoINTEL = 1000210004, + + [NativeName("VK_STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL")] + [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] + PerformanceConfigurationAcquireInfoINTEL = 1000210005, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_pci_bus_info"], + ImpliesSets = [ + "VK_EXT_pci_bus_info+VK_KHR_get_physical_device_properties2", + "VK_EXT_pci_bus_info+VK_VERSION_1_1", + ] + )] + PhysicalDevicePciBusInfoPropertiesEXT = 1000212000, [NativeName("VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD")] [SupportedApiProfile( @@ -7700,6 +8140,41 @@ public enum StructureType : uint )] PhysicalDeviceCoherentMemoryFeaturesAMD = 1000229000, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CONSTANT_DATA_FEATURES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_constant_data"], + ImpliesSets = [ + "VK_KHR_shader_constant_data+VK_KHR_get_physical_device_properties2", + "VK_KHR_shader_constant_data+VK_VERSION_1_1", + ] + )] + PhysicalDeviceShaderConstantDataFeaturesKHR = 1000231000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ABORT_FEATURES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + PhysicalDeviceShaderAbortFeaturesKHR = 1000233000, + + [NativeName("VK_STRUCTURE_TYPE_DEVICE_FAULT_SHADER_ABORT_MESSAGE_INFO_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + DeviceFaultShaderAbortMessageInfoKHR = 1000233001, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ABORT_PROPERTIES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + PhysicalDeviceShaderAbortPropertiesKHR = 1000233002, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT")] [SupportedApiProfile( "vulkan", @@ -8302,6 +8777,17 @@ public enum StructureType : uint )] PhysicalDeviceCustomBorderColorFeaturesEXT = 1000287002, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_3D_FEATURES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + PhysicalDeviceTextureCompressionAstc3DFeaturesEXT = 1000288000, + [NativeName("VK_STRUCTURE_TYPE_PIPELINE_LIBRARY_CREATE_INFO_KHR")] [SupportedApiProfile("vulkan", ["VK_KHR_pipeline_library"])] PipelineLibraryCreateInfoKHR = 1000290000, @@ -8504,6 +8990,94 @@ public enum StructureType : uint )] DeviceDiagnosticsConfigCreateInfoNV = 1000300001, + [NativeName("VK_STRUCTURE_TYPE_PERF_HINT_INFO_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + PerfHintInfoQCOM = 1000302000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_QUEUE_PERF_HINT_FEATURES_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + PhysicalDeviceQueuePerfHintFeaturesQCOM = 1000302001, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_QUEUE_PERF_HINT_PROPERTIES_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + PhysicalDeviceQueuePerfHintPropertiesQCOM = 1000302002, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_3_FEATURES_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_image_processing3"], + ImpliesSets = [ + "VK_QCOM_image_processing3+VK_KHR_get_physical_device_properties2", + "VK_QCOM_image_processing3+VK_VERSION_1_1", + ] + )] + PhysicalDeviceImageProcessing3FeaturesQCOM = 1000303000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MULTIPLE_WAIT_QUEUES_FEATURES_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_shader_multiple_wait_queues"], + ImpliesSets = [ + "VK_QCOM_shader_multiple_wait_queues+VK_KHR_get_physical_device_properties2", + "VK_QCOM_shader_multiple_wait_queues+VK_VERSION_1_1", + ] + )] + PhysicalDeviceShaderMultipleWaitQueuesFeaturesQCOM = 1000304000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MULTIPLE_WAIT_QUEUES_PROPERTIES_QCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_shader_multiple_wait_queues"], + ImpliesSets = [ + "VK_QCOM_shader_multiple_wait_queues+VK_KHR_get_physical_device_properties2", + "VK_QCOM_shader_multiple_wait_queues+VK_VERSION_1_1", + ] + )] + PhysicalDeviceShaderMultipleWaitQueuesPropertiesQCOM = 1000304001, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SPLIT_BARRIER_FEATURES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_split_barrier"], + ImpliesSets = [ + "VK_EXT_shader_split_barrier+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_split_barrier+VK_VERSION_1_1", + ] + )] + PhysicalDeviceShaderSplitBarrierFeaturesEXT = 1000305000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SPLIT_BARRIER_PROPERTIES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_split_barrier"], + ImpliesSets = [ + "VK_EXT_shader_split_barrier+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_split_barrier+VK_VERSION_1_1", + ] + )] + PhysicalDeviceShaderSplitBarrierPropertiesEXT = 1000305001, + [NativeName("VK_STRUCTURE_TYPE_CUDA_MODULE_CREATE_INFO_NV")] [SupportedApiProfile( "vulkan", @@ -8563,10 +9137,7 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] PhysicalDeviceTileShadingFeaturesQCOM = 1000309000, @@ -8574,10 +9145,7 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] PhysicalDeviceTileShadingPropertiesQCOM = 1000309001, @@ -8585,10 +9153,7 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] RenderPassTileShadingCreateInfoQCOM = 1000309002, @@ -8596,10 +9161,7 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] PerTileBeginInfoQCOM = 1000309003, @@ -8607,10 +9169,7 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] PerTileEndInfoQCOM = 1000309004, @@ -8618,10 +9177,7 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] DispatchTileInfoQCOM = 1000309005, @@ -8849,91 +9405,304 @@ public enum StructureType : uint )] AccelerationStructureCaptureDescriptorDataInfoEXT = 1000316009, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT")] + [NativeName("VK_STRUCTURE_TYPE_DEVICE_MEMORY_COPY_KHR")] [SupportedApiProfile( "vulkan", - ["VK_EXT_graphics_pipeline_library"], + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_KHR_pipeline_library+VK_KHR_get_physical_device_properties2", - "VK_KHR_pipeline_library+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] - PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT = 1000320000, + DeviceMemoryCopyKHR = 1000318000, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT")] + [NativeName("VK_STRUCTURE_TYPE_COPY_DEVICE_MEMORY_INFO_KHR")] [SupportedApiProfile( "vulkan", - ["VK_EXT_graphics_pipeline_library"], + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_KHR_pipeline_library+VK_KHR_get_physical_device_properties2", - "VK_KHR_pipeline_library+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] - PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT = 1000320001, + CopyDeviceMemoryInfoKHR = 1000318001, - [NativeName("VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT")] + [NativeName("VK_STRUCTURE_TYPE_DEVICE_MEMORY_IMAGE_COPY_KHR")] [SupportedApiProfile( "vulkan", - ["VK_EXT_graphics_pipeline_library"], + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_KHR_pipeline_library+VK_KHR_get_physical_device_properties2", - "VK_KHR_pipeline_library+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] - GraphicsPipelineLibraryCreateInfoEXT = 1000320002, + DeviceMemoryImageCopyKHR = 1000318002, - [NativeName( - "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EARLY_AND_LATE_FRAGMENT_TESTS_FEATURES_AMD" - )] + [NativeName("VK_STRUCTURE_TYPE_COPY_DEVICE_MEMORY_IMAGE_INFO_KHR")] [SupportedApiProfile( "vulkan", - ["VK_AMD_shader_early_and_late_fragment_tests"], + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_AMD_shader_early_and_late_fragment_tests+VK_KHR_get_physical_device_properties2", - "VK_AMD_shader_early_and_late_fragment_tests+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] - PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD = 1000321000, + CopyDeviceMemoryImageInfoKHR = 1000318003, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR")] + [NativeName("VK_STRUCTURE_TYPE_MEMORY_RANGE_BARRIERS_INFO_KHR")] [SupportedApiProfile( "vulkan", - ["VK_KHR_fragment_shader_barycentric"], + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_KHR_fragment_shader_barycentric+VK_KHR_get_physical_device_properties2", - "VK_KHR_fragment_shader_barycentric+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] - PhysicalDeviceFragmentShaderBarycentricFeaturesKHR = 1000203000, + MemoryRangeBarriersInfoKHR = 1000318004, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_PROPERTIES_KHR")] + [NativeName("VK_STRUCTURE_TYPE_MEMORY_RANGE_BARRIER_KHR")] [SupportedApiProfile( "vulkan", - ["VK_KHR_fragment_shader_barycentric"], + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_KHR_fragment_shader_barycentric+VK_KHR_get_physical_device_properties2", - "VK_KHR_fragment_shader_barycentric+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] - PhysicalDeviceFragmentShaderBarycentricPropertiesKHR = 1000322000, + MemoryRangeBarrierKHR = 1000318005, - [NativeName( - "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR" - )] + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_ADDRESS_COMMANDS_FEATURES_KHR")] [SupportedApiProfile( "vulkan", - ["VK_KHR_shader_subgroup_uniform_control_flow"], - ImpliesSets = ["VK_VERSION_1_1"] + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] )] - PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR = 1000323000, + PhysicalDeviceDeviceAddressCommandsFeaturesKHR = 1000318006, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NV")] + [NativeName("VK_STRUCTURE_TYPE_BIND_INDEX_BUFFER_3_INFO_KHR")] [SupportedApiProfile( "vulkan", - ["VK_NV_fragment_shading_rate_enums"], - ImpliesSets = ["VK_KHR_fragment_shading_rate"] + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] )] - PhysicalDeviceFragmentShadingRateEnumsPropertiesNV = 1000326000, + BindIndexBuffer3InfoKHR = 1000318007, + + [NativeName("VK_STRUCTURE_TYPE_BIND_VERTEX_BUFFER_3_INFO_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + BindVertexBuffer3InfoKHR = 1000318008, + + [NativeName("VK_STRUCTURE_TYPE_DRAW_INDIRECT_2_INFO_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + DrawIndirect2InfoKHR = 1000318009, + + [NativeName("VK_STRUCTURE_TYPE_DRAW_INDIRECT_COUNT_2_INFO_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + DrawIndirectCount2InfoKHR = 1000318010, + + [NativeName("VK_STRUCTURE_TYPE_DISPATCH_INDIRECT_2_INFO_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + DispatchIndirect2InfoKHR = 1000318011, + + [NativeName("VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_2_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + ConditionalRenderingBeginInfo2EXT = 1000318012, + + [NativeName("VK_STRUCTURE_TYPE_BIND_TRANSFORM_FEEDBACK_BUFFER_2_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + BindTransformFeedbackBuffer2InfoEXT = 1000318013, + + [NativeName("VK_STRUCTURE_TYPE_MEMORY_MARKER_INFO_AMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + MemoryMarkerInfoAMD = 1000318014, + + [NativeName("VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_2_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + AccelerationStructureCreateInfo2KHR = 1000318015, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_graphics_pipeline_library"], + ImpliesSets = [ + "VK_KHR_pipeline_library+VK_KHR_get_physical_device_properties2", + "VK_KHR_pipeline_library+VK_VERSION_1_1", + ] + )] + PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT = 1000320000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_graphics_pipeline_library"], + ImpliesSets = [ + "VK_KHR_pipeline_library+VK_KHR_get_physical_device_properties2", + "VK_KHR_pipeline_library+VK_VERSION_1_1", + ] + )] + PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT = 1000320001, + + [NativeName("VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_graphics_pipeline_library"], + ImpliesSets = [ + "VK_KHR_pipeline_library+VK_KHR_get_physical_device_properties2", + "VK_KHR_pipeline_library+VK_VERSION_1_1", + ] + )] + GraphicsPipelineLibraryCreateInfoEXT = 1000320002, + + [NativeName( + "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EARLY_AND_LATE_FRAGMENT_TESTS_FEATURES_AMD" + )] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_shader_early_and_late_fragment_tests"], + ImpliesSets = [ + "VK_AMD_shader_early_and_late_fragment_tests+VK_KHR_get_physical_device_properties2", + "VK_AMD_shader_early_and_late_fragment_tests+VK_VERSION_1_1", + ] + )] + PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD = 1000321000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_fragment_shader_barycentric"], + ImpliesSets = [ + "VK_KHR_fragment_shader_barycentric+VK_KHR_get_physical_device_properties2", + "VK_KHR_fragment_shader_barycentric+VK_VERSION_1_1", + ] + )] + PhysicalDeviceFragmentShaderBarycentricFeaturesKHR = 1000203000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_PROPERTIES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_provoking_vertex", "VK_KHR_fragment_shader_barycentric"], + ImpliesSets = [ + "VK_KHR_fragment_shader_barycentric+VK_KHR_get_physical_device_properties2", + "VK_KHR_fragment_shader_barycentric+VK_VERSION_1_1", + ], + RequireAll = true + )] + PhysicalDeviceFragmentShaderBarycentricPropertiesKHR = 1000322000, + + [NativeName( + "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR" + )] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_subgroup_uniform_control_flow"], + ImpliesSets = ["VK_VERSION_1_1"] + )] + PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR = 1000323000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_fragment_shading_rate_enums"], + ImpliesSets = ["VK_KHR_fragment_shading_rate"] + )] + PhysicalDeviceFragmentShadingRateEnumsPropertiesNV = 1000326000, [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_FEATURES_NV")] [SupportedApiProfile( @@ -9931,6 +10700,24 @@ public enum StructureType : uint )] PhysicalDeviceSchedulingControlsPropertiesARM = 1000417002, + [NativeName("VK_STRUCTURE_TYPE_DISPATCH_PARAMETERS_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + DispatchParametersARM = 1000417003, + + [NativeName( + "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_DISPATCH_PARAMETERS_PROPERTIES_ARM" + )] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + PhysicalDeviceSchedulingControlsDispatchParametersPropertiesARM = 1000417004, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_SLICED_VIEW_OF_3D_FEATURES_EXT")] [SupportedApiProfile( "vulkan", @@ -10696,6 +11483,7 @@ public enum StructureType : uint "vulkan", ["VK_AMDX_dense_geometry_format"], ImpliesSets = [ + "VK_KHR_acceleration_structure+VK_KHR_extended_flags", "VK_KHR_acceleration_structure+VK_KHR_maintenance5", "VK_KHR_acceleration_structure+VK_VERSION_1_4", ] @@ -10709,6 +11497,7 @@ public enum StructureType : uint "vulkan", ["VK_AMDX_dense_geometry_format"], ImpliesSets = [ + "VK_KHR_acceleration_structure+VK_KHR_extended_flags", "VK_KHR_acceleration_structure+VK_KHR_maintenance5", "VK_KHR_acceleration_structure+VK_VERSION_1_4", ] @@ -10827,6 +11616,7 @@ public enum StructureType : uint "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -10838,6 +11628,7 @@ public enum StructureType : uint "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -10849,6 +11640,7 @@ public enum StructureType : uint "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -10860,6 +11652,7 @@ public enum StructureType : uint "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -10871,6 +11664,7 @@ public enum StructureType : uint "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -10882,6 +11676,7 @@ public enum StructureType : uint "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -10893,6 +11688,7 @@ public enum StructureType : uint "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -10904,6 +11700,7 @@ public enum StructureType : uint "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -10915,6 +11712,7 @@ public enum StructureType : uint "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -10926,6 +11724,7 @@ public enum StructureType : uint "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -10980,10 +11779,7 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] SurfacePresentModeKHR = 1000274000, @@ -10991,10 +11787,7 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] SurfacePresentScalingCapabilitiesKHR = 1000274001, @@ -11002,10 +11795,7 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] SurfacePresentModeCompatibilityKHR = 1000274002, @@ -11014,9 +11804,8 @@ public enum StructureType : uint "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] PhysicalDeviceSwapchainMaintenance1FeaturesKHR = 1000275000, @@ -11026,9 +11815,8 @@ public enum StructureType : uint "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] SwapchainPresentFenceInfoKHR = 1000275001, @@ -11038,9 +11826,8 @@ public enum StructureType : uint "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] SwapchainPresentModesCreateInfoKHR = 1000275002, @@ -11050,9 +11837,8 @@ public enum StructureType : uint "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] SwapchainPresentModeInfoKHR = 1000275003, @@ -11062,9 +11848,8 @@ public enum StructureType : uint "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] SwapchainPresentScalingCreateInfoKHR = 1000275004, @@ -11074,9 +11859,8 @@ public enum StructureType : uint "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] ReleaseSwapchainImagesInfoKHR = 1000275005, @@ -11260,6 +12044,14 @@ public enum StructureType : uint )] PhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT = 1000499000, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INTERNALLY_SYNCHRONIZED_QUEUES_FEATURES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_internally_synchronized_queues"], + ImpliesSets = ["VK_VERSION_1_1"] + )] + PhysicalDeviceInternallySynchronizedQueuesFeaturesKHR = 1000504000, + [NativeName("VK_STRUCTURE_TYPE_LATENCY_SLEEP_MODE_INFO_NV")] [SupportedApiProfile( "vulkan", @@ -11414,7 +12206,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineCreateInfoARM = 1000507000, @@ -11422,7 +12217,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineSessionCreateInfoARM = 1000507001, @@ -11430,7 +12228,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineResourceInfoARM = 1000507002, @@ -11438,7 +12239,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineConstantARM = 1000507003, @@ -11446,7 +12250,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineSessionMemoryRequirementsInfoARM = 1000507004, @@ -11454,7 +12261,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] BindDataGraphPipelineSessionMemoryInfoARM = 1000507005, @@ -11462,7 +12272,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] PhysicalDeviceDataGraphFeaturesARM = 1000507006, @@ -11470,7 +12283,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineShaderModuleCreateInfoARM = 1000507007, @@ -11478,7 +12294,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelinePropertyQueryResultARM = 1000507008, @@ -11486,7 +12305,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineInfoARM = 1000507009, @@ -11494,7 +12316,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineCompilerControlCreateInfoARM = 1000507010, @@ -11502,7 +12327,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineSessionBindPointRequirementsInfoARM = 1000507011, @@ -11510,7 +12338,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineSessionBindPointRequirementARM = 1000507012, @@ -11518,7 +12349,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineIdentifierCreateInfoARM = 1000507013, @@ -11526,7 +12360,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphPipelineDispatchInfoARM = 1000507014, @@ -11534,7 +12371,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] DataGraphProcessingEngineCreateInfoARM = 1000507016, @@ -11542,7 +12382,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] QueueFamilyDataGraphProcessingEnginePropertiesARM = 1000507017, @@ -11550,7 +12393,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] QueueFamilyDataGraphPropertiesARM = 1000507018, @@ -11560,7 +12406,10 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM = 1000507019, @@ -11570,11 +12419,22 @@ public enum StructureType : uint [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph", "VK_ARM_tensors"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"], + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ], RequireAll = true )] DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM = 1000507015, + [NativeName("VK_STRUCTURE_TYPE_QUEUE_FAMILY_DATA_GRAPH_TOSA_PROPERTIES_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + QueueFamilyDataGraphTosaPropertiesARM = 1000508000, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_RENDER_AREAS_FEATURES_QCOM")] [SupportedApiProfile( "vulkan", @@ -12561,8 +13421,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12573,8 +13435,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12585,8 +13449,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12597,8 +13463,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12609,8 +13477,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12621,8 +13491,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12633,8 +13505,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12645,8 +13519,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12657,8 +13533,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12669,8 +13547,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12681,8 +13561,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12693,8 +13575,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12705,8 +13589,10 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -12717,22 +13603,68 @@ public enum StructureType : uint "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] GeneratedCommandsShaderInfoEXT = 1000572014, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_8_FEATURES_KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_maintenance8"], ImpliesSets = ["VK_VERSION_1_1"])] - PhysicalDeviceMaintenance8FeaturesKHR = 1000574000, - - [NativeName("VK_STRUCTURE_TYPE_MEMORY_BARRIER_ACCESS_FLAGS_3_KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_maintenance8"], ImpliesSets = ["VK_VERSION_1_1"])] - MemoryBarrierAccessFlags3KHR = 1000574002, - - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA")] + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + PhysicalDeviceFaultFeaturesKHR = 1000573000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_PROPERTIES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + PhysicalDeviceFaultPropertiesKHR = 1000573001, + + [NativeName("VK_STRUCTURE_TYPE_DEVICE_FAULT_INFO_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + DeviceFaultInfoKHR = 1000573002, + + [NativeName("VK_STRUCTURE_TYPE_DEVICE_FAULT_DEBUG_INFO_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + DeviceFaultDebugInfoKHR = 1000573003, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_8_FEATURES_KHR")] + [SupportedApiProfile("vulkan", ["VK_KHR_maintenance8"], ImpliesSets = ["VK_VERSION_1_1"])] + PhysicalDeviceMaintenance8FeaturesKHR = 1000574000, + + [NativeName("VK_STRUCTURE_TYPE_MEMORY_BARRIER_ACCESS_FLAGS_3_KHR")] + [SupportedApiProfile("vulkan", ["VK_KHR_maintenance8"], ImpliesSets = ["VK_VERSION_1_1"])] + MemoryBarrierAccessFlags3KHR = 1000574002, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA")] [SupportedApiProfile( "vulkan", ["VK_MESA_image_alignment_control"], @@ -12776,6 +13708,34 @@ public enum StructureType : uint )] PhysicalDeviceShaderFmaFeaturesKHR = 1000579000, + [NativeName("VK_STRUCTURE_TYPE_PUSH_CONSTANT_BANK_INFO_NV")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + PushConstantBankInfoNV = 1000580000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_CONSTANT_BANK_FEATURES_NV")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + PhysicalDevicePushConstantBankFeaturesNV = 1000580001, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_CONSTANT_BANK_PROPERTIES_NV")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + PhysicalDevicePushConstantBankPropertiesNV = 1000580002, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + PhysicalDeviceRayTracingInvocationReorderFeaturesEXT = 1000581000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + PhysicalDeviceRayTracingInvocationReorderPropertiesEXT = 1000581001, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_CONTROL_FEATURES_EXT")] [SupportedApiProfile( "vulkan", @@ -12870,18 +13830,6 @@ public enum StructureType : uint [SupportedApiProfile("vulkan", ["VK_OHOS_surface"], ImpliesSets = ["VK_KHR_surface"])] SurfaceCreateInfoOHOS = 1000685000, - [NativeName("VK_STRUCTURE_TYPE_NATIVE_BUFFER_OHOS")] - [SupportedApiProfile("vulkan", ["VK_OHOS_native_buffer"])] - NativeBufferOHOS = 1000453001, - - [NativeName("VK_STRUCTURE_TYPE_SWAPCHAIN_IMAGE_CREATE_INFO_OHOS")] - [SupportedApiProfile("vulkan", ["VK_OHOS_native_buffer"])] - SwapchainImageCreateInfoOHOS = 1000453002, - - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENTATION_PROPERTIES_OHOS")] - [SupportedApiProfile("vulkan", ["VK_OHOS_native_buffer"])] - PhysicalDevicePresentationPropertiesOHOS = 1000453003, - [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI")] [SupportedApiProfile( "vulkan", @@ -12936,6 +13884,30 @@ public enum StructureType : uint )] PhysicalDevicePipelineOpacityMicromapFeaturesARM = 1000596000, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_FEEDBACK_2_FEATURES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + PhysicalDeviceVideoEncodeFeedback2FeaturesKHR = 1000598000, + + [NativeName("VK_STRUCTURE_TYPE_VIDEO_ENCODE_FEEDBACK_2_CAPABILITIES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + VideoEncodeFeedback2CapabilitiesKHR = 1000598001, + + [NativeName("VK_STRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_CREATE_INFO_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + QueryPoolVideoEncodePerPartitionFeedbackCreateInfoKHR = 1000598002, + [NativeName("VK_STRUCTURE_TYPE_IMPORT_MEMORY_METAL_HANDLE_INFO_EXT")] [SupportedApiProfile( "vulkan", @@ -13035,6 +14007,50 @@ public enum StructureType : uint )] RenderPassPerformanceCountersByRegionBeginInfoARM = 1000605004, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INSTRUMENTATION_FEATURES_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + PhysicalDeviceShaderInstrumentationFeaturesARM = 1000607000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INSTRUMENTATION_PROPERTIES_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + PhysicalDeviceShaderInstrumentationPropertiesARM = 1000607001, + + [NativeName("VK_STRUCTURE_TYPE_SHADER_INSTRUMENTATION_CREATE_INFO_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + ShaderInstrumentationCreateInfoARM = 1000607002, + + [NativeName("VK_STRUCTURE_TYPE_SHADER_INSTRUMENTATION_METRIC_DESCRIPTION_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + ShaderInstrumentationMetricDescriptionARM = 1000607003, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_ROBUSTNESS_FEATURES_EXT")] [SupportedApiProfile( "vulkan", @@ -13062,6 +14078,7 @@ public enum StructureType : uint "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -13073,6 +14090,7 @@ public enum StructureType : uint "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -13084,6 +14102,7 @@ public enum StructureType : uint "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -13134,6 +14153,22 @@ public enum StructureType : uint )] PhysicalDevicePresentMeteringFeaturesNV = 1000613001, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTISAMPLED_RENDER_TO_SWAPCHAIN_FEATURES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + PhysicalDeviceMultisampledRenderToSwapchainFeaturesEXT = 1000616000, + + [NativeName("VK_STRUCTURE_TYPE_SWAPCHAIN_FLAGS_SURFACE_CAPABILITIES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + SwapchainFlagsSurfaceCapabilitiesEXT = 1000616001, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_EXT")] [SupportedApiProfile( "vulkan", @@ -13204,6 +14239,38 @@ public enum StructureType : uint )] PhysicalDevicePresentModeFifoLatestReadyFeaturesKHR = 1000361000, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPACITY_MICROMAP_FEATURES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + PhysicalDeviceOpacityMicromapFeaturesKHR = 1000623000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPACITY_MICROMAP_PROPERTIES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + PhysicalDeviceOpacityMicromapPropertiesKHR = 1000623001, + + [NativeName("VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_MICROMAP_DATA_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + AccelerationStructureGeometryMicromapDataKHR = 1000623002, + + [NativeName("VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_OPACITY_MICROMAP_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + AccelerationStructureTrianglesOpacityMicromapKHR = 1000623003, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_64_BIT_INDEXING_FEATURES_EXT")] [SupportedApiProfile( "vulkan", @@ -13215,6 +14282,39 @@ public enum StructureType : uint )] PhysicalDeviceShader64BitIndexingFeaturesEXT = 1000627000, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_RESOLVE_FEATURES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + PhysicalDeviceCustomResolveFeaturesEXT = 1000628000, + + [NativeName("VK_STRUCTURE_TYPE_BEGIN_CUSTOM_RESOLVE_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + BeginCustomResolveInfoEXT = 1000628001, + + [NativeName("VK_STRUCTURE_TYPE_CUSTOM_RESOLVE_CREATE_INFO_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + CustomResolveCreateInfoEXT = 1000628002, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_MODEL_FEATURES_QCOM")] [SupportedApiProfile( "vulkan", @@ -13286,6 +14386,86 @@ public enum StructureType : uint )] ResolveImageModeInfoKHR = 1000630004, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_OPTICAL_FLOW_FEATURES_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + PhysicalDeviceDataGraphOpticalFlowFeaturesARM = 1000631000, + + [NativeName("VK_STRUCTURE_TYPE_QUEUE_FAMILY_DATA_GRAPH_OPTICAL_FLOW_PROPERTIES_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + QueueFamilyDataGraphOpticalFlowPropertiesARM = 1000631001, + + [NativeName("VK_STRUCTURE_TYPE_DATA_GRAPH_OPTICAL_FLOW_IMAGE_FORMAT_INFO_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + DataGraphOpticalFlowImageFormatInfoARM = 1000631003, + + [NativeName("VK_STRUCTURE_TYPE_DATA_GRAPH_OPTICAL_FLOW_IMAGE_FORMAT_PROPERTIES_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + DataGraphOpticalFlowImageFormatPropertiesARM = 1000631004, + + [NativeName("VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_OPTICAL_FLOW_DISPATCH_INFO_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + DataGraphPipelineOpticalFlowDispatchInfoARM = 1000631005, + + [NativeName("VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_OPTICAL_FLOW_CREATE_INFO_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + DataGraphPipelineOpticalFlowCreateInfoARM = 1000631002, + + [NativeName("VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_RESOURCE_INFO_IMAGE_LAYOUT_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + DataGraphPipelineResourceInfoImageLayoutARM = 1000631006, + + [NativeName("VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SINGLE_NODE_CREATE_INFO_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + DataGraphPipelineSingleNodeCreateInfoARM = 1000631007, + + [NativeName("VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SINGLE_NODE_CONNECTION_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + DataGraphPipelineSingleNodeConnectionARM = 1000631008, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_FEATURES_EXT")] + [SupportedApiProfile("vulkan", ["VK_EXT_shader_long_vector"], ImpliesSets = ["VK_VERSION_1_2"])] + PhysicalDeviceShaderLongVectorFeaturesEXT = 1000635000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_PROPERTIES_EXT")] + [SupportedApiProfile("vulkan", ["VK_EXT_shader_long_vector"], ImpliesSets = ["VK_VERSION_1_2"])] + PhysicalDeviceShaderLongVectorPropertiesEXT = 1000635001, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CACHE_INCREMENTAL_MODE_FEATURES_SEC")] [SupportedApiProfile( "vulkan", @@ -13310,6 +14490,200 @@ public enum StructureType : uint )] PhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT = 1000642000, + [NativeName("VK_STRUCTURE_TYPE_COMPUTE_OCCUPANCY_PRIORITY_PARAMETERS_NV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + ComputeOccupancyPriorityParametersNV = 1000645000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_OCCUPANCY_PRIORITY_FEATURES_NV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + PhysicalDeviceComputeOccupancyPriorityFeaturesNV = 1000645001, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_11_FEATURES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + PhysicalDeviceMaintenance11FeaturesKHR = 1000657000, + + [NativeName("VK_STRUCTURE_TYPE_QUEUE_FAMILY_OPTIMAL_IMAGE_TRANSFER_GRANULARITY_PROPERTIES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + QueueFamilyOptimalImageTransferGranularityPropertiesKHR = 1000657001, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_PARTITIONED_FEATURES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_subgroup_partitioned"], + ImpliesSets = [ + "VK_EXT_shader_subgroup_partitioned+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_subgroup_partitioned+VK_VERSION_1_1", + ] + )] + PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT = 1000662000, + + [NativeName("VK_STRUCTURE_TYPE_UBM_SURFACE_CREATE_INFO_SEC")] + [SupportedApiProfile("vulkan", ["VK_SEC_ubm_surface"], ImpliesSets = ["VK_KHR_surface"])] + UbmSurfaceCreateInfoSEC = 1000664000, + + [NativeName("VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_4_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + FormatProperties4KHR = 1000668000, + + [NativeName("VK_STRUCTURE_TYPE_IMAGE_CREATE_FLAGS_2_CREATE_INFO_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + ImageCreateFlags2CreateInfoKHR = 1000668001, + + [NativeName("VK_STRUCTURE_TYPE_IMAGE_USAGE_FLAGS_2_CREATE_INFO_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + ImageUsageFlags2CreateInfoKHR = 1000668002, + + [NativeName("VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_2_CREATE_INFO_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + ImageViewUsage2CreateInfoKHR = 1000668003, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_FLAGS_FEATURES_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + PhysicalDeviceExtendedFlagsFeaturesKHR = 1000668004, + + [NativeName("VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_2_CREATE_INFO_KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_extended_flags+VK_EXT_separate_stencil_usage", + "VK_KHR_extended_flags+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + ImageStencilUsage2CreateInfoKHR = 1000668005, + + [NativeName("VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_2_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags", "VK_KHR_shared_presentable_image"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ], + RequireAll = true + )] + SharedPresentSurfaceCapabilities2KHR = 1000668006, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MIXED_FLOAT_DOT_PRODUCT_FEATURES_VALVE")] + [SupportedApiProfile( + "vulkan", + ["VK_VALVE_shader_mixed_float_dot_product"], + ImpliesSets = [ + "VK_KHR_get_physical_device_properties2+VK_KHR_shader_float16_int8", + "VK_KHR_get_physical_device_properties2+VK_VERSION_1_2", + "VK_VERSION_1_1+VK_KHR_shader_float16_int8", + "VK_VERSION_1_1+VK_VERSION_1_2", + ] + )] + PhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE = 1000673000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_THROTTLE_HINT_FEATURES_SEC")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + PhysicalDeviceThrottleHintFeaturesSEC = 1000674000, + + [NativeName("VK_STRUCTURE_TYPE_THROTTLE_HINT_SUBMIT_INFO_SEC")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + ThrottleHintSubmitInfoSEC = 1000674001, + + [NativeName("VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_NEURAL_STATISTICS_CREATE_INFO_ARM")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + DataGraphPipelineNeuralStatisticsCreateInfoARM = 1000676000, + + [NativeName("VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SESSION_NEURAL_STATISTICS_CREATE_INFO_ARM")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + DataGraphPipelineSessionNeuralStatisticsCreateInfoARM = 1000676001, + + [NativeName( + "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_NEURAL_ACCELERATOR_STATISTICS_FEATURES_ARM" + )] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + PhysicalDeviceDataGraphNeuralAcceleratorStatisticsFeaturesARM = 1000676002, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_RESTART_INDEX_FEATURES_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + PhysicalDevicePrimitiveRestartIndexFeaturesEXT = 1000678000, + + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_DECODE_VECTOR_FEATURES_NV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_cooperative_matrix_decode_vector"], + ImpliesSets = ["VK_NV_cooperative_matrix2"] + )] + PhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV = 1000689000, + [NativeName("VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/SubgroupFeatureFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SubgroupFeatureFlags.gen.cs index 2bd3b45097..475f01ffc6 100644 --- a/sources/Vulkan/Vulkan/Vulkan/SubgroupFeatureFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/SubgroupFeatureFlags.gen.cs @@ -19,6 +19,10 @@ public enum SubgroupFeatureFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", "VK_COMPUTE_VERSION_1_3", @@ -40,6 +44,10 @@ public enum SubgroupFeatureFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", "VK_COMPUTE_VERSION_1_3", @@ -61,6 +69,10 @@ public enum SubgroupFeatureFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", "VK_COMPUTE_VERSION_1_3", @@ -82,6 +94,10 @@ public enum SubgroupFeatureFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", "VK_COMPUTE_VERSION_1_3", @@ -103,6 +119,10 @@ public enum SubgroupFeatureFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", "VK_COMPUTE_VERSION_1_3", @@ -124,6 +144,10 @@ public enum SubgroupFeatureFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", "VK_COMPUTE_VERSION_1_3", @@ -145,6 +169,10 @@ public enum SubgroupFeatureFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", "VK_COMPUTE_VERSION_1_3", @@ -166,6 +194,10 @@ public enum SubgroupFeatureFlags : uint [SupportedApiProfile( "vulkan", [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", "VK_COMPUTE_VERSION_1_1", "VK_COMPUTE_VERSION_1_2", "VK_COMPUTE_VERSION_1_3", @@ -199,13 +231,24 @@ public enum SubgroupFeatureFlags : uint )] RotateClusteredBit = 0x400, + [NativeName("VK_SUBGROUP_FEATURE_PARTITIONED_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_subgroup_partitioned"], + ImpliesSets = [ + "VK_EXT_shader_subgroup_partitioned+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_subgroup_partitioned+VK_VERSION_1_1", + ] + )] + PartitionedBitEXT = 0x100, + [NativeName("VK_SUBGROUP_FEATURE_PARTITIONED_BIT_NV")] [SupportedApiProfile( "vulkan", ["VK_NV_shader_subgroup_partitioned"], ImpliesSets = ["VK_VERSION_1_1"] )] - PartitionedBitNV = 0x100, + PartitionedBitNV = PartitionedBitEXT, [NativeName("VK_SUBGROUP_FEATURE_ROTATE_BIT_KHR")] [SupportedApiProfile( diff --git a/sources/Vulkan/Vulkan/Vulkan/SubpassDescriptionFlags.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SubpassDescriptionFlags.gen.cs index 4a57dfff71..58433846c6 100644 --- a/sources/Vulkan/Vulkan/Vulkan/SubpassDescriptionFlags.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/SubpassDescriptionFlags.gen.cs @@ -37,22 +37,11 @@ public enum SubpassDescriptionFlags : uint )] PerViewPositionXOnlyBitNVX = 0x2, - [NativeName("VK_SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_QCOM")] - [SupportedApiProfile("vulkan", ["VK_QCOM_render_pass_shader_resolve"])] - FragmentRegionBitQCOM = 0x4, - - [NativeName("VK_SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM")] - [SupportedApiProfile("vulkan", ["VK_QCOM_render_pass_shader_resolve"])] - ShaderResolveBitQCOM = 0x8, - [NativeName("VK_SUBPASS_DESCRIPTION_TILE_SHADING_APRON_BIT_QCOM")] [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] TileShadingApronBitQCOM = 0x100, @@ -100,6 +89,36 @@ public enum SubpassDescriptionFlags : uint )] EnableLegacyDitheringBitEXT = 0x80, + [NativeName("VK_SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + FragmentRegionBitEXT = 0x4, + + [NativeName("VK_SUBPASS_DESCRIPTION_CUSTOM_RESOLVE_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + CustomResolveBitEXT = 0x8, + + [NativeName("VK_SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_QCOM")] + [SupportedApiProfile("vulkan", ["VK_QCOM_render_pass_shader_resolve"])] + FragmentRegionBitQCOM = FragmentRegionBitEXT, + + [NativeName("VK_SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM")] + [SupportedApiProfile("vulkan", ["VK_QCOM_render_pass_shader_resolve"])] + ShaderResolveBitQCOM = CustomResolveBitEXT, + [NativeName("VK_SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_ARM")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/SubsampledImageFormatPropertiesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SubsampledImageFormatPropertiesEXT.gen.cs new file mode 100644 index 0000000000..431700e243 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/SubsampledImageFormatPropertiesEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkSubsampledImageFormatPropertiesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct SubsampledImageFormatPropertiesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_EXT_fragment_density_map"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public StructureType SType = StructureType.SubsampledImageFormatPropertiesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_EXT_fragment_density_map"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public void* PNext; + + [NativeName("subsampledImageDescriptorCount")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_EXT_fragment_density_map"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public uint SubsampledImageDescriptorCount; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap", "VK_EXT_fragment_density_map"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public SubsampledImageFormatPropertiesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/SurfacePresentModeCompatibilityKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SurfacePresentModeCompatibilityKHR.gen.cs index 14b3029c16..38f7313a4b 100644 --- a/sources/Vulkan/Vulkan/Vulkan/SurfacePresentModeCompatibilityKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/SurfacePresentModeCompatibilityKHR.gen.cs @@ -14,10 +14,7 @@ public unsafe partial struct SurfacePresentModeCompatibilityKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public StructureType SType = StructureType.SurfacePresentModeCompatibilityKHR; @@ -25,10 +22,7 @@ public unsafe partial struct SurfacePresentModeCompatibilityKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public void* PNext; @@ -36,10 +30,7 @@ public unsafe partial struct SurfacePresentModeCompatibilityKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public uint PresentModeCount; @@ -47,20 +38,14 @@ public unsafe partial struct SurfacePresentModeCompatibilityKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public PresentModeKHR* PPresentModes; [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public SurfacePresentModeCompatibilityKHR() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/SurfacePresentModeKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SurfacePresentModeKHR.gen.cs index ef9a822302..c2006b9984 100644 --- a/sources/Vulkan/Vulkan/Vulkan/SurfacePresentModeKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/SurfacePresentModeKHR.gen.cs @@ -15,10 +15,7 @@ public unsafe partial struct SurfacePresentModeKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public StructureType SType = StructureType.SurfacePresentModeKHR; @@ -26,10 +23,7 @@ public unsafe partial struct SurfacePresentModeKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public void* PNext; @@ -37,20 +31,14 @@ public unsafe partial struct SurfacePresentModeKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public PresentModeKHR PresentMode; [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public SurfacePresentModeKHR() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/SurfacePresentScalingCapabilitiesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SurfacePresentScalingCapabilitiesKHR.gen.cs index e79b6aed39..fc89a16ddc 100644 --- a/sources/Vulkan/Vulkan/Vulkan/SurfacePresentScalingCapabilitiesKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/SurfacePresentScalingCapabilitiesKHR.gen.cs @@ -16,10 +16,7 @@ public unsafe partial struct SurfacePresentScalingCapabilitiesKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public StructureType SType = StructureType.SurfacePresentScalingCapabilitiesKHR; @@ -27,10 +24,7 @@ public unsafe partial struct SurfacePresentScalingCapabilitiesKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public void* PNext; @@ -38,10 +32,7 @@ public unsafe partial struct SurfacePresentScalingCapabilitiesKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public PresentScalingFlagsKHR SupportedPresentScaling; @@ -49,10 +40,7 @@ public unsafe partial struct SurfacePresentScalingCapabilitiesKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public PresentGravityFlagsKHR SupportedPresentGravityX; @@ -60,10 +48,7 @@ public unsafe partial struct SurfacePresentScalingCapabilitiesKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public PresentGravityFlagsKHR SupportedPresentGravityY; @@ -71,10 +56,7 @@ public unsafe partial struct SurfacePresentScalingCapabilitiesKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public Extent2D MinScaledImageExtent; @@ -82,20 +64,14 @@ public unsafe partial struct SurfacePresentScalingCapabilitiesKHR [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public Extent2D MaxScaledImageExtent; [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public SurfacePresentScalingCapabilitiesKHR() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/SurfaceTransformFlagsKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SurfaceTransformFlagsKHR.gen.cs index 021beb0711..1621f03782 100644 --- a/sources/Vulkan/Vulkan/Vulkan/SurfaceTransformFlagsKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/SurfaceTransformFlagsKHR.gen.cs @@ -16,38 +16,38 @@ public enum SurfaceTransformFlagsKHR : uint None = 0x0, [NativeName("VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_display"], ImpliesSets = ["VK_KHR_surface"])] + [SupportedApiProfile("vulkan", ["VK_KHR_surface"])] IdentityBit = 0x1, [NativeName("VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_display"], ImpliesSets = ["VK_KHR_surface"])] + [SupportedApiProfile("vulkan", ["VK_KHR_surface"])] Rotate90Bit = 0x2, [NativeName("VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_display"], ImpliesSets = ["VK_KHR_surface"])] + [SupportedApiProfile("vulkan", ["VK_KHR_surface"])] Rotate180Bit = 0x4, [NativeName("VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_display"], ImpliesSets = ["VK_KHR_surface"])] + [SupportedApiProfile("vulkan", ["VK_KHR_surface"])] Rotate270Bit = 0x8, [NativeName("VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_display"], ImpliesSets = ["VK_KHR_surface"])] + [SupportedApiProfile("vulkan", ["VK_KHR_surface"])] HorizontalMirrorBit = 0x10, [NativeName("VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_display"], ImpliesSets = ["VK_KHR_surface"])] + [SupportedApiProfile("vulkan", ["VK_KHR_surface"])] HorizontalMirrorRotate90Bit = 0x20, [NativeName("VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_display"], ImpliesSets = ["VK_KHR_surface"])] + [SupportedApiProfile("vulkan", ["VK_KHR_surface"])] HorizontalMirrorRotate180Bit = 0x40, [NativeName("VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_display"], ImpliesSets = ["VK_KHR_surface"])] + [SupportedApiProfile("vulkan", ["VK_KHR_surface"])] HorizontalMirrorRotate270Bit = 0x80, [NativeName("VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_display"], ImpliesSets = ["VK_KHR_surface"])] + [SupportedApiProfile("vulkan", ["VK_KHR_surface"])] InheritBit = 0x100, } diff --git a/sources/Vulkan/Vulkan/Vulkan/SwapchainCalibratedTimestampInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SwapchainCalibratedTimestampInfoEXT.gen.cs new file mode 100644 index 0000000000..fbf3c724ed --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/SwapchainCalibratedTimestampInfoEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkSwapchainCalibratedTimestampInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct SwapchainCalibratedTimestampInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public StructureType SType = StructureType.SwapchainCalibratedTimestampInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public void* PNext; + + [NativeName("swapchain")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public SwapchainHandleKHR Swapchain; + + [NativeName("presentStage")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public PresentStageFlagsEXT PresentStage; + + [NativeName("timeDomainId")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public ulong TimeDomainId; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public SwapchainCalibratedTimestampInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/SwapchainCreateFlagsKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SwapchainCreateFlagsKHR.gen.cs index 3978f3afe4..fe7dff5140 100644 --- a/sources/Vulkan/Vulkan/Vulkan/SwapchainCreateFlagsKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/SwapchainCreateFlagsKHR.gen.cs @@ -45,6 +45,19 @@ public enum SwapchainCreateFlagsKHR : uint )] MutableFormatBit = 0x4, + [NativeName("VK_SWAPCHAIN_CREATE_PRESENT_TIMING_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + PresentTimingBitEXT = 0x200, + [NativeName("VK_SWAPCHAIN_CREATE_PRESENT_ID_2_BIT_KHR")] [SupportedApiProfile( "vulkan", @@ -71,13 +84,20 @@ public enum SwapchainCreateFlagsKHR : uint "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] DeferredMemoryAllocationBit = 0x8, + [NativeName("VK_SWAPCHAIN_CREATE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_BIT_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + MultisampledRenderToSingleSampledBitEXT = 0x100, + [NativeName("VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_EXT")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/SwapchainFlagsSurfaceCapabilitiesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SwapchainFlagsSurfaceCapabilitiesEXT.gen.cs new file mode 100644 index 0000000000..f7a1da6c65 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/SwapchainFlagsSurfaceCapabilitiesEXT.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkSwapchainFlagsSurfaceCapabilitiesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct SwapchainFlagsSurfaceCapabilitiesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + public StructureType SType = StructureType.SwapchainFlagsSurfaceCapabilitiesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + public void* PNext; + + [NativeName("swapchainSupportedFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + public SwapchainCreateFlagsKHR SwapchainSupportedFlags; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + public SwapchainFlagsSurfaceCapabilitiesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentFenceInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentFenceInfoKHR.gen.cs index 5d430b22a3..ace260b546 100644 --- a/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentFenceInfoKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentFenceInfoKHR.gen.cs @@ -16,9 +16,8 @@ public unsafe partial struct SwapchainPresentFenceInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public StructureType SType = StructureType.SwapchainPresentFenceInfoKHR; @@ -28,9 +27,8 @@ public unsafe partial struct SwapchainPresentFenceInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public void* PNext; @@ -40,9 +38,8 @@ public unsafe partial struct SwapchainPresentFenceInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public uint SwapchainCount; @@ -52,9 +49,8 @@ public unsafe partial struct SwapchainPresentFenceInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public FenceHandle* PFences; @@ -63,9 +59,8 @@ public unsafe partial struct SwapchainPresentFenceInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public SwapchainPresentFenceInfoKHR() { } diff --git a/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentModeInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentModeInfoKHR.gen.cs index 13b097b1f6..d080c32d73 100644 --- a/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentModeInfoKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentModeInfoKHR.gen.cs @@ -17,9 +17,8 @@ public unsafe partial struct SwapchainPresentModeInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public StructureType SType = StructureType.SwapchainPresentModeInfoKHR; @@ -29,9 +28,8 @@ public unsafe partial struct SwapchainPresentModeInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public void* PNext; @@ -41,9 +39,8 @@ public unsafe partial struct SwapchainPresentModeInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public uint SwapchainCount; @@ -53,9 +50,8 @@ public unsafe partial struct SwapchainPresentModeInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public PresentModeKHR* PPresentModes; @@ -64,9 +60,8 @@ public unsafe partial struct SwapchainPresentModeInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public SwapchainPresentModeInfoKHR() { } diff --git a/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentModesCreateInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentModesCreateInfoKHR.gen.cs index 66ae8d715f..41a30ba596 100644 --- a/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentModesCreateInfoKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentModesCreateInfoKHR.gen.cs @@ -17,9 +17,8 @@ public unsafe partial struct SwapchainPresentModesCreateInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public StructureType SType = StructureType.SwapchainPresentModesCreateInfoKHR; @@ -29,9 +28,8 @@ public unsafe partial struct SwapchainPresentModesCreateInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public void* PNext; @@ -41,9 +39,8 @@ public unsafe partial struct SwapchainPresentModesCreateInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public uint PresentModeCount; @@ -53,9 +50,8 @@ public unsafe partial struct SwapchainPresentModesCreateInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public PresentModeKHR* PPresentModes; @@ -64,9 +60,8 @@ public unsafe partial struct SwapchainPresentModesCreateInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public SwapchainPresentModesCreateInfoKHR() { } diff --git a/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentScalingCreateInfoKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentScalingCreateInfoKHR.gen.cs index e897d351ad..4459b62b5d 100644 --- a/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentScalingCreateInfoKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/SwapchainPresentScalingCreateInfoKHR.gen.cs @@ -17,9 +17,8 @@ public unsafe partial struct SwapchainPresentScalingCreateInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public StructureType SType = StructureType.SwapchainPresentScalingCreateInfoKHR; @@ -29,9 +28,8 @@ public unsafe partial struct SwapchainPresentScalingCreateInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public void* PNext; @@ -41,9 +39,8 @@ public unsafe partial struct SwapchainPresentScalingCreateInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public PresentScalingFlagsKHR ScalingBehavior; @@ -53,9 +50,8 @@ public unsafe partial struct SwapchainPresentScalingCreateInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public PresentGravityFlagsKHR PresentGravityX; @@ -65,9 +61,8 @@ public unsafe partial struct SwapchainPresentScalingCreateInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public PresentGravityFlagsKHR PresentGravityY; @@ -76,9 +71,8 @@ public unsafe partial struct SwapchainPresentScalingCreateInfoKHR "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public SwapchainPresentScalingCreateInfoKHR() { } diff --git a/sources/Vulkan/Vulkan/Vulkan/SwapchainTimeDomainPropertiesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SwapchainTimeDomainPropertiesEXT.gen.cs new file mode 100644 index 0000000000..ba706728f5 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/SwapchainTimeDomainPropertiesEXT.gen.cs @@ -0,0 +1,89 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkSwapchainTimeDomainPropertiesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct SwapchainTimeDomainPropertiesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public StructureType SType = StructureType.SwapchainTimeDomainPropertiesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public void* PNext; + + [NativeName("timeDomainCount")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public uint TimeDomainCount; + + [NativeName("pTimeDomains")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public TimeDomainKHR* PTimeDomains; + + [NativeName("pTimeDomainIds")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public ulong* PTimeDomainIds; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public SwapchainTimeDomainPropertiesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/SwapchainTimingPropertiesEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/SwapchainTimingPropertiesEXT.gen.cs new file mode 100644 index 0000000000..30087d3a29 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/SwapchainTimingPropertiesEXT.gen.cs @@ -0,0 +1,76 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkSwapchainTimingPropertiesEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct SwapchainTimingPropertiesEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public StructureType SType = StructureType.SwapchainTimingPropertiesEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public void* PNext; + + [NativeName("refreshDuration")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public ulong RefreshDuration; + + [NativeName("refreshInterval")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public ulong RefreshInterval; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public SwapchainTimingPropertiesEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/TensorViewCreateInfoARM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/TensorViewCreateInfoARM.gen.cs index 297e76f4f1..2588f20605 100644 --- a/sources/Vulkan/Vulkan/Vulkan/TensorViewCreateInfoARM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/TensorViewCreateInfoARM.gen.cs @@ -13,25 +13,85 @@ namespace Silk.NET.Vulkan; public unsafe partial struct TensorViewCreateInfoARM { [NativeName("sType")] - [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] public StructureType SType = StructureType.TensorViewCreateInfoARM; [NativeName("pNext")] - [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] public void* PNext; [NativeName("flags")] - [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] public TensorViewCreateFlagsARM Flags; [NativeName("tensor")] - [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] public TensorHandleARM Tensor; [NativeName("format")] - [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] public Format Format; - [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] public TensorViewCreateInfoARM() { } } diff --git a/sources/Vulkan/Vulkan/Vulkan/TexelBufferDescriptorInfoEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/TexelBufferDescriptorInfoEXT.gen.cs new file mode 100644 index 0000000000..7316a1b587 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/TexelBufferDescriptorInfoEXT.gen.cs @@ -0,0 +1,82 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkTexelBufferDescriptorInfoEXT")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct TexelBufferDescriptorInfoEXT +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public StructureType SType = StructureType.TexelBufferDescriptorInfoEXT; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public void* PNext; + + [NativeName("format")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public Format Format; + + [NativeName("addressRange")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public DeviceAddressRangeKHR AddressRange; + + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public TexelBufferDescriptorInfoEXT() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ThrottleHintSubmitInfoSEC.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ThrottleHintSubmitInfoSEC.gen.cs new file mode 100644 index 0000000000..bec86cef7f --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ThrottleHintSubmitInfoSEC.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkThrottleHintSubmitInfoSEC")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct ThrottleHintSubmitInfoSEC +{ + [NativeName("sType")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + public StructureType SType = StructureType.ThrottleHintSubmitInfoSEC; + + [NativeName("pNext")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + public void* PNext; + + [NativeName("throttleHint")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + public ThrottleHintTypeSEC ThrottleHint; + + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + public ThrottleHintSubmitInfoSEC() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/ThrottleHintTypeSEC.gen.cs b/sources/Vulkan/Vulkan/Vulkan/ThrottleHintTypeSEC.gen.cs new file mode 100644 index 0000000000..f4b355d445 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/ThrottleHintTypeSEC.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkThrottleHintTypeSEC")] +[SupportedApiProfile("vulkan")] +public enum ThrottleHintTypeSEC : uint +{ + [NativeName("VK_THROTTLE_HINT_TYPE_DEFAULT_SEC")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + Default = 0, + + [NativeName("VK_THROTTLE_HINT_TYPE_LOW_SEC")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + Low = 1, + + [NativeName("VK_THROTTLE_HINT_TYPE_HIGH_SEC")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + High = 2, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/TileShadingRenderPassFlagsQCOM.gen.cs b/sources/Vulkan/Vulkan/Vulkan/TileShadingRenderPassFlagsQCOM.gen.cs index 587b189b2e..5c0071d031 100644 --- a/sources/Vulkan/Vulkan/Vulkan/TileShadingRenderPassFlagsQCOM.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/TileShadingRenderPassFlagsQCOM.gen.cs @@ -19,10 +19,7 @@ public enum TileShadingRenderPassFlagsQCOM : uint [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] EnableBit = 0x1, @@ -30,10 +27,7 @@ public enum TileShadingRenderPassFlagsQCOM : uint [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] PerTileExecutionBit = 0x2, } diff --git a/sources/Vulkan/Vulkan/Vulkan/TimeDomainKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/TimeDomainKHR.gen.cs index 5c971cc15e..9cd3120f06 100644 --- a/sources/Vulkan/Vulkan/Vulkan/TimeDomainKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/TimeDomainKHR.gen.cs @@ -56,6 +56,32 @@ public enum TimeDomainKHR : uint )] QueryPerformanceCounter = 3, + [NativeName("VK_TIME_DOMAIN_PRESENT_STAGE_LOCAL_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + PresentStageLocalEXT = 1000208000, + + [NativeName("VK_TIME_DOMAIN_SWAPCHAIN_LOCAL_EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + SwapchainLocalEXT = 1000208001, + [NativeName("VK_TIME_DOMAIN_DEVICE_EXT")] [SupportedApiProfile( "vulkan", diff --git a/sources/Vulkan/Vulkan/Vulkan/VendorId.gen.cs b/sources/Vulkan/Vulkan/Vulkan/VendorId.gen.cs index 869c25a21c..8db1826abd 100644 --- a/sources/Vulkan/Vulkan/Vulkan/VendorId.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/VendorId.gen.cs @@ -243,4 +243,33 @@ public enum VendorId : uint MinVersion = "1.0" )] Mobileye = 65543, + + [NativeName("VK_VENDOR_ID_APE")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_0", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_0", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.0" + )] + Ape = 65544, } diff --git a/sources/Vulkan/Vulkan/Vulkan/VideoEncodeFeedback2CapabilitiesKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/VideoEncodeFeedback2CapabilitiesKHR.gen.cs new file mode 100644 index 0000000000..7e60790642 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/VideoEncodeFeedback2CapabilitiesKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkVideoEncodeFeedback2CapabilitiesKHR")] +[SupportedApiProfile("vulkan")] +public unsafe partial struct VideoEncodeFeedback2CapabilitiesKHR +{ + [NativeName("sType")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public StructureType SType = StructureType.VideoEncodeFeedback2CapabilitiesKHR; + + [NativeName("pNext")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public void* PNext; + + [NativeName("maxPerPartitionFeedbackEntries")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public uint MaxPerPartitionFeedbackEntries; + + [NativeName("supportedPerPartitionEncodeFeedbackFlags")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public VideoEncodePerPartitionFeedbackFlagsKHR SupportedPerPartitionEncodeFeedbackFlags; + + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public VideoEncodeFeedback2CapabilitiesKHR() { } +} diff --git a/sources/Vulkan/Vulkan/Vulkan/VideoEncodeFeedbackFlagsKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/VideoEncodeFeedbackFlagsKHR.gen.cs index aa92fb3ec1..28cf22623c 100644 --- a/sources/Vulkan/Vulkan/Vulkan/VideoEncodeFeedbackFlagsKHR.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/VideoEncodeFeedbackFlagsKHR.gen.cs @@ -47,4 +47,60 @@ public enum VideoEncodeFeedbackFlagsKHR : uint ] )] BitstreamHasOverridesBit = 0x4, + + [NativeName("VK_VIDEO_ENCODE_FEEDBACK_AVERAGE_QUANTIZATION_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + AverageQuantizationBit = 0x8, + + [NativeName("VK_VIDEO_ENCODE_FEEDBACK_MIN_QUANTIZATION_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + MinQuantizationBit = 0x10, + + [NativeName("VK_VIDEO_ENCODE_FEEDBACK_MAX_QUANTIZATION_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + MaxQuantizationBit = 0x20, + + [NativeName("VK_VIDEO_ENCODE_FEEDBACK_INTRA_PIXELS_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + IntraPixelsBit = 0x40, + + [NativeName("VK_VIDEO_ENCODE_FEEDBACK_INTER_PIXELS_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + InterPixelsBit = 0x80, + + [NativeName("VK_VIDEO_ENCODE_FEEDBACK_SKIPPED_PIXELS_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + SkippedPixelsBit = 0x100, + + [NativeName("VK_VIDEO_ENCODE_FEEDBACK_PICTURE_PARTITION_COUNT_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + PicturePartitionCountBit = 0x200, } diff --git a/sources/Vulkan/Vulkan/Vulkan/VideoEncodePerPartitionFeedbackFlagsKHR.gen.cs b/sources/Vulkan/Vulkan/Vulkan/VideoEncodePerPartitionFeedbackFlagsKHR.gen.cs new file mode 100644 index 0000000000..4a47f158f7 --- /dev/null +++ b/sources/Vulkan/Vulkan/Vulkan/VideoEncodePerPartitionFeedbackFlagsKHR.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. +// Ported from the Vulkan headers and corresponding dependencies. +// Original source is Copyright 2015-2025 The Khronos Group Inc. Licensed under the MIT license. +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Silk.NET.Vulkan; + +[NativeName("VkVideoEncodePerPartitionFeedbackFlagBitsKHR")] +[Flags] +[SupportedApiProfile("vulkan")] +public enum VideoEncodePerPartitionFeedbackFlagsKHR : uint +{ + None = 0x0, + + [NativeName("VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_STATUS_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + PerPartitionFeedbackStatusBit = 0x1, + + [NativeName("VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + PerPartitionFeedbackBitstreamBufferOffsetBit = 0x2, + + [NativeName("VK_VIDEO_ENCODE_PER_PARTITION_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + PerPartitionFeedbackBitstreamBytesWrittenBit = 0x4, +} diff --git a/sources/Vulkan/Vulkan/Vulkan/Vk.gen.cs b/sources/Vulkan/Vulkan/Vulkan/Vk.gen.cs index 92005b824a..d5fdbb7b9e 100644 --- a/sources/Vulkan/Vulkan/Vulkan/Vk.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/Vk.gen.cs @@ -717,9 +717,8 @@ Ref pBindInfos "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] public static extern Result BindDataGraphPipelineSessionMemoryARM( @@ -733,9 +732,8 @@ public static extern Result BindDataGraphPipelineSessionMemoryARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] @@ -1082,6 +1080,77 @@ Ref pInfos } } + [NativeName("vkClearShaderInstrumentationMetricsARM")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkClearShaderInstrumentationMetricsARM" + )] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public static extern void ClearShaderInstrumentationMetricsARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation + ); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkCmdBeginConditionalRendering2EXT" + )] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public static extern void CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + ConditionalRenderingBeginInfo2EXT* pConditionalRenderingBegin + ); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + Ref pConditionalRenderingBegin + ) + { + fixed ( + ConditionalRenderingBeginInfo2EXT* __dsl_pConditionalRenderingBegin = + pConditionalRenderingBegin + ) + { + CmdBeginConditionalRendering2EXT(commandBuffer, __dsl_pConditionalRenderingBegin); + } + } + [NativeName("vkCmdBeginConditionalRenderingEXT")] [DllImport( "vulkan", @@ -1128,6 +1197,53 @@ Ref pConditionalRenderingBegin } } + [NativeName("vkCmdBeginCustomResolveEXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", + "VK_EXT_custom_resolve+VK_VERSION_1_3", + ], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public static extern void CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + BeginCustomResolveInfoEXT* pBeginCustomResolveInfo + ); + + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", + "VK_EXT_custom_resolve+VK_VERSION_1_3", + ], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + Ref pBeginCustomResolveInfo + ) + { + fixed ( + BeginCustomResolveInfoEXT* __dsl_pBeginCustomResolveInfo = pBeginCustomResolveInfo + ) + { + CmdBeginCustomResolveEXT(commandBuffer, __dsl_pBeginCustomResolveInfo); + } + } + [NativeName("vkCmdBeginDebugUtilsLabelEXT")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBeginDebugUtilsLabelEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] @@ -1153,15 +1269,76 @@ Ref pLabelInfo } } + [NativeName("vkCmdBeginGpaSampleAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBeginGpaSampleAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static extern Result CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + GpaSampleBeginInfoAMD* pGpaSampleBeginInfo, + uint* pSampleID + ); + + [NativeName("vkCmdBeginGpaSampleAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + Ref pGpaSampleBeginInfo, + Ref pSampleID + ) + { + fixed (uint* __dsl_pSampleID = pSampleID) + fixed (GpaSampleBeginInfoAMD* __dsl_pGpaSampleBeginInfo = pGpaSampleBeginInfo) + { + return (Result)CmdBeginGpaSampleAMD( + commandBuffer, + gpaSession, + __dsl_pGpaSampleBeginInfo, + __dsl_pSampleID + ); + } + } + + [NativeName("vkCmdBeginGpaSessionAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBeginGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static extern Result CmdBeginGpaSessionAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ); + [NativeName("vkCmdBeginPerTileExecutionQCOM")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public static extern void CmdBeginPerTileExecutionQCOM( CommandBufferHandle commandBuffer, @@ -1172,10 +1349,7 @@ public static extern void CmdBeginPerTileExecutionQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] [MethodImpl( @@ -1476,6 +1650,104 @@ Ref pSubpassBeginInfo } } + [NativeName("vkCmdBeginShaderInstrumentationARM")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkCmdBeginShaderInstrumentationARM" + )] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public static extern void CmdBeginShaderInstrumentationARM( + CommandBufferHandle commandBuffer, + ShaderInstrumentationHandleARM instrumentation + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public static extern void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ) + { + fixed (BindTransformFeedbackBuffer2InfoEXT* __dsl_pCounterInfos = pCounterInfos) + { + CmdBeginTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + __dsl_pCounterInfos + ); + } + } + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + public static void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ) => + CmdBeginTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + 1, + (BindTransformFeedbackBuffer2InfoEXT*)&pCounterInfos + ); + [NativeName("vkCmdBeginTransformFeedbackEXT")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBeginTransformFeedbackEXT")] [SupportedApiProfile( @@ -1896,6 +2168,49 @@ public static extern void CmdBindIndexBuffer2KHR( IndexType indexType ); + [NativeName("vkCmdBindIndexBuffer3KHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + BindIndexBuffer3InfoKHR* pInfo + ); + + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (BindIndexBuffer3InfoKHR* __dsl_pInfo = pInfo) + { + CmdBindIndexBuffer3KHR(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdBindInvocationMaskHUAWEI")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBindInvocationMaskHUAWEI")] [SupportedApiProfile( @@ -1955,6 +2270,96 @@ public static extern void CmdBindPipelineShaderGroupNV( uint groupIndex ); + [NativeName("vkCmdBindResourceHeapEXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public static extern void CmdBindResourceHeapEXT( + CommandBufferHandle commandBuffer, + BindHeapInfoEXT* pBindInfo + ); + + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindResourceHeapEXT( + CommandBufferHandle commandBuffer, + Ref pBindInfo + ) + { + fixed (BindHeapInfoEXT* __dsl_pBindInfo = pBindInfo) + { + CmdBindResourceHeapEXT(commandBuffer, __dsl_pBindInfo); + } + } + + [NativeName("vkCmdBindSamplerHeapEXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public static extern void CmdBindSamplerHeapEXT( + CommandBufferHandle commandBuffer, + BindHeapInfoEXT* pBindInfo + ); + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindSamplerHeapEXT( + CommandBufferHandle commandBuffer, + Ref pBindInfo + ) + { + fixed (BindHeapInfoEXT* __dsl_pBindInfo = pBindInfo) + { + CmdBindSamplerHeapEXT(commandBuffer, __dsl_pBindInfo); + } + } + [NativeName("vkCmdBindShadersEXT")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBindShadersEXT")] [SupportedApiProfile( @@ -2056,6 +2461,89 @@ Ref pTileMemoryBindInfo } } + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT" + )] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public static extern void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindTransformFeedbackBuffer2InfoEXT* pBindingInfos + ); + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ) + { + fixed (BindTransformFeedbackBuffer2InfoEXT* __dsl_pBindingInfos = pBindingInfos) + { + CmdBindTransformFeedbackBuffers2EXT( + commandBuffer, + firstBinding, + bindingCount, + __dsl_pBindingInfos + ); + } + } + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + public static void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindTransformFeedbackBuffer2InfoEXT pBindingInfos + ) => + CmdBindTransformFeedbackBuffers2EXT( + commandBuffer, + firstBinding, + 1, + (BindTransformFeedbackBuffer2InfoEXT*)&pBindingInfos + ); + [NativeName("vkCmdBindTransformFeedbackBuffersEXT")] [DllImport( "vulkan", @@ -2308,6 +2796,82 @@ Ref pStrides } } + [NativeName("vkCmdBindVertexBuffers3KHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindVertexBuffer3InfoKHR* pBindingInfos + ); + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ) + { + fixed (BindVertexBuffer3InfoKHR* __dsl_pBindingInfos = pBindingInfos) + { + CmdBindVertexBuffers3KHR( + commandBuffer, + firstBinding, + bindingCount, + __dsl_pBindingInfos + ); + } + } + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + public static void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindVertexBuffer3InfoKHR pBindingInfos + ) => + CmdBindVertexBuffers3KHR( + commandBuffer, + firstBinding, + 1, + (BindVertexBuffer3InfoKHR*)&pBindingInfos + ); + [NativeName("vkCmdBlitImage")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdBlitImage")] [SupportedApiProfile( @@ -3757,6 +4321,21 @@ Ref pCopyBufferToImageInfo } } + [NativeName("vkCmdCopyGpaSessionResultsAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdCopyGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static extern void CmdCopyGpaSessionResultsAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ); + [NativeName("vkCmdCopyImage")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdCopyImage")] [SupportedApiProfile( @@ -4210,6 +4789,49 @@ Ref pCopyImageToBufferInfo } } + [NativeName("vkCmdCopyImageToMemoryKHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ); + + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) + { + fixed (CopyDeviceMemoryImageInfoKHR* __dsl_pCopyMemoryInfo = pCopyMemoryInfo) + { + CmdCopyImageToMemoryKHR(commandBuffer, __dsl_pCopyMemoryInfo); + } + } + [NativeName("vkCmdCopyMemoryIndirectKHR")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdCopyMemoryIndirectKHR")] [SupportedApiProfile( @@ -4269,6 +4891,49 @@ public static extern void CmdCopyMemoryIndirectNV( uint stride ); + [NativeName("vkCmdCopyMemoryKHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryInfoKHR* pCopyMemoryInfo + ); + + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) + { + fixed (CopyDeviceMemoryInfoKHR* __dsl_pCopyMemoryInfo = pCopyMemoryInfo) + { + CmdCopyMemoryKHR(commandBuffer, __dsl_pCopyMemoryInfo); + } + } + [NativeName("vkCmdCopyMemoryToAccelerationStructureKHR")] [DllImport( "vulkan", @@ -4449,6 +5114,49 @@ ImageSubresourceLayers pImageSubresources (ImageSubresourceLayers*)&pImageSubresources ); + [NativeName("vkCmdCopyMemoryToImageKHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ); + + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) + { + fixed (CopyDeviceMemoryImageInfoKHR* __dsl_pCopyMemoryInfo = pCopyMemoryInfo) + { + CmdCopyMemoryToImageKHR(commandBuffer, __dsl_pCopyMemoryInfo); + } + } + [NativeName("vkCmdCopyMemoryToMicromapEXT")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdCopyMemoryToMicromapEXT")] [SupportedApiProfile( @@ -4605,6 +5313,71 @@ public static extern void CmdCopyQueryPoolResults( QueryResultFlags flags ); + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR" + )] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + StridedDeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ); + + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ) + { + fixed (StridedDeviceAddressRangeKHR* __dsl_pDstRange = pDstRange) + { + CmdCopyQueryPoolResultsToMemoryKHR( + commandBuffer, + queryPool, + firstQuery, + queryCount, + __dsl_pDstRange, + dstFlags, + queryResultFlags + ); + } + } + [NativeName("vkCmdCopyTensorARM")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdCopyTensorARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] @@ -4999,9 +5772,8 @@ uint groupCountZ "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] public static extern void CmdDispatchDataGraphARM( @@ -5015,9 +5787,8 @@ public static extern void CmdDispatchDataGraphARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] @@ -5065,15 +5836,55 @@ public static extern void CmdDispatchIndirect( ulong offset ); + [NativeName("vkCmdDispatchIndirect2KHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdDispatchIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdDispatchIndirect2KHR( + CommandBufferHandle commandBuffer, + DispatchIndirect2InfoKHR* pInfo + ); + + [NativeName("vkCmdDispatchIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDispatchIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DispatchIndirect2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDispatchIndirect2KHR(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdDispatchTileQCOM")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdDispatchTileQCOM")] [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public static extern void CmdDispatchTileQCOM( CommandBufferHandle commandBuffer, @@ -5084,10 +5895,7 @@ public static extern void CmdDispatchTileQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] [MethodImpl( @@ -5216,6 +6024,49 @@ public static extern void CmdDrawIndexedIndirect( uint stride ); + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirect2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDrawIndexedIndirect2KHR(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdDrawIndexedIndirectCount")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdDrawIndexedIndirectCount")] [SupportedApiProfile( @@ -5240,6 +6091,59 @@ public static extern void CmdDrawIndexedIndirectCount( uint stride ); + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR" + )] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirectCount2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDrawIndexedIndirectCount2KHR(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdDrawIndexedIndirectCountAMD")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdDrawIndexedIndirectCountAMD")] [SupportedApiProfile("vulkan", ["VK_AMD_draw_indirect_count"])] @@ -5292,6 +6196,109 @@ public static extern void CmdDrawIndirect( uint stride ); + [NativeName("vkCmdDrawIndirect2KHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdDrawIndirect2KHR( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirect2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDrawIndirect2KHR(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public static extern void CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfo, + uint counterOffset, + uint vertexStride + ); + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + Ref pCounterInfo, + uint counterOffset, + uint vertexStride + ) + { + fixed (BindTransformFeedbackBuffer2InfoEXT* __dsl_pCounterInfo = pCounterInfo) + { + CmdDrawIndirectByteCount2EXT( + commandBuffer, + instanceCount, + firstInstance, + __dsl_pCounterInfo, + counterOffset, + vertexStride + ); + } + } + [NativeName("vkCmdDrawIndirectByteCountEXT")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdDrawIndirectByteCountEXT")] [SupportedApiProfile( @@ -5336,6 +6343,55 @@ public static extern void CmdDrawIndirectCount( uint stride ); + [NativeName("vkCmdDrawIndirectCount2KHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirectCount2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDrawIndirectCount2KHR(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdDrawIndirectCountAMD")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdDrawIndirectCountAMD")] [SupportedApiProfile("vulkan", ["VK_AMD_draw_indirect_count"])] @@ -5379,6 +6435,104 @@ public static extern void CmdDrawMeshTasksEXT( uint groupCountZ ); + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public static extern void CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirect2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDrawMeshTasksIndirect2EXT(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT" + )] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ); + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirectCount2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDrawMeshTasksIndirectCount2EXT(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdDrawMeshTasksIndirectCountEXT")] [DllImport( "vulkan", @@ -5717,15 +6871,43 @@ Ref pEncodeInfo [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] public static extern void CmdEndDebugUtilsLabelEXT(CommandBufferHandle commandBuffer); + [NativeName("vkCmdEndGpaSampleAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdEndGpaSampleAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static extern void CmdEndGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + uint sampleID + ); + + [NativeName("vkCmdEndGpaSessionAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdEndGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static extern Result CmdEndGpaSessionAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ); + [NativeName("vkCmdEndPerTileExecutionQCOM")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdEndPerTileExecutionQCOM")] [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public static extern void CmdEndPerTileExecutionQCOM( CommandBufferHandle commandBuffer, @@ -5736,10 +6918,7 @@ public static extern void CmdEndPerTileExecutionQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] [MethodImpl( @@ -6024,6 +7203,97 @@ Ref pSubpassEndInfo } } + [NativeName("vkCmdEndShaderInstrumentationARM")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdEndShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public static extern void CmdEndShaderInstrumentationARM(CommandBufferHandle commandBuffer); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public static extern void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ) + { + fixed (BindTransformFeedbackBuffer2InfoEXT* __dsl_pCounterInfos = pCounterInfos) + { + CmdEndTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + __dsl_pCounterInfos + ); + } + } + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + public static void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ) => + CmdEndTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + 1, + (BindTransformFeedbackBuffer2InfoEXT*)&pCounterInfos + ); + [NativeName("vkCmdEndTransformFeedbackEXT")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdEndTransformFeedbackEXT")] [SupportedApiProfile( @@ -6225,8 +7495,10 @@ Ref pCommandBuffers "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -6241,8 +7513,10 @@ public static extern void CmdExecuteGeneratedCommandsEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -6341,6 +7615,53 @@ public static extern void CmdFillBuffer( uint data ); + [NativeName("vkCmdFillMemoryKHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ); + + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ) + { + fixed (DeviceAddressRangeKHR* __dsl_pDstRange = pDstRange) + { + CmdFillMemoryKHR(commandBuffer, __dsl_pDstRange, dstFlags, data); + } + } + [NativeName("vkCmdInsertDebugUtilsLabelEXT")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdInsertDebugUtilsLabelEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] @@ -6722,8 +8043,10 @@ Ref pDependencyInfo "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -6738,8 +8061,10 @@ CommandBufferHandle stateCommandBuffer "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -6931,6 +8256,51 @@ Ref pPushConstantsInfo } } + [NativeName("vkCmdPushDataEXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public static extern void CmdPushDataEXT( + CommandBufferHandle commandBuffer, + PushDataInfoEXT* pPushDataInfo + ); + + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdPushDataEXT( + CommandBufferHandle commandBuffer, + Ref pPushDataInfo + ) + { + fixed (PushDataInfoEXT* __dsl_pPushDataInfo = pPushDataInfo) + { + CmdPushDataEXT(commandBuffer, __dsl_pPushDataInfo); + } + } + [NativeName("vkCmdPushDescriptorSet")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdPushDescriptorSet")] [SupportedApiProfile( @@ -8221,6 +9591,49 @@ ColorComponentFlags pColorWriteMasks (ColorComponentFlags*)&pColorWriteMasks ); + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkCmdSetComputeOccupancyPriorityNV" + )] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public static extern void CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + ComputeOccupancyPriorityParametersNV* pParameters + ); + + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + Ref pParameters + ) + { + fixed (ComputeOccupancyPriorityParametersNV* __dsl_pParameters = pParameters) + { + CmdSetComputeOccupancyPriorityNV(commandBuffer, __dsl_pParameters); + } + } + [NativeName("vkCmdSetConservativeRasterizationModeEXT")] [DllImport( "vulkan", @@ -9254,6 +10667,39 @@ public static extern void CmdSetDiscardRectangleModeEXT( DiscardRectangleModeEXT discardRectangleMode ); + [NativeName("vkCmdSetDispatchParametersARM")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + public static extern void CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + DispatchParametersARM* pDispatchParameters + ); + + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + Ref pDispatchParameters + ) + { + fixed (DispatchParametersARM* __dsl_pDispatchParameters = pDispatchParameters) + { + CmdSetDispatchParametersARM(commandBuffer, __dsl_pDispatchParameters); + } + } + [NativeName("vkCmdSetEvent")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdSetEvent")] [SupportedApiProfile( @@ -9652,12 +11098,15 @@ FrontFace frontFace [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdSetLineRasterizationModeEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] public static extern void CmdSetLineRasterizationModeEXT( CommandBufferHandle commandBuffer, @@ -9681,12 +11130,15 @@ ushort lineStipplePattern [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] public static extern void CmdSetLineStippleEnableEXT( CommandBufferHandle commandBuffer, @@ -9696,12 +11148,15 @@ uint stippledLineEnable [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] public static void CmdSetLineStippleEnableEXT( @@ -9986,6 +11441,21 @@ public static void CmdSetPrimitiveRestartEnableEXT( MaybeBool primitiveRestartEnable ) => CmdSetPrimitiveRestartEnableEXT(commandBuffer, (uint)primitiveRestartEnable); + [NativeName("vkCmdSetPrimitiveRestartIndexEXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdSetPrimitiveRestartIndexEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + public static extern void CmdSetPrimitiveRestartIndexEXT( + CommandBufferHandle commandBuffer, + uint primitiveRestartIndex + ); + [NativeName("vkCmdSetPrimitiveTopology")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdSetPrimitiveTopology")] [SupportedApiProfile( @@ -11671,6 +13141,56 @@ Ref pData } } + [NativeName("vkCmdUpdateMemoryKHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static extern void CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + void* pData + ); + + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + Ref pData + ) + { + fixed (void* __dsl_pData = pData) + fixed (DeviceAddressRangeKHR* __dsl_pDstRange = pDstRange) + { + CmdUpdateMemoryKHR(commandBuffer, __dsl_pDstRange, dstFlags, dataSize, __dsl_pData); + } + } + [NativeName("vkCmdUpdatePipelineIndirectBufferNV")] [DllImport( "vulkan", @@ -12081,6 +13601,51 @@ public static extern void CmdWriteBufferMarkerAMD( uint marker ); + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public static extern void CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + MemoryMarkerInfoAMD* pInfo + ); + + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (MemoryMarkerInfoAMD* __dsl_pInfo = pInfo) + { + CmdWriteMarkerToMemoryAMD(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdWriteMicromapsPropertiesEXT")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCmdWriteMicromapsPropertiesEXT")] [SupportedApiProfile( @@ -12809,6 +14374,69 @@ Ref pInfo } } + [NativeName("vkCreateAccelerationStructure2KHR")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkCreateAccelerationStructure2KHR" + )] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + public static extern Result CreateAccelerationStructure2KHR( + DeviceHandle device, + AccelerationStructureCreateInfo2KHR* pCreateInfo, + AllocationCallbacks* pAllocator, + AccelerationStructureHandleKHR* pAccelerationStructure + ); + + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateAccelerationStructure2KHR( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pAccelerationStructure + ) + { + fixed ( + AccelerationStructureHandleKHR* __dsl_pAccelerationStructure = + pAccelerationStructure + ) + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + fixed (AccelerationStructureCreateInfo2KHR* __dsl_pCreateInfo = pCreateInfo) + { + return (Result)CreateAccelerationStructure2KHR( + device, + __dsl_pCreateInfo, + __dsl_pAllocator, + __dsl_pAccelerationStructure + ); + } + } + [NativeName("vkCreateAccelerationStructureKHR")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCreateAccelerationStructureKHR")] [SupportedApiProfile( @@ -13322,9 +14950,8 @@ Ref pModule "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] public static extern Result CreateDataGraphPipelinesARM( @@ -13342,9 +14969,8 @@ public static extern Result CreateDataGraphPipelinesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] @@ -13387,9 +15013,8 @@ Ref pPipelines "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] public static extern Result CreateDataGraphPipelineSessionARM( @@ -13404,9 +15029,8 @@ public static extern Result CreateDataGraphPipelineSessionARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] @@ -14316,6 +15940,56 @@ Ref pFramebuffer } } + [NativeName("vkCreateGpaSessionAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static extern Result CreateGpaSessionAMD( + DeviceHandle device, + GpaSessionCreateInfoAMD* pCreateInfo, + AllocationCallbacks* pAllocator, + GpaSessionHandleAMD* pGpaSession + ); + + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateGpaSessionAMD( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pGpaSession + ) + { + fixed (GpaSessionHandleAMD* __dsl_pGpaSession = pGpaSession) + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + fixed (GpaSessionCreateInfoAMD* __dsl_pCreateInfo = pCreateInfo) + { + return (Result)CreateGpaSessionAMD( + device, + __dsl_pCreateInfo, + __dsl_pAllocator, + __dsl_pGpaSession + ); + } + } + [NativeName("vkCreateGraphicsPipelines")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCreateGraphicsPipelines")] [SupportedApiProfile( @@ -14614,8 +16288,10 @@ Ref pView "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -14631,8 +16307,10 @@ public static extern Result CreateIndirectCommandsLayoutEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -14716,8 +16394,10 @@ Ref pIndirectCommandsLayout "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -14733,8 +16413,10 @@ public static extern Result CreateIndirectExecutionSetEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -15034,6 +16716,7 @@ Ref pSession "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -15050,6 +16733,7 @@ public static extern Result CreatePipelineBinariesKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -15997,34 +17681,84 @@ Ref pSemaphore } } - [NativeName("vkCreateShaderModule")] - [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCreateShaderModule")] + [NativeName("vkCreateShaderInstrumentationARM")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCreateShaderInstrumentationARM")] [SupportedApiProfile( "vulkan", - [ - "VK_COMPUTE_VERSION_1_0", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_0", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_0", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.0" + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] )] - public static extern Result CreateShaderModule( + public static extern Result CreateShaderInstrumentationARM( DeviceHandle device, - ShaderModuleCreateInfo* pCreateInfo, + ShaderInstrumentationCreateInfoARM* pCreateInfo, AllocationCallbacks* pAllocator, - ShaderModuleHandle* pShaderModule + ShaderInstrumentationHandleARM* pInstrumentation + ); + + [NativeName("vkCreateShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateShaderInstrumentationARM( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pInstrumentation + ) + { + fixed (ShaderInstrumentationHandleARM* __dsl_pInstrumentation = pInstrumentation) + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + fixed (ShaderInstrumentationCreateInfoARM* __dsl_pCreateInfo = pCreateInfo) + { + return (Result)CreateShaderInstrumentationARM( + device, + __dsl_pCreateInfo, + __dsl_pAllocator, + __dsl_pInstrumentation + ); + } + } + + [NativeName("vkCreateShaderModule")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkCreateShaderModule")] + [SupportedApiProfile( + "vulkan", + [ + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_0", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_0", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.0" + )] + public static extern Result CreateShaderModule( + DeviceHandle device, + ShaderModuleCreateInfo* pCreateInfo, + AllocationCallbacks* pAllocator, + ShaderModuleHandle* pShaderModule ); [NativeName("vkCreateShaderModule")] @@ -16906,9 +18640,8 @@ Ref pAllocator "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] public static extern void DestroyDataGraphPipelineSessionARM( @@ -16922,9 +18655,8 @@ public static extern void DestroyDataGraphPipelineSessionARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] @@ -17558,6 +19290,47 @@ Ref pAllocator } } + [NativeName("vkDestroyGpaSessionAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static extern void DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + AllocationCallbacks* pAllocator + ); + + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + Ref pAllocator + ) + { + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + { + DestroyGpaSessionAMD(device, gpaSession, __dsl_pAllocator); + } + } + [NativeName("vkDestroyImage")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkDestroyImage")] [SupportedApiProfile( @@ -17722,8 +19495,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -17738,8 +19513,10 @@ public static extern void DestroyIndirectCommandsLayoutEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -17804,8 +19581,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -17820,8 +19599,10 @@ public static extern void DestroyIndirectExecutionSetEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -18073,6 +19854,7 @@ Ref pAllocator "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -18088,6 +19870,7 @@ public static extern void DestroyPipelineBinaryKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -18763,6 +20546,51 @@ Ref pAllocator } } + [NativeName("vkDestroyShaderInstrumentationARM")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkDestroyShaderInstrumentationARM" + )] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public static extern void DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + AllocationCallbacks* pAllocator + ); + + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pAllocator + ) + { + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + { + DestroyShaderInstrumentationARM(device, instrumentation, __dsl_pAllocator); + } + } + [NativeName("vkDestroyShaderModule")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkDestroyShaderModule")] [SupportedApiProfile( @@ -19859,6 +21687,59 @@ Ref pPhysicalDevices } } + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" + )] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public static extern Result EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + uint* pDescriptionCount, + ShaderInstrumentationMetricDescriptionARM* pDescriptions + ); + + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + Ref pDescriptionCount, + Ref pDescriptions + ) + { + fixed (ShaderInstrumentationMetricDescriptionARM* __dsl_pDescriptions = pDescriptions) + fixed (uint* __dsl_pDescriptionCount = pDescriptionCount) + { + return (Result)EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + physicalDevice, + __dsl_pDescriptionCount, + __dsl_pDescriptions + ); + } + } + [NativeName("vkFlushMappedMemoryRanges")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkFlushMappedMemoryRanges")] [SupportedApiProfile( @@ -21097,9 +22978,8 @@ Ref pSizeInfo "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] public static extern Result GetDataGraphPipelineAvailablePropertiesARM( @@ -21114,9 +22994,8 @@ public static extern Result GetDataGraphPipelineAvailablePropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] @@ -21153,9 +23032,8 @@ Ref pProperties "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] public static extern Result GetDataGraphPipelinePropertiesARM( @@ -21170,9 +23048,8 @@ public static extern Result GetDataGraphPipelinePropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] @@ -21208,9 +23085,8 @@ Ref pProperties "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] public static extern Result GetDataGraphPipelineSessionBindPointRequirementsARM( @@ -21225,9 +23101,8 @@ public static extern Result GetDataGraphPipelineSessionBindPointRequirementsARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -21270,9 +23145,8 @@ Ref pBindPointRequirements "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] public static extern void GetDataGraphPipelineSessionMemoryRequirementsARM( @@ -21286,9 +23160,8 @@ public static extern void GetDataGraphPipelineSessionMemoryRequirementsARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -21826,6 +23699,58 @@ Ref pMemoryRequirements } } + [NativeName("vkGetDeviceCombinedImageSamplerIndexNVX")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkGetDeviceCombinedImageSamplerIndexNVX" + )] + [SupportedApiProfile("vulkan", ["VK_NVX_image_view_handle"])] + public static extern ulong GetDeviceCombinedImageSamplerIndexNVX( + DeviceHandle device, + ulong imageViewIndex, + ulong samplerIndex + ); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public static extern Result GetDeviceFaultDebugInfoKHR( + DeviceHandle device, + DeviceFaultDebugInfoKHR* pDebugInfo + ); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetDeviceFaultDebugInfoKHR( + DeviceHandle device, + Ref pDebugInfo + ) + { + fixed (DeviceFaultDebugInfoKHR* __dsl_pDebugInfo = pDebugInfo) + { + return (Result)GetDeviceFaultDebugInfoKHR(device, __dsl_pDebugInfo); + } + } + [NativeName("vkGetDeviceFaultInfoEXT")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkGetDeviceFaultInfoEXT")] [SupportedApiProfile( @@ -21868,6 +23793,55 @@ Ref pFaultInfo } } + [NativeName("vkGetDeviceFaultReportsKHR")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public static extern Result GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + uint* pFaultCounts, + DeviceFaultInfoKHR* pFaultInfo + ); + + [NativeName("vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + Ref pFaultCounts, + Ref pFaultInfo + ) + { + fixed (DeviceFaultInfoKHR* __dsl_pFaultInfo = pFaultInfo) + fixed (uint* __dsl_pFaultCounts = pFaultCounts) + { + return (Result)GetDeviceFaultReportsKHR( + device, + timeout, + __dsl_pFaultCounts, + __dsl_pFaultInfo + ); + } + } + [NativeName("vkGetDeviceGroupPeerMemoryFeatures")] [DllImport( "vulkan", @@ -23443,8 +25417,10 @@ Ref pProperties "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -23459,8 +25435,10 @@ public static extern void GetGeneratedCommandsMemoryRequirementsEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -23529,6 +25507,112 @@ Ref pMemoryRequirements } } + [NativeName("vkGetGpaDeviceClockInfoAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkGetGpaDeviceClockInfoAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static extern Result GetGpaDeviceClockInfoAMD( + DeviceHandle device, + GpaDeviceGetClockInfoAMD* pInfo + ); + + [NativeName("vkGetGpaDeviceClockInfoAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetGpaDeviceClockInfoAMD( + DeviceHandle device, + Ref pInfo + ) + { + fixed (GpaDeviceGetClockInfoAMD* __dsl_pInfo = pInfo) + { + return (Result)GetGpaDeviceClockInfoAMD(device, __dsl_pInfo); + } + } + + [NativeName("vkGetGpaSessionResultsAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkGetGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static extern Result GetGpaSessionResultsAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + uint sampleID, + nuint* pSizeInBytes, + void* pData + ); + + [NativeName("vkGetGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetGpaSessionResultsAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + uint sampleID, + Ref pSizeInBytes, + Ref pData + ) + { + fixed (void* __dsl_pData = pData) + fixed (nuint* __dsl_pSizeInBytes = pSizeInBytes) + { + return (Result)GetGpaSessionResultsAMD( + device, + gpaSession, + sampleID, + __dsl_pSizeInBytes, + __dsl_pData + ); + } + } + + [NativeName("vkGetGpaSessionStatusAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkGetGpaSessionStatusAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static extern Result GetGpaSessionStatusAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession + ); + [NativeName("vkGetImageDrmFormatModifierPropertiesEXT")] [DllImport( "vulkan", @@ -23755,6 +25839,61 @@ Ref pMemoryRequirements } } + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public static extern Result GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + ImageHandle* pImages, + HostAddressRangeEXT* pDatas + ); + + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + Ref pImages, + Ref pDatas + ) + { + fixed (HostAddressRangeEXT* __dsl_pDatas = pDatas) + fixed (ImageHandle* __dsl_pImages = pImages) + { + return (Result)GetImageOpaqueCaptureDataEXT( + device, + imageCount, + __dsl_pImages, + __dsl_pDatas + ); + } + } + [NativeName("vkGetImageOpaqueCaptureDescriptorDataEXT")] [DllImport( "vulkan", @@ -24775,6 +26914,62 @@ Ref pSizeInfo } } + [NativeName("vkGetPastPresentationTimingEXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public static extern Result GetPastPresentationTimingEXT( + DeviceHandle device, + PastPresentationTimingInfoEXT* pPastPresentationTimingInfo, + PastPresentationTimingPropertiesEXT* pPastPresentationTimingProperties + ); + + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetPastPresentationTimingEXT( + DeviceHandle device, + Ref pPastPresentationTimingInfo, + Ref pPastPresentationTimingProperties + ) + { + fixed ( + PastPresentationTimingPropertiesEXT* __dsl_pPastPresentationTimingProperties = + pPastPresentationTimingProperties + ) + fixed ( + PastPresentationTimingInfoEXT* __dsl_pPastPresentationTimingInfo = + pPastPresentationTimingInfo + ) + { + return (Result)GetPastPresentationTimingEXT( + device, + __dsl_pPastPresentationTimingInfo, + __dsl_pPastPresentationTimingProperties + ); + } + } + [NativeName("vkGetPastPresentationTimingGOOGLE")] [DllImport( "vulkan", @@ -25146,6 +27341,28 @@ Ref pProperties } } + [NativeName("vkGetPhysicalDeviceDescriptorSizeEXT")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkGetPhysicalDeviceDescriptorSizeEXT" + )] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public static extern ulong GetPhysicalDeviceDescriptorSizeEXT( + PhysicalDeviceHandle physicalDevice, + DescriptorType descriptorType + ); + [NativeName("vkGetPhysicalDeviceDisplayPlaneProperties2KHR")] [DllImport( "vulkan", @@ -26945,6 +29162,126 @@ Ref pProperties } } + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public static extern Result GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + BaseOutStructure* pProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pProperties + ) + { + fixed (BaseOutStructure* __dsl_pProperties = pProperties) + fixed ( + QueueFamilyDataGraphPropertiesARM* __dsl_pQueueFamilyDataGraphProperties = + pQueueFamilyDataGraphProperties + ) + { + return (Result)GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + physicalDevice, + queueFamilyIndex, + __dsl_pQueueFamilyDataGraphProperties, + __dsl_pProperties + ); + } + } + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public static extern Result GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + DataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, + uint* pFormatCount, + DataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pOpticalFlowImageFormatInfo, + Ref pFormatCount, + Ref pImageFormatProperties + ) + { + fixed ( + DataGraphOpticalFlowImageFormatPropertiesARM* __dsl_pImageFormatProperties = + pImageFormatProperties + ) + fixed (uint* __dsl_pFormatCount = pFormatCount) + fixed ( + DataGraphOpticalFlowImageFormatInfoARM* __dsl_pOpticalFlowImageFormatInfo = + pOpticalFlowImageFormatInfo + ) + fixed ( + QueueFamilyDataGraphPropertiesARM* __dsl_pQueueFamilyDataGraphProperties = + pQueueFamilyDataGraphProperties + ) + { + return (Result)GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + physicalDevice, + queueFamilyIndex, + __dsl_pQueueFamilyDataGraphProperties, + __dsl_pOpticalFlowImageFormatInfo, + __dsl_pFormatCount, + __dsl_pImageFormatProperties + ); + } + } + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM")] [DllImport( "vulkan", @@ -26955,9 +29292,8 @@ Ref pProperties "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] public static extern void GetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM( @@ -26971,9 +29307,8 @@ public static extern void GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineP "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -27016,9 +29351,8 @@ Ref pQueueFamilyDataGraphProc "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] public static extern Result GetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( @@ -27033,9 +29367,8 @@ public static extern Result GetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -28145,6 +30478,7 @@ Ref pVideoFormatProperties "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -28162,6 +30496,7 @@ public static extern Result GetPipelineBinaryDataKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -28520,6 +30855,7 @@ Ref pMemoryRequirements "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -28535,6 +30871,7 @@ public static extern Result GetPipelineKeyKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -29549,6 +31886,62 @@ Ref pInfo } } + [NativeName("vkGetShaderInstrumentationValuesARM")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkGetShaderInstrumentationValuesARM" + )] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public static extern Result GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + uint* pMetricBlockCount, + void* pMetricValues, + uint flags + ); + + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pMetricBlockCount, + Ref pMetricValues, + uint flags + ) + { + fixed (void* __dsl_pMetricValues = pMetricValues) + fixed (uint* __dsl_pMetricBlockCount = pMetricBlockCount) + { + return (Result)GetShaderInstrumentationValuesARM( + device, + instrumentation, + __dsl_pMetricBlockCount, + __dsl_pMetricValues, + flags + ); + } + } + [NativeName("vkGetShaderModuleCreateInfoIdentifierEXT")] [DllImport( "vulkan", @@ -29736,6 +32129,128 @@ public static extern Result GetSwapchainStatusKHR( SwapchainHandleKHR swapchain ); + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT" + )] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public static extern Result GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimeDomainPropertiesEXT* pSwapchainTimeDomainProperties, + ulong* pTimeDomainsCounter + ); + + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimeDomainProperties, + Ref pTimeDomainsCounter + ) + { + fixed (ulong* __dsl_pTimeDomainsCounter = pTimeDomainsCounter) + fixed ( + SwapchainTimeDomainPropertiesEXT* __dsl_pSwapchainTimeDomainProperties = + pSwapchainTimeDomainProperties + ) + { + return (Result)GetSwapchainTimeDomainPropertiesEXT( + device, + swapchain, + __dsl_pSwapchainTimeDomainProperties, + __dsl_pTimeDomainsCounter + ); + } + } + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkGetSwapchainTimingPropertiesEXT" + )] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public static extern Result GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimingPropertiesEXT* pSwapchainTimingProperties, + ulong* pSwapchainTimingPropertiesCounter + ); + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimingProperties, + Ref pSwapchainTimingPropertiesCounter + ) + { + fixed ( + ulong* __dsl_pSwapchainTimingPropertiesCounter = pSwapchainTimingPropertiesCounter + ) + fixed ( + SwapchainTimingPropertiesEXT* __dsl_pSwapchainTimingProperties = + pSwapchainTimingProperties + ) + { + return (Result)GetSwapchainTimingPropertiesEXT( + device, + swapchain, + __dsl_pSwapchainTimingProperties, + __dsl_pSwapchainTimingPropertiesCounter + ); + } + } + [NativeName("vkGetTensorMemoryRequirementsARM")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkGetTensorMemoryRequirementsARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] @@ -29764,6 +32279,63 @@ Ref pMemoryRequirements } } + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public static extern Result GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + TensorHandleARM* pTensors, + HostAddressRangeEXT* pDatas + ); + + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + Ref pTensors, + Ref pDatas + ) + { + fixed (HostAddressRangeEXT* __dsl_pDatas = pDatas) + fixed (TensorHandleARM* __dsl_pTensors = pTensors) + { + return (Result)GetTensorOpaqueCaptureDataARM( + device, + tensorCount, + __dsl_pTensors, + __dsl_pDatas + ); + } + } + [NativeName("vkGetTensorOpaqueCaptureDescriptorDataARM")] [DllImport( "vulkan", @@ -30633,6 +33205,45 @@ public static Result QueuePresentKHR(QueueHandle queue, Ref pPre } } + [NativeName("vkQueueSetPerfHintQCOM")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public static extern Result QueueSetPerfHintQCOM( + QueueHandle queue, + PerfHintInfoQCOM* pPerfHintInfo + ); + + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result QueueSetPerfHintQCOM( + QueueHandle queue, + Ref pPerfHintInfo + ) + { + fixed (PerfHintInfoQCOM* __dsl_pPerfHintInfo = pPerfHintInfo) + { + return (Result)QueueSetPerfHintQCOM(queue, __dsl_pPerfHintInfo); + } + } + [NativeName("vkQueueSetPerformanceConfigurationINTEL")] [DllImport( "vulkan", @@ -30852,6 +33463,63 @@ FenceHandle fence )] public static extern Result QueueWaitIdle(QueueHandle queue); + [NativeName("vkRegisterCustomBorderColorEXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public static extern Result RegisterCustomBorderColorEXT( + DeviceHandle device, + SamplerCustomBorderColorCreateInfoEXT* pBorderColor, + uint requestIndex, + uint* pIndex + ); + + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result RegisterCustomBorderColorEXT( + DeviceHandle device, + Ref pBorderColor, + MaybeBool requestIndex, + Ref pIndex + ) + { + fixed (uint* __dsl_pIndex = pIndex) + fixed (SamplerCustomBorderColorCreateInfoEXT* __dsl_pBorderColor = pBorderColor) + { + return (Result)RegisterCustomBorderColorEXT( + device, + __dsl_pBorderColor, + (uint)requestIndex, + __dsl_pIndex + ); + } + } + [NativeName("vkRegisterDeviceEventEXT")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkRegisterDeviceEventEXT")] [SupportedApiProfile( @@ -30949,6 +33617,7 @@ Ref pFence "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -30964,6 +33633,7 @@ public static extern Result ReleaseCapturedPipelineDataKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -31070,9 +33740,8 @@ Ref pReleaseInfo "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public static extern Result ReleaseSwapchainImagesKHR( @@ -31085,9 +33754,8 @@ public static extern Result ReleaseSwapchainImagesKHR( "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -31303,6 +33971,21 @@ Ref pFences } } + [NativeName("vkResetGpaSessionAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkResetGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static extern Result ResetGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession + ); + [NativeName("vkResetQueryPool")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkResetQueryPool")] [SupportedApiProfile( @@ -31435,6 +34118,45 @@ float priority )] public static extern Result SetEvent(DeviceHandle device, EventHandle @event); + [NativeName("vkSetGpaDeviceClockModeAMD")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static extern Result SetGpaDeviceClockModeAMD( + DeviceHandle device, + GpaDeviceClockModeInfoAMD* pInfo + ); + + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result SetGpaDeviceClockModeAMD( + DeviceHandle device, + Ref pInfo + ) + { + fixed (GpaDeviceClockModeInfoAMD* __dsl_pInfo = pInfo) + { + return (Result)SetGpaDeviceClockModeAMD(device, __dsl_pInfo); + } + } + [NativeName("vkSetHdrMetadataEXT")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkSetHdrMetadataEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_hdr_metadata"], ImpliesSets = ["VK_KHR_swapchain"])] @@ -31629,6 +34351,28 @@ public static extern Result SetPrivateDataEXT( ulong data ); + [NativeName("vkSetSwapchainPresentTimingQueueSizeEXT")] + [DllImport( + "vulkan", + ExactSpelling = true, + EntryPoint = "vkSetSwapchainPresentTimingQueueSizeEXT" + )] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public static extern Result SetSwapchainPresentTimingQueueSizeEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + uint size + ); + [NativeName("vkSignalSemaphore")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkSignalSemaphore")] [SupportedApiProfile( @@ -31999,6 +34743,22 @@ Ref pMemoryUnmapInfo } } + [NativeName("vkUnregisterCustomBorderColorEXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkUnregisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + public static extern void UnregisterCustomBorderColorEXT(DeviceHandle device, uint index); + [NativeName("vkUpdateDescriptorSets")] [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkUpdateDescriptorSets")] [SupportedApiProfile( @@ -32197,8 +34957,10 @@ Ref pData "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -32214,8 +34976,10 @@ public static extern void UpdateIndirectExecutionSetPipelineEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -32249,8 +35013,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -32277,8 +35043,10 @@ WriteIndirectExecutionSetPipelineEXT pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -32294,8 +35062,10 @@ public static extern void UpdateIndirectExecutionSetShaderEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -32328,8 +35098,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -32759,6 +35531,116 @@ nuint stride ); } } + + [NativeName("vkWriteResourceDescriptorsEXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public static extern Result WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + ResourceDescriptorInfoEXT* pResources, + HostAddressRangeEXT* pDescriptors + ); + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + Ref pResources, + Ref pDescriptors + ) + { + fixed (HostAddressRangeEXT* __dsl_pDescriptors = pDescriptors) + fixed (ResourceDescriptorInfoEXT* __dsl_pResources = pResources) + { + return (Result)WriteResourceDescriptorsEXT( + device, + resourceCount, + __dsl_pResources, + __dsl_pDescriptors + ); + } + } + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [DllImport("vulkan", ExactSpelling = true, EntryPoint = "vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public static extern Result WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + SamplerCreateInfo* pSamplers, + HostAddressRangeEXT* pDescriptors + ); + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + Ref pSamplers, + Ref pDescriptors + ) + { + fixed (HostAddressRangeEXT* __dsl_pDescriptors = pDescriptors) + fixed (SamplerCreateInfo* __dsl_pSamplers = pSamplers) + { + return (Result)WriteSamplerDescriptorsEXT( + device, + samplerCount, + __dsl_pSamplers, + __dsl_pDescriptors + ); + } + } } public partial class StaticWrapper : IVk @@ -33393,9 +36275,8 @@ Ref pBindInfos "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] @@ -33413,9 +36294,8 @@ public Result BindDataGraphPipelineSessionMemoryARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] @@ -33744,6 +36624,66 @@ public Result BuildMicromapsEXT( Ref pInfos ) => T.BuildMicromapsEXT(device, deferredOperation, infoCount, pInfos); + [NativeName("vkClearShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkClearShaderInstrumentationMetricsARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ClearShaderInstrumentationMetricsARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation + ) => T.ClearShaderInstrumentationMetricsARM(device, instrumentation); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + ConditionalRenderingBeginInfo2EXT* pConditionalRenderingBegin + ) => T.CmdBeginConditionalRendering2EXT(commandBuffer, pConditionalRenderingBegin); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + Ref pConditionalRenderingBegin + ) => T.CmdBeginConditionalRendering2EXT(commandBuffer, pConditionalRenderingBegin); + [NativeName("vkCmdBeginConditionalRenderingEXT")] [SupportedApiProfile( "vulkan", @@ -33780,6 +36720,48 @@ public void CmdBeginConditionalRenderingEXT( Ref pConditionalRenderingBegin ) => T.CmdBeginConditionalRenderingEXT(commandBuffer, pConditionalRenderingBegin); + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", + "VK_EXT_custom_resolve+VK_VERSION_1_3", + ], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + BeginCustomResolveInfoEXT* pBeginCustomResolveInfo + ) => T.CmdBeginCustomResolveEXT(commandBuffer, pBeginCustomResolveInfo); + + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", + "VK_EXT_custom_resolve+VK_VERSION_1_3", + ], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + Ref pBeginCustomResolveInfo + ) => T.CmdBeginCustomResolveEXT(commandBuffer, pBeginCustomResolveInfo); + [NativeName("vkCmdBeginDebugUtilsLabelEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginDebugUtilsLabelEXT")] @@ -33802,15 +36784,70 @@ public void CmdBeginDebugUtilsLabelEXT( Ref pLabelInfo ) => T.CmdBeginDebugUtilsLabelEXT(commandBuffer, pLabelInfo); - [NativeName("vkCmdBeginPerTileExecutionQCOM")] + [NativeName("vkCmdBeginGpaSampleAMD")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_AMD_gpa_interface"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + GpaSampleBeginInfoAMD* pGpaSampleBeginInfo, + uint* pSampleID + ) => T.CmdBeginGpaSampleAMD(commandBuffer, gpaSession, pGpaSampleBeginInfo, pSampleID); + + [NativeName("vkCmdBeginGpaSampleAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + Ref pGpaSampleBeginInfo, + Ref pSampleID + ) => T.CmdBeginGpaSampleAMD(commandBuffer, gpaSession, pGpaSampleBeginInfo, pSampleID); + + [NativeName("vkCmdBeginGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CmdBeginGpaSessionAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ) => T.CmdBeginGpaSessionAMD(commandBuffer, gpaSession); + + [NativeName("vkCmdBeginPerTileExecutionQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization @@ -33824,10 +36861,7 @@ public void CmdBeginPerTileExecutionQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] [MethodImpl( @@ -34107,6 +37141,104 @@ public void CmdBeginRenderPass2KHR( Ref pSubpassBeginInfo ) => T.CmdBeginRenderPass2KHR(commandBuffer, pRenderPassBegin, pSubpassBeginInfo); + [NativeName("vkCmdBeginShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBeginShaderInstrumentationARM( + CommandBufferHandle commandBuffer, + ShaderInstrumentationHandleARM instrumentation + ) => T.CmdBeginShaderInstrumentationARM(commandBuffer, instrumentation); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ) => + T.CmdBeginTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + pCounterInfos + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ) => + T.CmdBeginTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + pCounterInfos + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ) => T.CmdBeginTransformFeedback2EXT(commandBuffer, firstCounterRange, pCounterInfos); + [NativeName("vkCmdBeginTransformFeedbackEXT")] [SupportedApiProfile( "vulkan", @@ -34533,6 +37665,46 @@ public void CmdBindIndexBuffer2KHR( IndexType indexType ) => T.CmdBindIndexBuffer2KHR(commandBuffer, buffer, offset, size, indexType); + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + BindIndexBuffer3InfoKHR* pInfo + ) => T.CmdBindIndexBuffer3KHR(commandBuffer, pInfo); + + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => T.CmdBindIndexBuffer3KHR(commandBuffer, pInfo); + [NativeName("vkCmdBindInvocationMaskHUAWEI")] [SupportedApiProfile( "vulkan", @@ -34601,6 +37773,90 @@ public void CmdBindPipelineShaderGroupNV( uint groupIndex ) => T.CmdBindPipelineShaderGroupNV(commandBuffer, pipelineBindPoint, pipeline, groupIndex); + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBindResourceHeapEXT( + CommandBufferHandle commandBuffer, + BindHeapInfoEXT* pBindInfo + ) => T.CmdBindResourceHeapEXT(commandBuffer, pBindInfo); + + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBindResourceHeapEXT( + CommandBufferHandle commandBuffer, + Ref pBindInfo + ) => T.CmdBindResourceHeapEXT(commandBuffer, pBindInfo); + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBindSamplerHeapEXT( + CommandBufferHandle commandBuffer, + BindHeapInfoEXT* pBindInfo + ) => T.CmdBindSamplerHeapEXT(commandBuffer, pBindInfo); + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBindSamplerHeapEXT( + CommandBufferHandle commandBuffer, + Ref pBindInfo + ) => T.CmdBindSamplerHeapEXT(commandBuffer, pBindInfo); + [NativeName("vkCmdBindShadersEXT")] [SupportedApiProfile( "vulkan", @@ -34698,6 +37954,86 @@ public void CmdBindTileMemoryQCOM( Ref pTileMemoryBindInfo ) => T.CmdBindTileMemoryQCOM(commandBuffer, pTileMemoryBindInfo); + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindTransformFeedbackBuffer2InfoEXT* pBindingInfos + ) => + T.CmdBindTransformFeedbackBuffers2EXT( + commandBuffer, + firstBinding, + bindingCount, + pBindingInfos + ); + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ) => + T.CmdBindTransformFeedbackBuffers2EXT( + commandBuffer, + firstBinding, + bindingCount, + pBindingInfos + ); + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindTransformFeedbackBuffer2InfoEXT pBindingInfos + ) => T.CmdBindTransformFeedbackBuffers2EXT(commandBuffer, firstBinding, pBindingInfos); + [NativeName("vkCmdBindTransformFeedbackBuffersEXT")] [SupportedApiProfile( "vulkan", @@ -34948,6 +38284,71 @@ Ref pStrides pStrides ); + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindVertexBuffer3InfoKHR* pBindingInfos + ) => T.CmdBindVertexBuffers3KHR(commandBuffer, firstBinding, bindingCount, pBindingInfos); + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ) => T.CmdBindVertexBuffers3KHR(commandBuffer, firstBinding, bindingCount, pBindingInfos); + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindVertexBuffer3InfoKHR pBindingInfos + ) => T.CmdBindVertexBuffers3KHR(commandBuffer, firstBinding, pBindingInfos); + [NativeName("vkCmdBlitImage")] [SupportedApiProfile( "vulkan", @@ -36312,6 +39713,24 @@ public void CmdCopyBufferToImage2KHR( Ref pCopyBufferToImageInfo ) => T.CmdCopyBufferToImage2KHR(commandBuffer, pCopyBufferToImageInfo); + [NativeName("vkCmdCopyGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyGpaSessionResultsAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdCopyGpaSessionResultsAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ) => T.CmdCopyGpaSessionResultsAMD(commandBuffer, gpaSession); + [NativeName("vkCmdCopyImage")] [SupportedApiProfile( "vulkan", @@ -36763,6 +40182,46 @@ public void CmdCopyImageToBuffer2KHR( Ref pCopyImageToBufferInfo ) => T.CmdCopyImageToBuffer2KHR(commandBuffer, pCopyImageToBufferInfo); + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ) => T.CmdCopyImageToMemoryKHR(commandBuffer, pCopyMemoryInfo); + + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) => T.CmdCopyImageToMemoryKHR(commandBuffer, pCopyMemoryInfo); + [NativeName("vkCmdCopyMemoryIndirectKHR")] [SupportedApiProfile( "vulkan", @@ -36820,6 +40279,46 @@ public void CmdCopyMemoryIndirectNV( uint stride ) => T.CmdCopyMemoryIndirectNV(commandBuffer, copyBufferAddress, copyCount, stride); + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryInfoKHR* pCopyMemoryInfo + ) => T.CmdCopyMemoryKHR(commandBuffer, pCopyMemoryInfo); + + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) => T.CmdCopyMemoryKHR(commandBuffer, pCopyMemoryInfo); + [NativeName("vkCmdCopyMemoryToAccelerationStructureKHR")] [SupportedApiProfile( "vulkan", @@ -36989,6 +40488,46 @@ ImageSubresourceLayers pImageSubresources pImageSubresources ); + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ) => T.CmdCopyMemoryToImageKHR(commandBuffer, pCopyMemoryInfo); + + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) => T.CmdCopyMemoryToImageKHR(commandBuffer, pCopyMemoryInfo); + [NativeName("vkCmdCopyMemoryToMicromapEXT")] [SupportedApiProfile( "vulkan", @@ -37149,6 +40688,74 @@ QueryResultFlags flags flags ); + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + StridedDeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ) => + T.CmdCopyQueryPoolResultsToMemoryKHR( + commandBuffer, + queryPool, + firstQuery, + queryCount, + pDstRange, + dstFlags, + queryResultFlags + ); + + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ) => + T.CmdCopyQueryPoolResultsToMemoryKHR( + commandBuffer, + queryPool, + firstQuery, + queryCount, + pDstRange, + dstFlags, + queryResultFlags + ); + [NativeName("vkCmdCopyTensorARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] [NativeFunction("vulkan", EntryPoint = "vkCmdCopyTensorARM")] @@ -37556,9 +41163,8 @@ uint groupCountZ "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] @@ -37576,9 +41182,8 @@ public void CmdDispatchDataGraphARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] @@ -37623,15 +41228,52 @@ public void CmdDispatchIndirect( ulong offset ) => T.CmdDispatchIndirect(commandBuffer, buffer, offset); - [NativeName("vkCmdDispatchTileQCOM")] + [NativeName("vkCmdDispatchIndirect2KHR")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDispatchIndirect2KHR( + CommandBufferHandle commandBuffer, + DispatchIndirect2InfoKHR* pInfo + ) => T.CmdDispatchIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDispatchIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDispatchIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => T.CmdDispatchIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDispatchTileQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization @@ -37645,10 +41287,7 @@ public void CmdDispatchTileQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] [MethodImpl( @@ -37794,6 +41433,46 @@ public void CmdDrawIndexedIndirect( uint stride ) => T.CmdDrawIndexedIndirect(commandBuffer, buffer, offset, drawCount, stride); + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ) => T.CmdDrawIndexedIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => T.CmdDrawIndexedIndirect2KHR(commandBuffer, pInfo); + [NativeName("vkCmdDrawIndexedIndirectCount")] [SupportedApiProfile( "vulkan", @@ -37830,6 +41509,52 @@ uint stride stride ); + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ) => T.CmdDrawIndexedIndirectCount2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => T.CmdDrawIndexedIndirectCount2KHR(commandBuffer, pInfo); + [NativeName("vkCmdDrawIndexedIndirectCountAMD")] [SupportedApiProfile("vulkan", ["VK_AMD_draw_indirect_count"])] [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCountAMD")] @@ -37909,6 +41634,112 @@ public void CmdDrawIndirect( uint stride ) => T.CmdDrawIndirect(commandBuffer, buffer, offset, drawCount, stride); + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawIndirect2KHR( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ) => T.CmdDrawIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => T.CmdDrawIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfo, + uint counterOffset, + uint vertexStride + ) => + T.CmdDrawIndirectByteCount2EXT( + commandBuffer, + instanceCount, + firstInstance, + pCounterInfo, + counterOffset, + vertexStride + ); + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + Ref pCounterInfo, + uint counterOffset, + uint vertexStride + ) => + T.CmdDrawIndirectByteCount2EXT( + commandBuffer, + instanceCount, + firstInstance, + pCounterInfo, + counterOffset, + vertexStride + ); + [NativeName("vkCmdDrawIndirectByteCountEXT")] [SupportedApiProfile( "vulkan", @@ -37977,6 +41808,52 @@ uint stride stride ); + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ) => T.CmdDrawIndirectCount2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => T.CmdDrawIndirectCount2KHR(commandBuffer, pInfo); + [NativeName("vkCmdDrawIndirectCountAMD")] [SupportedApiProfile("vulkan", ["VK_AMD_draw_indirect_count"])] [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCountAMD")] @@ -38047,6 +41924,94 @@ public void CmdDrawMeshTasksEXT( uint groupCountZ ) => T.CmdDrawMeshTasksEXT(commandBuffer, groupCountX, groupCountY, groupCountZ); + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ) => T.CmdDrawMeshTasksIndirect2EXT(commandBuffer, pInfo); + + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => T.CmdDrawMeshTasksIndirect2EXT(commandBuffer, pInfo); + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ) => T.CmdDrawMeshTasksIndirectCount2EXT(commandBuffer, pInfo); + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => T.CmdDrawMeshTasksIndirectCount2EXT(commandBuffer, pInfo); + [NativeName("vkCmdDrawMeshTasksIndirectCountEXT")] [SupportedApiProfile( "vulkan", @@ -38416,15 +42381,49 @@ public void CmdEndConditionalRenderingEXT(CommandBufferHandle commandBuffer) => public void CmdEndDebugUtilsLabelEXT(CommandBufferHandle commandBuffer) => T.CmdEndDebugUtilsLabelEXT(commandBuffer); - [NativeName("vkCmdEndPerTileExecutionQCOM")] + [NativeName("vkCmdEndGpaSampleAMD")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_AMD_gpa_interface"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndGpaSampleAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdEndGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + uint sampleID + ) => T.CmdEndGpaSampleAMD(commandBuffer, gpaSession, sampleID); + + [NativeName("vkCmdEndGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CmdEndGpaSessionAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ) => T.CmdEndGpaSessionAMD(commandBuffer, gpaSession); + + [NativeName("vkCmdEndPerTileExecutionQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization @@ -38438,10 +42437,7 @@ public void CmdEndPerTileExecutionQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] [MethodImpl( @@ -38726,6 +42722,102 @@ public void CmdEndRenderPass2KHR( Ref pSubpassEndInfo ) => T.CmdEndRenderPass2KHR(commandBuffer, pSubpassEndInfo); + [NativeName("vkCmdEndShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdEndShaderInstrumentationARM(CommandBufferHandle commandBuffer) => + T.CmdEndShaderInstrumentationARM(commandBuffer); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ) => + T.CmdEndTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + pCounterInfos + ); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ) => + T.CmdEndTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + pCounterInfos + ); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ) => T.CmdEndTransformFeedback2EXT(commandBuffer, firstCounterRange, pCounterInfos); + [NativeName("vkCmdEndTransformFeedbackEXT")] [SupportedApiProfile( "vulkan", @@ -38927,8 +43019,10 @@ Ref pCommandBuffers "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -38948,8 +43042,10 @@ public void CmdExecuteGeneratedCommandsEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -39035,6 +43131,50 @@ public void CmdFillBuffer( uint data ) => T.CmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data); + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ) => T.CmdFillMemoryKHR(commandBuffer, pDstRange, dstFlags, data); + + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ) => T.CmdFillMemoryKHR(commandBuffer, pDstRange, dstFlags, data); + [NativeName("vkCmdInsertDebugUtilsLabelEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] [NativeFunction("vulkan", EntryPoint = "vkCmdInsertDebugUtilsLabelEXT")] @@ -39400,8 +43540,10 @@ Ref pDependencyInfo "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -39425,8 +43567,10 @@ CommandBufferHandle stateCommandBuffer "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -39597,6 +43741,48 @@ public void CmdPushConstants2KHR( Ref pPushConstantsInfo ) => T.CmdPushConstants2KHR(commandBuffer, pPushConstantsInfo); + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdPushDataEXT( + CommandBufferHandle commandBuffer, + PushDataInfoEXT* pPushDataInfo + ) => T.CmdPushDataEXT(commandBuffer, pPushDataInfo); + + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdPushDataEXT( + CommandBufferHandle commandBuffer, + Ref pPushDataInfo + ) => T.CmdPushDataEXT(commandBuffer, pPushDataInfo); + [NativeName("vkCmdPushDescriptorSet")] [SupportedApiProfile( "vulkan", @@ -40904,6 +45090,42 @@ public void CmdSetColorWriteMaskEXT( ColorComponentFlags pColorWriteMasks ) => T.CmdSetColorWriteMaskEXT(commandBuffer, firstAttachment, pColorWriteMasks); + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + ComputeOccupancyPriorityParametersNV* pParameters + ) => T.CmdSetComputeOccupancyPriorityNV(commandBuffer, pParameters); + + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + Ref pParameters + ) => T.CmdSetComputeOccupancyPriorityNV(commandBuffer, pParameters); + [NativeName("vkCmdSetConservativeRasterizationModeEXT")] [SupportedApiProfile( "vulkan", @@ -42020,6 +46242,36 @@ public void CmdSetDiscardRectangleModeEXT( DiscardRectangleModeEXT discardRectangleMode ) => T.CmdSetDiscardRectangleModeEXT(commandBuffer, discardRectangleMode); + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + DispatchParametersARM* pDispatchParameters + ) => T.CmdSetDispatchParametersARM(commandBuffer, pDispatchParameters); + + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + Ref pDispatchParameters + ) => T.CmdSetDispatchParametersARM(commandBuffer, pDispatchParameters); + [NativeName("vkCmdSetEvent")] [SupportedApiProfile( "vulkan", @@ -42415,12 +46667,15 @@ public void CmdSetFrontFaceEXT(CommandBufferHandle commandBuffer, FrontFace fron [NativeName("vkCmdSetLineRasterizationModeEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineRasterizationModeEXT")] [MethodImpl( @@ -42450,12 +46705,15 @@ ushort lineStipplePattern [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] [MethodImpl( @@ -42469,12 +46727,15 @@ uint stippledLineEnable [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] [MethodImpl( @@ -42775,6 +47036,24 @@ public void CmdSetPrimitiveRestartEnableEXT( MaybeBool primitiveRestartEnable ) => T.CmdSetPrimitiveRestartEnableEXT(commandBuffer, primitiveRestartEnable); + [NativeName("vkCmdSetPrimitiveRestartIndexEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetPrimitiveRestartIndexEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdSetPrimitiveRestartIndexEXT( + CommandBufferHandle commandBuffer, + uint primitiveRestartIndex + ) => T.CmdSetPrimitiveRestartIndexEXT(commandBuffer, primitiveRestartIndex); + [NativeName("vkCmdSetPrimitiveTopology")] [SupportedApiProfile( "vulkan", @@ -44496,6 +48775,52 @@ public void CmdUpdateBuffer( Ref pData ) => T.CmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, pData); + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + void* pData + ) => T.CmdUpdateMemoryKHR(commandBuffer, pDstRange, dstFlags, dataSize, pData); + + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + Ref pData + ) => T.CmdUpdateMemoryKHR(commandBuffer, pDstRange, dstFlags, dataSize, pData); + [NativeName("vkCmdUpdatePipelineIndirectBufferNV")] [SupportedApiProfile( "vulkan", @@ -44913,6 +49238,48 @@ public void CmdWriteBufferMarkerAMD( uint marker ) => T.CmdWriteBufferMarkerAMD(commandBuffer, pipelineStage, dstBuffer, dstOffset, marker); + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + MemoryMarkerInfoAMD* pInfo + ) => T.CmdWriteMarkerToMemoryAMD(commandBuffer, pInfo); + + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => T.CmdWriteMarkerToMemoryAMD(commandBuffer, pInfo); + [NativeName("vkCmdWriteMicromapsPropertiesEXT")] [SupportedApiProfile( "vulkan", @@ -45602,6 +49969,64 @@ public Result CopyMicromapToMemoryEXT( Ref pInfo ) => T.CopyMicromapToMemoryEXT(device, deferredOperation, pInfo); + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateAccelerationStructure2KHR( + DeviceHandle device, + AccelerationStructureCreateInfo2KHR* pCreateInfo, + AllocationCallbacks* pAllocator, + AccelerationStructureHandleKHR* pAccelerationStructure + ) => + T.CreateAccelerationStructure2KHR( + device, + pCreateInfo, + pAllocator, + pAccelerationStructure + ); + + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateAccelerationStructure2KHR( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pAccelerationStructure + ) => + T.CreateAccelerationStructure2KHR( + device, + pCreateInfo, + pAllocator, + pAccelerationStructure + ); + [NativeName("vkCreateAccelerationStructureKHR")] [SupportedApiProfile( "vulkan", @@ -46067,9 +50492,8 @@ Ref pModule "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] @@ -46100,9 +50524,8 @@ public Result CreateDataGraphPipelinesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] @@ -46133,9 +50556,8 @@ Ref pPipelines "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] @@ -46154,9 +50576,8 @@ public Result CreateDataGraphPipelineSessionARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] @@ -46842,6 +51263,46 @@ public Result CreateFramebuffer( Ref pFramebuffer ) => T.CreateFramebuffer(device, pCreateInfo, pAllocator, pFramebuffer); + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateGpaSessionAMD( + DeviceHandle device, + GpaSessionCreateInfoAMD* pCreateInfo, + AllocationCallbacks* pAllocator, + GpaSessionHandleAMD* pGpaSession + ) => T.CreateGpaSessionAMD(device, pCreateInfo, pAllocator, pGpaSession); + + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateGpaSessionAMD( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pGpaSession + ) => T.CreateGpaSessionAMD(device, pCreateInfo, pAllocator, pGpaSession); + [NativeName("vkCreateGraphicsPipelines")] [SupportedApiProfile( "vulkan", @@ -47109,8 +51570,10 @@ Ref pView "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -47136,8 +51599,10 @@ public Result CreateIndirectCommandsLayoutEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -47209,8 +51674,10 @@ Ref pIndirectCommandsLayout "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -47231,8 +51698,10 @@ public Result CreateIndirectExecutionSetEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -47409,6 +51878,7 @@ Ref pSession "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -47429,6 +51899,7 @@ public Result CreatePipelineBinariesKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -48248,6 +52719,46 @@ public Result CreateSemaphore( Ref pSemaphore ) => T.CreateSemaphore(device, pCreateInfo, pAllocator, pSemaphore); + [NativeName("vkCreateShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationCreateInfoARM* pCreateInfo, + AllocationCallbacks* pAllocator, + ShaderInstrumentationHandleARM* pInstrumentation + ) => T.CreateShaderInstrumentationARM(device, pCreateInfo, pAllocator, pInstrumentation); + + [NativeName("vkCreateShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result CreateShaderInstrumentationARM( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pInstrumentation + ) => T.CreateShaderInstrumentationARM(device, pCreateInfo, pAllocator, pInstrumentation); + [NativeName("vkCreateShaderModule")] [SupportedApiProfile( "vulkan", @@ -49058,9 +53569,8 @@ Ref pAllocator "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] @@ -49078,9 +53588,8 @@ public void DestroyDataGraphPipelineSessionARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] @@ -49659,6 +54168,44 @@ public void DestroyFramebuffer( Ref pAllocator ) => T.DestroyFramebuffer(device, framebuffer, pAllocator); + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + AllocationCallbacks* pAllocator + ) => T.DestroyGpaSessionAMD(device, gpaSession, pAllocator); + + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + Ref pAllocator + ) => T.DestroyGpaSessionAMD(device, gpaSession, pAllocator); + [NativeName("vkDestroyImage")] [SupportedApiProfile( "vulkan", @@ -49812,8 +54359,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -49832,8 +54381,10 @@ public void DestroyIndirectCommandsLayoutEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -49884,8 +54435,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -49904,8 +54457,10 @@ public void DestroyIndirectExecutionSetEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -50134,6 +54689,7 @@ Ref pAllocator "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -50153,6 +54709,7 @@ public void DestroyPipelineBinaryKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -50785,6 +55342,44 @@ public void DestroyShaderEXT( Ref pAllocator ) => T.DestroyShaderEXT(device, shader, pAllocator); + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + AllocationCallbacks* pAllocator + ) => T.DestroyShaderInstrumentationARM(device, instrumentation, pAllocator); + + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pAllocator + ) => T.DestroyShaderInstrumentationARM(device, instrumentation, pAllocator); + [NativeName("vkDestroyShaderModule")] [SupportedApiProfile( "vulkan", @@ -51808,6 +56403,60 @@ public Result EnumeratePhysicalDevices( Ref pPhysicalDevices ) => T.EnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices); + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + uint* pDescriptionCount, + ShaderInstrumentationMetricDescriptionARM* pDescriptions + ) => + T.EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + physicalDevice, + pDescriptionCount, + pDescriptions + ); + + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + Ref pDescriptionCount, + Ref pDescriptions + ) => + T.EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + physicalDevice, + pDescriptionCount, + pDescriptions + ); + [NativeName("vkFlushMappedMemoryRanges")] [SupportedApiProfile( "vulkan", @@ -52932,9 +57581,8 @@ Ref pSizeInfo "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] @@ -52959,9 +57607,8 @@ public Result GetDataGraphPipelineAvailablePropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] @@ -52986,9 +57633,8 @@ Ref pProperties "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] @@ -53013,9 +57659,8 @@ public Result GetDataGraphPipelinePropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] @@ -53040,9 +57685,8 @@ Ref pProperties "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -53070,9 +57714,8 @@ public Result GetDataGraphPipelineSessionBindPointRequirementsARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -53100,9 +57743,8 @@ Ref pBindPointRequirements "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -53123,9 +57765,8 @@ public void GetDataGraphPipelineSessionMemoryRequirementsARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -53577,6 +58218,54 @@ public void GetDeviceBufferMemoryRequirementsKHR( Ref pMemoryRequirements ) => T.GetDeviceBufferMemoryRequirementsKHR(device, pInfo, pMemoryRequirements); + [NativeName("vkGetDeviceCombinedImageSamplerIndexNVX")] + [SupportedApiProfile("vulkan", ["VK_NVX_image_view_handle"])] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceCombinedImageSamplerIndexNVX")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ulong GetDeviceCombinedImageSamplerIndexNVX( + DeviceHandle device, + ulong imageViewIndex, + ulong samplerIndex + ) => T.GetDeviceCombinedImageSamplerIndexNVX(device, imageViewIndex, samplerIndex); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetDeviceFaultDebugInfoKHR( + DeviceHandle device, + DeviceFaultDebugInfoKHR* pDebugInfo + ) => T.GetDeviceFaultDebugInfoKHR(device, pDebugInfo); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetDeviceFaultDebugInfoKHR( + DeviceHandle device, + Ref pDebugInfo + ) => T.GetDeviceFaultDebugInfoKHR(device, pDebugInfo); + [NativeName("vkGetDeviceFaultInfoEXT")] [SupportedApiProfile( "vulkan", @@ -53615,6 +58304,46 @@ public Result GetDeviceFaultInfoEXT( Ref pFaultInfo ) => T.GetDeviceFaultInfoEXT(device, pFaultCounts, pFaultInfo); + [NativeName("vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + uint* pFaultCounts, + DeviceFaultInfoKHR* pFaultInfo + ) => T.GetDeviceFaultReportsKHR(device, timeout, pFaultCounts, pFaultInfo); + + [NativeName("vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + Ref pFaultCounts, + Ref pFaultInfo + ) => T.GetDeviceFaultReportsKHR(device, timeout, pFaultCounts, pFaultInfo); + [NativeName("vkGetDeviceGroupPeerMemoryFeatures")] [SupportedApiProfile( "vulkan", @@ -54994,8 +59723,10 @@ Ref pProperties "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -55014,8 +59745,10 @@ public void GetGeneratedCommandsMemoryRequirementsEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -55061,6 +59794,100 @@ public void GetGeneratedCommandsMemoryRequirementsNV( Ref pMemoryRequirements ) => T.GetGeneratedCommandsMemoryRequirementsNV(device, pInfo, pMemoryRequirements); + [NativeName("vkGetGpaDeviceClockInfoAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetGpaDeviceClockInfoAMD( + DeviceHandle device, + GpaDeviceGetClockInfoAMD* pInfo + ) => T.GetGpaDeviceClockInfoAMD(device, pInfo); + + [NativeName("vkGetGpaDeviceClockInfoAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetGpaDeviceClockInfoAMD( + DeviceHandle device, + Ref pInfo + ) => T.GetGpaDeviceClockInfoAMD(device, pInfo); + + [NativeName("vkGetGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetGpaSessionResultsAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + uint sampleID, + nuint* pSizeInBytes, + void* pData + ) => T.GetGpaSessionResultsAMD(device, gpaSession, sampleID, pSizeInBytes, pData); + + [NativeName("vkGetGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetGpaSessionResultsAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + uint sampleID, + Ref pSizeInBytes, + Ref pData + ) => T.GetGpaSessionResultsAMD(device, gpaSession, sampleID, pSizeInBytes, pData); + + [NativeName("vkGetGpaSessionStatusAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionStatusAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetGpaSessionStatusAMD(DeviceHandle device, GpaSessionHandleAMD gpaSession) => + T.GetGpaSessionStatusAMD(device, gpaSession); + [NativeName("vkGetImageDrmFormatModifierPropertiesEXT")] [SupportedApiProfile( "vulkan", @@ -55265,6 +60092,52 @@ public void GetImageMemoryRequirements2KHR( Ref pMemoryRequirements ) => T.GetImageMemoryRequirements2KHR(device, pInfo, pMemoryRequirements); + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + ImageHandle* pImages, + HostAddressRangeEXT* pDatas + ) => T.GetImageOpaqueCaptureDataEXT(device, imageCount, pImages, pDatas); + + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + Ref pImages, + Ref pDatas + ) => T.GetImageOpaqueCaptureDataEXT(device, imageCount, pImages, pDatas); + [NativeName("vkGetImageOpaqueCaptureDescriptorDataEXT")] [SupportedApiProfile( "vulkan", @@ -56169,6 +61042,58 @@ public void GetPartitionedAccelerationStructuresBuildSizesNV( Ref pSizeInfo ) => T.GetPartitionedAccelerationStructuresBuildSizesNV(device, pInfo, pSizeInfo); + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetPastPresentationTimingEXT( + DeviceHandle device, + PastPresentationTimingInfoEXT* pPastPresentationTimingInfo, + PastPresentationTimingPropertiesEXT* pPastPresentationTimingProperties + ) => + T.GetPastPresentationTimingEXT( + device, + pPastPresentationTimingInfo, + pPastPresentationTimingProperties + ); + + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetPastPresentationTimingEXT( + DeviceHandle device, + Ref pPastPresentationTimingInfo, + Ref pPastPresentationTimingProperties + ) => + T.GetPastPresentationTimingEXT( + device, + pPastPresentationTimingInfo, + pPastPresentationTimingProperties + ); + [NativeName("vkGetPastPresentationTimingGOOGLE")] [SupportedApiProfile( "vulkan", @@ -56527,6 +61452,27 @@ Ref pProperties pProperties ); + [NativeName("vkGetPhysicalDeviceDescriptorSizeEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPhysicalDeviceDescriptorSizeEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ulong GetPhysicalDeviceDescriptorSizeEXT( + PhysicalDeviceHandle physicalDevice, + DescriptorType descriptorType + ) => T.GetPhysicalDeviceDescriptorSizeEXT(physicalDevice, descriptorType); + [NativeName("vkGetPhysicalDeviceDisplayPlaneProperties2KHR")] [SupportedApiProfile( "vulkan", @@ -58161,14 +63107,125 @@ public void GetPhysicalDeviceProperties2KHR( Ref pProperties ) => T.GetPhysicalDeviceProperties2KHR(physicalDevice, pProperties); + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + BaseOutStructure* pProperties + ) => + T.GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + physicalDevice, + queueFamilyIndex, + pQueueFamilyDataGraphProperties, + pProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pProperties + ) => + T.GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + physicalDevice, + queueFamilyIndex, + pQueueFamilyDataGraphProperties, + pProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + DataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, + uint* pFormatCount, + DataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties + ) => + T.GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + physicalDevice, + queueFamilyIndex, + pQueueFamilyDataGraphProperties, + pOpticalFlowImageFormatInfo, + pFormatCount, + pImageFormatProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pOpticalFlowImageFormatInfo, + Ref pFormatCount, + Ref pImageFormatProperties + ) => + T.GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + physicalDevice, + queueFamilyIndex, + pQueueFamilyDataGraphProperties, + pOpticalFlowImageFormatInfo, + pFormatCount, + pImageFormatProperties + ); + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM")] [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -58194,9 +63251,8 @@ public void GetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -58222,9 +63278,8 @@ Ref pQueueFamilyDataGraphProc "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -58252,9 +63307,8 @@ public Result GetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -59296,6 +64350,7 @@ Ref pVideoFormatProperties "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -59324,6 +64379,7 @@ public Result GetPipelineBinaryDataKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -59636,6 +64692,7 @@ Ref pMemoryRequirements "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -59655,6 +64712,7 @@ public Result GetPipelineKeyKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -60587,6 +65645,62 @@ public Result GetShaderInfoAMD( Ref pInfo ) => T.GetShaderInfoAMD(device, pipeline, shaderStage, infoType, pInfoSize, pInfo); + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + uint* pMetricBlockCount, + void* pMetricValues, + uint flags + ) => + T.GetShaderInstrumentationValuesARM( + device, + instrumentation, + pMetricBlockCount, + pMetricValues, + flags + ); + + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pMetricBlockCount, + Ref pMetricValues, + uint flags + ) => + T.GetShaderInstrumentationValuesARM( + device, + instrumentation, + pMetricBlockCount, + pMetricValues, + flags + ); + [NativeName("vkGetShaderModuleCreateInfoIdentifierEXT")] [SupportedApiProfile( "vulkan", @@ -60743,6 +65857,118 @@ Ref pSwapchainImages public Result GetSwapchainStatusKHR(DeviceHandle device, SwapchainHandleKHR swapchain) => T.GetSwapchainStatusKHR(device, swapchain); + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimeDomainPropertiesEXT* pSwapchainTimeDomainProperties, + ulong* pTimeDomainsCounter + ) => + T.GetSwapchainTimeDomainPropertiesEXT( + device, + swapchain, + pSwapchainTimeDomainProperties, + pTimeDomainsCounter + ); + + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimeDomainProperties, + Ref pTimeDomainsCounter + ) => + T.GetSwapchainTimeDomainPropertiesEXT( + device, + swapchain, + pSwapchainTimeDomainProperties, + pTimeDomainsCounter + ); + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimingPropertiesEXT* pSwapchainTimingProperties, + ulong* pSwapchainTimingPropertiesCounter + ) => + T.GetSwapchainTimingPropertiesEXT( + device, + swapchain, + pSwapchainTimingProperties, + pSwapchainTimingPropertiesCounter + ); + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimingProperties, + Ref pSwapchainTimingPropertiesCounter + ) => + T.GetSwapchainTimingPropertiesEXT( + device, + swapchain, + pSwapchainTimingProperties, + pSwapchainTimingPropertiesCounter + ); + [NativeName("vkGetTensorMemoryRequirementsARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] [NativeFunction("vulkan", EntryPoint = "vkGetTensorMemoryRequirementsARM")] @@ -60767,6 +65993,54 @@ public void GetTensorMemoryRequirementsARM( Ref pMemoryRequirements ) => T.GetTensorMemoryRequirementsARM(device, pInfo, pMemoryRequirements); + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + TensorHandleARM* pTensors, + HostAddressRangeEXT* pDatas + ) => T.GetTensorOpaqueCaptureDataARM(device, tensorCount, pTensors, pDatas); + + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + Ref pTensors, + Ref pDatas + ) => T.GetTensorOpaqueCaptureDataARM(device, tensorCount, pTensors, pDatas); + [NativeName("vkGetTensorOpaqueCaptureDescriptorDataARM")] [SupportedApiProfile( "vulkan", @@ -61542,6 +66816,40 @@ public Result QueuePresentKHR(QueueHandle queue, PresentInfoKHR* pPresentInfo) = public Result QueuePresentKHR(QueueHandle queue, Ref pPresentInfo) => T.QueuePresentKHR(queue, pPresentInfo); + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result QueueSetPerfHintQCOM(QueueHandle queue, PerfHintInfoQCOM* pPerfHintInfo) => + T.QueueSetPerfHintQCOM(queue, pPerfHintInfo); + + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result QueueSetPerfHintQCOM( + QueueHandle queue, + Ref pPerfHintInfo + ) => T.QueueSetPerfHintQCOM(queue, pPerfHintInfo); + [NativeName("vkQueueSetPerformanceConfigurationINTEL")] [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerformanceConfigurationINTEL")] @@ -61754,6 +67062,54 @@ FenceHandle fence )] public Result QueueWaitIdle(QueueHandle queue) => T.QueueWaitIdle(queue); + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result RegisterCustomBorderColorEXT( + DeviceHandle device, + SamplerCustomBorderColorCreateInfoEXT* pBorderColor, + uint requestIndex, + uint* pIndex + ) => T.RegisterCustomBorderColorEXT(device, pBorderColor, requestIndex, pIndex); + + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result RegisterCustomBorderColorEXT( + DeviceHandle device, + Ref pBorderColor, + MaybeBool requestIndex, + Ref pIndex + ) => T.RegisterCustomBorderColorEXT(device, pBorderColor, requestIndex, pIndex); + [NativeName("vkRegisterDeviceEventEXT")] [SupportedApiProfile( "vulkan", @@ -61829,6 +67185,7 @@ Ref pFence "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -61848,6 +67205,7 @@ public Result ReleaseCapturedPipelineDataKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -61945,9 +67303,8 @@ Ref pReleaseInfo "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -61964,9 +67321,8 @@ public Result ReleaseSwapchainImagesKHR( "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -62180,6 +67536,22 @@ public Result ResetFences(DeviceHandle device, uint fenceCount, FenceHandle* pFe public Result ResetFences(DeviceHandle device, uint fenceCount, Ref pFences) => T.ResetFences(device, fenceCount, pFences); + [NativeName("vkResetGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkResetGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result ResetGpaSessionAMD(DeviceHandle device, GpaSessionHandleAMD gpaSession) => + T.ResetGpaSessionAMD(device, gpaSession); + [NativeName("vkResetQueryPool")] [SupportedApiProfile( "vulkan", @@ -62319,6 +67691,42 @@ float priority public Result SetEvent(DeviceHandle device, EventHandle @event) => T.SetEvent(device, @event); + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result SetGpaDeviceClockModeAMD( + DeviceHandle device, + GpaDeviceClockModeInfoAMD* pInfo + ) => T.SetGpaDeviceClockModeAMD(device, pInfo); + + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result SetGpaDeviceClockModeAMD( + DeviceHandle device, + Ref pInfo + ) => T.SetGpaDeviceClockModeAMD(device, pInfo); + [NativeName("vkSetHdrMetadataEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_hdr_metadata"], ImpliesSets = ["VK_KHR_swapchain"])] [NativeFunction("vulkan", EntryPoint = "vkSetHdrMetadataEXT")] @@ -62515,6 +67923,27 @@ public Result SetPrivateDataEXT( ulong data ) => T.SetPrivateDataEXT(device, objectType, objectHandle, privateDataSlot, data); + [NativeName("vkSetSwapchainPresentTimingQueueSizeEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetSwapchainPresentTimingQueueSizeEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result SetSwapchainPresentTimingQueueSizeEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + uint size + ) => T.SetSwapchainPresentTimingQueueSizeEXT(device, swapchain, size); + [NativeName("vkSignalSemaphore")] [SupportedApiProfile( "vulkan", @@ -62851,6 +68280,26 @@ public Result UnmapMemory2KHR(DeviceHandle device, MemoryUnmapInfo* pMemoryUnmap public Result UnmapMemory2KHR(DeviceHandle device, Ref pMemoryUnmapInfo) => T.UnmapMemory2KHR(device, pMemoryUnmapInfo); + [NativeName("vkUnregisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkUnregisterCustomBorderColorEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void UnregisterCustomBorderColorEXT(DeviceHandle device, uint index) => + T.UnregisterCustomBorderColorEXT(device, index); + [NativeName("vkUpdateDescriptorSets")] [SupportedApiProfile( "vulkan", @@ -63048,8 +68497,10 @@ Ref pData "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -63075,8 +68526,10 @@ public void UpdateIndirectExecutionSetPipelineEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -63102,8 +68555,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -63127,8 +68582,10 @@ WriteIndirectExecutionSetPipelineEXT pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -63154,8 +68611,10 @@ public void UpdateIndirectExecutionSetShaderEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -63181,8 +68640,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -63593,6 +69054,98 @@ nuint stride pData, stride ); + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + ResourceDescriptorInfoEXT* pResources, + HostAddressRangeEXT* pDescriptors + ) => T.WriteResourceDescriptorsEXT(device, resourceCount, pResources, pDescriptors); + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + Ref pResources, + Ref pDescriptors + ) => T.WriteResourceDescriptorsEXT(device, resourceCount, pResources, pDescriptors); + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + SamplerCreateInfo* pSamplers, + HostAddressRangeEXT* pDescriptors + ) => T.WriteSamplerDescriptorsEXT(device, samplerCount, pSamplers, pDescriptors); + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Result WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + Ref pSamplers, + Ref pDescriptors + ) => T.WriteSamplerDescriptorsEXT(device, samplerCount, pSamplers, pDescriptors); } public partial class ThisThread @@ -64344,9 +69897,8 @@ Ref pBindInfos "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] @@ -64369,9 +69921,8 @@ public static Result BindDataGraphPipelineSessionMemoryARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] @@ -64762,6 +70313,79 @@ Ref pInfos } } + [NativeName("vkClearShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkClearShaderInstrumentationMetricsARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ClearShaderInstrumentationMetricsARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation + ) => Underlying.Value!.ClearShaderInstrumentationMetricsARM(device, instrumentation); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + ConditionalRenderingBeginInfo2EXT* pConditionalRenderingBegin + ) => + Underlying.Value!.CmdBeginConditionalRendering2EXT( + commandBuffer, + pConditionalRenderingBegin + ); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + Ref pConditionalRenderingBegin + ) + { + fixed ( + ConditionalRenderingBeginInfo2EXT* __dsl_pConditionalRenderingBegin = + pConditionalRenderingBegin + ) + { + CmdBeginConditionalRendering2EXT(commandBuffer, __dsl_pConditionalRenderingBegin); + } + } + [NativeName("vkCmdBeginConditionalRenderingEXT")] [SupportedApiProfile( "vulkan", @@ -64811,6 +70435,56 @@ Ref pConditionalRenderingBegin } } + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", + "VK_EXT_custom_resolve+VK_VERSION_1_3", + ], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + BeginCustomResolveInfoEXT* pBeginCustomResolveInfo + ) => Underlying.Value!.CmdBeginCustomResolveEXT(commandBuffer, pBeginCustomResolveInfo); + + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", + "VK_EXT_custom_resolve+VK_VERSION_1_3", + ], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + Ref pBeginCustomResolveInfo + ) + { + fixed ( + BeginCustomResolveInfoEXT* __dsl_pBeginCustomResolveInfo = pBeginCustomResolveInfo + ) + { + CmdBeginCustomResolveEXT(commandBuffer, __dsl_pBeginCustomResolveInfo); + } + } + [NativeName("vkCmdBeginDebugUtilsLabelEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginDebugUtilsLabelEXT")] @@ -64839,15 +70513,88 @@ Ref pLabelInfo } } - [NativeName("vkCmdBeginPerTileExecutionQCOM")] + [NativeName("vkCmdBeginGpaSampleAMD")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + GpaSampleBeginInfoAMD* pGpaSampleBeginInfo, + uint* pSampleID + ) => + Underlying.Value!.CmdBeginGpaSampleAMD( + commandBuffer, + gpaSession, + pGpaSampleBeginInfo, + pSampleID + ); + + [NativeName("vkCmdBeginGpaSampleAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + Ref pGpaSampleBeginInfo, + Ref pSampleID + ) + { + fixed (uint* __dsl_pSampleID = pSampleID) + fixed (GpaSampleBeginInfoAMD* __dsl_pGpaSampleBeginInfo = pGpaSampleBeginInfo) + { + return (Result)CmdBeginGpaSampleAMD( + commandBuffer, + gpaSession, + __dsl_pGpaSampleBeginInfo, + __dsl_pSampleID + ); + } + } + + [NativeName("vkCmdBeginGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CmdBeginGpaSessionAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ) => Underlying.Value!.CmdBeginGpaSessionAMD(commandBuffer, gpaSession); + + [NativeName("vkCmdBeginPerTileExecutionQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization @@ -64861,10 +70608,7 @@ public static void CmdBeginPerTileExecutionQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] [MethodImpl( @@ -65203,6 +70947,114 @@ Ref pSubpassBeginInfo } } + [NativeName("vkCmdBeginShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBeginShaderInstrumentationARM( + CommandBufferHandle commandBuffer, + ShaderInstrumentationHandleARM instrumentation + ) => Underlying.Value!.CmdBeginShaderInstrumentationARM(commandBuffer, instrumentation); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ) => + Underlying.Value!.CmdBeginTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + pCounterInfos + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ) + { + fixed (BindTransformFeedbackBuffer2InfoEXT* __dsl_pCounterInfos = pCounterInfos) + { + CmdBeginTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + __dsl_pCounterInfos + ); + } + } + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ) => + Underlying.Value!.CmdBeginTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + pCounterInfos + ); + [NativeName("vkCmdBeginTransformFeedbackEXT")] [SupportedApiProfile( "vulkan", @@ -65685,6 +71537,52 @@ IndexType indexType indexType ); + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + BindIndexBuffer3InfoKHR* pInfo + ) => Underlying.Value!.CmdBindIndexBuffer3KHR(commandBuffer, pInfo); + + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (BindIndexBuffer3InfoKHR* __dsl_pInfo = pInfo) + { + CmdBindIndexBuffer3KHR(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdBindInvocationMaskHUAWEI")] [SupportedApiProfile( "vulkan", @@ -65759,6 +71657,102 @@ uint groupIndex groupIndex ); + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindResourceHeapEXT( + CommandBufferHandle commandBuffer, + BindHeapInfoEXT* pBindInfo + ) => Underlying.Value!.CmdBindResourceHeapEXT(commandBuffer, pBindInfo); + + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindResourceHeapEXT( + CommandBufferHandle commandBuffer, + Ref pBindInfo + ) + { + fixed (BindHeapInfoEXT* __dsl_pBindInfo = pBindInfo) + { + CmdBindResourceHeapEXT(commandBuffer, __dsl_pBindInfo); + } + } + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindSamplerHeapEXT( + CommandBufferHandle commandBuffer, + BindHeapInfoEXT* pBindInfo + ) => Underlying.Value!.CmdBindSamplerHeapEXT(commandBuffer, pBindInfo); + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindSamplerHeapEXT( + CommandBufferHandle commandBuffer, + Ref pBindInfo + ) + { + fixed (BindHeapInfoEXT* __dsl_pBindInfo = pBindInfo) + { + CmdBindSamplerHeapEXT(commandBuffer, __dsl_pBindInfo); + } + } + [NativeName("vkCmdBindShadersEXT")] [SupportedApiProfile( "vulkan", @@ -65869,6 +71863,96 @@ Ref pTileMemoryBindInfo } } + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindTransformFeedbackBuffer2InfoEXT* pBindingInfos + ) => + Underlying.Value!.CmdBindTransformFeedbackBuffers2EXT( + commandBuffer, + firstBinding, + bindingCount, + pBindingInfos + ); + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ) + { + fixed (BindTransformFeedbackBuffer2InfoEXT* __dsl_pBindingInfos = pBindingInfos) + { + CmdBindTransformFeedbackBuffers2EXT( + commandBuffer, + firstBinding, + bindingCount, + __dsl_pBindingInfos + ); + } + } + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindTransformFeedbackBuffer2InfoEXT pBindingInfos + ) => + Underlying.Value!.CmdBindTransformFeedbackBuffers2EXT( + commandBuffer, + firstBinding, + pBindingInfos + ); + [NativeName("vkCmdBindTransformFeedbackBuffersEXT")] [SupportedApiProfile( "vulkan", @@ -66162,6 +72246,88 @@ Ref pStrides } } + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindVertexBuffer3InfoKHR* pBindingInfos + ) => + Underlying.Value!.CmdBindVertexBuffers3KHR( + commandBuffer, + firstBinding, + bindingCount, + pBindingInfos + ); + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ) + { + fixed (BindVertexBuffer3InfoKHR* __dsl_pBindingInfos = pBindingInfos) + { + CmdBindVertexBuffers3KHR( + commandBuffer, + firstBinding, + bindingCount, + __dsl_pBindingInfos + ); + } + } + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindVertexBuffer3InfoKHR pBindingInfos + ) => Underlying.Value!.CmdBindVertexBuffers3KHR(commandBuffer, firstBinding, pBindingInfos); + [NativeName("vkCmdBlitImage")] [SupportedApiProfile( "vulkan", @@ -67738,6 +73904,24 @@ Ref pCopyBufferToImageInfo } } + [NativeName("vkCmdCopyGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyGpaSessionResultsAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyGpaSessionResultsAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ) => Underlying.Value!.CmdCopyGpaSessionResultsAMD(commandBuffer, gpaSession); + [NativeName("vkCmdCopyImage")] [SupportedApiProfile( "vulkan", @@ -68230,6 +74414,52 @@ Ref pCopyImageToBufferInfo } } + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ) => Underlying.Value!.CmdCopyImageToMemoryKHR(commandBuffer, pCopyMemoryInfo); + + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) + { + fixed (CopyDeviceMemoryImageInfoKHR* __dsl_pCopyMemoryInfo = pCopyMemoryInfo) + { + CmdCopyImageToMemoryKHR(commandBuffer, __dsl_pCopyMemoryInfo); + } + } + [NativeName("vkCmdCopyMemoryIndirectKHR")] [SupportedApiProfile( "vulkan", @@ -68301,6 +74531,52 @@ uint stride stride ); + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryInfoKHR* pCopyMemoryInfo + ) => Underlying.Value!.CmdCopyMemoryKHR(commandBuffer, pCopyMemoryInfo); + + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) + { + fixed (CopyDeviceMemoryInfoKHR* __dsl_pCopyMemoryInfo = pCopyMemoryInfo) + { + CmdCopyMemoryKHR(commandBuffer, __dsl_pCopyMemoryInfo); + } + } + [NativeName("vkCmdCopyMemoryToAccelerationStructureKHR")] [SupportedApiProfile( "vulkan", @@ -68497,6 +74773,52 @@ ImageSubresourceLayers pImageSubresources pImageSubresources ); + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ) => Underlying.Value!.CmdCopyMemoryToImageKHR(commandBuffer, pCopyMemoryInfo); + + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) + { + fixed (CopyDeviceMemoryImageInfoKHR* __dsl_pCopyMemoryInfo = pCopyMemoryInfo) + { + CmdCopyMemoryToImageKHR(commandBuffer, __dsl_pCopyMemoryInfo); + } + } + [NativeName("vkCmdCopyMemoryToMicromapEXT")] [SupportedApiProfile( "vulkan", @@ -68675,6 +74997,79 @@ QueryResultFlags flags flags ); + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + StridedDeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ) => + Underlying.Value!.CmdCopyQueryPoolResultsToMemoryKHR( + commandBuffer, + queryPool, + firstQuery, + queryCount, + pDstRange, + dstFlags, + queryResultFlags + ); + + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ) + { + fixed (StridedDeviceAddressRangeKHR* __dsl_pDstRange = pDstRange) + { + CmdCopyQueryPoolResultsToMemoryKHR( + commandBuffer, + queryPool, + firstQuery, + queryCount, + __dsl_pDstRange, + dstFlags, + queryResultFlags + ); + } + } + [NativeName("vkCmdCopyTensorARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] [NativeFunction("vulkan", EntryPoint = "vkCmdCopyTensorARM")] @@ -69135,9 +75530,8 @@ uint groupCountZ "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] @@ -69155,9 +75549,8 @@ public static void CmdDispatchDataGraphARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] @@ -69208,15 +75601,58 @@ public static void CmdDispatchIndirect( ulong offset ) => Underlying.Value!.CmdDispatchIndirect(commandBuffer, buffer, offset); - [NativeName("vkCmdDispatchTileQCOM")] + [NativeName("vkCmdDispatchIndirect2KHR")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDispatchIndirect2KHR( + CommandBufferHandle commandBuffer, + DispatchIndirect2InfoKHR* pInfo + ) => Underlying.Value!.CmdDispatchIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDispatchIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDispatchIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DispatchIndirect2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDispatchIndirect2KHR(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdDispatchTileQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization @@ -69230,10 +75666,7 @@ public static void CmdDispatchTileQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] [MethodImpl( @@ -69405,6 +75838,52 @@ uint stride stride ); + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ) => Underlying.Value!.CmdDrawIndexedIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirect2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDrawIndexedIndirect2KHR(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdDrawIndexedIndirectCount")] [SupportedApiProfile( "vulkan", @@ -69441,6 +75920,58 @@ uint stride stride ); + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ) => Underlying.Value!.CmdDrawIndexedIndirectCount2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirectCount2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDrawIndexedIndirectCount2KHR(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdDrawIndexedIndirectCountAMD")] [SupportedApiProfile("vulkan", ["VK_AMD_draw_indirect_count"])] [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCountAMD")] @@ -69520,6 +76051,123 @@ public static void CmdDrawIndirect( uint stride ) => Underlying.Value!.CmdDrawIndirect(commandBuffer, buffer, offset, drawCount, stride); + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndirect2KHR( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ) => Underlying.Value!.CmdDrawIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirect2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDrawIndirect2KHR(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfo, + uint counterOffset, + uint vertexStride + ) => + Underlying.Value!.CmdDrawIndirectByteCount2EXT( + commandBuffer, + instanceCount, + firstInstance, + pCounterInfo, + counterOffset, + vertexStride + ); + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + Ref pCounterInfo, + uint counterOffset, + uint vertexStride + ) + { + fixed (BindTransformFeedbackBuffer2InfoEXT* __dsl_pCounterInfo = pCounterInfo) + { + CmdDrawIndirectByteCount2EXT( + commandBuffer, + instanceCount, + firstInstance, + __dsl_pCounterInfo, + counterOffset, + vertexStride + ); + } + } + [NativeName("vkCmdDrawIndirectByteCountEXT")] [SupportedApiProfile( "vulkan", @@ -69588,6 +76236,58 @@ uint stride stride ); + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ) => Underlying.Value!.CmdDrawIndirectCount2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirectCount2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDrawIndirectCount2KHR(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdDrawIndirectCountAMD")] [SupportedApiProfile("vulkan", ["VK_AMD_draw_indirect_count"])] [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCountAMD")] @@ -69664,6 +76364,106 @@ uint groupCountZ groupCountZ ); + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ) => Underlying.Value!.CmdDrawMeshTasksIndirect2EXT(commandBuffer, pInfo); + + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirect2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDrawMeshTasksIndirect2EXT(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ) => Underlying.Value!.CmdDrawMeshTasksIndirectCount2EXT(commandBuffer, pInfo); + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirectCount2InfoKHR* __dsl_pInfo = pInfo) + { + CmdDrawMeshTasksIndirectCount2EXT(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdDrawMeshTasksIndirectCountEXT")] [SupportedApiProfile( "vulkan", @@ -70077,15 +76877,49 @@ public static void CmdEndConditionalRenderingEXT(CommandBufferHandle commandBuff public static void CmdEndDebugUtilsLabelEXT(CommandBufferHandle commandBuffer) => Underlying.Value!.CmdEndDebugUtilsLabelEXT(commandBuffer); - [NativeName("vkCmdEndPerTileExecutionQCOM")] + [NativeName("vkCmdEndGpaSampleAMD")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndGpaSampleAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdEndGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + uint sampleID + ) => Underlying.Value!.CmdEndGpaSampleAMD(commandBuffer, gpaSession, sampleID); + + [NativeName("vkCmdEndGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CmdEndGpaSessionAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ) => Underlying.Value!.CmdEndGpaSessionAMD(commandBuffer, gpaSession); + + [NativeName("vkCmdEndPerTileExecutionQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization @@ -70099,10 +76933,7 @@ public static void CmdEndPerTileExecutionQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] [MethodImpl( @@ -70417,6 +77248,112 @@ Ref pSubpassEndInfo } } + [NativeName("vkCmdEndShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdEndShaderInstrumentationARM(CommandBufferHandle commandBuffer) => + Underlying.Value!.CmdEndShaderInstrumentationARM(commandBuffer); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ) => + Underlying.Value!.CmdEndTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + pCounterInfos + ); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ) + { + fixed (BindTransformFeedbackBuffer2InfoEXT* __dsl_pCounterInfos = pCounterInfos) + { + CmdEndTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + __dsl_pCounterInfos + ); + } + } + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ) => + Underlying.Value!.CmdEndTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + pCounterInfos + ); + [NativeName("vkCmdEndTransformFeedbackEXT")] [SupportedApiProfile( "vulkan", @@ -70641,8 +77578,10 @@ Ref pCommandBuffers "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -70666,8 +77605,10 @@ public static void CmdExecuteGeneratedCommandsEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -70777,6 +77718,56 @@ public static void CmdFillBuffer( uint data ) => Underlying.Value!.CmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data); + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ) => Underlying.Value!.CmdFillMemoryKHR(commandBuffer, pDstRange, dstFlags, data); + + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ) + { + fixed (DeviceAddressRangeKHR* __dsl_pDstRange = pDstRange) + { + CmdFillMemoryKHR(commandBuffer, __dsl_pDstRange, dstFlags, data); + } + } + [NativeName("vkCmdInsertDebugUtilsLabelEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] [NativeFunction("vulkan", EntryPoint = "vkCmdInsertDebugUtilsLabelEXT")] @@ -71190,8 +78181,10 @@ Ref pDependencyInfo "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -71215,8 +78208,10 @@ CommandBufferHandle stateCommandBuffer "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -71428,6 +78423,54 @@ Ref pPushConstantsInfo } } + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdPushDataEXT( + CommandBufferHandle commandBuffer, + PushDataInfoEXT* pPushDataInfo + ) => Underlying.Value!.CmdPushDataEXT(commandBuffer, pPushDataInfo); + + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdPushDataEXT( + CommandBufferHandle commandBuffer, + Ref pPushDataInfo + ) + { + fixed (PushDataInfoEXT* __dsl_pPushDataInfo = pPushDataInfo) + { + CmdPushDataEXT(commandBuffer, __dsl_pPushDataInfo); + } + } + [NativeName("vkCmdPushDescriptorSet")] [SupportedApiProfile( "vulkan", @@ -72883,6 +79926,48 @@ ColorComponentFlags pColorWriteMasks pColorWriteMasks ); + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + ComputeOccupancyPriorityParametersNV* pParameters + ) => Underlying.Value!.CmdSetComputeOccupancyPriorityNV(commandBuffer, pParameters); + + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + Ref pParameters + ) + { + fixed (ComputeOccupancyPriorityParametersNV* __dsl_pParameters = pParameters) + { + CmdSetComputeOccupancyPriorityNV(commandBuffer, __dsl_pParameters); + } + } + [NativeName("vkCmdSetConservativeRasterizationModeEXT")] [SupportedApiProfile( "vulkan", @@ -74088,6 +81173,42 @@ public static void CmdSetDiscardRectangleModeEXT( DiscardRectangleModeEXT discardRectangleMode ) => Underlying.Value!.CmdSetDiscardRectangleModeEXT(commandBuffer, discardRectangleMode); + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + DispatchParametersARM* pDispatchParameters + ) => Underlying.Value!.CmdSetDispatchParametersARM(commandBuffer, pDispatchParameters); + + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + Ref pDispatchParameters + ) + { + fixed (DispatchParametersARM* __dsl_pDispatchParameters = pDispatchParameters) + { + CmdSetDispatchParametersARM(commandBuffer, __dsl_pDispatchParameters); + } + } + [NativeName("vkCmdSetEvent")] [SupportedApiProfile( "vulkan", @@ -74537,12 +81658,15 @@ FrontFace frontFace [NativeName("vkCmdSetLineRasterizationModeEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineRasterizationModeEXT")] [MethodImpl( @@ -74577,12 +81701,15 @@ ushort lineStipplePattern [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] [MethodImpl( @@ -74596,12 +81723,15 @@ uint stippledLineEnable [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] [MethodImpl( @@ -74940,6 +82070,24 @@ MaybeBool primitiveRestartEnable primitiveRestartEnable ); + [NativeName("vkCmdSetPrimitiveRestartIndexEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetPrimitiveRestartIndexEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdSetPrimitiveRestartIndexEXT( + CommandBufferHandle commandBuffer, + uint primitiveRestartIndex + ) => Underlying.Value!.CmdSetPrimitiveRestartIndexEXT(commandBuffer, primitiveRestartIndex); + [NativeName("vkCmdSetPrimitiveTopology")] [SupportedApiProfile( "vulkan", @@ -76877,6 +84025,66 @@ Ref pData } } + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + void* pData + ) => + Underlying.Value!.CmdUpdateMemoryKHR( + commandBuffer, + pDstRange, + dstFlags, + dataSize, + pData + ); + + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + Ref pData + ) + { + fixed (void* __dsl_pData = pData) + fixed (DeviceAddressRangeKHR* __dsl_pDstRange = pDstRange) + { + CmdUpdateMemoryKHR(commandBuffer, __dsl_pDstRange, dstFlags, dataSize, __dsl_pData); + } + } + [NativeName("vkCmdUpdatePipelineIndirectBufferNV")] [SupportedApiProfile( "vulkan", @@ -77357,6 +84565,54 @@ uint marker marker ); + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + MemoryMarkerInfoAMD* pInfo + ) => Underlying.Value!.CmdWriteMarkerToMemoryAMD(commandBuffer, pInfo); + + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (MemoryMarkerInfoAMD* __dsl_pInfo = pInfo) + { + CmdWriteMarkerToMemoryAMD(commandBuffer, __dsl_pInfo); + } + } + [NativeName("vkCmdWriteMicromapsPropertiesEXT")] [SupportedApiProfile( "vulkan", @@ -78147,6 +85403,74 @@ Ref pInfo } } + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateAccelerationStructure2KHR( + DeviceHandle device, + AccelerationStructureCreateInfo2KHR* pCreateInfo, + AllocationCallbacks* pAllocator, + AccelerationStructureHandleKHR* pAccelerationStructure + ) => + Underlying.Value!.CreateAccelerationStructure2KHR( + device, + pCreateInfo, + pAllocator, + pAccelerationStructure + ); + + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateAccelerationStructure2KHR( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pAccelerationStructure + ) + { + fixed ( + AccelerationStructureHandleKHR* __dsl_pAccelerationStructure = + pAccelerationStructure + ) + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + fixed (AccelerationStructureCreateInfo2KHR* __dsl_pCreateInfo = pCreateInfo) + { + return (Result)CreateAccelerationStructure2KHR( + device, + __dsl_pCreateInfo, + __dsl_pAllocator, + __dsl_pAccelerationStructure + ); + } + } + [NativeName("vkCreateAccelerationStructureKHR")] [SupportedApiProfile( "vulkan", @@ -78703,9 +86027,8 @@ Ref pModule "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] @@ -78736,9 +86059,8 @@ public static Result CreateDataGraphPipelinesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] @@ -78776,9 +86098,8 @@ Ref pPipelines "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] @@ -78803,9 +86124,8 @@ public static Result CreateDataGraphPipelineSessionARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] @@ -79722,6 +87042,59 @@ Ref pFramebuffer } } + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateGpaSessionAMD( + DeviceHandle device, + GpaSessionCreateInfoAMD* pCreateInfo, + AllocationCallbacks* pAllocator, + GpaSessionHandleAMD* pGpaSession + ) => Underlying.Value!.CreateGpaSessionAMD(device, pCreateInfo, pAllocator, pGpaSession); + + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateGpaSessionAMD( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pGpaSession + ) + { + fixed (GpaSessionHandleAMD* __dsl_pGpaSession = pGpaSession) + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + fixed (GpaSessionCreateInfoAMD* __dsl_pCreateInfo = pCreateInfo) + { + return (Result)CreateGpaSessionAMD( + device, + __dsl_pCreateInfo, + __dsl_pAllocator, + __dsl_pGpaSession + ); + } + } + [NativeName("vkCreateGraphicsPipelines")] [SupportedApiProfile( "vulkan", @@ -80036,8 +87409,10 @@ Ref pView "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -80063,8 +87438,10 @@ public static Result CreateIndirectCommandsLayoutEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -80156,8 +87533,10 @@ Ref pIndirectCommandsLayout "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -80183,8 +87562,10 @@ public static Result CreateIndirectExecutionSetEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -80410,6 +87791,7 @@ Ref pSession "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -80431,6 +87813,7 @@ public static Result CreatePipelineBinariesKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -81463,38 +88846,97 @@ Ref pSemaphore } } - [NativeName("vkCreateShaderModule")] + [NativeName("vkCreateShaderInstrumentationARM")] [SupportedApiProfile( "vulkan", - [ - "VK_COMPUTE_VERSION_1_0", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_0", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_0", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.0" + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] )] - [NativeFunction("vulkan", EntryPoint = "vkCreateShaderModule")] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Result CreateShaderModule( + public static Result CreateShaderInstrumentationARM( DeviceHandle device, - ShaderModuleCreateInfo* pCreateInfo, + ShaderInstrumentationCreateInfoARM* pCreateInfo, AllocationCallbacks* pAllocator, - ShaderModuleHandle* pShaderModule - ) => Underlying.Value!.CreateShaderModule(device, pCreateInfo, pAllocator, pShaderModule); + ShaderInstrumentationHandleARM* pInstrumentation + ) => + Underlying.Value!.CreateShaderInstrumentationARM( + device, + pCreateInfo, + pAllocator, + pInstrumentation + ); + + [NativeName("vkCreateShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateShaderInstrumentationARM( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pInstrumentation + ) + { + fixed (ShaderInstrumentationHandleARM* __dsl_pInstrumentation = pInstrumentation) + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + fixed (ShaderInstrumentationCreateInfoARM* __dsl_pCreateInfo = pCreateInfo) + { + return (Result)CreateShaderInstrumentationARM( + device, + __dsl_pCreateInfo, + __dsl_pAllocator, + __dsl_pInstrumentation + ); + } + } + + [NativeName("vkCreateShaderModule")] + [SupportedApiProfile( + "vulkan", + [ + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_0", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_0", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.0" + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderModule")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result CreateShaderModule( + DeviceHandle device, + ShaderModuleCreateInfo* pCreateInfo, + AllocationCallbacks* pAllocator, + ShaderModuleHandle* pShaderModule + ) => Underlying.Value!.CreateShaderModule(device, pCreateInfo, pAllocator, pShaderModule); [NativeName("vkCreateShaderModule")] [SupportedApiProfile( @@ -82466,9 +89908,8 @@ Ref pAllocator "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] @@ -82486,9 +89927,8 @@ public static void DestroyDataGraphPipelineSessionARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] @@ -83158,6 +90598,50 @@ Ref pAllocator } } + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + AllocationCallbacks* pAllocator + ) => Underlying.Value!.DestroyGpaSessionAMD(device, gpaSession, pAllocator); + + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + Ref pAllocator + ) + { + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + { + DestroyGpaSessionAMD(device, gpaSession, __dsl_pAllocator); + } + } + [NativeName("vkDestroyImage")] [SupportedApiProfile( "vulkan", @@ -83323,8 +90807,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -83348,8 +90834,10 @@ public static void DestroyIndirectCommandsLayoutEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -83417,8 +90905,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -83442,8 +90932,10 @@ public static void DestroyIndirectExecutionSetEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -83706,6 +91198,7 @@ Ref pAllocator "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -83725,6 +91218,7 @@ public static void DestroyPipelineBinaryKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -84430,6 +91924,50 @@ Ref pAllocator } } + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + AllocationCallbacks* pAllocator + ) => Underlying.Value!.DestroyShaderInstrumentationARM(device, instrumentation, pAllocator); + + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pAllocator + ) + { + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + { + DestroyShaderInstrumentationARM(device, instrumentation, __dsl_pAllocator); + } + } + [NativeName("vkDestroyShaderModule")] [SupportedApiProfile( "vulkan", @@ -85620,172 +93158,232 @@ Ref pPhysicalDevices } } - [NativeName("vkFlushMappedMemoryRanges")] + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] [SupportedApiProfile( "vulkan", - [ - "VK_BASE_VERSION_1_0", - "VK_BASE_VERSION_1_1", - "VK_BASE_VERSION_1_2", - "VK_BASE_VERSION_1_3", - "VK_BASE_VERSION_1_4", - "VK_COMPUTE_VERSION_1_0", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_0", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_0", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.0" + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" )] - [NativeFunction("vulkan", EntryPoint = "vkFlushMappedMemoryRanges")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Result FlushMappedMemoryRanges( - DeviceHandle device, - uint memoryRangeCount, - MappedMemoryRange* pMemoryRanges - ) => Underlying.Value!.FlushMappedMemoryRanges(device, memoryRangeCount, pMemoryRanges); + public static Result EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + uint* pDescriptionCount, + ShaderInstrumentationMetricDescriptionARM* pDescriptions + ) => + Underlying.Value!.EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + physicalDevice, + pDescriptionCount, + pDescriptions + ); - [NativeName("vkFlushMappedMemoryRanges")] + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] [SupportedApiProfile( "vulkan", - [ - "VK_BASE_VERSION_1_0", - "VK_BASE_VERSION_1_1", - "VK_BASE_VERSION_1_2", - "VK_BASE_VERSION_1_3", - "VK_BASE_VERSION_1_4", - "VK_COMPUTE_VERSION_1_0", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_0", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_0", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.0" + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" )] - [NativeFunction("vulkan", EntryPoint = "vkFlushMappedMemoryRanges")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Result FlushMappedMemoryRanges( - DeviceHandle device, - uint memoryRangeCount, - Ref pMemoryRanges + public static Result EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + Ref pDescriptionCount, + Ref pDescriptions ) { - fixed (MappedMemoryRange* __dsl_pMemoryRanges = pMemoryRanges) + fixed (ShaderInstrumentationMetricDescriptionARM* __dsl_pDescriptions = pDescriptions) + fixed (uint* __dsl_pDescriptionCount = pDescriptionCount) { - return (Result)FlushMappedMemoryRanges( - device, - memoryRangeCount, - __dsl_pMemoryRanges + return (Result)EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + physicalDevice, + __dsl_pDescriptionCount, + __dsl_pDescriptions ); } } - [NativeName("vkFreeCommandBuffers")] - [SupportedApiProfile( - "vulkan", - [ - "VK_BASE_VERSION_1_0", - "VK_BASE_VERSION_1_1", - "VK_BASE_VERSION_1_2", - "VK_BASE_VERSION_1_3", - "VK_BASE_VERSION_1_4", - "VK_COMPUTE_VERSION_1_0", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_0", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_0", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.0" - )] - [NativeFunction("vulkan", EntryPoint = "vkFreeCommandBuffers")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static void FreeCommandBuffer( - DeviceHandle device, - CommandPoolHandle commandPool, - CommandBufferHandle pCommandBuffers - ) => Underlying.Value!.FreeCommandBuffer(device, commandPool, pCommandBuffers); - - [NativeName("vkFreeCommandBuffers")] - [SupportedApiProfile( - "vulkan", - [ - "VK_BASE_VERSION_1_0", - "VK_BASE_VERSION_1_1", - "VK_BASE_VERSION_1_2", - "VK_BASE_VERSION_1_3", - "VK_BASE_VERSION_1_4", - "VK_COMPUTE_VERSION_1_0", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_0", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_0", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.0" - )] - [NativeFunction("vulkan", EntryPoint = "vkFreeCommandBuffers")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static void FreeCommandBuffers( - DeviceHandle device, - CommandPoolHandle commandPool, - uint commandBufferCount, - CommandBufferHandle* pCommandBuffers - ) => - Underlying.Value!.FreeCommandBuffers( - device, - commandPool, - commandBufferCount, - pCommandBuffers - ); - - [NativeName("vkFreeCommandBuffers")] + [NativeName("vkFlushMappedMemoryRanges")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_0", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_0", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.0" + )] + [NativeFunction("vulkan", EntryPoint = "vkFlushMappedMemoryRanges")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result FlushMappedMemoryRanges( + DeviceHandle device, + uint memoryRangeCount, + MappedMemoryRange* pMemoryRanges + ) => Underlying.Value!.FlushMappedMemoryRanges(device, memoryRangeCount, pMemoryRanges); + + [NativeName("vkFlushMappedMemoryRanges")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_0", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_0", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.0" + )] + [NativeFunction("vulkan", EntryPoint = "vkFlushMappedMemoryRanges")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result FlushMappedMemoryRanges( + DeviceHandle device, + uint memoryRangeCount, + Ref pMemoryRanges + ) + { + fixed (MappedMemoryRange* __dsl_pMemoryRanges = pMemoryRanges) + { + return (Result)FlushMappedMemoryRanges( + device, + memoryRangeCount, + __dsl_pMemoryRanges + ); + } + } + + [NativeName("vkFreeCommandBuffers")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_0", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_0", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.0" + )] + [NativeFunction("vulkan", EntryPoint = "vkFreeCommandBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void FreeCommandBuffer( + DeviceHandle device, + CommandPoolHandle commandPool, + CommandBufferHandle pCommandBuffers + ) => Underlying.Value!.FreeCommandBuffer(device, commandPool, pCommandBuffers); + + [NativeName("vkFreeCommandBuffers")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_0", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_0", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.0" + )] + [NativeFunction("vulkan", EntryPoint = "vkFreeCommandBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void FreeCommandBuffers( + DeviceHandle device, + CommandPoolHandle commandPool, + uint commandBufferCount, + CommandBufferHandle* pCommandBuffers + ) => + Underlying.Value!.FreeCommandBuffers( + device, + commandPool, + commandBufferCount, + pCommandBuffers + ); + + [NativeName("vkFreeCommandBuffers")] [SupportedApiProfile( "vulkan", [ @@ -86936,9 +94534,8 @@ Ref pSizeInfo "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] @@ -86963,9 +94560,8 @@ public static Result GetDataGraphPipelineAvailablePropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] @@ -86997,9 +94593,8 @@ Ref pProperties "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] @@ -87024,9 +94619,8 @@ public static Result GetDataGraphPipelinePropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] @@ -87057,9 +94651,8 @@ Ref pProperties "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -87087,9 +94680,8 @@ public static Result GetDataGraphPipelineSessionBindPointRequirementsARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -87127,9 +94719,8 @@ Ref pBindPointRequirements "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -87155,9 +94746,8 @@ public static void GetDataGraphPipelineSessionMemoryRequirementsARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -87721,6 +95311,65 @@ Ref pMemoryRequirements } } + [NativeName("vkGetDeviceCombinedImageSamplerIndexNVX")] + [SupportedApiProfile("vulkan", ["VK_NVX_image_view_handle"])] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceCombinedImageSamplerIndexNVX")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ulong GetDeviceCombinedImageSamplerIndexNVX( + DeviceHandle device, + ulong imageViewIndex, + ulong samplerIndex + ) => + Underlying.Value!.GetDeviceCombinedImageSamplerIndexNVX( + device, + imageViewIndex, + samplerIndex + ); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetDeviceFaultDebugInfoKHR( + DeviceHandle device, + DeviceFaultDebugInfoKHR* pDebugInfo + ) => Underlying.Value!.GetDeviceFaultDebugInfoKHR(device, pDebugInfo); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetDeviceFaultDebugInfoKHR( + DeviceHandle device, + Ref pDebugInfo + ) + { + fixed (DeviceFaultDebugInfoKHR* __dsl_pDebugInfo = pDebugInfo) + { + return (Result)GetDeviceFaultDebugInfoKHR(device, __dsl_pDebugInfo); + } + } + [NativeName("vkGetDeviceFaultInfoEXT")] [SupportedApiProfile( "vulkan", @@ -87766,47 +95415,99 @@ Ref pFaultInfo } } - [NativeName("vkGetDeviceGroupPeerMemoryFeatures")] + [NativeName("vkGetDeviceFaultReportsKHR")] [SupportedApiProfile( "vulkan", - [ - "VK_BASE_VERSION_1_1", - "VK_BASE_VERSION_1_2", - "VK_BASE_VERSION_1_3", - "VK_BASE_VERSION_1_4", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.1" + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] )] - [NativeFunction("vulkan", EntryPoint = "vkGetDeviceGroupPeerMemoryFeatures")] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static void GetDeviceGroupPeerMemoryFeatures( + public static Result GetDeviceFaultReportsKHR( DeviceHandle device, - uint heapIndex, - uint localDeviceIndex, - uint remoteDeviceIndex, - PeerMemoryFeatureFlags* pPeerMemoryFeatures - ) => - Underlying.Value!.GetDeviceGroupPeerMemoryFeatures( - device, - heapIndex, - localDeviceIndex, - remoteDeviceIndex, - pPeerMemoryFeatures - ); + ulong timeout, + uint* pFaultCounts, + DeviceFaultInfoKHR* pFaultInfo + ) => Underlying.Value!.GetDeviceFaultReportsKHR(device, timeout, pFaultCounts, pFaultInfo); + + [NativeName("vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + Ref pFaultCounts, + Ref pFaultInfo + ) + { + fixed (DeviceFaultInfoKHR* __dsl_pFaultInfo = pFaultInfo) + fixed (uint* __dsl_pFaultCounts = pFaultCounts) + { + return (Result)GetDeviceFaultReportsKHR( + device, + timeout, + __dsl_pFaultCounts, + __dsl_pFaultInfo + ); + } + } + + [NativeName("vkGetDeviceGroupPeerMemoryFeatures")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.1" + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceGroupPeerMemoryFeatures")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetDeviceGroupPeerMemoryFeatures( + DeviceHandle device, + uint heapIndex, + uint localDeviceIndex, + uint remoteDeviceIndex, + PeerMemoryFeatureFlags* pPeerMemoryFeatures + ) => + Underlying.Value!.GetDeviceGroupPeerMemoryFeatures( + device, + heapIndex, + localDeviceIndex, + remoteDeviceIndex, + pPeerMemoryFeatures + ); [NativeName("vkGetDeviceGroupPeerMemoryFeatures")] [SupportedApiProfile( @@ -89452,8 +97153,10 @@ Ref pProperties "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -89477,8 +97180,10 @@ public static void GetGeneratedCommandsMemoryRequirementsEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -89551,294 +97256,474 @@ Ref pMemoryRequirements } } - [NativeName("vkGetImageDrmFormatModifierPropertiesEXT")] + [NativeName("vkGetGpaDeviceClockInfoAMD")] [SupportedApiProfile( "vulkan", - ["VK_EXT_image_drm_format_modifier"], + ["VK_AMD_gpa_interface"], ImpliesSets = [ - "VK_KHR_image_format_list+VK_KHR_bind_memory2+VK_KHR_get_physical_device_properties2+VK_KHR_sampler_ycbcr_conversion", - "VK_KHR_image_format_list+VK_VERSION_1_1", - "VK_VERSION_1_2", + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", ] )] - [NativeFunction("vulkan", EntryPoint = "vkGetImageDrmFormatModifierPropertiesEXT")] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Result GetImageDrmFormatModifierPropertiesEXT( + public static Result GetGpaDeviceClockInfoAMD( DeviceHandle device, - ImageHandle image, - ImageDrmFormatModifierPropertiesEXT* pProperties - ) => Underlying.Value!.GetImageDrmFormatModifierPropertiesEXT(device, image, pProperties); + GpaDeviceGetClockInfoAMD* pInfo + ) => Underlying.Value!.GetGpaDeviceClockInfoAMD(device, pInfo); - [NativeName("vkGetImageDrmFormatModifierPropertiesEXT")] + [NativeName("vkGetGpaDeviceClockInfoAMD")] [SupportedApiProfile( "vulkan", - ["VK_EXT_image_drm_format_modifier"], + ["VK_AMD_gpa_interface"], ImpliesSets = [ - "VK_KHR_image_format_list+VK_KHR_bind_memory2+VK_KHR_get_physical_device_properties2+VK_KHR_sampler_ycbcr_conversion", - "VK_KHR_image_format_list+VK_VERSION_1_1", - "VK_VERSION_1_2", + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", ] )] - [NativeFunction("vulkan", EntryPoint = "vkGetImageDrmFormatModifierPropertiesEXT")] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Result GetImageDrmFormatModifierPropertiesEXT( + public static Result GetGpaDeviceClockInfoAMD( DeviceHandle device, - ImageHandle image, - Ref pProperties + Ref pInfo ) { - fixed (ImageDrmFormatModifierPropertiesEXT* __dsl_pProperties = pProperties) + fixed (GpaDeviceGetClockInfoAMD* __dsl_pInfo = pInfo) { - return (Result)GetImageDrmFormatModifierPropertiesEXT( - device, - image, - __dsl_pProperties - ); + return (Result)GetGpaDeviceClockInfoAMD(device, __dsl_pInfo); } } - [NativeName("vkGetImageMemoryRequirements")] + [NativeName("vkGetGpaSessionResultsAMD")] [SupportedApiProfile( "vulkan", - [ - "VK_BASE_VERSION_1_0", - "VK_BASE_VERSION_1_1", - "VK_BASE_VERSION_1_2", - "VK_BASE_VERSION_1_3", - "VK_BASE_VERSION_1_4", - "VK_COMPUTE_VERSION_1_0", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_0", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_0", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.0" + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] )] - [NativeFunction("vulkan", EntryPoint = "vkGetImageMemoryRequirements")] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static void GetImageMemoryRequirements( + public static Result GetGpaSessionResultsAMD( DeviceHandle device, - ImageHandle image, - MemoryRequirements* pMemoryRequirements - ) => Underlying.Value!.GetImageMemoryRequirements(device, image, pMemoryRequirements); + GpaSessionHandleAMD gpaSession, + uint sampleID, + nuint* pSizeInBytes, + void* pData + ) => + Underlying.Value!.GetGpaSessionResultsAMD( + device, + gpaSession, + sampleID, + pSizeInBytes, + pData + ); - [NativeName("vkGetImageMemoryRequirements")] + [NativeName("vkGetGpaSessionResultsAMD")] [SupportedApiProfile( "vulkan", - [ - "VK_BASE_VERSION_1_0", - "VK_BASE_VERSION_1_1", - "VK_BASE_VERSION_1_2", - "VK_BASE_VERSION_1_3", - "VK_BASE_VERSION_1_4", - "VK_COMPUTE_VERSION_1_0", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_0", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_0", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.0" + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] )] - [NativeFunction("vulkan", EntryPoint = "vkGetImageMemoryRequirements")] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static void GetImageMemoryRequirements( + public static Result GetGpaSessionResultsAMD( DeviceHandle device, - ImageHandle image, - Ref pMemoryRequirements + GpaSessionHandleAMD gpaSession, + uint sampleID, + Ref pSizeInBytes, + Ref pData ) { - fixed (MemoryRequirements* __dsl_pMemoryRequirements = pMemoryRequirements) + fixed (void* __dsl_pData = pData) + fixed (nuint* __dsl_pSizeInBytes = pSizeInBytes) { - GetImageMemoryRequirements(device, image, __dsl_pMemoryRequirements); + return (Result)GetGpaSessionResultsAMD( + device, + gpaSession, + sampleID, + __dsl_pSizeInBytes, + __dsl_pData + ); } } - [NativeName("vkGetImageMemoryRequirements2")] + [NativeName("vkGetGpaSessionStatusAMD")] [SupportedApiProfile( "vulkan", - [ - "VK_BASE_VERSION_1_1", - "VK_BASE_VERSION_1_2", - "VK_BASE_VERSION_1_3", - "VK_BASE_VERSION_1_4", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.1" - )] - [NativeFunction("vulkan", EntryPoint = "vkGetImageMemoryRequirements2")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static void GetImageMemoryRequirements2( - DeviceHandle device, - ImageMemoryRequirementsInfo2* pInfo, - MemoryRequirements2* pMemoryRequirements - ) => Underlying.Value!.GetImageMemoryRequirements2(device, pInfo, pMemoryRequirements); - - [NativeName("vkGetImageMemoryRequirements2")] - [SupportedApiProfile( - "vulkan", - [ - "VK_BASE_VERSION_1_1", - "VK_BASE_VERSION_1_2", - "VK_BASE_VERSION_1_3", - "VK_BASE_VERSION_1_4", - "VK_COMPUTE_VERSION_1_1", - "VK_COMPUTE_VERSION_1_2", - "VK_COMPUTE_VERSION_1_3", - "VK_COMPUTE_VERSION_1_4", - "VK_GRAPHICS_VERSION_1_1", - "VK_GRAPHICS_VERSION_1_2", - "VK_GRAPHICS_VERSION_1_3", - "VK_GRAPHICS_VERSION_1_4", - "VK_VERSION_1_1", - "VK_VERSION_1_2", - "VK_VERSION_1_3", - "VK_VERSION_1_4", - ], - MinVersion = "1.1" - )] - [NativeFunction("vulkan", EntryPoint = "vkGetImageMemoryRequirements2")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization - )] - public static void GetImageMemoryRequirements2( - DeviceHandle device, - Ref pInfo, - Ref pMemoryRequirements - ) - { - fixed (MemoryRequirements2* __dsl_pMemoryRequirements = pMemoryRequirements) - fixed (ImageMemoryRequirementsInfo2* __dsl_pInfo = pInfo) - { - GetImageMemoryRequirements2(device, __dsl_pInfo, __dsl_pMemoryRequirements); - } - } - - [NativeName("vkGetImageMemoryRequirements2KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_get_memory_requirements2"])] - [NativeFunction("vulkan", EntryPoint = "vkGetImageMemoryRequirements2KHR")] - [MethodImpl( - MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] )] - public static void GetImageMemoryRequirements2KHR( - DeviceHandle device, - ImageMemoryRequirementsInfo2* pInfo, - MemoryRequirements2* pMemoryRequirements - ) => Underlying.Value!.GetImageMemoryRequirements2KHR(device, pInfo, pMemoryRequirements); - - [NativeName("vkGetImageMemoryRequirements2KHR")] - [SupportedApiProfile("vulkan", ["VK_KHR_get_memory_requirements2"])] - [NativeFunction("vulkan", EntryPoint = "vkGetImageMemoryRequirements2KHR")] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionStatusAMD")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static void GetImageMemoryRequirements2KHR( + public static Result GetGpaSessionStatusAMD( DeviceHandle device, - Ref pInfo, - Ref pMemoryRequirements - ) - { - fixed (MemoryRequirements2* __dsl_pMemoryRequirements = pMemoryRequirements) - fixed (ImageMemoryRequirementsInfo2* __dsl_pInfo = pInfo) - { - GetImageMemoryRequirements2KHR(device, __dsl_pInfo, __dsl_pMemoryRequirements); - } - } + GpaSessionHandleAMD gpaSession + ) => Underlying.Value!.GetGpaSessionStatusAMD(device, gpaSession); - [NativeName("vkGetImageOpaqueCaptureDescriptorDataEXT")] + [NativeName("vkGetImageDrmFormatModifierPropertiesEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_descriptor_buffer"], + ["VK_EXT_image_drm_format_modifier"], ImpliesSets = [ - "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_KHR_get_physical_device_properties2", - "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_VERSION_1_1", - "VK_KHR_synchronization2+VK_VERSION_1_2", - "VK_VERSION_1_3", + "VK_KHR_image_format_list+VK_KHR_bind_memory2+VK_KHR_get_physical_device_properties2+VK_KHR_sampler_ycbcr_conversion", + "VK_KHR_image_format_list+VK_VERSION_1_1", + "VK_VERSION_1_2", ] )] - [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDescriptorDataEXT")] + [NativeFunction("vulkan", EntryPoint = "vkGetImageDrmFormatModifierPropertiesEXT")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Result GetImageOpaqueCaptureDescriptorDataEXT( + public static Result GetImageDrmFormatModifierPropertiesEXT( DeviceHandle device, - ImageCaptureDescriptorDataInfoEXT* pInfo, - void* pData - ) => Underlying.Value!.GetImageOpaqueCaptureDescriptorDataEXT(device, pInfo, pData); + ImageHandle image, + ImageDrmFormatModifierPropertiesEXT* pProperties + ) => Underlying.Value!.GetImageDrmFormatModifierPropertiesEXT(device, image, pProperties); - [NativeName("vkGetImageOpaqueCaptureDescriptorDataEXT")] + [NativeName("vkGetImageDrmFormatModifierPropertiesEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_descriptor_buffer"], + ["VK_EXT_image_drm_format_modifier"], ImpliesSets = [ - "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_KHR_get_physical_device_properties2", - "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_VERSION_1_1", - "VK_KHR_synchronization2+VK_VERSION_1_2", - "VK_VERSION_1_3", + "VK_KHR_image_format_list+VK_KHR_bind_memory2+VK_KHR_get_physical_device_properties2+VK_KHR_sampler_ycbcr_conversion", + "VK_KHR_image_format_list+VK_VERSION_1_1", + "VK_VERSION_1_2", ] )] - [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDescriptorDataEXT")] + [NativeFunction("vulkan", EntryPoint = "vkGetImageDrmFormatModifierPropertiesEXT")] [MethodImpl( MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization )] - public static Result GetImageOpaqueCaptureDescriptorDataEXT( + public static Result GetImageDrmFormatModifierPropertiesEXT( DeviceHandle device, - Ref pInfo, - Ref pData + ImageHandle image, + Ref pProperties ) { - fixed (void* __dsl_pData = pData) - fixed (ImageCaptureDescriptorDataInfoEXT* __dsl_pInfo = pInfo) + fixed (ImageDrmFormatModifierPropertiesEXT* __dsl_pProperties = pProperties) { - return (Result)GetImageOpaqueCaptureDescriptorDataEXT( + return (Result)GetImageDrmFormatModifierPropertiesEXT( device, - __dsl_pInfo, - __dsl_pData + image, + __dsl_pProperties ); } } - [NativeName("vkGetImageSparseMemoryRequirements")] + [NativeName("vkGetImageMemoryRequirements")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_0", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_0", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.0" + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageMemoryRequirements")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetImageMemoryRequirements( + DeviceHandle device, + ImageHandle image, + MemoryRequirements* pMemoryRequirements + ) => Underlying.Value!.GetImageMemoryRequirements(device, image, pMemoryRequirements); + + [NativeName("vkGetImageMemoryRequirements")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_0", + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_0", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_0", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_0", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.0" + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageMemoryRequirements")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetImageMemoryRequirements( + DeviceHandle device, + ImageHandle image, + Ref pMemoryRequirements + ) + { + fixed (MemoryRequirements* __dsl_pMemoryRequirements = pMemoryRequirements) + { + GetImageMemoryRequirements(device, image, __dsl_pMemoryRequirements); + } + } + + [NativeName("vkGetImageMemoryRequirements2")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.1" + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageMemoryRequirements2")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetImageMemoryRequirements2( + DeviceHandle device, + ImageMemoryRequirementsInfo2* pInfo, + MemoryRequirements2* pMemoryRequirements + ) => Underlying.Value!.GetImageMemoryRequirements2(device, pInfo, pMemoryRequirements); + + [NativeName("vkGetImageMemoryRequirements2")] + [SupportedApiProfile( + "vulkan", + [ + "VK_BASE_VERSION_1_1", + "VK_BASE_VERSION_1_2", + "VK_BASE_VERSION_1_3", + "VK_BASE_VERSION_1_4", + "VK_COMPUTE_VERSION_1_1", + "VK_COMPUTE_VERSION_1_2", + "VK_COMPUTE_VERSION_1_3", + "VK_COMPUTE_VERSION_1_4", + "VK_GRAPHICS_VERSION_1_1", + "VK_GRAPHICS_VERSION_1_2", + "VK_GRAPHICS_VERSION_1_3", + "VK_GRAPHICS_VERSION_1_4", + "VK_VERSION_1_1", + "VK_VERSION_1_2", + "VK_VERSION_1_3", + "VK_VERSION_1_4", + ], + MinVersion = "1.1" + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageMemoryRequirements2")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetImageMemoryRequirements2( + DeviceHandle device, + Ref pInfo, + Ref pMemoryRequirements + ) + { + fixed (MemoryRequirements2* __dsl_pMemoryRequirements = pMemoryRequirements) + fixed (ImageMemoryRequirementsInfo2* __dsl_pInfo = pInfo) + { + GetImageMemoryRequirements2(device, __dsl_pInfo, __dsl_pMemoryRequirements); + } + } + + [NativeName("vkGetImageMemoryRequirements2KHR")] + [SupportedApiProfile("vulkan", ["VK_KHR_get_memory_requirements2"])] + [NativeFunction("vulkan", EntryPoint = "vkGetImageMemoryRequirements2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetImageMemoryRequirements2KHR( + DeviceHandle device, + ImageMemoryRequirementsInfo2* pInfo, + MemoryRequirements2* pMemoryRequirements + ) => Underlying.Value!.GetImageMemoryRequirements2KHR(device, pInfo, pMemoryRequirements); + + [NativeName("vkGetImageMemoryRequirements2KHR")] + [SupportedApiProfile("vulkan", ["VK_KHR_get_memory_requirements2"])] + [NativeFunction("vulkan", EntryPoint = "vkGetImageMemoryRequirements2KHR")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetImageMemoryRequirements2KHR( + DeviceHandle device, + Ref pInfo, + Ref pMemoryRequirements + ) + { + fixed (MemoryRequirements2* __dsl_pMemoryRequirements = pMemoryRequirements) + fixed (ImageMemoryRequirementsInfo2* __dsl_pInfo = pInfo) + { + GetImageMemoryRequirements2KHR(device, __dsl_pInfo, __dsl_pMemoryRequirements); + } + } + + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + ImageHandle* pImages, + HostAddressRangeEXT* pDatas + ) => Underlying.Value!.GetImageOpaqueCaptureDataEXT(device, imageCount, pImages, pDatas); + + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + Ref pImages, + Ref pDatas + ) + { + fixed (HostAddressRangeEXT* __dsl_pDatas = pDatas) + fixed (ImageHandle* __dsl_pImages = pImages) + { + return (Result)GetImageOpaqueCaptureDataEXT( + device, + imageCount, + __dsl_pImages, + __dsl_pDatas + ); + } + } + + [NativeName("vkGetImageOpaqueCaptureDescriptorDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_buffer"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDescriptorDataEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetImageOpaqueCaptureDescriptorDataEXT( + DeviceHandle device, + ImageCaptureDescriptorDataInfoEXT* pInfo, + void* pData + ) => Underlying.Value!.GetImageOpaqueCaptureDescriptorDataEXT(device, pInfo, pData); + + [NativeName("vkGetImageOpaqueCaptureDescriptorDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_buffer"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_KHR_buffer_device_address+VK_EXT_descriptor_indexing+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDescriptorDataEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetImageOpaqueCaptureDescriptorDataEXT( + DeviceHandle device, + Ref pInfo, + Ref pData + ) + { + fixed (void* __dsl_pData = pData) + fixed (ImageCaptureDescriptorDataInfoEXT* __dsl_pInfo = pInfo) + { + return (Result)GetImageOpaqueCaptureDescriptorDataEXT( + device, + __dsl_pInfo, + __dsl_pData + ); + } + } + + [NativeName("vkGetImageSparseMemoryRequirements")] [SupportedApiProfile( "vulkan", [ @@ -90873,6 +98758,70 @@ Ref pSizeInfo } } + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetPastPresentationTimingEXT( + DeviceHandle device, + PastPresentationTimingInfoEXT* pPastPresentationTimingInfo, + PastPresentationTimingPropertiesEXT* pPastPresentationTimingProperties + ) => + Underlying.Value!.GetPastPresentationTimingEXT( + device, + pPastPresentationTimingInfo, + pPastPresentationTimingProperties + ); + + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetPastPresentationTimingEXT( + DeviceHandle device, + Ref pPastPresentationTimingInfo, + Ref pPastPresentationTimingProperties + ) + { + fixed ( + PastPresentationTimingPropertiesEXT* __dsl_pPastPresentationTimingProperties = + pPastPresentationTimingProperties + ) + fixed ( + PastPresentationTimingInfoEXT* __dsl_pPastPresentationTimingInfo = + pPastPresentationTimingInfo + ) + { + return (Result)GetPastPresentationTimingEXT( + device, + __dsl_pPastPresentationTimingInfo, + __dsl_pPastPresentationTimingProperties + ); + } + } + [NativeName("vkGetPastPresentationTimingGOOGLE")] [SupportedApiProfile( "vulkan", @@ -91279,6 +99228,27 @@ Ref pProperties } } + [NativeName("vkGetPhysicalDeviceDescriptorSizeEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPhysicalDeviceDescriptorSizeEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ulong GetPhysicalDeviceDescriptorSizeEXT( + PhysicalDeviceHandle physicalDevice, + DescriptorType descriptorType + ) => Underlying.Value!.GetPhysicalDeviceDescriptorSizeEXT(physicalDevice, descriptorType); + [NativeName("vkGetPhysicalDeviceDisplayPlaneProperties2KHR")] [SupportedApiProfile( "vulkan", @@ -93196,14 +101166,151 @@ Ref pProperties } } + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + BaseOutStructure* pProperties + ) => + Underlying.Value!.GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + physicalDevice, + queueFamilyIndex, + pQueueFamilyDataGraphProperties, + pProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pProperties + ) + { + fixed (BaseOutStructure* __dsl_pProperties = pProperties) + fixed ( + QueueFamilyDataGraphPropertiesARM* __dsl_pQueueFamilyDataGraphProperties = + pQueueFamilyDataGraphProperties + ) + { + return (Result)GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + physicalDevice, + queueFamilyIndex, + __dsl_pQueueFamilyDataGraphProperties, + __dsl_pProperties + ); + } + } + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + DataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, + uint* pFormatCount, + DataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties + ) => + Underlying.Value!.GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + physicalDevice, + queueFamilyIndex, + pQueueFamilyDataGraphProperties, + pOpticalFlowImageFormatInfo, + pFormatCount, + pImageFormatProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pOpticalFlowImageFormatInfo, + Ref pFormatCount, + Ref pImageFormatProperties + ) + { + fixed ( + DataGraphOpticalFlowImageFormatPropertiesARM* __dsl_pImageFormatProperties = + pImageFormatProperties + ) + fixed (uint* __dsl_pFormatCount = pFormatCount) + fixed ( + DataGraphOpticalFlowImageFormatInfoARM* __dsl_pOpticalFlowImageFormatInfo = + pOpticalFlowImageFormatInfo + ) + fixed ( + QueueFamilyDataGraphPropertiesARM* __dsl_pQueueFamilyDataGraphProperties = + pQueueFamilyDataGraphProperties + ) + { + return (Result)GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + physicalDevice, + queueFamilyIndex, + __dsl_pQueueFamilyDataGraphProperties, + __dsl_pOpticalFlowImageFormatInfo, + __dsl_pFormatCount, + __dsl_pImageFormatProperties + ); + } + } + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM")] [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -93229,9 +101336,8 @@ public static void GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperti "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -93269,9 +101375,8 @@ Ref pQueueFamilyDataGraphProc "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -93299,9 +101404,8 @@ public static Result GetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( "vulkan", ["VK_ARM_data_graph"], ImpliesSets = [ - "VK_KHR_deferred_host_operations", - "VK_KHR_maintenance5", - "VK_VERSION_1_3", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", ] )] [NativeFunction( @@ -94514,6 +102618,7 @@ Ref pVideoFormatProperties "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -94542,6 +102647,7 @@ public static Result GetPipelineBinaryDataKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -94920,6 +103026,7 @@ Ref pMemoryRequirements "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -94939,6 +103046,7 @@ public static Result GetPipelineKeyKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -96076,6 +104184,68 @@ Ref pInfo } } + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + uint* pMetricBlockCount, + void* pMetricValues, + uint flags + ) => + Underlying.Value!.GetShaderInstrumentationValuesARM( + device, + instrumentation, + pMetricBlockCount, + pMetricValues, + flags + ); + + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pMetricBlockCount, + Ref pMetricValues, + uint flags + ) + { + fixed (void* __dsl_pMetricValues = pMetricValues) + fixed (uint* __dsl_pMetricBlockCount = pMetricBlockCount) + { + return (Result)GetShaderInstrumentationValuesARM( + device, + instrumentation, + __dsl_pMetricBlockCount, + __dsl_pMetricValues, + flags + ); + } + } + [NativeName("vkGetShaderModuleCreateInfoIdentifierEXT")] [SupportedApiProfile( "vulkan", @@ -96285,6 +104455,138 @@ public static Result GetSwapchainStatusKHR( SwapchainHandleKHR swapchain ) => Underlying.Value!.GetSwapchainStatusKHR(device, swapchain); + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimeDomainPropertiesEXT* pSwapchainTimeDomainProperties, + ulong* pTimeDomainsCounter + ) => + Underlying.Value!.GetSwapchainTimeDomainPropertiesEXT( + device, + swapchain, + pSwapchainTimeDomainProperties, + pTimeDomainsCounter + ); + + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimeDomainProperties, + Ref pTimeDomainsCounter + ) + { + fixed (ulong* __dsl_pTimeDomainsCounter = pTimeDomainsCounter) + fixed ( + SwapchainTimeDomainPropertiesEXT* __dsl_pSwapchainTimeDomainProperties = + pSwapchainTimeDomainProperties + ) + { + return (Result)GetSwapchainTimeDomainPropertiesEXT( + device, + swapchain, + __dsl_pSwapchainTimeDomainProperties, + __dsl_pTimeDomainsCounter + ); + } + } + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimingPropertiesEXT* pSwapchainTimingProperties, + ulong* pSwapchainTimingPropertiesCounter + ) => + Underlying.Value!.GetSwapchainTimingPropertiesEXT( + device, + swapchain, + pSwapchainTimingProperties, + pSwapchainTimingPropertiesCounter + ); + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimingProperties, + Ref pSwapchainTimingPropertiesCounter + ) + { + fixed ( + ulong* __dsl_pSwapchainTimingPropertiesCounter = pSwapchainTimingPropertiesCounter + ) + fixed ( + SwapchainTimingPropertiesEXT* __dsl_pSwapchainTimingProperties = + pSwapchainTimingProperties + ) + { + return (Result)GetSwapchainTimingPropertiesEXT( + device, + swapchain, + __dsl_pSwapchainTimingProperties, + __dsl_pSwapchainTimingPropertiesCounter + ); + } + } + [NativeName("vkGetTensorMemoryRequirementsARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] [NativeFunction("vulkan", EntryPoint = "vkGetTensorMemoryRequirementsARM")] @@ -96316,6 +104618,66 @@ Ref pMemoryRequirements } } + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + TensorHandleARM* pTensors, + HostAddressRangeEXT* pDatas + ) => Underlying.Value!.GetTensorOpaqueCaptureDataARM(device, tensorCount, pTensors, pDatas); + + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + Ref pTensors, + Ref pDatas + ) + { + fixed (HostAddressRangeEXT* __dsl_pDatas = pDatas) + fixed (TensorHandleARM* __dsl_pTensors = pTensors) + { + return (Result)GetTensorOpaqueCaptureDataARM( + device, + tensorCount, + __dsl_pTensors, + __dsl_pDatas + ); + } + } + [NativeName("vkGetTensorOpaqueCaptureDescriptorDataARM")] [SupportedApiProfile( "vulkan", @@ -97240,6 +105602,48 @@ public static Result QueuePresentKHR(QueueHandle queue, Ref pPre } } + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result QueueSetPerfHintQCOM( + QueueHandle queue, + PerfHintInfoQCOM* pPerfHintInfo + ) => Underlying.Value!.QueueSetPerfHintQCOM(queue, pPerfHintInfo); + + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result QueueSetPerfHintQCOM( + QueueHandle queue, + Ref pPerfHintInfo + ) + { + fixed (PerfHintInfoQCOM* __dsl_pPerfHintInfo = pPerfHintInfo) + { + return (Result)QueueSetPerfHintQCOM(queue, __dsl_pPerfHintInfo); + } + } + [NativeName("vkQueueSetPerformanceConfigurationINTEL")] [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerformanceConfigurationINTEL")] @@ -97471,6 +105875,72 @@ FenceHandle fence public static Result QueueWaitIdle(QueueHandle queue) => Underlying.Value!.QueueWaitIdle(queue); + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result RegisterCustomBorderColorEXT( + DeviceHandle device, + SamplerCustomBorderColorCreateInfoEXT* pBorderColor, + uint requestIndex, + uint* pIndex + ) => + Underlying.Value!.RegisterCustomBorderColorEXT( + device, + pBorderColor, + requestIndex, + pIndex + ); + + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result RegisterCustomBorderColorEXT( + DeviceHandle device, + Ref pBorderColor, + MaybeBool requestIndex, + Ref pIndex + ) + { + fixed (uint* __dsl_pIndex = pIndex) + fixed (SamplerCustomBorderColorCreateInfoEXT* __dsl_pBorderColor = pBorderColor) + { + return (Result)RegisterCustomBorderColorEXT( + device, + __dsl_pBorderColor, + (uint)requestIndex, + __dsl_pIndex + ); + } + } + [NativeName("vkRegisterDeviceEventEXT")] [SupportedApiProfile( "vulkan", @@ -97580,6 +106050,7 @@ Ref pFence "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -97599,6 +106070,7 @@ public static Result ReleaseCapturedPipelineDataKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -97713,9 +106185,8 @@ Ref pReleaseInfo "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -97732,9 +106203,8 @@ public static Result ReleaseSwapchainImagesKHR( "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -97966,6 +106436,24 @@ Ref pFences } } + [NativeName("vkResetGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkResetGpaSessionAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result ResetGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession + ) => Underlying.Value!.ResetGpaSessionAMD(device, gpaSession); + [NativeName("vkResetQueryPool")] [SupportedApiProfile( "vulkan", @@ -98117,6 +106605,48 @@ float priority public static Result SetEvent(DeviceHandle device, EventHandle @event) => Underlying.Value!.SetEvent(device, @event); + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result SetGpaDeviceClockModeAMD( + DeviceHandle device, + GpaDeviceClockModeInfoAMD* pInfo + ) => Underlying.Value!.SetGpaDeviceClockModeAMD(device, pInfo); + + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result SetGpaDeviceClockModeAMD( + DeviceHandle device, + Ref pInfo + ) + { + fixed (GpaDeviceClockModeInfoAMD* __dsl_pInfo = pInfo) + { + return (Result)SetGpaDeviceClockModeAMD(device, __dsl_pInfo); + } + } + [NativeName("vkSetHdrMetadataEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_hdr_metadata"], ImpliesSets = ["VK_KHR_swapchain"])] [NativeFunction("vulkan", EntryPoint = "vkSetHdrMetadataEXT")] @@ -98346,6 +106876,27 @@ ulong data data ); + [NativeName("vkSetSwapchainPresentTimingQueueSizeEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetSwapchainPresentTimingQueueSizeEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result SetSwapchainPresentTimingQueueSizeEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + uint size + ) => Underlying.Value!.SetSwapchainPresentTimingQueueSizeEXT(device, swapchain, size); + [NativeName("vkSignalSemaphore")] [SupportedApiProfile( "vulkan", @@ -98751,6 +107302,26 @@ Ref pMemoryUnmapInfo } } + [NativeName("vkUnregisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkUnregisterCustomBorderColorEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void UnregisterCustomBorderColorEXT(DeviceHandle device, uint index) => + Underlying.Value!.UnregisterCustomBorderColorEXT(device, index); + [NativeName("vkUpdateDescriptorSets")] [SupportedApiProfile( "vulkan", @@ -98964,8 +107535,10 @@ Ref pData "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -98991,8 +107564,10 @@ public static void UpdateIndirectExecutionSetPipelineEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -99026,8 +107601,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -99051,8 +107628,10 @@ WriteIndirectExecutionSetPipelineEXT pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -99078,8 +107657,10 @@ public static void UpdateIndirectExecutionSetShaderEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -99112,8 +107693,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -99584,6 +108167,134 @@ nuint stride ); } } + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + ResourceDescriptorInfoEXT* pResources, + HostAddressRangeEXT* pDescriptors + ) => + Underlying.Value!.WriteResourceDescriptorsEXT( + device, + resourceCount, + pResources, + pDescriptors + ); + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + Ref pResources, + Ref pDescriptors + ) + { + fixed (HostAddressRangeEXT* __dsl_pDescriptors = pDescriptors) + fixed (ResourceDescriptorInfoEXT* __dsl_pResources = pResources) + { + return (Result)WriteResourceDescriptorsEXT( + device, + resourceCount, + __dsl_pResources, + __dsl_pDescriptors + ); + } + } + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + SamplerCreateInfo* pSamplers, + HostAddressRangeEXT* pDescriptors + ) => + Underlying.Value!.WriteSamplerDescriptorsEXT( + device, + samplerCount, + pSamplers, + pDescriptors + ); + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Result WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + Ref pSamplers, + Ref pDescriptors + ) + { + fixed (HostAddressRangeEXT* __dsl_pDescriptors = pDescriptors) + fixed (SamplerCreateInfo* __dsl_pSamplers = pSamplers) + { + return (Result)WriteSamplerDescriptorsEXT( + device, + samplerCount, + __dsl_pSamplers, + __dsl_pDescriptors + ); + } + } } [NativeName("VULKAN_VIDEO_CODEC_AV1STD_H_")] @@ -100113,7 +108824,7 @@ nuint stride ], MinVersion = "1.0" )] - public const int HeaderVersion = 332; + public const int HeaderVersion = 354; [NativeName("VK_HEADER_VERSION_COMPLETE")] [SupportedApiProfile( @@ -100143,7 +108854,7 @@ nuint stride MinVersion = "1.0" )] public const uint HeaderVersionComplete = ( - (((uint)(0)) << 29) | (((uint)(1)) << 22) | (((uint)(4)) << 12) | ((uint)(332)) + (((uint)(0)) << 29) | (((uint)(1)) << 22) | (((uint)(4)) << 12) | ((uint)(354)) ); [NativeName("VK_API_VERSION_1_0")] @@ -101975,6 +110686,28 @@ nuint stride public static Utf8String KhrFragmentShadingRateExtensionName => "VK_KHR_fragment_shading_rate"u8; + [NativeName("VK_KHR_SHADER_CONSTANT_DATA_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_constant_data"], + ImpliesSets = [ + "VK_KHR_shader_constant_data+VK_KHR_get_physical_device_properties2", + "VK_KHR_shader_constant_data+VK_VERSION_1_1", + ] + )] + public const int KhrShaderConstantDataSpecVersion = 1; + + [NativeName("VK_KHR_SHADER_CONSTANT_DATA_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_constant_data"], + ImpliesSets = [ + "VK_KHR_shader_constant_data+VK_KHR_get_physical_device_properties2", + "VK_KHR_shader_constant_data+VK_VERSION_1_1", + ] + )] + public static Utf8String KhrShaderConstantDataExtensionName => "VK_KHR_shader_constant_data"u8; + [NativeName("VK_KHR_DYNAMIC_RENDERING_LOCAL_READ_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -101998,6 +110731,22 @@ nuint stride public static Utf8String KhrDynamicRenderingLocalReadExtensionName => "VK_KHR_dynamic_rendering_local_read"u8; + [NativeName("VK_KHR_SHADER_ABORT_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public const int KhrShaderAbortSpecVersion = 1; + + [NativeName("VK_KHR_SHADER_ABORT_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_shader_abort"], + ImpliesSets = ["VK_KHR_device_fault", "VK_KHR_shader_constant_data"] + )] + public static Utf8String KhrShaderAbortExtensionName => "VK_KHR_shader_abort"u8; + [NativeName("VK_KHR_SHADER_QUAD_CONTROL_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -102286,6 +111035,33 @@ nuint stride )] public static Utf8String KhrSynchronization2ExtensionName => "VK_KHR_synchronization2"u8; + [NativeName("VK_KHR_DEVICE_ADDRESS_COMMANDS_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public const int KhrDeviceAddressCommandsSpecVersion = 1; + + [NativeName("VK_KHR_DEVICE_ADDRESS_COMMANDS_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + public static Utf8String KhrDeviceAddressCommandsExtensionName => + "VK_KHR_device_address_commands"u8; + [NativeName("VK_KHR_FRAGMENT_SHADER_BARYCENTRIC_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -102588,6 +111364,7 @@ nuint stride "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -102599,6 +111376,7 @@ nuint stride "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -102610,6 +111388,7 @@ nuint stride "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -102620,10 +111399,7 @@ nuint stride [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public const int KhrSurfaceMaintenance1SpecVersion = 1; @@ -102631,10 +111407,7 @@ nuint stride [SupportedApiProfile( "vulkan", ["VK_KHR_surface_maintenance1"], - ImpliesSets = [ - "VK_KHR_surface_maintenance1+VK_KHR_get_surface_capabilities2", - "VK_KHR_surface_maintenance1+VK_KHR_surface", - ] + ImpliesSets = ["VK_KHR_get_surface_capabilities2", "VK_KHR_surface"] )] public static Utf8String KhrSurfaceMaintenance1ExtensionName => "VK_KHR_surface_maintenance1"u8; @@ -102643,9 +111416,8 @@ nuint stride "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public const int KhrSwapchainMaintenance1SpecVersion = 1; @@ -102655,14 +111427,30 @@ nuint stride "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] public static Utf8String KhrSwapchainMaintenance1ExtensionName => "VK_KHR_swapchain_maintenance1"u8; + [NativeName("VK_KHR_INTERNALLY_SYNCHRONIZED_QUEUES_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_internally_synchronized_queues"], + ImpliesSets = ["VK_VERSION_1_1"] + )] + public const int KhrInternallySynchronizedQueuesSpecVersion = 1; + + [NativeName("VK_KHR_INTERNALLY_SYNCHRONIZED_QUEUES_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_internally_synchronized_queues"], + ImpliesSets = ["VK_VERSION_1_1"] + )] + public static Utf8String KhrInternallySynchronizedQueuesExtensionName => + "VK_KHR_internally_synchronized_queues"u8; + [NativeName("VK_KHR_COOPERATIVE_MATRIX_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -103049,6 +111837,28 @@ nuint stride [SupportedApiProfile("vulkan", ["VK_KHR_maintenance7"], ImpliesSets = ["VK_VERSION_1_1"])] public static Utf8String KhrMaintenance7ExtensionName => "VK_KHR_maintenance7"u8; + [NativeName("VK_KHR_DEVICE_FAULT_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public const int KhrDeviceFaultSpecVersion = 1; + + [NativeName("VK_KHR_DEVICE_FAULT_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + public static Utf8String KhrDeviceFaultExtensionName => "VK_KHR_device_fault"u8; + [NativeName("VK_KHR_MAINTENANCE_8_SPEC_VERSION")] [SupportedApiProfile("vulkan", ["VK_KHR_maintenance8"], ImpliesSets = ["VK_VERSION_1_1"])] public const int KhrMaintenance8SpecVersion = 1; @@ -103117,6 +111927,23 @@ nuint stride )] public static Utf8String KhrVideoMaintenance2ExtensionName => "VK_KHR_video_maintenance2"u8; + [NativeName("VK_KHR_VIDEO_ENCODE_FEEDBACK_2_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public const int KhrVideoEncodeFeedback2SpecVersion = 1; + + [NativeName("VK_KHR_VIDEO_ENCODE_FEEDBACK_2_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_video_encode_feedback2"], + ImpliesSets = ["VK_KHR_video_encode_queue"] + )] + public static Utf8String KhrVideoEncodeFeedback2ExtensionName => + "VK_KHR_video_encode_feedback2"u8; + [NativeName("VK_KHR_DEPTH_CLAMP_ZERO_ONE_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -103178,6 +112005,22 @@ nuint stride public static Utf8String KhrPresentModeFifoLatestReadyExtensionName => "VK_KHR_present_mode_fifo_latest_ready"u8; + [NativeName("VK_KHR_OPACITY_MICROMAP_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public const int KhrOpacityMicromapSpecVersion = 1; + + [NativeName("VK_KHR_OPACITY_MICROMAP_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_opacity_micromap"], + ImpliesSets = ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"] + )] + public static Utf8String KhrOpacityMicromapExtensionName => "VK_KHR_opacity_micromap"u8; + [NativeName("VK_KHR_MAINTENANCE_10_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -103200,6 +112043,50 @@ nuint stride )] public static Utf8String KhrMaintenance10ExtensionName => "VK_KHR_maintenance10"u8; + [NativeName("VK_KHR_MAINTENANCE_11_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + public const int KhrMaintenance11SpecVersion = 1; + + [NativeName("VK_KHR_MAINTENANCE_11_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_maintenance11"], + ImpliesSets = [ + "VK_KHR_maintenance11+VK_KHR_get_physical_device_properties2", + "VK_KHR_maintenance11+VK_VERSION_1_1", + ] + )] + public static Utf8String KhrMaintenance11ExtensionName => "VK_KHR_maintenance11"u8; + + [NativeName("VK_KHR_EXTENDED_FLAGS_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public const int KhrExtendedFlagsSpecVersion = 1; + + [NativeName("VK_KHR_EXTENDED_FLAGS_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_extended_flags"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_get_physical_device_properties2", + "VK_KHR_extended_flags+VK_VERSION_1_1", + ] + )] + public static Utf8String KhrExtendedFlagsExtensionName => "VK_KHR_extended_flags"u8; + [NativeName("VK_EXT_DEBUG_REPORT_SPEC_VERSION")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_report"])] public const int ExtDebugReportSpecVersion = 10; @@ -103315,7 +112202,7 @@ nuint stride [NativeName("VK_NVX_IMAGE_VIEW_HANDLE_SPEC_VERSION")] [SupportedApiProfile("vulkan", ["VK_NVX_image_view_handle"])] - public const int NvxImageViewHandleSpecVersion = 3; + public const int NvxImageViewHandleSpecVersion = 4; [NativeName("VK_NVX_IMAGE_VIEW_HANDLE_EXTENSION_NAME")] [SupportedApiProfile("vulkan", ["VK_NVX_image_view_handle"])] @@ -103897,6 +112784,56 @@ nuint stride [SupportedApiProfile("vulkan", ["VK_AMD_gpu_shader_int16"])] public static Utf8String AmdGpuShaderInt16ExtensionName => "VK_AMD_gpu_shader_int16"u8; + [NativeName("VK_AMD_GPA_INTERFACE_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public const int AmdGpaInterfaceSpecVersion = 1; + + [NativeName("VK_AMD_GPA_INTERFACE_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + public static Utf8String AmdGpaInterfaceExtensionName => "VK_AMD_gpa_interface"u8; + + [NativeName("VK_EXT_DESCRIPTOR_HEAP_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public const int ExtDescriptorHeapSpecVersion = 1; + + [NativeName("VK_EXT_DESCRIPTOR_HEAP_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + public static Utf8String ExtDescriptorHeapExtensionName => "VK_EXT_descriptor_heap"u8; + [NativeName("VK_AMD_MIXED_ATTACHMENT_SAMPLES_SPEC_VERSION")] [SupportedApiProfile("vulkan", ["VK_AMD_mixed_attachment_samples"])] public const int AmdMixedAttachmentSamplesSpecVersion = 1; @@ -104202,6 +113139,45 @@ nuint stride public static Utf8String QcomRenderPassShaderResolveExtensionName => "VK_QCOM_render_pass_shader_resolve"u8; + [NativeName("VK_QCOM_COOPERATIVE_MATRIX_CONVERSION_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_cooperative_matrix_conversion"], + ImpliesSets = ["VK_KHR_cooperative_matrix"] + )] + public const int QcomCooperativeMatrixConversionSpecVersion = 1; + + [NativeName("VK_QCOM_COOPERATIVE_MATRIX_CONVERSION_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_cooperative_matrix_conversion"], + ImpliesSets = ["VK_KHR_cooperative_matrix"] + )] + public static Utf8String QcomCooperativeMatrixConversionExtensionName => + "VK_QCOM_cooperative_matrix_conversion"u8; + + [NativeName("VK_QCOM_ELAPSED_TIMER_QUERY_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_elapsed_timer_query"], + ImpliesSets = [ + "VK_QCOM_elapsed_timer_query+VK_KHR_get_physical_device_properties2", + "VK_QCOM_elapsed_timer_query+VK_VERSION_1_1", + ] + )] + public const int QcomElapsedTimerQuerySpecVersion = 1; + + [NativeName("VK_QCOM_ELAPSED_TIMER_QUERY_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_elapsed_timer_query"], + ImpliesSets = [ + "VK_QCOM_elapsed_timer_query+VK_KHR_get_physical_device_properties2", + "VK_QCOM_elapsed_timer_query+VK_VERSION_1_1", + ] + )] + public static Utf8String QcomElapsedTimerQueryExtensionName => "VK_QCOM_elapsed_timer_query"u8; + [NativeName("VK_EXT_GLOBAL_PRIORITY_SPEC_VERSION")] [SupportedApiProfile("vulkan", ["VK_EXT_global_priority"])] public const int ExtGlobalPrioritySpecVersion = 2; @@ -104489,6 +113465,32 @@ nuint stride public static Utf8String NvDeviceDiagnosticCheckpointsExtensionName => "VK_NV_device_diagnostic_checkpoints"u8; + [NativeName("VK_EXT_PRESENT_TIMING_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public const int ExtPresentTimingSpecVersion = 3; + + [NativeName("VK_EXT_PRESENT_TIMING_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + public static Utf8String ExtPresentTimingExtensionName => "VK_EXT_present_timing"u8; + [NativeName("VK_INTEL_SHADER_INTEGER_FUNCTIONS_2_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -104573,7 +113575,7 @@ nuint stride "VK_EXT_fragment_density_map+VK_VERSION_1_1", ] )] - public const int ExtFragmentDensityMapSpecVersion = 2; + public const int ExtFragmentDensityMapSpecVersion = 3; [NativeName("VK_EXT_FRAGMENT_DENSITY_MAP_EXTENSION_NAME")] [SupportedApiProfile( @@ -105351,6 +114353,29 @@ nuint stride )] public static Utf8String ExtCustomBorderColorExtensionName => "VK_EXT_custom_border_color"u8; + [NativeName("VK_EXT_TEXTURE_COMPRESSION_ASTC_3D_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + public const int ExtTextureCompressionAstc3DSpecVersion = 1; + + [NativeName("VK_EXT_TEXTURE_COMPRESSION_ASTC_3D_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_texture_compression_astc_3d"], + ImpliesSets = [ + "VK_EXT_texture_compression_astc_3d+VK_KHR_get_physical_device_properties2", + "VK_EXT_texture_compression_astc_3d+VK_VERSION_1_1", + ] + )] + public static Utf8String ExtTextureCompressionAstc3DExtensionName => + "VK_EXT_texture_compression_astc_3d"u8; + [NativeName("VK_GOOGLE_USER_TYPE_SPEC_VERSION")] [SupportedApiProfile("vulkan", ["VK_GOOGLE_user_type"])] public const int GoogleUserTypeSpecVersion = 1; @@ -105458,25 +114483,108 @@ nuint stride public static Utf8String QcomRenderPassStoreOpsExtensionName => "VK_QCOM_render_pass_store_ops"u8; - [NativeName("VK_QCOM_TILE_SHADING_SPEC_VERSION")] + [NativeName("VK_QCOM_QUEUE_PERF_HINT_SPEC_VERSION")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_QCOM_queue_perf_hint"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", ] )] + public const int QcomQueuePerfHintSpecVersion = 1; + + [NativeName("VK_QCOM_QUEUE_PERF_HINT_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + public static Utf8String QcomQueuePerfHintExtensionName => "VK_QCOM_queue_perf_hint"u8; + + [NativeName("VK_QCOM_IMAGE_PROCESSING_3_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_image_processing3"], + ImpliesSets = [ + "VK_QCOM_image_processing3+VK_KHR_get_physical_device_properties2", + "VK_QCOM_image_processing3+VK_VERSION_1_1", + ] + )] + public const int QcomImageProcessing3SpecVersion = 1; + + [NativeName("VK_QCOM_IMAGE_PROCESSING_3_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_image_processing3"], + ImpliesSets = [ + "VK_QCOM_image_processing3+VK_KHR_get_physical_device_properties2", + "VK_QCOM_image_processing3+VK_VERSION_1_1", + ] + )] + public static Utf8String QcomImageProcessing3ExtensionName => "VK_QCOM_image_processing3"u8; + + [NativeName("VK_QCOM_SHADER_MULTIPLE_WAIT_QUEUES_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_shader_multiple_wait_queues"], + ImpliesSets = [ + "VK_QCOM_shader_multiple_wait_queues+VK_KHR_get_physical_device_properties2", + "VK_QCOM_shader_multiple_wait_queues+VK_VERSION_1_1", + ] + )] + public const int QcomShaderMultipleWaitQueuesSpecVersion = 1; + + [NativeName("VK_QCOM_SHADER_MULTIPLE_WAIT_QUEUES_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_shader_multiple_wait_queues"], + ImpliesSets = [ + "VK_QCOM_shader_multiple_wait_queues+VK_KHR_get_physical_device_properties2", + "VK_QCOM_shader_multiple_wait_queues+VK_VERSION_1_1", + ] + )] + public static Utf8String QcomShaderMultipleWaitQueuesExtensionName => + "VK_QCOM_shader_multiple_wait_queues"u8; + + [NativeName("VK_EXT_SHADER_SPLIT_BARRIER_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_split_barrier"], + ImpliesSets = [ + "VK_EXT_shader_split_barrier+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_split_barrier+VK_VERSION_1_1", + ] + )] + public const int ExtShaderSplitBarrierSpecVersion = 1; + + [NativeName("VK_EXT_SHADER_SPLIT_BARRIER_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_split_barrier"], + ImpliesSets = [ + "VK_EXT_shader_split_barrier+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_split_barrier+VK_VERSION_1_1", + ] + )] + public static Utf8String ExtShaderSplitBarrierExtensionName => "VK_EXT_shader_split_barrier"u8; + + [NativeName("VK_QCOM_TILE_SHADING_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] public const int QcomTileShadingSpecVersion = 2; [NativeName("VK_QCOM_TILE_SHADING_EXTENSION_NAME")] [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] public static Utf8String QcomTileShadingExtensionName => "VK_QCOM_tile_shading"u8; @@ -106392,7 +115500,7 @@ nuint stride ["VK_ARM_scheduling_controls"], ImpliesSets = ["VK_ARM_shader_core_builtins"] )] - public const int ArmSchedulingControlsSpecVersion = 1; + public const int ArmSchedulingControlsSpecVersion = 2; [NativeName("VK_ARM_SCHEDULING_CONTROLS_EXTENSION_NAME")] [SupportedApiProfile( @@ -106813,7 +115921,7 @@ nuint stride [NativeName("VK_ARM_TENSORS_SPEC_VERSION")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] - public const int ArmTensorsSpecVersion = 1; + public const int ArmTensorsSpecVersion = 2; [NativeName("VK_ARM_TENSORS_EXTENSION_NAME")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] @@ -107265,7 +116373,10 @@ nuint stride [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public const uint MaxPhysicalDeviceDataGraphOperationSetNameSizeARM = 128U; @@ -107273,7 +116384,10 @@ nuint stride [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public const int ArmDataGraphSpecVersion = 1; @@ -107281,10 +116395,38 @@ nuint stride [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] public static Utf8String ArmDataGraphExtensionName => "VK_ARM_data_graph"u8; + [NativeName("VK_MAX_DATA_GRAPH_TOSA_NAME_SIZE_ARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public const uint MaxDataGraphTosaNameSizeARM = 128U; + + [NativeName("VK_ARM_DATA_GRAPH_INSTRUCTION_SET_TOSA_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public const int ArmDataGraphInstructionSetTosaSpecVersion = 1; + + [NativeName("VK_ARM_DATA_GRAPH_INSTRUCTION_SET_TOSA_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public static Utf8String ArmDataGraphInstructionSetTosaExtensionName => + "VK_ARM_data_graph_instruction_set_tosa"u8; + [NativeName("VK_QCOM_MULTIVIEW_PER_VIEW_RENDER_AREAS_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -107716,8 +116858,10 @@ nuint stride "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -107728,8 +116872,10 @@ nuint stride "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -107759,6 +116905,31 @@ nuint stride public static Utf8String MesaImageAlignmentControlExtensionName => "VK_MESA_image_alignment_control"u8; + [NativeName("VK_NV_PUSH_CONSTANT_BANK_SPEC_VERSION")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public const int NvPushConstantBankSpecVersion = 1; + + [NativeName("VK_NV_PUSH_CONSTANT_BANK_EXTENSION_NAME")] + [SupportedApiProfile("vulkan", ["VK_NV_push_constant_bank"])] + public static Utf8String NvPushConstantBankExtensionName => "VK_NV_push_constant_bank"u8; + + [NativeName("VK_EXT_RAY_TRACING_INVOCATION_REORDER_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + public const int ExtRayTracingInvocationReorderSpecVersion = 2; + + [NativeName("VK_EXT_RAY_TRACING_INVOCATION_REORDER_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_ray_tracing_invocation_reorder"], + ImpliesSets = ["VK_KHR_ray_tracing_pipeline"] + )] + public static Utf8String ExtRayTracingInvocationReorderExtensionName => + "VK_EXT_ray_tracing_invocation_reorder"u8; + [NativeName("VK_EXT_DEPTH_CLAMP_CONTROL_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -107836,6 +117007,28 @@ nuint stride public static Utf8String ArmPipelineOpacityMicromapExtensionName => "VK_ARM_pipeline_opacity_micromap"u8; + [NativeName("VK_IMG_FILTER_LINEAR_2D_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_IMG_filter_linear_2d"], + ImpliesSets = [ + "VK_IMG_filter_linear_2d+VK_KHR_format_feature_flags2", + "VK_IMG_filter_linear_2d+VK_VERSION_1_3", + ] + )] + public const int ImgFilterLinear2DSpecVersion = 1; + + [NativeName("VK_IMG_FILTER_LINEAR_2D_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_IMG_filter_linear_2d"], + ImpliesSets = [ + "VK_IMG_filter_linear_2d+VK_KHR_format_feature_flags2", + "VK_IMG_filter_linear_2d+VK_VERSION_1_3", + ] + )] + public static Utf8String ImgFilterLinear2DExtensionName => "VK_IMG_filter_linear_2d"u8; + [NativeName("VK_ARM_PERFORMANCE_COUNTERS_BY_REGION_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -107859,6 +117052,29 @@ nuint stride public static Utf8String ArmPerformanceCountersByRegionExtensionName => "VK_ARM_performance_counters_by_region"u8; + [NativeName("VK_ARM_SHADER_INSTRUMENTATION_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public const int ArmShaderInstrumentationSpecVersion = 1; + + [NativeName("VK_ARM_SHADER_INSTRUMENTATION_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + public static Utf8String ArmShaderInstrumentationExtensionName => + "VK_ARM_shader_instrumentation"u8; + [NativeName("VK_EXT_VERTEX_ATTRIBUTE_ROBUSTNESS_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -107909,6 +117125,7 @@ nuint stride "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -107920,6 +117137,7 @@ nuint stride "vulkan", ["VK_VALVE_fragment_density_map_layered"], ImpliesSets = [ + "VK_EXT_fragment_density_map+VK_KHR_extended_flags", "VK_EXT_fragment_density_map+VK_KHR_maintenance5", "VK_EXT_fragment_density_map+VK_VERSION_1_4", ] @@ -107949,6 +117167,23 @@ nuint stride )] public static Utf8String NvPresentMeteringExtensionName => "VK_NV_present_metering"u8; + [NativeName("VK_EXT_MULTISAMPLED_RENDER_TO_SWAPCHAIN_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + public const int ExtMultisampledRenderToSwapchainSpecVersion = 1; + + [NativeName("VK_EXT_MULTISAMPLED_RENDER_TO_SWAPCHAIN_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_multisampled_render_to_swapchain"], + ImpliesSets = ["VK_EXT_multisampled_render_to_single_sampled", "VK_KHR_swapchain"] + )] + public static Utf8String ExtMultisampledRenderToSwapchainExtensionName => + "VK_EXT_multisampled_render_to_swapchain"u8; + [NativeName("VK_EXT_FRAGMENT_DENSITY_MAP_OFFSET_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -108030,6 +117265,28 @@ nuint stride public static Utf8String ExtShader64BitIndexingExtensionName => "VK_EXT_shader_64bit_indexing"u8; + [NativeName("VK_EXT_CUSTOM_RESOLVE_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public const int ExtCustomResolveSpecVersion = 1; + + [NativeName("VK_EXT_CUSTOM_RESOLVE_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + public static Utf8String ExtCustomResolveExtensionName => "VK_EXT_custom_resolve"u8; + [NativeName("VK_DATA_GRAPH_MODEL_TOOLCHAIN_VERSION_LENGTH_QCOM")] [SupportedApiProfile( "vulkan", @@ -108054,6 +117311,31 @@ nuint stride )] public static Utf8String QcomDataGraphModelExtensionName => "VK_QCOM_data_graph_model"u8; + [NativeName("VK_ARM_DATA_GRAPH_OPTICAL_FLOW_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public const int ArmDataGraphOpticalFlowSpecVersion = 1; + + [NativeName("VK_ARM_DATA_GRAPH_OPTICAL_FLOW_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + public static Utf8String ArmDataGraphOpticalFlowExtensionName => + "VK_ARM_data_graph_optical_flow"u8; + + [NativeName("VK_EXT_SHADER_LONG_VECTOR_SPEC_VERSION")] + [SupportedApiProfile("vulkan", ["VK_EXT_shader_long_vector"], ImpliesSets = ["VK_VERSION_1_2"])] + public const int ExtShaderLongVectorSpecVersion = 1; + + [NativeName("VK_EXT_SHADER_LONG_VECTOR_EXTENSION_NAME")] + [SupportedApiProfile("vulkan", ["VK_EXT_shader_long_vector"], ImpliesSets = ["VK_VERSION_1_2"])] + public static Utf8String ExtShaderLongVectorExtensionName => "VK_EXT_shader_long_vector"u8; + [NativeName("VK_SEC_PIPELINE_CACHE_INCREMENTAL_MODE_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -108100,6 +117382,169 @@ nuint stride public static Utf8String ExtShaderUniformBufferUnsizedArrayExtensionName => "VK_EXT_shader_uniform_buffer_unsized_array"u8; + [NativeName("VK_NV_COMPUTE_OCCUPANCY_PRIORITY_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public const int NvComputeOccupancyPrioritySpecVersion = 1; + + [NativeName("VK_NV_COMPUTE_OCCUPANCY_PRIORITY_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public static Utf8String NvComputeOccupancyPriorityExtensionName => + "VK_NV_compute_occupancy_priority"u8; + + [NativeName("VK_COMPUTE_OCCUPANCY_PRIORITY_LOW_NV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public const float ComputeOccupancyPriorityLowNV = 0.25f; + + [NativeName("VK_COMPUTE_OCCUPANCY_PRIORITY_NORMAL_NV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public const float ComputeOccupancyPriorityNormalNV = 0.50f; + + [NativeName("VK_COMPUTE_OCCUPANCY_PRIORITY_HIGH_NV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + public const float ComputeOccupancyPriorityHighNV = 0.75f; + + [NativeName("VK_EXT_SHADER_SUBGROUP_PARTITIONED_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_subgroup_partitioned"], + ImpliesSets = [ + "VK_EXT_shader_subgroup_partitioned+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_subgroup_partitioned+VK_VERSION_1_1", + ] + )] + public const int ExtShaderSubgroupPartitionedSpecVersion = 1; + + [NativeName("VK_EXT_SHADER_SUBGROUP_PARTITIONED_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_shader_subgroup_partitioned"], + ImpliesSets = [ + "VK_EXT_shader_subgroup_partitioned+VK_KHR_get_physical_device_properties2", + "VK_EXT_shader_subgroup_partitioned+VK_VERSION_1_1", + ] + )] + public static Utf8String ExtShaderSubgroupPartitionedExtensionName => + "VK_EXT_shader_subgroup_partitioned"u8; + + [NativeName("VK_VALVE_SHADER_MIXED_FLOAT_DOT_PRODUCT_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_VALVE_shader_mixed_float_dot_product"], + ImpliesSets = [ + "VK_KHR_get_physical_device_properties2+VK_KHR_shader_float16_int8", + "VK_KHR_get_physical_device_properties2+VK_VERSION_1_2", + "VK_VERSION_1_1+VK_KHR_shader_float16_int8", + "VK_VERSION_1_1+VK_VERSION_1_2", + ] + )] + public const int ValveShaderMixedFloatDotProductSpecVersion = 1; + + [NativeName("VK_VALVE_SHADER_MIXED_FLOAT_DOT_PRODUCT_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_VALVE_shader_mixed_float_dot_product"], + ImpliesSets = [ + "VK_KHR_get_physical_device_properties2+VK_KHR_shader_float16_int8", + "VK_KHR_get_physical_device_properties2+VK_VERSION_1_2", + "VK_VERSION_1_1+VK_KHR_shader_float16_int8", + "VK_VERSION_1_1+VK_VERSION_1_2", + ] + )] + public static Utf8String ValveShaderMixedFloatDotProductExtensionName => + "VK_VALVE_shader_mixed_float_dot_product"u8; + + [NativeName("VK_SEC_THROTTLE_HINT_SPEC_VERSION")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + public const int SecThrottleHintSpecVersion = 1; + + [NativeName("VK_SEC_THROTTLE_HINT_EXTENSION_NAME")] + [SupportedApiProfile("vulkan", ["VK_SEC_throttle_hint"])] + public static Utf8String SecThrottleHintExtensionName => "VK_SEC_throttle_hint"u8; + + [NativeName("VK_ARM_DATA_GRAPH_NEURAL_ACCELERATOR_STATISTICS_SPEC_VERSION")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public const int ArmDataGraphNeuralAcceleratorStatisticsSpecVersion = 1; + + [NativeName("VK_ARM_DATA_GRAPH_NEURAL_ACCELERATOR_STATISTICS_EXTENSION_NAME")] + [SupportedApiProfile("vulkan", ["VK_ARM_data_graph_neural_accelerator_statistics"])] + public static Utf8String ArmDataGraphNeuralAcceleratorStatisticsExtensionName => + "VK_ARM_data_graph_neural_accelerator_statistics"u8; + + [NativeName("VK_EXT_PRIMITIVE_RESTART_INDEX_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + public const int ExtPrimitiveRestartIndexSpecVersion = 1; + + [NativeName("VK_EXT_PRIMITIVE_RESTART_INDEX_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + public static Utf8String ExtPrimitiveRestartIndexExtensionName => + "VK_EXT_primitive_restart_index"u8; + + [NativeName("VK_NV_COOPERATIVE_MATRIX_DECODE_VECTOR_SPEC_VERSION")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_cooperative_matrix_decode_vector"], + ImpliesSets = ["VK_NV_cooperative_matrix2"] + )] + public const int NvCooperativeMatrixDecodeVectorSpecVersion = 1; + + [NativeName("VK_NV_COOPERATIVE_MATRIX_DECODE_VECTOR_EXTENSION_NAME")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_cooperative_matrix_decode_vector"], + ImpliesSets = ["VK_NV_cooperative_matrix2"] + )] + public static Utf8String NvCooperativeMatrixDecodeVectorExtensionName => + "VK_NV_cooperative_matrix_decode_vector"u8; + [NativeName("VK_KHR_ACCELERATION_STRUCTURE_SPEC_VERSION")] [SupportedApiProfile( "vulkan", @@ -109569,7 +119014,10 @@ Ref pBindInfos [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -109597,7 +119045,10 @@ _slots[14] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -109611,7 +119062,10 @@ public static Result BindDataGraphPipelineSessionMemoryARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -109636,7 +119090,10 @@ Ref pBindInfos [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkBindDataGraphPipelineSessionMemoryARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -110336,6 +119793,146 @@ public static Result BuildMicromapsEXT( Ref pInfos ) => ThisThread.BuildMicromapsEXT(device, deferredOperation, infoCount, pInfos); + [NativeName("vkClearShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkClearShaderInstrumentationMetricsARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.ClearShaderInstrumentationMetricsARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation + ) => + ( + (delegate* unmanaged)( + _slots[23] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[23] = nativeContext.LoadFunction( + "vkClearShaderInstrumentationMetricsARM", + "vulkan" + ) + ) + )(device, instrumentation); + + [NativeName("vkClearShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkClearShaderInstrumentationMetricsARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ClearShaderInstrumentationMetricsARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation + ) => ThisThread.ClearShaderInstrumentationMetricsARM(device, instrumentation); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + ConditionalRenderingBeginInfo2EXT* pConditionalRenderingBegin + ) => + ( + (delegate* unmanaged)( + _slots[24] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[24] = nativeContext.LoadFunction( + "vkCmdBeginConditionalRendering2EXT", + "vulkan" + ) + ) + )(commandBuffer, pConditionalRenderingBegin); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + ConditionalRenderingBeginInfo2EXT* pConditionalRenderingBegin + ) => ThisThread.CmdBeginConditionalRendering2EXT(commandBuffer, pConditionalRenderingBegin); + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + Ref pConditionalRenderingBegin + ) + { + fixed ( + ConditionalRenderingBeginInfo2EXT* __dsl_pConditionalRenderingBegin = + pConditionalRenderingBegin + ) + { + ((IVk)this).CmdBeginConditionalRendering2EXT( + commandBuffer, + __dsl_pConditionalRenderingBegin + ); + } + } + + [NativeName("vkCmdBeginConditionalRendering2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_conditional_rendering", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginConditionalRendering2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBeginConditionalRendering2EXT( + CommandBufferHandle commandBuffer, + Ref pConditionalRenderingBegin + ) => ThisThread.CmdBeginConditionalRendering2EXT(commandBuffer, pConditionalRenderingBegin); + [NativeName("vkCmdBeginConditionalRenderingEXT")] [SupportedApiProfile( "vulkan", @@ -110353,9 +119950,9 @@ void IVk.CmdBeginConditionalRenderingEXT( ) => ( (delegate* unmanaged)( - _slots[23] is not null and var loadedFnPtr + _slots[25] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[23] = nativeContext.LoadFunction( + : _slots[25] = nativeContext.LoadFunction( "vkCmdBeginConditionalRenderingEXT", "vulkan" ) @@ -110422,6 +120019,86 @@ public static void CmdBeginConditionalRenderingEXT( Ref pConditionalRenderingBegin ) => ThisThread.CmdBeginConditionalRenderingEXT(commandBuffer, pConditionalRenderingBegin); + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + BeginCustomResolveInfoEXT* pBeginCustomResolveInfo + ) => + ( + (delegate* unmanaged)( + _slots[26] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[26] = nativeContext.LoadFunction( + "vkCmdBeginCustomResolveEXT", + "vulkan" + ) + ) + )(commandBuffer, pBeginCustomResolveInfo); + + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + BeginCustomResolveInfoEXT* pBeginCustomResolveInfo + ) => ThisThread.CmdBeginCustomResolveEXT(commandBuffer, pBeginCustomResolveInfo); + + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + Ref pBeginCustomResolveInfo + ) + { + fixed (BeginCustomResolveInfoEXT* __dsl_pBeginCustomResolveInfo = pBeginCustomResolveInfo) + { + ((IVk)this).CmdBeginCustomResolveEXT(commandBuffer, __dsl_pBeginCustomResolveInfo); + } + } + + [NativeName("vkCmdBeginCustomResolveEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_resolve+VK_KHR_dynamic_rendering", "VK_EXT_custom_resolve+VK_VERSION_1_3"], + ImpliesSets = [ + "VK_EXT_custom_resolve+VK_KHR_get_physical_device_properties2", + "VK_EXT_custom_resolve+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginCustomResolveEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBeginCustomResolveEXT( + CommandBufferHandle commandBuffer, + Ref pBeginCustomResolveInfo + ) => ThisThread.CmdBeginCustomResolveEXT(commandBuffer, pBeginCustomResolveInfo); + [NativeName("vkCmdBeginDebugUtilsLabelEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginDebugUtilsLabelEXT")] @@ -110432,9 +120109,9 @@ void IVk.CmdBeginDebugUtilsLabelEXT( ) => ( (delegate* unmanaged)( - _slots[24] is not null and var loadedFnPtr + _slots[27] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[24] = nativeContext.LoadFunction( + : _slots[27] = nativeContext.LoadFunction( "vkCmdBeginDebugUtilsLabelEXT", "vulkan" ) @@ -110474,15 +120151,148 @@ public static void CmdBeginDebugUtilsLabelEXT( Ref pLabelInfo ) => ThisThread.CmdBeginDebugUtilsLabelEXT(commandBuffer, pLabelInfo); - [NativeName("vkCmdBeginPerTileExecutionQCOM")] + [NativeName("vkCmdBeginGpaSampleAMD")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + GpaSampleBeginInfoAMD* pGpaSampleBeginInfo, + uint* pSampleID + ) => + ( + (delegate* unmanaged< + CommandBufferHandle, + GpaSessionHandleAMD, + GpaSampleBeginInfoAMD*, + uint*, + Result>)( + _slots[28] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[28] = nativeContext.LoadFunction("vkCmdBeginGpaSampleAMD", "vulkan") + ) + )(commandBuffer, gpaSession, pGpaSampleBeginInfo, pSampleID); + + [NativeName("vkCmdBeginGpaSampleAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + GpaSampleBeginInfoAMD* pGpaSampleBeginInfo, + uint* pSampleID + ) => ThisThread.CmdBeginGpaSampleAMD(commandBuffer, gpaSession, pGpaSampleBeginInfo, pSampleID); + + [NativeName("vkCmdBeginGpaSampleAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + Ref pGpaSampleBeginInfo, + Ref pSampleID + ) + { + fixed (uint* __dsl_pSampleID = pSampleID) + fixed (GpaSampleBeginInfoAMD* __dsl_pGpaSampleBeginInfo = pGpaSampleBeginInfo) + { + return (Result) + ((IVk)this).CmdBeginGpaSampleAMD( + commandBuffer, + gpaSession, + __dsl_pGpaSampleBeginInfo, + __dsl_pSampleID + ); + } + } + + [NativeName("vkCmdBeginGpaSampleAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSampleAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CmdBeginGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + Ref pGpaSampleBeginInfo, + Ref pSampleID + ) => ThisThread.CmdBeginGpaSampleAMD(commandBuffer, gpaSession, pGpaSampleBeginInfo, pSampleID); + + [NativeName("vkCmdBeginGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.CmdBeginGpaSessionAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ) => + ( + (delegate* unmanaged)( + _slots[29] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[29] = nativeContext.LoadFunction("vkCmdBeginGpaSessionAMD", "vulkan") + ) + )(commandBuffer, gpaSession); + + [NativeName("vkCmdBeginGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CmdBeginGpaSessionAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ) => ThisThread.CmdBeginGpaSessionAMD(commandBuffer, gpaSession); + + [NativeName("vkCmdBeginPerTileExecutionQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] void IVk.CmdBeginPerTileExecutionQCOM( @@ -110491,9 +120301,9 @@ void IVk.CmdBeginPerTileExecutionQCOM( ) => ( (delegate* unmanaged)( - _slots[25] is not null and var loadedFnPtr + _slots[30] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[25] = nativeContext.LoadFunction( + : _slots[30] = nativeContext.LoadFunction( "vkCmdBeginPerTileExecutionQCOM", "vulkan" ) @@ -110504,10 +120314,7 @@ _slots[25] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -110520,10 +120327,7 @@ public static void CmdBeginPerTileExecutionQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -110542,10 +120346,7 @@ Ref pPerTileBeginInfo [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdBeginPerTileExecutionQCOM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -110596,9 +120397,9 @@ QueryControlFlags flags uint, QueryControlFlags, void>)( - _slots[26] is not null and var loadedFnPtr + _slots[31] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[26] = nativeContext.LoadFunction("vkCmdBeginQuery", "vulkan") + : _slots[31] = nativeContext.LoadFunction("vkCmdBeginQuery", "vulkan") ) )(commandBuffer, queryPool, query, flags); @@ -110664,9 +120465,9 @@ uint index QueryControlFlags, uint, void>)( - _slots[27] is not null and var loadedFnPtr + _slots[32] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[27] = nativeContext.LoadFunction("vkCmdBeginQueryIndexedEXT", "vulkan") + : _slots[32] = nativeContext.LoadFunction("vkCmdBeginQueryIndexedEXT", "vulkan") ) )(commandBuffer, queryPool, query, flags, index); @@ -110700,9 +120501,9 @@ uint index void IVk.CmdBeginRendering(CommandBufferHandle commandBuffer, RenderingInfo* pRenderingInfo) => ( (delegate* unmanaged)( - _slots[28] is not null and var loadedFnPtr + _slots[33] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[28] = nativeContext.LoadFunction("vkCmdBeginRendering", "vulkan") + : _slots[33] = nativeContext.LoadFunction("vkCmdBeginRendering", "vulkan") ) )(commandBuffer, pRenderingInfo); @@ -110766,9 +120567,9 @@ void IVk.CmdBeginRenderingKHR( ) => ( (delegate* unmanaged)( - _slots[29] is not null and var loadedFnPtr + _slots[34] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[29] = nativeContext.LoadFunction("vkCmdBeginRenderingKHR", "vulkan") + : _slots[34] = nativeContext.LoadFunction("vkCmdBeginRenderingKHR", "vulkan") ) )(commandBuffer, pRenderingInfo); @@ -110855,9 +120656,9 @@ SubpassContents contents ) => ( (delegate* unmanaged)( - _slots[30] is not null and var loadedFnPtr + _slots[35] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[30] = nativeContext.LoadFunction("vkCmdBeginRenderPass", "vulkan") + : _slots[35] = nativeContext.LoadFunction("vkCmdBeginRenderPass", "vulkan") ) )(commandBuffer, pRenderPassBegin, contents); @@ -110968,9 +120769,9 @@ void IVk.CmdBeginRenderPass2( RenderPassBeginInfo*, SubpassBeginInfo*, void>)( - _slots[31] is not null and var loadedFnPtr + _slots[36] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[31] = nativeContext.LoadFunction("vkCmdBeginRenderPass2", "vulkan") + : _slots[36] = nativeContext.LoadFunction("vkCmdBeginRenderPass2", "vulkan") ) )(commandBuffer, pRenderPassBegin, pSubpassBeginInfo); @@ -111067,9 +120868,9 @@ void IVk.CmdBeginRenderPass2KHR( RenderPassBeginInfo*, SubpassBeginInfo*, void>)( - _slots[32] is not null and var loadedFnPtr + _slots[37] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[32] = nativeContext.LoadFunction("vkCmdBeginRenderPass2KHR", "vulkan") + : _slots[37] = nativeContext.LoadFunction("vkCmdBeginRenderPass2KHR", "vulkan") ) )(commandBuffer, pRenderPassBegin, pSubpassBeginInfo); @@ -111126,6 +120927,216 @@ public static void CmdBeginRenderPass2KHR( Ref pSubpassBeginInfo ) => ThisThread.CmdBeginRenderPass2KHR(commandBuffer, pRenderPassBegin, pSubpassBeginInfo); + [NativeName("vkCmdBeginShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginShaderInstrumentationARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBeginShaderInstrumentationARM( + CommandBufferHandle commandBuffer, + ShaderInstrumentationHandleARM instrumentation + ) => + ( + (delegate* unmanaged)( + _slots[38] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[38] = nativeContext.LoadFunction( + "vkCmdBeginShaderInstrumentationARM", + "vulkan" + ) + ) + )(commandBuffer, instrumentation); + + [NativeName("vkCmdBeginShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginShaderInstrumentationARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBeginShaderInstrumentationARM( + CommandBufferHandle commandBuffer, + ShaderInstrumentationHandleARM instrumentation + ) => ThisThread.CmdBeginShaderInstrumentationARM(commandBuffer, instrumentation); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ) => + ( + (delegate* unmanaged< + CommandBufferHandle, + uint, + uint, + BindTransformFeedbackBuffer2InfoEXT*, + void>)( + _slots[39] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[39] = nativeContext.LoadFunction( + "vkCmdBeginTransformFeedback2EXT", + "vulkan" + ) + ) + )(commandBuffer, firstCounterRange, counterRangeCount, pCounterInfos); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ) => + ThisThread.CmdBeginTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + pCounterInfos + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ) + { + fixed (BindTransformFeedbackBuffer2InfoEXT* __dsl_pCounterInfos = pCounterInfos) + { + ((IVk)this).CmdBeginTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + __dsl_pCounterInfos + ); + } + } + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ) => + ThisThread.CmdBeginTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + pCounterInfos + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ) => + ((IVk)this).CmdBeginTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + 1, + (BindTransformFeedbackBuffer2InfoEXT*)&pCounterInfos + ); + + [NativeName("vkCmdBeginTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBeginTransformFeedback2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBeginTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ) => ThisThread.CmdBeginTransformFeedback2EXT(commandBuffer, firstCounterRange, pCounterInfos); + [NativeName("vkCmdBeginTransformFeedbackEXT")] [SupportedApiProfile( "vulkan", @@ -111146,9 +121157,9 @@ void IVk.CmdBeginTransformFeedbackEXT( ) => ( (delegate* unmanaged)( - _slots[33] is not null and var loadedFnPtr + _slots[40] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[33] = nativeContext.LoadFunction( + : _slots[40] = nativeContext.LoadFunction( "vkCmdBeginTransformFeedbackEXT", "vulkan" ) @@ -111259,9 +121270,9 @@ void IVk.CmdBeginVideoCodingKHR( ) => ( (delegate* unmanaged)( - _slots[34] is not null and var loadedFnPtr + _slots[41] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[34] = nativeContext.LoadFunction("vkCmdBeginVideoCodingKHR", "vulkan") + : _slots[41] = nativeContext.LoadFunction("vkCmdBeginVideoCodingKHR", "vulkan") ) )(commandBuffer, pBeginInfo); @@ -111328,9 +121339,9 @@ void IVk.CmdBindDescriptorBufferEmbeddedSamplers2EXT( CommandBufferHandle, BindDescriptorBufferEmbeddedSamplersInfoEXT*, void>)( - _slots[35] is not null and var loadedFnPtr + _slots[42] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[35] = nativeContext.LoadFunction( + : _slots[42] = nativeContext.LoadFunction( "vkCmdBindDescriptorBufferEmbeddedSamplers2EXT", "vulkan" ) @@ -111425,9 +121436,9 @@ uint set PipelineLayoutHandle, uint, void>)( - _slots[36] is not null and var loadedFnPtr + _slots[43] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[36] = nativeContext.LoadFunction( + : _slots[43] = nativeContext.LoadFunction( "vkCmdBindDescriptorBufferEmbeddedSamplersEXT", "vulkan" ) @@ -111521,9 +121532,9 @@ void IVk.CmdBindDescriptorBuffersEXT( ) => ( (delegate* unmanaged)( - _slots[37] is not null and var loadedFnPtr + _slots[44] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[37] = nativeContext.LoadFunction( + : _slots[44] = nativeContext.LoadFunction( "vkCmdBindDescriptorBuffersEXT", "vulkan" ) @@ -111642,9 +121653,9 @@ void IVk.CmdBindDescriptorSets( uint, uint*, void>)( - _slots[38] is not null and var loadedFnPtr + _slots[45] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[38] = nativeContext.LoadFunction("vkCmdBindDescriptorSets", "vulkan") + : _slots[45] = nativeContext.LoadFunction("vkCmdBindDescriptorSets", "vulkan") ) )( commandBuffer, @@ -111812,9 +121823,9 @@ void IVk.CmdBindDescriptorSets2( ) => ( (delegate* unmanaged)( - _slots[39] is not null and var loadedFnPtr + _slots[46] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[39] = nativeContext.LoadFunction("vkCmdBindDescriptorSets2", "vulkan") + : _slots[46] = nativeContext.LoadFunction("vkCmdBindDescriptorSets2", "vulkan") ) )(commandBuffer, pBindDescriptorSetsInfo); @@ -111873,9 +121884,9 @@ void IVk.CmdBindDescriptorSets2KHR( ) => ( (delegate* unmanaged)( - _slots[40] is not null and var loadedFnPtr + _slots[47] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[40] = nativeContext.LoadFunction( + : _slots[47] = nativeContext.LoadFunction( "vkCmdBindDescriptorSets2KHR", "vulkan" ) @@ -111942,9 +121953,9 @@ IndexType indexType ) => ( (delegate* unmanaged)( - _slots[41] is not null and var loadedFnPtr + _slots[48] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[41] = nativeContext.LoadFunction("vkCmdBindIndexBuffer", "vulkan") + : _slots[48] = nativeContext.LoadFunction("vkCmdBindIndexBuffer", "vulkan") ) )(commandBuffer, buffer, offset, indexType); @@ -111991,9 +122002,9 @@ IndexType indexType ) => ( (delegate* unmanaged)( - _slots[42] is not null and var loadedFnPtr + _slots[49] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[42] = nativeContext.LoadFunction("vkCmdBindIndexBuffer2", "vulkan") + : _slots[49] = nativeContext.LoadFunction("vkCmdBindIndexBuffer2", "vulkan") ) )(commandBuffer, buffer, offset, size, indexType); @@ -112030,9 +122041,9 @@ IndexType indexType ) => ( (delegate* unmanaged)( - _slots[43] is not null and var loadedFnPtr + _slots[50] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[43] = nativeContext.LoadFunction("vkCmdBindIndexBuffer2KHR", "vulkan") + : _slots[50] = nativeContext.LoadFunction("vkCmdBindIndexBuffer2KHR", "vulkan") ) )(commandBuffer, buffer, offset, size, indexType); @@ -112052,6 +122063,91 @@ public static void CmdBindIndexBuffer2KHR( IndexType indexType ) => ThisThread.CmdBindIndexBuffer2KHR(commandBuffer, buffer, offset, size, indexType); + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + BindIndexBuffer3InfoKHR* pInfo + ) => + ( + (delegate* unmanaged)( + _slots[51] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[51] = nativeContext.LoadFunction("vkCmdBindIndexBuffer3KHR", "vulkan") + ) + )(commandBuffer, pInfo); + + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + BindIndexBuffer3InfoKHR* pInfo + ) => ThisThread.CmdBindIndexBuffer3KHR(commandBuffer, pInfo); + + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (BindIndexBuffer3InfoKHR* __dsl_pInfo = pInfo) + { + ((IVk)this).CmdBindIndexBuffer3KHR(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdBindIndexBuffer3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindIndexBuffer3KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBindIndexBuffer3KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => ThisThread.CmdBindIndexBuffer3KHR(commandBuffer, pInfo); + [NativeName("vkCmdBindInvocationMaskHUAWEI")] [SupportedApiProfile( "vulkan", @@ -112070,9 +122166,9 @@ ImageLayout imageLayout ) => ( (delegate* unmanaged)( - _slots[44] is not null and var loadedFnPtr + _slots[52] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[44] = nativeContext.LoadFunction( + : _slots[52] = nativeContext.LoadFunction( "vkCmdBindInvocationMaskHUAWEI", "vulkan" ) @@ -112127,9 +122223,9 @@ PipelineHandle pipeline ) => ( (delegate* unmanaged)( - _slots[45] is not null and var loadedFnPtr + _slots[53] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[45] = nativeContext.LoadFunction("vkCmdBindPipeline", "vulkan") + : _slots[53] = nativeContext.LoadFunction("vkCmdBindPipeline", "vulkan") ) )(commandBuffer, pipelineBindPoint, pipeline); @@ -112184,9 +122280,9 @@ uint groupIndex PipelineHandle, uint, void>)( - _slots[46] is not null and var loadedFnPtr + _slots[54] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[46] = nativeContext.LoadFunction( + : _slots[54] = nativeContext.LoadFunction( "vkCmdBindPipelineShaderGroupNV", "vulkan" ) @@ -112214,6 +122310,181 @@ uint groupIndex groupIndex ); + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBindResourceHeapEXT( + CommandBufferHandle commandBuffer, + BindHeapInfoEXT* pBindInfo + ) => + ( + (delegate* unmanaged)( + _slots[55] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[55] = nativeContext.LoadFunction("vkCmdBindResourceHeapEXT", "vulkan") + ) + )(commandBuffer, pBindInfo); + + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBindResourceHeapEXT( + CommandBufferHandle commandBuffer, + BindHeapInfoEXT* pBindInfo + ) => ThisThread.CmdBindResourceHeapEXT(commandBuffer, pBindInfo); + + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBindResourceHeapEXT( + CommandBufferHandle commandBuffer, + Ref pBindInfo + ) + { + fixed (BindHeapInfoEXT* __dsl_pBindInfo = pBindInfo) + { + ((IVk)this).CmdBindResourceHeapEXT(commandBuffer, __dsl_pBindInfo); + } + } + + [NativeName("vkCmdBindResourceHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindResourceHeapEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBindResourceHeapEXT( + CommandBufferHandle commandBuffer, + Ref pBindInfo + ) => ThisThread.CmdBindResourceHeapEXT(commandBuffer, pBindInfo); + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBindSamplerHeapEXT(CommandBufferHandle commandBuffer, BindHeapInfoEXT* pBindInfo) => + ( + (delegate* unmanaged)( + _slots[56] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[56] = nativeContext.LoadFunction("vkCmdBindSamplerHeapEXT", "vulkan") + ) + )(commandBuffer, pBindInfo); + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBindSamplerHeapEXT( + CommandBufferHandle commandBuffer, + BindHeapInfoEXT* pBindInfo + ) => ThisThread.CmdBindSamplerHeapEXT(commandBuffer, pBindInfo); + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBindSamplerHeapEXT( + CommandBufferHandle commandBuffer, + Ref pBindInfo + ) + { + fixed (BindHeapInfoEXT* __dsl_pBindInfo = pBindInfo) + { + ((IVk)this).CmdBindSamplerHeapEXT(commandBuffer, __dsl_pBindInfo); + } + } + + [NativeName("vkCmdBindSamplerHeapEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindSamplerHeapEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBindSamplerHeapEXT( + CommandBufferHandle commandBuffer, + Ref pBindInfo + ) => ThisThread.CmdBindSamplerHeapEXT(commandBuffer, pBindInfo); + [NativeName("vkCmdBindShadersEXT")] [SupportedApiProfile( "vulkan", @@ -112239,9 +122510,9 @@ void IVk.CmdBindShadersEXT( ShaderStageFlags*, ShaderHandleEXT*, void>)( - _slots[47] is not null and var loadedFnPtr + _slots[57] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[47] = nativeContext.LoadFunction("vkCmdBindShadersEXT", "vulkan") + : _slots[57] = nativeContext.LoadFunction("vkCmdBindShadersEXT", "vulkan") ) )(commandBuffer, stageCount, pStages, pShaders); @@ -112327,9 +122598,9 @@ ImageLayout imageLayout ) => ( (delegate* unmanaged)( - _slots[48] is not null and var loadedFnPtr + _slots[58] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[48] = nativeContext.LoadFunction( + : _slots[58] = nativeContext.LoadFunction( "vkCmdBindShadingRateImageNV", "vulkan" ) @@ -112370,9 +122641,9 @@ void IVk.CmdBindTileMemoryQCOM( ) => ( (delegate* unmanaged)( - _slots[49] is not null and var loadedFnPtr + _slots[59] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[49] = nativeContext.LoadFunction("vkCmdBindTileMemoryQCOM", "vulkan") + : _slots[59] = nativeContext.LoadFunction("vkCmdBindTileMemoryQCOM", "vulkan") ) )(commandBuffer, pTileMemoryBindInfo); @@ -112430,6 +122701,174 @@ public static void CmdBindTileMemoryQCOM( Ref pTileMemoryBindInfo ) => ThisThread.CmdBindTileMemoryQCOM(commandBuffer, pTileMemoryBindInfo); + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindTransformFeedbackBuffer2InfoEXT* pBindingInfos + ) => + ( + (delegate* unmanaged< + CommandBufferHandle, + uint, + uint, + BindTransformFeedbackBuffer2InfoEXT*, + void>)( + _slots[60] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[60] = nativeContext.LoadFunction( + "vkCmdBindTransformFeedbackBuffers2EXT", + "vulkan" + ) + ) + )(commandBuffer, firstBinding, bindingCount, pBindingInfos); + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindTransformFeedbackBuffer2InfoEXT* pBindingInfos + ) => + ThisThread.CmdBindTransformFeedbackBuffers2EXT( + commandBuffer, + firstBinding, + bindingCount, + pBindingInfos + ); + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ) + { + fixed (BindTransformFeedbackBuffer2InfoEXT* __dsl_pBindingInfos = pBindingInfos) + { + ((IVk)this).CmdBindTransformFeedbackBuffers2EXT( + commandBuffer, + firstBinding, + bindingCount, + __dsl_pBindingInfos + ); + } + } + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ) => + ThisThread.CmdBindTransformFeedbackBuffers2EXT( + commandBuffer, + firstBinding, + bindingCount, + pBindingInfos + ); + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindTransformFeedbackBuffer2InfoEXT pBindingInfos + ) => + ((IVk)this).CmdBindTransformFeedbackBuffers2EXT( + commandBuffer, + firstBinding, + 1, + (BindTransformFeedbackBuffer2InfoEXT*)&pBindingInfos + ); + + [NativeName("vkCmdBindTransformFeedbackBuffers2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindTransformFeedbackBuffers2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBindTransformFeedbackBuffers2EXT( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindTransformFeedbackBuffer2InfoEXT pBindingInfos + ) => ThisThread.CmdBindTransformFeedbackBuffers2EXT(commandBuffer, firstBinding, pBindingInfos); + [NativeName("vkCmdBindTransformFeedbackBuffersEXT")] [SupportedApiProfile( "vulkan", @@ -112458,9 +122897,9 @@ void IVk.CmdBindTransformFeedbackBuffersEXT( ulong*, ulong*, void>)( - _slots[50] is not null and var loadedFnPtr + _slots[61] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[50] = nativeContext.LoadFunction( + : _slots[61] = nativeContext.LoadFunction( "vkCmdBindTransformFeedbackBuffersEXT", "vulkan" ) @@ -112586,9 +123025,9 @@ void IVk.CmdBindVertexBuffers( ) => ( (delegate* unmanaged)( - _slots[51] is not null and var loadedFnPtr + _slots[62] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[51] = nativeContext.LoadFunction("vkCmdBindVertexBuffers", "vulkan") + : _slots[62] = nativeContext.LoadFunction("vkCmdBindVertexBuffers", "vulkan") ) )(commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets); @@ -112727,9 +123166,9 @@ void IVk.CmdBindVertexBuffers2( ulong*, ulong*, void>)( - _slots[52] is not null and var loadedFnPtr + _slots[63] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[52] = nativeContext.LoadFunction("vkCmdBindVertexBuffers2", "vulkan") + : _slots[63] = nativeContext.LoadFunction("vkCmdBindVertexBuffers2", "vulkan") ) )(commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes, pStrides); @@ -112852,9 +123291,9 @@ void IVk.CmdBindVertexBuffers2EXT( ulong*, ulong*, void>)( - _slots[53] is not null and var loadedFnPtr + _slots[64] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[53] = nativeContext.LoadFunction( + : _slots[64] = nativeContext.LoadFunction( "vkCmdBindVertexBuffers2EXT", "vulkan" ) @@ -112959,6 +123398,163 @@ Ref pStrides pStrides ); + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindVertexBuffer3InfoKHR* pBindingInfos + ) => + ( + (delegate* unmanaged)( + _slots[65] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[65] = nativeContext.LoadFunction( + "vkCmdBindVertexBuffers3KHR", + "vulkan" + ) + ) + )(commandBuffer, firstBinding, bindingCount, pBindingInfos); + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + BindVertexBuffer3InfoKHR* pBindingInfos + ) => + ThisThread.CmdBindVertexBuffers3KHR( + commandBuffer, + firstBinding, + bindingCount, + pBindingInfos + ); + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ) + { + fixed (BindVertexBuffer3InfoKHR* __dsl_pBindingInfos = pBindingInfos) + { + ((IVk)this).CmdBindVertexBuffers3KHR( + commandBuffer, + firstBinding, + bindingCount, + __dsl_pBindingInfos + ); + } + } + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + uint bindingCount, + Ref pBindingInfos + ) => + ThisThread.CmdBindVertexBuffers3KHR( + commandBuffer, + firstBinding, + bindingCount, + pBindingInfos + ); + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindVertexBuffer3InfoKHR pBindingInfos + ) => + ((IVk)this).CmdBindVertexBuffers3KHR( + commandBuffer, + firstBinding, + 1, + (BindVertexBuffer3InfoKHR*)&pBindingInfos + ); + + [NativeName("vkCmdBindVertexBuffers3KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdBindVertexBuffers3KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdBindVertexBuffers3KHR( + CommandBufferHandle commandBuffer, + uint firstBinding, + BindVertexBuffer3InfoKHR pBindingInfos + ) => ThisThread.CmdBindVertexBuffers3KHR(commandBuffer, firstBinding, pBindingInfos); + [NativeName("vkCmdBlitImage")] [SupportedApiProfile( "vulkan", @@ -112999,9 +123595,9 @@ Filter filter ImageBlit*, Filter, void>)( - _slots[54] is not null and var loadedFnPtr + _slots[66] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[54] = nativeContext.LoadFunction("vkCmdBlitImage", "vulkan") + : _slots[66] = nativeContext.LoadFunction("vkCmdBlitImage", "vulkan") ) )( commandBuffer, @@ -113227,9 +123823,9 @@ Filter filter void IVk.CmdBlitImage2(CommandBufferHandle commandBuffer, BlitImageInfo2* pBlitImageInfo) => ( (delegate* unmanaged)( - _slots[55] is not null and var loadedFnPtr + _slots[67] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[55] = nativeContext.LoadFunction("vkCmdBlitImage2", "vulkan") + : _slots[67] = nativeContext.LoadFunction("vkCmdBlitImage2", "vulkan") ) )(commandBuffer, pBlitImageInfo); @@ -113289,9 +123885,9 @@ Ref pBlitImageInfo void IVk.CmdBlitImage2KHR(CommandBufferHandle commandBuffer, BlitImageInfo2* pBlitImageInfo) => ( (delegate* unmanaged)( - _slots[56] is not null and var loadedFnPtr + _slots[68] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[56] = nativeContext.LoadFunction("vkCmdBlitImage2KHR", "vulkan") + : _slots[68] = nativeContext.LoadFunction("vkCmdBlitImage2KHR", "vulkan") ) )(commandBuffer, pBlitImageInfo); @@ -113380,9 +123976,9 @@ ulong scratchOffset BufferHandle, ulong, void>)( - _slots[57] is not null and var loadedFnPtr + _slots[69] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[57] = nativeContext.LoadFunction( + : _slots[69] = nativeContext.LoadFunction( "vkCmdBuildAccelerationStructureNV", "vulkan" ) @@ -113534,9 +124130,9 @@ void IVk.CmdBuildAccelerationStructuresIndirectKHR( uint*, uint**, void>)( - _slots[58] is not null and var loadedFnPtr + _slots[70] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[58] = nativeContext.LoadFunction( + : _slots[70] = nativeContext.LoadFunction( "vkCmdBuildAccelerationStructuresIndirectKHR", "vulkan" ) @@ -113666,9 +124262,9 @@ void IVk.CmdBuildAccelerationStructuresKHR( AccelerationStructureBuildGeometryInfoKHR*, AccelerationStructureBuildRangeInfoKHR**, void>)( - _slots[59] is not null and var loadedFnPtr + _slots[71] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[59] = nativeContext.LoadFunction( + : _slots[71] = nativeContext.LoadFunction( "vkCmdBuildAccelerationStructuresKHR", "vulkan" ) @@ -113770,9 +124366,9 @@ void IVk.CmdBuildClusterAccelerationStructureIndirectNV( CommandBufferHandle, ClusterAccelerationStructureCommandsInfoNV*, void>)( - _slots[60] is not null and var loadedFnPtr + _slots[72] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[60] = nativeContext.LoadFunction( + : _slots[72] = nativeContext.LoadFunction( "vkCmdBuildClusterAccelerationStructureIndirectNV", "vulkan" ) @@ -113875,9 +124471,9 @@ void IVk.CmdBuildMicromapsEXT( ) => ( (delegate* unmanaged)( - _slots[61] is not null and var loadedFnPtr + _slots[73] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[61] = nativeContext.LoadFunction("vkCmdBuildMicromapsEXT", "vulkan") + : _slots[73] = nativeContext.LoadFunction("vkCmdBuildMicromapsEXT", "vulkan") ) )(commandBuffer, infoCount, pInfos); @@ -113955,9 +124551,9 @@ void IVk.CmdBuildPartitionedAccelerationStructuresNV( CommandBufferHandle, BuildPartitionedAccelerationStructureInfoNV*, void>)( - _slots[62] is not null and var loadedFnPtr + _slots[74] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[62] = nativeContext.LoadFunction( + : _slots[74] = nativeContext.LoadFunction( "vkCmdBuildPartitionedAccelerationStructuresNV", "vulkan" ) @@ -114046,9 +124642,9 @@ void IVk.CmdClearAttachments( uint, ClearRect*, void>)( - _slots[63] is not null and var loadedFnPtr + _slots[75] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[63] = nativeContext.LoadFunction("vkCmdClearAttachments", "vulkan") + : _slots[75] = nativeContext.LoadFunction("vkCmdClearAttachments", "vulkan") ) )(commandBuffer, attachmentCount, pAttachments, rectCount, pRects); @@ -114201,9 +124797,9 @@ void IVk.CmdClearColorImage( uint, ImageSubresourceRange*, void>)( - _slots[64] is not null and var loadedFnPtr + _slots[76] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[64] = nativeContext.LoadFunction("vkCmdClearColorImage", "vulkan") + : _slots[76] = nativeContext.LoadFunction("vkCmdClearColorImage", "vulkan") ) )(commandBuffer, image, imageLayout, pColor, rangeCount, pRanges); @@ -114449,9 +125045,9 @@ void IVk.CmdClearDepthStencilImage( uint, ImageSubresourceRange*, void>)( - _slots[65] is not null and var loadedFnPtr + _slots[77] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[65] = nativeContext.LoadFunction( + : _slots[77] = nativeContext.LoadFunction( "vkCmdClearDepthStencilImage", "vulkan" ) @@ -114660,9 +125256,9 @@ void IVk.CmdControlVideoCodingKHR( ) => ( (delegate* unmanaged)( - _slots[66] is not null and var loadedFnPtr + _slots[78] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[66] = nativeContext.LoadFunction( + : _slots[78] = nativeContext.LoadFunction( "vkCmdControlVideoCodingKHR", "vulkan" ) @@ -114736,9 +125332,9 @@ void IVk.CmdConvertCooperativeVectorMatrixNV( uint, ConvertCooperativeVectorMatrixInfoNV*, void>)( - _slots[67] is not null and var loadedFnPtr + _slots[79] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[67] = nativeContext.LoadFunction( + : _slots[79] = nativeContext.LoadFunction( "vkCmdConvertCooperativeVectorMatrixNV", "vulkan" ) @@ -114856,9 +125452,9 @@ void IVk.CmdCopyAccelerationStructureKHR( ) => ( (delegate* unmanaged)( - _slots[68] is not null and var loadedFnPtr + _slots[80] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[68] = nativeContext.LoadFunction( + : _slots[80] = nativeContext.LoadFunction( "vkCmdCopyAccelerationStructureKHR", "vulkan" ) @@ -114943,9 +125539,9 @@ CopyAccelerationStructureModeKHR mode AccelerationStructureHandleNV, CopyAccelerationStructureModeKHR, void>)( - _slots[69] is not null and var loadedFnPtr + _slots[81] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[69] = nativeContext.LoadFunction( + : _slots[81] = nativeContext.LoadFunction( "vkCmdCopyAccelerationStructureNV", "vulkan" ) @@ -114990,9 +125586,9 @@ void IVk.CmdCopyAccelerationStructureToMemoryKHR( CommandBufferHandle, CopyAccelerationStructureToMemoryInfoKHR*, void>)( - _slots[70] is not null and var loadedFnPtr + _slots[82] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[70] = nativeContext.LoadFunction( + : _slots[82] = nativeContext.LoadFunction( "vkCmdCopyAccelerationStructureToMemoryKHR", "vulkan" ) @@ -115097,9 +125693,9 @@ void IVk.CmdCopyBuffer( uint, BufferCopy*, void>)( - _slots[71] is not null and var loadedFnPtr + _slots[83] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[71] = nativeContext.LoadFunction("vkCmdCopyBuffer", "vulkan") + : _slots[83] = nativeContext.LoadFunction("vkCmdCopyBuffer", "vulkan") ) )(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions); @@ -115318,9 +125914,9 @@ BufferCopy pRegions void IVk.CmdCopyBuffer2(CommandBufferHandle commandBuffer, CopyBufferInfo2* pCopyBufferInfo) => ( (delegate* unmanaged)( - _slots[72] is not null and var loadedFnPtr + _slots[84] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[72] = nativeContext.LoadFunction("vkCmdCopyBuffer2", "vulkan") + : _slots[84] = nativeContext.LoadFunction("vkCmdCopyBuffer2", "vulkan") ) )(commandBuffer, pCopyBufferInfo); @@ -115410,9 +126006,9 @@ void IVk.CmdCopyBuffer2KHR( ) => ( (delegate* unmanaged)( - _slots[73] is not null and var loadedFnPtr + _slots[85] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[73] = nativeContext.LoadFunction("vkCmdCopyBuffer2KHR", "vulkan") + : _slots[85] = nativeContext.LoadFunction("vkCmdCopyBuffer2KHR", "vulkan") ) )(commandBuffer, pCopyBufferInfo); @@ -115516,9 +126112,9 @@ void IVk.CmdCopyBufferToImage( uint, BufferImageCopy*, void>)( - _slots[74] is not null and var loadedFnPtr + _slots[86] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[74] = nativeContext.LoadFunction("vkCmdCopyBufferToImage", "vulkan") + : _slots[86] = nativeContext.LoadFunction("vkCmdCopyBufferToImage", "vulkan") ) )(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions); @@ -115777,9 +126373,9 @@ void IVk.CmdCopyBufferToImage2( ) => ( (delegate* unmanaged)( - _slots[75] is not null and var loadedFnPtr + _slots[87] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[75] = nativeContext.LoadFunction("vkCmdCopyBufferToImage2", "vulkan") + : _slots[87] = nativeContext.LoadFunction("vkCmdCopyBufferToImage2", "vulkan") ) )(commandBuffer, pCopyBufferToImageInfo); @@ -115872,9 +126468,9 @@ void IVk.CmdCopyBufferToImage2KHR( ) => ( (delegate* unmanaged)( - _slots[76] is not null and var loadedFnPtr + _slots[88] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[76] = nativeContext.LoadFunction( + : _slots[88] = nativeContext.LoadFunction( "vkCmdCopyBufferToImage2KHR", "vulkan" ) @@ -115935,6 +126531,48 @@ public static void CmdCopyBufferToImage2KHR( Ref pCopyBufferToImageInfo ) => ThisThread.CmdCopyBufferToImage2KHR(commandBuffer, pCopyBufferToImageInfo); + [NativeName("vkCmdCopyGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyGpaSessionResultsAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdCopyGpaSessionResultsAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ) => + ( + (delegate* unmanaged)( + _slots[89] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[89] = nativeContext.LoadFunction( + "vkCmdCopyGpaSessionResultsAMD", + "vulkan" + ) + ) + )(commandBuffer, gpaSession); + + [NativeName("vkCmdCopyGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyGpaSessionResultsAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdCopyGpaSessionResultsAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ) => ThisThread.CmdCopyGpaSessionResultsAMD(commandBuffer, gpaSession); + [NativeName("vkCmdCopyImage")] [SupportedApiProfile( "vulkan", @@ -115983,9 +126621,9 @@ void IVk.CmdCopyImage( uint, ImageCopy*, void>)( - _slots[77] is not null and var loadedFnPtr + _slots[90] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[77] = nativeContext.LoadFunction("vkCmdCopyImage", "vulkan") + : _slots[90] = nativeContext.LoadFunction("vkCmdCopyImage", "vulkan") ) )(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions); @@ -116251,9 +126889,9 @@ ImageCopy pRegions void IVk.CmdCopyImage2(CommandBufferHandle commandBuffer, CopyImageInfo2* pCopyImageInfo) => ( (delegate* unmanaged)( - _slots[78] is not null and var loadedFnPtr + _slots[91] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[78] = nativeContext.LoadFunction("vkCmdCopyImage2", "vulkan") + : _slots[91] = nativeContext.LoadFunction("vkCmdCopyImage2", "vulkan") ) )(commandBuffer, pCopyImageInfo); @@ -116340,9 +126978,9 @@ Ref pCopyImageInfo void IVk.CmdCopyImage2KHR(CommandBufferHandle commandBuffer, CopyImageInfo2* pCopyImageInfo) => ( (delegate* unmanaged)( - _slots[79] is not null and var loadedFnPtr + _slots[92] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[79] = nativeContext.LoadFunction("vkCmdCopyImage2KHR", "vulkan") + : _slots[92] = nativeContext.LoadFunction("vkCmdCopyImage2KHR", "vulkan") ) )(commandBuffer, pCopyImageInfo); @@ -116443,9 +127081,9 @@ void IVk.CmdCopyImageToBuffer( uint, BufferImageCopy*, void>)( - _slots[80] is not null and var loadedFnPtr + _slots[93] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[80] = nativeContext.LoadFunction("vkCmdCopyImageToBuffer", "vulkan") + : _slots[93] = nativeContext.LoadFunction("vkCmdCopyImageToBuffer", "vulkan") ) )(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions); @@ -116704,9 +127342,9 @@ void IVk.CmdCopyImageToBuffer2( ) => ( (delegate* unmanaged)( - _slots[81] is not null and var loadedFnPtr + _slots[94] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[81] = nativeContext.LoadFunction("vkCmdCopyImageToBuffer2", "vulkan") + : _slots[94] = nativeContext.LoadFunction("vkCmdCopyImageToBuffer2", "vulkan") ) )(commandBuffer, pCopyImageToBufferInfo); @@ -116799,9 +127437,9 @@ void IVk.CmdCopyImageToBuffer2KHR( ) => ( (delegate* unmanaged)( - _slots[82] is not null and var loadedFnPtr + _slots[95] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[82] = nativeContext.LoadFunction( + : _slots[95] = nativeContext.LoadFunction( "vkCmdCopyImageToBuffer2KHR", "vulkan" ) @@ -116862,6 +127500,91 @@ public static void CmdCopyImageToBuffer2KHR( Ref pCopyImageToBufferInfo ) => ThisThread.CmdCopyImageToBuffer2KHR(commandBuffer, pCopyImageToBufferInfo); + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ) => + ( + (delegate* unmanaged)( + _slots[96] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[96] = nativeContext.LoadFunction("vkCmdCopyImageToMemoryKHR", "vulkan") + ) + )(commandBuffer, pCopyMemoryInfo); + + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ) => ThisThread.CmdCopyImageToMemoryKHR(commandBuffer, pCopyMemoryInfo); + + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) + { + fixed (CopyDeviceMemoryImageInfoKHR* __dsl_pCopyMemoryInfo = pCopyMemoryInfo) + { + ((IVk)this).CmdCopyImageToMemoryKHR(commandBuffer, __dsl_pCopyMemoryInfo); + } + } + + [NativeName("vkCmdCopyImageToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyImageToMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdCopyImageToMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) => ThisThread.CmdCopyImageToMemoryKHR(commandBuffer, pCopyMemoryInfo); + [NativeName("vkCmdCopyMemoryIndirectKHR")] [SupportedApiProfile( "vulkan", @@ -116879,9 +127602,9 @@ void IVk.CmdCopyMemoryIndirectKHR( ) => ( (delegate* unmanaged)( - _slots[83] is not null and var loadedFnPtr + _slots[97] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[83] = nativeContext.LoadFunction( + : _slots[97] = nativeContext.LoadFunction( "vkCmdCopyMemoryIndirectKHR", "vulkan" ) @@ -116962,9 +127685,9 @@ uint stride ) => ( (delegate* unmanaged)( - _slots[84] is not null and var loadedFnPtr + _slots[98] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[84] = nativeContext.LoadFunction("vkCmdCopyMemoryIndirectNV", "vulkan") + : _slots[98] = nativeContext.LoadFunction("vkCmdCopyMemoryIndirectNV", "vulkan") ) )(commandBuffer, copyBufferAddress, copyCount, stride); @@ -116987,6 +127710,91 @@ public static void CmdCopyMemoryIndirectNV( uint stride ) => ThisThread.CmdCopyMemoryIndirectNV(commandBuffer, copyBufferAddress, copyCount, stride); + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryInfoKHR* pCopyMemoryInfo + ) => + ( + (delegate* unmanaged)( + _slots[99] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[99] = nativeContext.LoadFunction("vkCmdCopyMemoryKHR", "vulkan") + ) + )(commandBuffer, pCopyMemoryInfo); + + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryInfoKHR* pCopyMemoryInfo + ) => ThisThread.CmdCopyMemoryKHR(commandBuffer, pCopyMemoryInfo); + + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) + { + fixed (CopyDeviceMemoryInfoKHR* __dsl_pCopyMemoryInfo = pCopyMemoryInfo) + { + ((IVk)this).CmdCopyMemoryKHR(commandBuffer, __dsl_pCopyMemoryInfo); + } + } + + [NativeName("vkCmdCopyMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdCopyMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) => ThisThread.CmdCopyMemoryKHR(commandBuffer, pCopyMemoryInfo); + [NativeName("vkCmdCopyMemoryToAccelerationStructureKHR")] [SupportedApiProfile( "vulkan", @@ -117007,9 +127815,9 @@ void IVk.CmdCopyMemoryToAccelerationStructureKHR( CommandBufferHandle, CopyMemoryToAccelerationStructureInfoKHR*, void>)( - _slots[85] is not null and var loadedFnPtr + _slots[100] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[85] = nativeContext.LoadFunction( + : _slots[100] = nativeContext.LoadFunction( "vkCmdCopyMemoryToAccelerationStructureKHR", "vulkan" ) @@ -117087,9 +127895,9 @@ void IVk.CmdCopyMemoryToImageIndirectKHR( ) => ( (delegate* unmanaged)( - _slots[86] is not null and var loadedFnPtr + _slots[101] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[86] = nativeContext.LoadFunction( + : _slots[101] = nativeContext.LoadFunction( "vkCmdCopyMemoryToImageIndirectKHR", "vulkan" ) @@ -117187,9 +127995,9 @@ void IVk.CmdCopyMemoryToImageIndirectNV( ImageLayout, ImageSubresourceLayers*, void>)( - _slots[87] is not null and var loadedFnPtr + _slots[102] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[87] = nativeContext.LoadFunction( + : _slots[102] = nativeContext.LoadFunction( "vkCmdCopyMemoryToImageIndirectNV", "vulkan" ) @@ -117361,6 +128169,94 @@ ImageSubresourceLayers pImageSubresources pImageSubresources ); + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ) => + ( + (delegate* unmanaged)( + _slots[103] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[103] = nativeContext.LoadFunction( + "vkCmdCopyMemoryToImageKHR", + "vulkan" + ) + ) + )(commandBuffer, pCopyMemoryInfo); + + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + CopyDeviceMemoryImageInfoKHR* pCopyMemoryInfo + ) => ThisThread.CmdCopyMemoryToImageKHR(commandBuffer, pCopyMemoryInfo); + + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) + { + fixed (CopyDeviceMemoryImageInfoKHR* __dsl_pCopyMemoryInfo = pCopyMemoryInfo) + { + ((IVk)this).CmdCopyMemoryToImageKHR(commandBuffer, __dsl_pCopyMemoryInfo); + } + } + + [NativeName("vkCmdCopyMemoryToImageKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyMemoryToImageKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdCopyMemoryToImageKHR( + CommandBufferHandle commandBuffer, + Ref pCopyMemoryInfo + ) => ThisThread.CmdCopyMemoryToImageKHR(commandBuffer, pCopyMemoryInfo); + [NativeName("vkCmdCopyMemoryToMicromapEXT")] [SupportedApiProfile( "vulkan", @@ -117378,9 +128274,9 @@ void IVk.CmdCopyMemoryToMicromapEXT( ) => ( (delegate* unmanaged)( - _slots[88] is not null and var loadedFnPtr + _slots[104] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[88] = nativeContext.LoadFunction( + : _slots[104] = nativeContext.LoadFunction( "vkCmdCopyMemoryToMicromapEXT", "vulkan" ) @@ -117455,9 +128351,9 @@ Ref pInfo void IVk.CmdCopyMicromapEXT(CommandBufferHandle commandBuffer, CopyMicromapInfoEXT* pInfo) => ( (delegate* unmanaged)( - _slots[89] is not null and var loadedFnPtr + _slots[105] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[89] = nativeContext.LoadFunction("vkCmdCopyMicromapEXT", "vulkan") + : _slots[105] = nativeContext.LoadFunction("vkCmdCopyMicromapEXT", "vulkan") ) )(commandBuffer, pInfo); @@ -117529,9 +128425,9 @@ void IVk.CmdCopyMicromapToMemoryEXT( ) => ( (delegate* unmanaged)( - _slots[90] is not null and var loadedFnPtr + _slots[106] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[90] = nativeContext.LoadFunction( + : _slots[106] = nativeContext.LoadFunction( "vkCmdCopyMicromapToMemoryEXT", "vulkan" ) @@ -117642,9 +128538,12 @@ QueryResultFlags flags ulong, QueryResultFlags, void>)( - _slots[91] is not null and var loadedFnPtr + _slots[107] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[91] = nativeContext.LoadFunction("vkCmdCopyQueryPoolResults", "vulkan") + : _slots[107] = nativeContext.LoadFunction( + "vkCmdCopyQueryPoolResults", + "vulkan" + ) ) )(commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags); @@ -117698,6 +128597,148 @@ QueryResultFlags flags flags ); + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + StridedDeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ) => + ( + (delegate* unmanaged< + CommandBufferHandle, + QueryPoolHandle, + uint, + uint, + StridedDeviceAddressRangeKHR*, + AddressCommandFlagsKHR, + QueryResultFlags, + void>)( + _slots[108] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[108] = nativeContext.LoadFunction( + "vkCmdCopyQueryPoolResultsToMemoryKHR", + "vulkan" + ) + ) + )(commandBuffer, queryPool, firstQuery, queryCount, pDstRange, dstFlags, queryResultFlags); + + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + StridedDeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ) => + ThisThread.CmdCopyQueryPoolResultsToMemoryKHR( + commandBuffer, + queryPool, + firstQuery, + queryCount, + pDstRange, + dstFlags, + queryResultFlags + ); + + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ) + { + fixed (StridedDeviceAddressRangeKHR* __dsl_pDstRange = pDstRange) + { + ((IVk)this).CmdCopyQueryPoolResultsToMemoryKHR( + commandBuffer, + queryPool, + firstQuery, + queryCount, + __dsl_pDstRange, + dstFlags, + queryResultFlags + ); + } + } + + [NativeName("vkCmdCopyQueryPoolResultsToMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdCopyQueryPoolResultsToMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdCopyQueryPoolResultsToMemoryKHR( + CommandBufferHandle commandBuffer, + QueryPoolHandle queryPool, + uint firstQuery, + uint queryCount, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + QueryResultFlags queryResultFlags + ) => + ThisThread.CmdCopyQueryPoolResultsToMemoryKHR( + commandBuffer, + queryPool, + firstQuery, + queryCount, + pDstRange, + dstFlags, + queryResultFlags + ); + [NativeName("vkCmdCopyTensorARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] [NativeFunction("vulkan", EntryPoint = "vkCmdCopyTensorARM")] @@ -117708,9 +128749,9 @@ void IVk.CmdCopyTensorARM( ) => ( (delegate* unmanaged)( - _slots[92] is not null and var loadedFnPtr + _slots[109] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[92] = nativeContext.LoadFunction("vkCmdCopyTensorARM", "vulkan") + : _slots[109] = nativeContext.LoadFunction("vkCmdCopyTensorARM", "vulkan") ) )(commandBuffer, pCopyTensorInfo); @@ -117757,9 +128798,9 @@ void IVk.CmdCuLaunchKernelNVX( ) => ( (delegate* unmanaged)( - _slots[93] is not null and var loadedFnPtr + _slots[110] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[93] = nativeContext.LoadFunction("vkCmdCuLaunchKernelNVX", "vulkan") + : _slots[110] = nativeContext.LoadFunction("vkCmdCuLaunchKernelNVX", "vulkan") ) )(commandBuffer, pLaunchInfo); @@ -117806,9 +128847,9 @@ void IVk.CmdDebugMarkerBeginEXT( ) => ( (delegate* unmanaged)( - _slots[94] is not null and var loadedFnPtr + _slots[111] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[94] = nativeContext.LoadFunction("vkCmdDebugMarkerBeginEXT", "vulkan") + : _slots[111] = nativeContext.LoadFunction("vkCmdDebugMarkerBeginEXT", "vulkan") ) )(commandBuffer, pMarkerInfo); @@ -117852,9 +128893,9 @@ Ref pMarkerInfo void IVk.CmdDebugMarkerEndEXT(CommandBufferHandle commandBuffer) => ( (delegate* unmanaged)( - _slots[95] is not null and var loadedFnPtr + _slots[112] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[95] = nativeContext.LoadFunction("vkCmdDebugMarkerEndEXT", "vulkan") + : _slots[112] = nativeContext.LoadFunction("vkCmdDebugMarkerEndEXT", "vulkan") ) )(commandBuffer); @@ -117875,9 +128916,12 @@ void IVk.CmdDebugMarkerInsertEXT( ) => ( (delegate* unmanaged)( - _slots[96] is not null and var loadedFnPtr + _slots[113] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[96] = nativeContext.LoadFunction("vkCmdDebugMarkerInsertEXT", "vulkan") + : _slots[113] = nativeContext.LoadFunction( + "vkCmdDebugMarkerInsertEXT", + "vulkan" + ) ) )(commandBuffer, pMarkerInfo); @@ -117931,9 +128975,9 @@ void IVk.CmdDecodeVideoKHR( ) => ( (delegate* unmanaged)( - _slots[97] is not null and var loadedFnPtr + _slots[114] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[97] = nativeContext.LoadFunction("vkCmdDecodeVideoKHR", "vulkan") + : _slots[114] = nativeContext.LoadFunction("vkCmdDecodeVideoKHR", "vulkan") ) )(commandBuffer, pDecodeInfo); @@ -118005,9 +129049,9 @@ void IVk.CmdDecompressMemoryEXT( ) => ( (delegate* unmanaged)( - _slots[98] is not null and var loadedFnPtr + _slots[115] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[98] = nativeContext.LoadFunction("vkCmdDecompressMemoryEXT", "vulkan") + : _slots[115] = nativeContext.LoadFunction("vkCmdDecompressMemoryEXT", "vulkan") ) )(commandBuffer, pDecompressMemoryInfoEXT); @@ -118081,9 +129125,9 @@ uint stride uint, uint, void>)( - _slots[99] is not null and var loadedFnPtr + _slots[116] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[99] = nativeContext.LoadFunction( + : _slots[116] = nativeContext.LoadFunction( "vkCmdDecompressMemoryIndirectCountEXT", "vulkan" ) @@ -118142,9 +129186,9 @@ uint stride ) => ( (delegate* unmanaged)( - _slots[100] is not null and var loadedFnPtr + _slots[117] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[100] = nativeContext.LoadFunction( + : _slots[117] = nativeContext.LoadFunction( "vkCmdDecompressMemoryIndirectCountNV", "vulkan" ) @@ -118195,9 +129239,9 @@ void IVk.CmdDecompressMemoryNV( ) => ( (delegate* unmanaged)( - _slots[101] is not null and var loadedFnPtr + _slots[118] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[101] = nativeContext.LoadFunction("vkCmdDecompressMemoryNV", "vulkan") + : _slots[118] = nativeContext.LoadFunction("vkCmdDecompressMemoryNV", "vulkan") ) )(commandBuffer, decompressRegionCount, pDecompressMemoryRegions); @@ -118346,9 +129390,9 @@ uint groupCountZ ) => ( (delegate* unmanaged)( - _slots[102] is not null and var loadedFnPtr + _slots[119] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[102] = nativeContext.LoadFunction("vkCmdDispatch", "vulkan") + : _slots[119] = nativeContext.LoadFunction("vkCmdDispatch", "vulkan") ) )(commandBuffer, groupCountX, groupCountY, groupCountZ); @@ -118415,9 +129459,9 @@ uint groupCountZ ) => ( (delegate* unmanaged)( - _slots[103] is not null and var loadedFnPtr + _slots[120] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[103] = nativeContext.LoadFunction("vkCmdDispatchBase", "vulkan") + : _slots[120] = nativeContext.LoadFunction("vkCmdDispatchBase", "vulkan") ) )(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ); @@ -118480,9 +129524,9 @@ uint groupCountZ ) => ( (delegate* unmanaged)( - _slots[104] is not null and var loadedFnPtr + _slots[121] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[104] = nativeContext.LoadFunction("vkCmdDispatchBaseKHR", "vulkan") + : _slots[121] = nativeContext.LoadFunction("vkCmdDispatchBaseKHR", "vulkan") ) )(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ); @@ -118517,7 +129561,10 @@ uint groupCountZ [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -118532,9 +129579,9 @@ void IVk.CmdDispatchDataGraphARM( DataGraphPipelineSessionHandleARM, DataGraphPipelineDispatchInfoARM*, void>)( - _slots[105] is not null and var loadedFnPtr + _slots[122] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[105] = nativeContext.LoadFunction( + : _slots[122] = nativeContext.LoadFunction( "vkCmdDispatchDataGraphARM", "vulkan" ) @@ -118545,7 +129592,10 @@ _slots[105] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -118559,7 +129609,10 @@ public static void CmdDispatchDataGraphARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -118579,7 +129632,10 @@ Ref pInfo [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchDataGraphARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -118620,9 +129676,9 @@ ulong offset ) => ( (delegate* unmanaged)( - _slots[106] is not null and var loadedFnPtr + _slots[123] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[106] = nativeContext.LoadFunction("vkCmdDispatchIndirect", "vulkan") + : _slots[123] = nativeContext.LoadFunction("vkCmdDispatchIndirect", "vulkan") ) )(commandBuffer, buffer, offset); @@ -118656,15 +129712,100 @@ public static void CmdDispatchIndirect( ulong offset ) => ThisThread.CmdDispatchIndirect(commandBuffer, buffer, offset); - [NativeName("vkCmdDispatchTileQCOM")] + [NativeName("vkCmdDispatchIndirect2KHR")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_KHR_device_address_commands"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDispatchIndirect2KHR( + CommandBufferHandle commandBuffer, + DispatchIndirect2InfoKHR* pInfo + ) => + ( + (delegate* unmanaged)( + _slots[124] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[124] = nativeContext.LoadFunction( + "vkCmdDispatchIndirect2KHR", + "vulkan" + ) + ) + )(commandBuffer, pInfo); + + [NativeName("vkCmdDispatchIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDispatchIndirect2KHR( + CommandBufferHandle commandBuffer, + DispatchIndirect2InfoKHR* pInfo + ) => ThisThread.CmdDispatchIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDispatchIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDispatchIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DispatchIndirect2InfoKHR* __dsl_pInfo = pInfo) + { + ((IVk)this).CmdDispatchIndirect2KHR(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdDispatchIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchIndirect2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDispatchIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => ThisThread.CmdDispatchIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDispatchTileQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] void IVk.CmdDispatchTileQCOM( @@ -118673,9 +129814,9 @@ void IVk.CmdDispatchTileQCOM( ) => ( (delegate* unmanaged)( - _slots[107] is not null and var loadedFnPtr + _slots[125] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[107] = nativeContext.LoadFunction("vkCmdDispatchTileQCOM", "vulkan") + : _slots[125] = nativeContext.LoadFunction("vkCmdDispatchTileQCOM", "vulkan") ) )(commandBuffer, pDispatchTileInfo); @@ -118683,10 +129824,7 @@ _slots[107] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -118699,10 +129837,7 @@ public static void CmdDispatchTileQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -118721,10 +129856,7 @@ Ref pDispatchTileInfo [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdDispatchTileQCOM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -118761,9 +129893,9 @@ uint firstInstance ) => ( (delegate* unmanaged)( - _slots[108] is not null and var loadedFnPtr + _slots[126] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[108] = nativeContext.LoadFunction("vkCmdDraw", "vulkan") + : _slots[126] = nativeContext.LoadFunction("vkCmdDraw", "vulkan") ) )(commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance); @@ -118813,9 +129945,9 @@ uint groupCountZ ) => ( (delegate* unmanaged)( - _slots[109] is not null and var loadedFnPtr + _slots[127] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[109] = nativeContext.LoadFunction("vkCmdDrawClusterHUAWEI", "vulkan") + : _slots[127] = nativeContext.LoadFunction("vkCmdDrawClusterHUAWEI", "vulkan") ) )(commandBuffer, groupCountX, groupCountY, groupCountZ); @@ -118855,9 +129987,9 @@ ulong offset ) => ( (delegate* unmanaged)( - _slots[110] is not null and var loadedFnPtr + _slots[128] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[110] = nativeContext.LoadFunction( + : _slots[128] = nativeContext.LoadFunction( "vkCmdDrawClusterIndirectHUAWEI", "vulkan" ) @@ -118910,9 +130042,9 @@ uint firstInstance ) => ( (delegate* unmanaged)( - _slots[111] is not null and var loadedFnPtr + _slots[129] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[111] = nativeContext.LoadFunction("vkCmdDrawIndexed", "vulkan") + : _slots[129] = nativeContext.LoadFunction("vkCmdDrawIndexed", "vulkan") ) )(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance); @@ -118980,9 +130112,9 @@ uint stride ) => ( (delegate* unmanaged)( - _slots[112] is not null and var loadedFnPtr + _slots[130] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[112] = nativeContext.LoadFunction("vkCmdDrawIndexedIndirect", "vulkan") + : _slots[130] = nativeContext.LoadFunction("vkCmdDrawIndexedIndirect", "vulkan") ) )(commandBuffer, buffer, offset, drawCount, stride); @@ -119013,6 +130145,94 @@ public static void CmdDrawIndexedIndirect( uint stride ) => ThisThread.CmdDrawIndexedIndirect(commandBuffer, buffer, offset, drawCount, stride); + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ) => + ( + (delegate* unmanaged)( + _slots[131] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[131] = nativeContext.LoadFunction( + "vkCmdDrawIndexedIndirect2KHR", + "vulkan" + ) + ) + )(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ) => ThisThread.CmdDrawIndexedIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirect2InfoKHR* __dsl_pInfo = pInfo) + { + ((IVk)this).CmdDrawIndexedIndirect2KHR(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdDrawIndexedIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirect2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawIndexedIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => ThisThread.CmdDrawIndexedIndirect2KHR(commandBuffer, pInfo); + [NativeName("vkCmdDrawIndexedIndirectCount")] [SupportedApiProfile( "vulkan", @@ -119047,9 +130267,9 @@ uint stride uint, uint, void>)( - _slots[113] is not null and var loadedFnPtr + _slots[132] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[113] = nativeContext.LoadFunction( + : _slots[132] = nativeContext.LoadFunction( "vkCmdDrawIndexedIndirectCount", "vulkan" ) @@ -119090,6 +130310,106 @@ uint stride stride ); + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ) => + ( + (delegate* unmanaged)( + _slots[133] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[133] = nativeContext.LoadFunction( + "vkCmdDrawIndexedIndirectCount2KHR", + "vulkan" + ) + ) + )(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ) => ThisThread.CmdDrawIndexedIndirectCount2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirectCount2InfoKHR* __dsl_pInfo = pInfo) + { + ((IVk)this).CmdDrawIndexedIndirectCount2KHR(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdDrawIndexedIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCount2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawIndexedIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => ThisThread.CmdDrawIndexedIndirectCount2KHR(commandBuffer, pInfo); + [NativeName("vkCmdDrawIndexedIndirectCountAMD")] [SupportedApiProfile("vulkan", ["VK_AMD_draw_indirect_count"])] [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndexedIndirectCountAMD")] @@ -119113,9 +130433,9 @@ uint stride uint, uint, void>)( - _slots[114] is not null and var loadedFnPtr + _slots[134] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[114] = nativeContext.LoadFunction( + : _slots[134] = nativeContext.LoadFunction( "vkCmdDrawIndexedIndirectCountAMD", "vulkan" ) @@ -119168,9 +130488,9 @@ uint stride uint, uint, void>)( - _slots[115] is not null and var loadedFnPtr + _slots[135] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[115] = nativeContext.LoadFunction( + : _slots[135] = nativeContext.LoadFunction( "vkCmdDrawIndexedIndirectCountKHR", "vulkan" ) @@ -119228,9 +130548,9 @@ uint stride ) => ( (delegate* unmanaged)( - _slots[116] is not null and var loadedFnPtr + _slots[136] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[116] = nativeContext.LoadFunction("vkCmdDrawIndirect", "vulkan") + : _slots[136] = nativeContext.LoadFunction("vkCmdDrawIndirect", "vulkan") ) )(commandBuffer, buffer, offset, drawCount, stride); @@ -119261,6 +130581,223 @@ public static void CmdDrawIndirect( uint stride ) => ThisThread.CmdDrawIndirect(commandBuffer, buffer, offset, drawCount, stride); + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawIndirect2KHR(CommandBufferHandle commandBuffer, DrawIndirect2InfoKHR* pInfo) => + ( + (delegate* unmanaged)( + _slots[137] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[137] = nativeContext.LoadFunction("vkCmdDrawIndirect2KHR", "vulkan") + ) + )(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawIndirect2KHR( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ) => ThisThread.CmdDrawIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawIndirect2KHR(CommandBufferHandle commandBuffer, Ref pInfo) + { + fixed (DrawIndirect2InfoKHR* __dsl_pInfo = pInfo) + { + ((IVk)this).CmdDrawIndirect2KHR(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdDrawIndirect2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirect2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawIndirect2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => ThisThread.CmdDrawIndirect2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfo, + uint counterOffset, + uint vertexStride + ) => + ( + (delegate* unmanaged< + CommandBufferHandle, + uint, + uint, + BindTransformFeedbackBuffer2InfoEXT*, + uint, + uint, + void>)( + _slots[138] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[138] = nativeContext.LoadFunction( + "vkCmdDrawIndirectByteCount2EXT", + "vulkan" + ) + ) + )(commandBuffer, instanceCount, firstInstance, pCounterInfo, counterOffset, vertexStride); + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfo, + uint counterOffset, + uint vertexStride + ) => + ThisThread.CmdDrawIndirectByteCount2EXT( + commandBuffer, + instanceCount, + firstInstance, + pCounterInfo, + counterOffset, + vertexStride + ); + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + Ref pCounterInfo, + uint counterOffset, + uint vertexStride + ) + { + fixed (BindTransformFeedbackBuffer2InfoEXT* __dsl_pCounterInfo = pCounterInfo) + { + ((IVk)this).CmdDrawIndirectByteCount2EXT( + commandBuffer, + instanceCount, + firstInstance, + __dsl_pCounterInfo, + counterOffset, + vertexStride + ); + } + } + + [NativeName("vkCmdDrawIndirectByteCount2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectByteCount2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawIndirectByteCount2EXT( + CommandBufferHandle commandBuffer, + uint instanceCount, + uint firstInstance, + Ref pCounterInfo, + uint counterOffset, + uint vertexStride + ) => + ThisThread.CmdDrawIndirectByteCount2EXT( + commandBuffer, + instanceCount, + firstInstance, + pCounterInfo, + counterOffset, + vertexStride + ); + [NativeName("vkCmdDrawIndirectByteCountEXT")] [SupportedApiProfile( "vulkan", @@ -119291,9 +130828,9 @@ uint vertexStride uint, uint, void>)( - _slots[117] is not null and var loadedFnPtr + _slots[139] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[117] = nativeContext.LoadFunction( + : _slots[139] = nativeContext.LoadFunction( "vkCmdDrawIndirectByteCountEXT", "vulkan" ) @@ -119372,9 +130909,9 @@ uint stride uint, uint, void>)( - _slots[118] is not null and var loadedFnPtr + _slots[140] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[118] = nativeContext.LoadFunction("vkCmdDrawIndirectCount", "vulkan") + : _slots[140] = nativeContext.LoadFunction("vkCmdDrawIndirectCount", "vulkan") ) )(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride); @@ -119412,6 +130949,106 @@ uint stride stride ); + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ) => + ( + (delegate* unmanaged)( + _slots[141] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[141] = nativeContext.LoadFunction( + "vkCmdDrawIndirectCount2KHR", + "vulkan" + ) + ) + )(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ) => ThisThread.CmdDrawIndirectCount2KHR(commandBuffer, pInfo); + + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirectCount2InfoKHR* __dsl_pInfo = pInfo) + { + ((IVk)this).CmdDrawIndirectCount2KHR(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdDrawIndirectCount2KHR")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCount2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawIndirectCount2KHR( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => ThisThread.CmdDrawIndirectCount2KHR(commandBuffer, pInfo); + [NativeName("vkCmdDrawIndirectCountAMD")] [SupportedApiProfile("vulkan", ["VK_AMD_draw_indirect_count"])] [NativeFunction("vulkan", EntryPoint = "vkCmdDrawIndirectCountAMD")] @@ -119435,9 +131072,9 @@ uint stride uint, uint, void>)( - _slots[119] is not null and var loadedFnPtr + _slots[142] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[119] = nativeContext.LoadFunction( + : _slots[142] = nativeContext.LoadFunction( "vkCmdDrawIndirectCountAMD", "vulkan" ) @@ -119490,9 +131127,9 @@ uint stride uint, uint, void>)( - _slots[120] is not null and var loadedFnPtr + _slots[143] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[120] = nativeContext.LoadFunction( + : _slots[143] = nativeContext.LoadFunction( "vkCmdDrawIndirectCountKHR", "vulkan" ) @@ -119538,9 +131175,9 @@ uint groupCountZ ) => ( (delegate* unmanaged)( - _slots[121] is not null and var loadedFnPtr + _slots[144] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[121] = nativeContext.LoadFunction("vkCmdDrawMeshTasksEXT", "vulkan") + : _slots[144] = nativeContext.LoadFunction("vkCmdDrawMeshTasksEXT", "vulkan") ) )(commandBuffer, groupCountX, groupCountY, groupCountZ); @@ -119559,6 +131196,198 @@ public static void CmdDrawMeshTasksEXT( uint groupCountZ ) => ThisThread.CmdDrawMeshTasksEXT(commandBuffer, groupCountX, groupCountY, groupCountZ); + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ) => + ( + (delegate* unmanaged)( + _slots[145] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[145] = nativeContext.LoadFunction( + "vkCmdDrawMeshTasksIndirect2EXT", + "vulkan" + ) + ) + )(commandBuffer, pInfo); + + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + DrawIndirect2InfoKHR* pInfo + ) => ThisThread.CmdDrawMeshTasksIndirect2EXT(commandBuffer, pInfo); + + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirect2InfoKHR* __dsl_pInfo = pInfo) + { + ((IVk)this).CmdDrawMeshTasksIndirect2EXT(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdDrawMeshTasksIndirect2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_mesh_shader", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirect2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawMeshTasksIndirect2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => ThisThread.CmdDrawMeshTasksIndirect2EXT(commandBuffer, pInfo); + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ) => + ( + (delegate* unmanaged)( + _slots[146] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[146] = nativeContext.LoadFunction( + "vkCmdDrawMeshTasksIndirectCount2EXT", + "vulkan" + ) + ) + )(commandBuffer, pInfo); + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + DrawIndirectCount2InfoKHR* pInfo + ) => ThisThread.CmdDrawMeshTasksIndirectCount2EXT(commandBuffer, pInfo); + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (DrawIndirectCount2InfoKHR* __dsl_pInfo = pInfo) + { + ((IVk)this).CmdDrawMeshTasksIndirectCount2EXT(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdDrawMeshTasksIndirectCount2EXT")] + [SupportedApiProfile( + "vulkan", + [ + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_KHR_draw_indirect_count", + "VK_KHR_device_address_commands+VK_EXT_mesh_shader+VK_VERSION_1_2", + ], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdDrawMeshTasksIndirectCount2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdDrawMeshTasksIndirectCount2EXT( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => ThisThread.CmdDrawMeshTasksIndirectCount2EXT(commandBuffer, pInfo); + [NativeName("vkCmdDrawMeshTasksIndirectCountEXT")] [SupportedApiProfile( "vulkan", @@ -119590,9 +131419,9 @@ uint stride uint, uint, void>)( - _slots[122] is not null and var loadedFnPtr + _slots[147] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[122] = nativeContext.LoadFunction( + : _slots[147] = nativeContext.LoadFunction( "vkCmdDrawMeshTasksIndirectCountEXT", "vulkan" ) @@ -119664,9 +131493,9 @@ uint stride uint, uint, void>)( - _slots[123] is not null and var loadedFnPtr + _slots[148] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[123] = nativeContext.LoadFunction( + : _slots[148] = nativeContext.LoadFunction( "vkCmdDrawMeshTasksIndirectCountNV", "vulkan" ) @@ -119724,9 +131553,9 @@ uint stride ) => ( (delegate* unmanaged)( - _slots[124] is not null and var loadedFnPtr + _slots[149] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[124] = nativeContext.LoadFunction( + : _slots[149] = nativeContext.LoadFunction( "vkCmdDrawMeshTasksIndirectEXT", "vulkan" ) @@ -119769,9 +131598,9 @@ uint stride ) => ( (delegate* unmanaged)( - _slots[125] is not null and var loadedFnPtr + _slots[150] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[125] = nativeContext.LoadFunction( + : _slots[150] = nativeContext.LoadFunction( "vkCmdDrawMeshTasksIndirectNV", "vulkan" ) @@ -119815,9 +131644,9 @@ uint firstTask ) => ( (delegate* unmanaged)( - _slots[126] is not null and var loadedFnPtr + _slots[151] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[126] = nativeContext.LoadFunction("vkCmdDrawMeshTasksNV", "vulkan") + : _slots[151] = nativeContext.LoadFunction("vkCmdDrawMeshTasksNV", "vulkan") ) )(commandBuffer, taskCount, firstTask); @@ -119866,9 +131695,9 @@ uint stride uint, uint, void>)( - _slots[127] is not null and var loadedFnPtr + _slots[152] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[127] = nativeContext.LoadFunction("vkCmdDrawMultiEXT", "vulkan") + : _slots[152] = nativeContext.LoadFunction("vkCmdDrawMultiEXT", "vulkan") ) )(commandBuffer, drawCount, pVertexInfo, instanceCount, firstInstance, stride); @@ -120044,9 +131873,9 @@ void IVk.CmdDrawMultiIndexedEXT( uint, int*, void>)( - _slots[128] is not null and var loadedFnPtr + _slots[153] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[128] = nativeContext.LoadFunction("vkCmdDrawMultiIndexedEXT", "vulkan") + : _slots[153] = nativeContext.LoadFunction("vkCmdDrawMultiIndexedEXT", "vulkan") ) )( commandBuffer, @@ -120233,9 +132062,9 @@ void IVk.CmdEncodeVideoKHR( ) => ( (delegate* unmanaged)( - _slots[129] is not null and var loadedFnPtr + _slots[154] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[129] = nativeContext.LoadFunction("vkCmdEncodeVideoKHR", "vulkan") + : _slots[154] = nativeContext.LoadFunction("vkCmdEncodeVideoKHR", "vulkan") ) )(commandBuffer, pEncodeInfo); @@ -120307,9 +132136,9 @@ Ref pEncodeInfo void IVk.CmdEndConditionalRenderingEXT(CommandBufferHandle commandBuffer) => ( (delegate* unmanaged)( - _slots[130] is not null and var loadedFnPtr + _slots[155] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[130] = nativeContext.LoadFunction( + : _slots[155] = nativeContext.LoadFunction( "vkCmdEndConditionalRenderingEXT", "vulkan" ) @@ -120337,9 +132166,9 @@ public static void CmdEndConditionalRenderingEXT(CommandBufferHandle commandBuff void IVk.CmdEndDebugUtilsLabelEXT(CommandBufferHandle commandBuffer) => ( (delegate* unmanaged)( - _slots[131] is not null and var loadedFnPtr + _slots[156] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[131] = nativeContext.LoadFunction( + : _slots[156] = nativeContext.LoadFunction( "vkCmdEndDebugUtilsLabelEXT", "vulkan" ) @@ -120353,15 +132182,92 @@ _slots[131] is not null and var loadedFnPtr public static void CmdEndDebugUtilsLabelEXT(CommandBufferHandle commandBuffer) => ThisThread.CmdEndDebugUtilsLabelEXT(commandBuffer); - [NativeName("vkCmdEndPerTileExecutionQCOM")] + [NativeName("vkCmdEndGpaSampleAMD")] [SupportedApiProfile( "vulkan", - ["VK_QCOM_tile_shading"], + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndGpaSampleAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdEndGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + uint sampleID + ) => + ( + (delegate* unmanaged)( + _slots[157] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[157] = nativeContext.LoadFunction("vkCmdEndGpaSampleAMD", "vulkan") + ) + )(commandBuffer, gpaSession, sampleID); + + [NativeName("vkCmdEndGpaSampleAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndGpaSampleAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdEndGpaSampleAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession, + uint sampleID + ) => ThisThread.CmdEndGpaSampleAMD(commandBuffer, gpaSession, sampleID); + + [NativeName("vkCmdEndGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.CmdEndGpaSessionAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ) => + ( + (delegate* unmanaged)( + _slots[158] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[158] = nativeContext.LoadFunction("vkCmdEndGpaSessionAMD", "vulkan") + ) + )(commandBuffer, gpaSession); + + [NativeName("vkCmdEndGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", ] )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CmdEndGpaSessionAMD( + CommandBufferHandle commandBuffer, + GpaSessionHandleAMD gpaSession + ) => ThisThread.CmdEndGpaSessionAMD(commandBuffer, gpaSession); + + [NativeName("vkCmdEndPerTileExecutionQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_tile_shading"], + ImpliesSets = ["VK_QCOM_tile_properties"] + )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] void IVk.CmdEndPerTileExecutionQCOM( @@ -120370,9 +132276,9 @@ void IVk.CmdEndPerTileExecutionQCOM( ) => ( (delegate* unmanaged)( - _slots[132] is not null and var loadedFnPtr + _slots[159] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[132] = nativeContext.LoadFunction( + : _slots[159] = nativeContext.LoadFunction( "vkCmdEndPerTileExecutionQCOM", "vulkan" ) @@ -120383,10 +132289,7 @@ _slots[132] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -120399,10 +132302,7 @@ public static void CmdEndPerTileExecutionQCOM( [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -120421,10 +132321,7 @@ Ref pPerTileEndInfo [SupportedApiProfile( "vulkan", ["VK_QCOM_tile_shading"], - ImpliesSets = [ - "VK_QCOM_tile_shading+VK_KHR_get_physical_device_properties2", - "VK_QCOM_tile_shading+VK_QCOM_tile_properties", - ] + ImpliesSets = ["VK_QCOM_tile_properties"] )] [NativeFunction("vulkan", EntryPoint = "vkCmdEndPerTileExecutionQCOM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -120469,9 +132366,9 @@ uint query ) => ( (delegate* unmanaged)( - _slots[133] is not null and var loadedFnPtr + _slots[160] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[133] = nativeContext.LoadFunction("vkCmdEndQuery", "vulkan") + : _slots[160] = nativeContext.LoadFunction("vkCmdEndQuery", "vulkan") ) )(commandBuffer, queryPool, query); @@ -120529,9 +132426,9 @@ uint index ) => ( (delegate* unmanaged)( - _slots[134] is not null and var loadedFnPtr + _slots[161] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[134] = nativeContext.LoadFunction("vkCmdEndQueryIndexedEXT", "vulkan") + : _slots[161] = nativeContext.LoadFunction("vkCmdEndQueryIndexedEXT", "vulkan") ) )(commandBuffer, queryPool, query, index); @@ -120564,9 +132461,9 @@ uint index void IVk.CmdEndRendering(CommandBufferHandle commandBuffer) => ( (delegate* unmanaged)( - _slots[135] is not null and var loadedFnPtr + _slots[162] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[135] = nativeContext.LoadFunction("vkCmdEndRendering", "vulkan") + : _slots[162] = nativeContext.LoadFunction("vkCmdEndRendering", "vulkan") ) )(commandBuffer); @@ -120604,9 +132501,9 @@ void IVk.CmdEndRendering2EXT( ) => ( (delegate* unmanaged)( - _slots[136] is not null and var loadedFnPtr + _slots[163] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[136] = nativeContext.LoadFunction("vkCmdEndRendering2EXT", "vulkan") + : _slots[163] = nativeContext.LoadFunction("vkCmdEndRendering2EXT", "vulkan") ) )(commandBuffer, pRenderingEndInfo); @@ -120699,9 +132596,9 @@ void IVk.CmdEndRendering2KHR( ) => ( (delegate* unmanaged)( - _slots[137] is not null and var loadedFnPtr + _slots[164] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[137] = nativeContext.LoadFunction("vkCmdEndRendering2KHR", "vulkan") + : _slots[164] = nativeContext.LoadFunction("vkCmdEndRendering2KHR", "vulkan") ) )(commandBuffer, pRenderingEndInfo); @@ -120774,9 +132671,9 @@ Ref pRenderingEndInfo void IVk.CmdEndRenderingKHR(CommandBufferHandle commandBuffer) => ( (delegate* unmanaged)( - _slots[138] is not null and var loadedFnPtr + _slots[165] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[138] = nativeContext.LoadFunction("vkCmdEndRenderingKHR", "vulkan") + : _slots[165] = nativeContext.LoadFunction("vkCmdEndRenderingKHR", "vulkan") ) )(commandBuffer); @@ -120817,9 +132714,9 @@ public static void CmdEndRenderingKHR(CommandBufferHandle commandBuffer) => void IVk.CmdEndRenderPass(CommandBufferHandle commandBuffer) => ( (delegate* unmanaged)( - _slots[139] is not null and var loadedFnPtr + _slots[166] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[139] = nativeContext.LoadFunction("vkCmdEndRenderPass", "vulkan") + : _slots[166] = nativeContext.LoadFunction("vkCmdEndRenderPass", "vulkan") ) )(commandBuffer); @@ -120866,9 +132763,9 @@ void IVk.CmdEndRenderPass2( ) => ( (delegate* unmanaged)( - _slots[140] is not null and var loadedFnPtr + _slots[167] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[140] = nativeContext.LoadFunction("vkCmdEndRenderPass2", "vulkan") + : _slots[167] = nativeContext.LoadFunction("vkCmdEndRenderPass2", "vulkan") ) )(commandBuffer, pSubpassEndInfo); @@ -120952,9 +132849,9 @@ void IVk.CmdEndRenderPass2KHR( ) => ( (delegate* unmanaged)( - _slots[141] is not null and var loadedFnPtr + _slots[168] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[141] = nativeContext.LoadFunction("vkCmdEndRenderPass2KHR", "vulkan") + : _slots[168] = nativeContext.LoadFunction("vkCmdEndRenderPass2KHR", "vulkan") ) )(commandBuffer, pSubpassEndInfo); @@ -121003,6 +132900,211 @@ public static void CmdEndRenderPass2KHR( Ref pSubpassEndInfo ) => ThisThread.CmdEndRenderPass2KHR(commandBuffer, pSubpassEndInfo); + [NativeName("vkCmdEndShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndShaderInstrumentationARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdEndShaderInstrumentationARM(CommandBufferHandle commandBuffer) => + ( + (delegate* unmanaged)( + _slots[169] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[169] = nativeContext.LoadFunction( + "vkCmdEndShaderInstrumentationARM", + "vulkan" + ) + ) + )(commandBuffer); + + [NativeName("vkCmdEndShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndShaderInstrumentationARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdEndShaderInstrumentationARM(CommandBufferHandle commandBuffer) => + ThisThread.CmdEndShaderInstrumentationARM(commandBuffer); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ) => + ( + (delegate* unmanaged< + CommandBufferHandle, + uint, + uint, + BindTransformFeedbackBuffer2InfoEXT*, + void>)( + _slots[170] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[170] = nativeContext.LoadFunction( + "vkCmdEndTransformFeedback2EXT", + "vulkan" + ) + ) + )(commandBuffer, firstCounterRange, counterRangeCount, pCounterInfos); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + BindTransformFeedbackBuffer2InfoEXT* pCounterInfos + ) => + ThisThread.CmdEndTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + pCounterInfos + ); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ) + { + fixed (BindTransformFeedbackBuffer2InfoEXT* __dsl_pCounterInfos = pCounterInfos) + { + ((IVk)this).CmdEndTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + __dsl_pCounterInfos + ); + } + } + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + uint counterRangeCount, + Ref pCounterInfos + ) => + ThisThread.CmdEndTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + counterRangeCount, + pCounterInfos + ); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ) => + ((IVk)this).CmdEndTransformFeedback2EXT( + commandBuffer, + firstCounterRange, + 1, + (BindTransformFeedbackBuffer2InfoEXT*)&pCounterInfos + ); + + [NativeName("vkCmdEndTransformFeedback2EXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_transform_feedback", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdEndTransformFeedback2EXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdEndTransformFeedback2EXT( + CommandBufferHandle commandBuffer, + uint firstCounterRange, + BindTransformFeedbackBuffer2InfoEXT pCounterInfos + ) => ThisThread.CmdEndTransformFeedback2EXT(commandBuffer, firstCounterRange, pCounterInfos); + [NativeName("vkCmdEndTransformFeedbackEXT")] [SupportedApiProfile( "vulkan", @@ -121023,9 +133125,9 @@ void IVk.CmdEndTransformFeedbackEXT( ) => ( (delegate* unmanaged)( - _slots[142] is not null and var loadedFnPtr + _slots[171] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[142] = nativeContext.LoadFunction( + : _slots[171] = nativeContext.LoadFunction( "vkCmdEndTransformFeedbackEXT", "vulkan" ) @@ -121136,9 +133238,9 @@ void IVk.CmdEndVideoCodingKHR( ) => ( (delegate* unmanaged)( - _slots[143] is not null and var loadedFnPtr + _slots[172] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[143] = nativeContext.LoadFunction("vkCmdEndVideoCodingKHR", "vulkan") + : _slots[172] = nativeContext.LoadFunction("vkCmdEndVideoCodingKHR", "vulkan") ) )(commandBuffer, pEndCodingInfo); @@ -121291,9 +133393,9 @@ void IVk.CmdExecuteCommands( ) => ( (delegate* unmanaged)( - _slots[144] is not null and var loadedFnPtr + _slots[173] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[144] = nativeContext.LoadFunction("vkCmdExecuteCommands", "vulkan") + : _slots[173] = nativeContext.LoadFunction("vkCmdExecuteCommands", "vulkan") ) )(commandBuffer, commandBufferCount, pCommandBuffers); @@ -121417,8 +133519,10 @@ Ref pCommandBuffers "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -121431,9 +133535,9 @@ void IVk.CmdExecuteGeneratedCommandsEXT( ) => ( (delegate* unmanaged)( - _slots[145] is not null and var loadedFnPtr + _slots[174] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[145] = nativeContext.LoadFunction( + : _slots[174] = nativeContext.LoadFunction( "vkCmdExecuteGeneratedCommandsEXT", "vulkan" ) @@ -121445,8 +133549,10 @@ _slots[145] is not null and var loadedFnPtr "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -121468,8 +133574,10 @@ public static void CmdExecuteGeneratedCommandsEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -121496,8 +133604,10 @@ Ref pGeneratedCommandsInfo "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -121529,9 +133639,9 @@ void IVk.CmdExecuteGeneratedCommandsNV( ) => ( (delegate* unmanaged)( - _slots[146] is not null and var loadedFnPtr + _slots[175] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[146] = nativeContext.LoadFunction( + : _slots[175] = nativeContext.LoadFunction( "vkCmdExecuteGeneratedCommandsNV", "vulkan" ) @@ -121638,9 +133748,9 @@ uint data ) => ( (delegate* unmanaged)( - _slots[147] is not null and var loadedFnPtr + _slots[176] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[147] = nativeContext.LoadFunction("vkCmdFillBuffer", "vulkan") + : _slots[176] = nativeContext.LoadFunction("vkCmdFillBuffer", "vulkan") ) )(commandBuffer, dstBuffer, dstOffset, size, data); @@ -121681,6 +133791,104 @@ public static void CmdFillBuffer( uint data ) => ThisThread.CmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data); + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ) => + ( + (delegate* unmanaged< + CommandBufferHandle, + DeviceAddressRangeKHR*, + AddressCommandFlagsKHR, + uint, + void>)( + _slots[177] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[177] = nativeContext.LoadFunction("vkCmdFillMemoryKHR", "vulkan") + ) + )(commandBuffer, pDstRange, dstFlags, data); + + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ) => ThisThread.CmdFillMemoryKHR(commandBuffer, pDstRange, dstFlags, data); + + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ) + { + fixed (DeviceAddressRangeKHR* __dsl_pDstRange = pDstRange) + { + ((IVk)this).CmdFillMemoryKHR(commandBuffer, __dsl_pDstRange, dstFlags, data); + } + } + + [NativeName("vkCmdFillMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdFillMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdFillMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + uint data + ) => ThisThread.CmdFillMemoryKHR(commandBuffer, pDstRange, dstFlags, data); + [NativeName("vkCmdInsertDebugUtilsLabelEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_debug_utils"])] [NativeFunction("vulkan", EntryPoint = "vkCmdInsertDebugUtilsLabelEXT")] @@ -121691,9 +133899,9 @@ void IVk.CmdInsertDebugUtilsLabelEXT( ) => ( (delegate* unmanaged)( - _slots[148] is not null and var loadedFnPtr + _slots[178] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[148] = nativeContext.LoadFunction( + : _slots[178] = nativeContext.LoadFunction( "vkCmdInsertDebugUtilsLabelEXT", "vulkan" ) @@ -121755,9 +133963,9 @@ Ref pLabelInfo void IVk.CmdNextSubpass(CommandBufferHandle commandBuffer, SubpassContents contents) => ( (delegate* unmanaged)( - _slots[149] is not null and var loadedFnPtr + _slots[179] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[149] = nativeContext.LoadFunction("vkCmdNextSubpass", "vulkan") + : _slots[179] = nativeContext.LoadFunction("vkCmdNextSubpass", "vulkan") ) )(commandBuffer, contents); @@ -121807,9 +134015,9 @@ void IVk.CmdNextSubpass2( ) => ( (delegate* unmanaged)( - _slots[150] is not null and var loadedFnPtr + _slots[180] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[150] = nativeContext.LoadFunction("vkCmdNextSubpass2", "vulkan") + : _slots[180] = nativeContext.LoadFunction("vkCmdNextSubpass2", "vulkan") ) )(commandBuffer, pSubpassBeginInfo, pSubpassEndInfo); @@ -121902,9 +134110,9 @@ void IVk.CmdNextSubpass2KHR( ) => ( (delegate* unmanaged)( - _slots[151] is not null and var loadedFnPtr + _slots[181] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[151] = nativeContext.LoadFunction("vkCmdNextSubpass2KHR", "vulkan") + : _slots[181] = nativeContext.LoadFunction("vkCmdNextSubpass2KHR", "vulkan") ) )(commandBuffer, pSubpassBeginInfo, pSubpassEndInfo); @@ -121984,9 +134192,9 @@ void IVk.CmdOpticalFlowExecuteNV( OpticalFlowSessionHandleNV, OpticalFlowExecuteInfoNV*, void>)( - _slots[152] is not null and var loadedFnPtr + _slots[182] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[152] = nativeContext.LoadFunction( + : _slots[182] = nativeContext.LoadFunction( "vkCmdOpticalFlowExecuteNV", "vulkan" ) @@ -122107,9 +134315,9 @@ void IVk.CmdPipelineBarrier( uint, ImageMemoryBarrier*, void>)( - _slots[153] is not null and var loadedFnPtr + _slots[183] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[153] = nativeContext.LoadFunction("vkCmdPipelineBarrier", "vulkan") + : _slots[183] = nativeContext.LoadFunction("vkCmdPipelineBarrier", "vulkan") ) )( commandBuffer, @@ -122316,9 +134524,9 @@ void IVk.CmdPipelineBarrier2( ) => ( (delegate* unmanaged)( - _slots[154] is not null and var loadedFnPtr + _slots[184] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[154] = nativeContext.LoadFunction("vkCmdPipelineBarrier2", "vulkan") + : _slots[184] = nativeContext.LoadFunction("vkCmdPipelineBarrier2", "vulkan") ) )(commandBuffer, pDependencyInfo); @@ -122411,9 +134619,9 @@ void IVk.CmdPipelineBarrier2KHR( ) => ( (delegate* unmanaged)( - _slots[155] is not null and var loadedFnPtr + _slots[185] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[155] = nativeContext.LoadFunction("vkCmdPipelineBarrier2KHR", "vulkan") + : _slots[185] = nativeContext.LoadFunction("vkCmdPipelineBarrier2KHR", "vulkan") ) )(commandBuffer, pDependencyInfo); @@ -122476,8 +134684,10 @@ Ref pDependencyInfo "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -122494,9 +134704,9 @@ CommandBufferHandle stateCommandBuffer GeneratedCommandsInfoEXT*, CommandBufferHandle, void>)( - _slots[156] is not null and var loadedFnPtr + _slots[186] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[156] = nativeContext.LoadFunction( + : _slots[186] = nativeContext.LoadFunction( "vkCmdPreprocessGeneratedCommandsEXT", "vulkan" ) @@ -122508,8 +134718,10 @@ _slots[156] is not null and var loadedFnPtr "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -122531,8 +134743,10 @@ CommandBufferHandle stateCommandBuffer "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -122559,8 +134773,10 @@ CommandBufferHandle stateCommandBuffer "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -122591,9 +134807,9 @@ void IVk.CmdPreprocessGeneratedCommandsNV( ) => ( (delegate* unmanaged)( - _slots[157] is not null and var loadedFnPtr + _slots[187] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[157] = nativeContext.LoadFunction( + : _slots[187] = nativeContext.LoadFunction( "vkCmdPreprocessGeneratedCommandsNV", "vulkan" ) @@ -122689,9 +134905,9 @@ void IVk.CmdPushConstants( uint, void*, void>)( - _slots[158] is not null and var loadedFnPtr + _slots[188] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[158] = nativeContext.LoadFunction("vkCmdPushConstants", "vulkan") + : _slots[188] = nativeContext.LoadFunction("vkCmdPushConstants", "vulkan") ) )(commandBuffer, layout, stageFlags, offset, size, pValues); @@ -122821,9 +135037,9 @@ void IVk.CmdPushConstants2( ) => ( (delegate* unmanaged)( - _slots[159] is not null and var loadedFnPtr + _slots[189] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[159] = nativeContext.LoadFunction("vkCmdPushConstants2", "vulkan") + : _slots[189] = nativeContext.LoadFunction("vkCmdPushConstants2", "vulkan") ) )(commandBuffer, pPushConstantsInfo); @@ -122882,9 +135098,9 @@ void IVk.CmdPushConstants2KHR( ) => ( (delegate* unmanaged)( - _slots[160] is not null and var loadedFnPtr + _slots[190] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[160] = nativeContext.LoadFunction("vkCmdPushConstants2KHR", "vulkan") + : _slots[190] = nativeContext.LoadFunction("vkCmdPushConstants2KHR", "vulkan") ) )(commandBuffer, pPushConstantsInfo); @@ -122921,6 +135137,89 @@ public static void CmdPushConstants2KHR( Ref pPushConstantsInfo ) => ThisThread.CmdPushConstants2KHR(commandBuffer, pPushConstantsInfo); + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdPushDataEXT(CommandBufferHandle commandBuffer, PushDataInfoEXT* pPushDataInfo) => + ( + (delegate* unmanaged)( + _slots[191] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[191] = nativeContext.LoadFunction("vkCmdPushDataEXT", "vulkan") + ) + )(commandBuffer, pPushDataInfo); + + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdPushDataEXT( + CommandBufferHandle commandBuffer, + PushDataInfoEXT* pPushDataInfo + ) => ThisThread.CmdPushDataEXT(commandBuffer, pPushDataInfo); + + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdPushDataEXT(CommandBufferHandle commandBuffer, Ref pPushDataInfo) + { + fixed (PushDataInfoEXT* __dsl_pPushDataInfo = pPushDataInfo) + { + ((IVk)this).CmdPushDataEXT(commandBuffer, __dsl_pPushDataInfo); + } + } + + [NativeName("vkCmdPushDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdPushDataEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdPushDataEXT( + CommandBufferHandle commandBuffer, + Ref pPushDataInfo + ) => ThisThread.CmdPushDataEXT(commandBuffer, pPushDataInfo); + [NativeName("vkCmdPushDescriptorSet")] [SupportedApiProfile( "vulkan", @@ -122946,9 +135245,9 @@ void IVk.CmdPushDescriptorSet( uint, WriteDescriptorSet*, void>)( - _slots[161] is not null and var loadedFnPtr + _slots[192] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[161] = nativeContext.LoadFunction("vkCmdPushDescriptorSet", "vulkan") + : _slots[192] = nativeContext.LoadFunction("vkCmdPushDescriptorSet", "vulkan") ) )(commandBuffer, pipelineBindPoint, layout, set, descriptorWriteCount, pDescriptorWrites); @@ -123093,9 +135392,9 @@ void IVk.CmdPushDescriptorSet2( ) => ( (delegate* unmanaged)( - _slots[162] is not null and var loadedFnPtr + _slots[193] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[162] = nativeContext.LoadFunction("vkCmdPushDescriptorSet2", "vulkan") + : _slots[193] = nativeContext.LoadFunction("vkCmdPushDescriptorSet2", "vulkan") ) )(commandBuffer, pPushDescriptorSetInfo); @@ -123159,9 +135458,9 @@ void IVk.CmdPushDescriptorSet2KHR( ) => ( (delegate* unmanaged)( - _slots[163] is not null and var loadedFnPtr + _slots[194] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[163] = nativeContext.LoadFunction( + : _slots[194] = nativeContext.LoadFunction( "vkCmdPushDescriptorSet2KHR", "vulkan" ) @@ -123244,9 +135543,9 @@ void IVk.CmdPushDescriptorSetKHR( uint, WriteDescriptorSet*, void>)( - _slots[164] is not null and var loadedFnPtr + _slots[195] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[164] = nativeContext.LoadFunction( + : _slots[195] = nativeContext.LoadFunction( "vkCmdPushDescriptorSetKHR", "vulkan" ) @@ -123418,9 +135717,9 @@ void IVk.CmdPushDescriptorSetWithTemplate( uint, void*, void>)( - _slots[165] is not null and var loadedFnPtr + _slots[196] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[165] = nativeContext.LoadFunction( + : _slots[196] = nativeContext.LoadFunction( "vkCmdPushDescriptorSetWithTemplate", "vulkan" ) @@ -123515,9 +135814,9 @@ void IVk.CmdPushDescriptorSetWithTemplate2( ) => ( (delegate* unmanaged)( - _slots[166] is not null and var loadedFnPtr + _slots[197] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[166] = nativeContext.LoadFunction( + : _slots[197] = nativeContext.LoadFunction( "vkCmdPushDescriptorSetWithTemplate2", "vulkan" ) @@ -123598,9 +135897,9 @@ void IVk.CmdPushDescriptorSetWithTemplate2KHR( ) => ( (delegate* unmanaged)( - _slots[167] is not null and var loadedFnPtr + _slots[198] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[167] = nativeContext.LoadFunction( + : _slots[198] = nativeContext.LoadFunction( "vkCmdPushDescriptorSetWithTemplate2KHR", "vulkan" ) @@ -123698,9 +135997,9 @@ void IVk.CmdPushDescriptorSetWithTemplateKHR( uint, void*, void>)( - _slots[168] is not null and var loadedFnPtr + _slots[199] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[168] = nativeContext.LoadFunction( + : _slots[199] = nativeContext.LoadFunction( "vkCmdPushDescriptorSetWithTemplateKHR", "vulkan" ) @@ -123830,9 +136129,9 @@ PipelineStageFlags stageMask ) => ( (delegate* unmanaged)( - _slots[169] is not null and var loadedFnPtr + _slots[200] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[169] = nativeContext.LoadFunction("vkCmdResetEvent", "vulkan") + : _slots[200] = nativeContext.LoadFunction("vkCmdResetEvent", "vulkan") ) )(commandBuffer, @event, stageMask); @@ -123888,9 +136187,9 @@ PipelineStageFlags2 stageMask ) => ( (delegate* unmanaged)( - _slots[170] is not null and var loadedFnPtr + _slots[201] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[170] = nativeContext.LoadFunction("vkCmdResetEvent2", "vulkan") + : _slots[201] = nativeContext.LoadFunction("vkCmdResetEvent2", "vulkan") ) )(commandBuffer, @event, stageMask); @@ -123933,9 +136232,9 @@ PipelineStageFlags2 stageMask ) => ( (delegate* unmanaged)( - _slots[171] is not null and var loadedFnPtr + _slots[202] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[171] = nativeContext.LoadFunction("vkCmdResetEvent2KHR", "vulkan") + : _slots[202] = nativeContext.LoadFunction("vkCmdResetEvent2KHR", "vulkan") ) )(commandBuffer, @event, stageMask); @@ -123993,9 +136292,9 @@ uint queryCount ) => ( (delegate* unmanaged)( - _slots[172] is not null and var loadedFnPtr + _slots[203] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[172] = nativeContext.LoadFunction("vkCmdResetQueryPool", "vulkan") + : _slots[203] = nativeContext.LoadFunction("vkCmdResetQueryPool", "vulkan") ) )(commandBuffer, queryPool, firstQuery, queryCount); @@ -124073,9 +136372,9 @@ void IVk.CmdResolveImage( uint, ImageResolve*, void>)( - _slots[173] is not null and var loadedFnPtr + _slots[204] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[173] = nativeContext.LoadFunction("vkCmdResolveImage", "vulkan") + : _slots[204] = nativeContext.LoadFunction("vkCmdResolveImage", "vulkan") ) )(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions); @@ -124285,9 +136584,9 @@ void IVk.CmdResolveImage2( ) => ( (delegate* unmanaged)( - _slots[174] is not null and var loadedFnPtr + _slots[205] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[174] = nativeContext.LoadFunction("vkCmdResolveImage2", "vulkan") + : _slots[205] = nativeContext.LoadFunction("vkCmdResolveImage2", "vulkan") ) )(commandBuffer, pResolveImageInfo); @@ -124353,9 +136652,9 @@ void IVk.CmdResolveImage2KHR( ) => ( (delegate* unmanaged)( - _slots[175] is not null and var loadedFnPtr + _slots[206] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[175] = nativeContext.LoadFunction("vkCmdResolveImage2KHR", "vulkan") + : _slots[206] = nativeContext.LoadFunction("vkCmdResolveImage2KHR", "vulkan") ) )(commandBuffer, pResolveImageInfo); @@ -124430,9 +136729,9 @@ uint alphaToCoverageEnable ) => ( (delegate* unmanaged)( - _slots[176] is not null and var loadedFnPtr + _slots[207] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[176] = nativeContext.LoadFunction( + : _slots[207] = nativeContext.LoadFunction( "vkCmdSetAlphaToCoverageEnableEXT", "vulkan" ) @@ -124501,9 +136800,9 @@ MaybeBool alphaToCoverageEnable void IVk.CmdSetAlphaToOneEnableEXT(CommandBufferHandle commandBuffer, uint alphaToOneEnable) => ( (delegate* unmanaged)( - _slots[177] is not null and var loadedFnPtr + _slots[208] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[177] = nativeContext.LoadFunction( + : _slots[208] = nativeContext.LoadFunction( "vkCmdSetAlphaToOneEnableEXT", "vulkan" ) @@ -124575,9 +136874,9 @@ ImageAspectFlags aspectMask ) => ( (delegate* unmanaged)( - _slots[178] is not null and var loadedFnPtr + _slots[209] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[178] = nativeContext.LoadFunction( + : _slots[209] = nativeContext.LoadFunction( "vkCmdSetAttachmentFeedbackLoopEnableEXT", "vulkan" ) @@ -124622,9 +136921,9 @@ ImageAspectFlags aspectMask void IVk.CmdSetBlendConstants(CommandBufferHandle commandBuffer, float* blendConstants) => ( (delegate* unmanaged)( - _slots[179] is not null and var loadedFnPtr + _slots[210] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[179] = nativeContext.LoadFunction("vkCmdSetBlendConstants", "vulkan") + : _slots[210] = nativeContext.LoadFunction("vkCmdSetBlendConstants", "vulkan") ) )(commandBuffer, blendConstants); @@ -124717,9 +137016,9 @@ Ref blendConstants void IVk.CmdSetCheckpointNV(CommandBufferHandle commandBuffer, void* pCheckpointMarker) => ( (delegate* unmanaged)( - _slots[180] is not null and var loadedFnPtr + _slots[211] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[180] = nativeContext.LoadFunction("vkCmdSetCheckpointNV", "vulkan") + : _slots[211] = nativeContext.LoadFunction("vkCmdSetCheckpointNV", "vulkan") ) )(commandBuffer, pCheckpointMarker); @@ -124798,9 +137097,9 @@ void IVk.CmdSetCoarseSampleOrderNV( uint, CoarseSampleOrderCustomNV*, void>)( - _slots[181] is not null and var loadedFnPtr + _slots[212] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[181] = nativeContext.LoadFunction( + : _slots[212] = nativeContext.LoadFunction( "vkCmdSetCoarseSampleOrderNV", "vulkan" ) @@ -124944,9 +137243,9 @@ void IVk.CmdSetColorBlendAdvancedEXT( ) => ( (delegate* unmanaged)( - _slots[182] is not null and var loadedFnPtr + _slots[213] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[182] = nativeContext.LoadFunction( + : _slots[213] = nativeContext.LoadFunction( "vkCmdSetColorBlendAdvancedEXT", "vulkan" ) @@ -125095,9 +137394,9 @@ void IVk.CmdSetColorBlendEnableEXT( ) => ( (delegate* unmanaged)( - _slots[183] is not null and var loadedFnPtr + _slots[214] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[183] = nativeContext.LoadFunction( + : _slots[214] = nativeContext.LoadFunction( "vkCmdSetColorBlendEnableEXT", "vulkan" ) @@ -125240,9 +137539,9 @@ void IVk.CmdSetColorBlendEquationEXT( ) => ( (delegate* unmanaged)( - _slots[184] is not null and var loadedFnPtr + _slots[215] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[184] = nativeContext.LoadFunction( + : _slots[215] = nativeContext.LoadFunction( "vkCmdSetColorBlendEquationEXT", "vulkan" ) @@ -125389,9 +137688,9 @@ void IVk.CmdSetColorWriteEnableEXT( ) => ( (delegate* unmanaged)( - _slots[185] is not null and var loadedFnPtr + _slots[216] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[185] = nativeContext.LoadFunction( + : _slots[216] = nativeContext.LoadFunction( "vkCmdSetColorWriteEnableEXT", "vulkan" ) @@ -125510,9 +137809,9 @@ void IVk.CmdSetColorWriteMaskEXT( ) => ( (delegate* unmanaged)( - _slots[186] is not null and var loadedFnPtr + _slots[217] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[186] = nativeContext.LoadFunction( + : _slots[217] = nativeContext.LoadFunction( "vkCmdSetColorWriteMaskEXT", "vulkan" ) @@ -125636,6 +137935,86 @@ public static void CmdSetColorWriteMaskEXT( ColorComponentFlags pColorWriteMasks ) => ThisThread.CmdSetColorWriteMaskEXT(commandBuffer, firstAttachment, pColorWriteMasks); + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + ComputeOccupancyPriorityParametersNV* pParameters + ) => + ( + (delegate* unmanaged)( + _slots[218] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[218] = nativeContext.LoadFunction( + "vkCmdSetComputeOccupancyPriorityNV", + "vulkan" + ) + ) + )(commandBuffer, pParameters); + + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + ComputeOccupancyPriorityParametersNV* pParameters + ) => ThisThread.CmdSetComputeOccupancyPriorityNV(commandBuffer, pParameters); + + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + Ref pParameters + ) + { + fixed (ComputeOccupancyPriorityParametersNV* __dsl_pParameters = pParameters) + { + ((IVk)this).CmdSetComputeOccupancyPriorityNV(commandBuffer, __dsl_pParameters); + } + } + + [NativeName("vkCmdSetComputeOccupancyPriorityNV")] + [SupportedApiProfile( + "vulkan", + ["VK_NV_compute_occupancy_priority"], + ImpliesSets = [ + "VK_NV_compute_occupancy_priority+VK_KHR_get_physical_device_properties2", + "VK_NV_compute_occupancy_priority+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetComputeOccupancyPriorityNV")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdSetComputeOccupancyPriorityNV( + CommandBufferHandle commandBuffer, + Ref pParameters + ) => ThisThread.CmdSetComputeOccupancyPriorityNV(commandBuffer, pParameters); + [NativeName("vkCmdSetConservativeRasterizationModeEXT")] [SupportedApiProfile( "vulkan", @@ -125654,9 +138033,9 @@ ConservativeRasterizationModeEXT conservativeRasterizationMode ) => ( (delegate* unmanaged)( - _slots[187] is not null and var loadedFnPtr + _slots[219] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[187] = nativeContext.LoadFunction( + : _slots[219] = nativeContext.LoadFunction( "vkCmdSetConservativeRasterizationModeEXT", "vulkan" ) @@ -125702,9 +138081,9 @@ CoverageModulationModeNV coverageModulationMode ) => ( (delegate* unmanaged)( - _slots[188] is not null and var loadedFnPtr + _slots[220] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[188] = nativeContext.LoadFunction( + : _slots[220] = nativeContext.LoadFunction( "vkCmdSetCoverageModulationModeNV", "vulkan" ) @@ -125746,9 +138125,9 @@ uint coverageModulationTableEnable ) => ( (delegate* unmanaged)( - _slots[189] is not null and var loadedFnPtr + _slots[221] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[189] = nativeContext.LoadFunction( + : _slots[221] = nativeContext.LoadFunction( "vkCmdSetCoverageModulationTableEnableNV", "vulkan" ) @@ -125837,9 +138216,9 @@ void IVk.CmdSetCoverageModulationTableNV( ) => ( (delegate* unmanaged)( - _slots[190] is not null and var loadedFnPtr + _slots[222] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[190] = nativeContext.LoadFunction( + : _slots[222] = nativeContext.LoadFunction( "vkCmdSetCoverageModulationTableNV", "vulkan" ) @@ -125977,9 +138356,9 @@ CoverageReductionModeNV coverageReductionMode ) => ( (delegate* unmanaged)( - _slots[191] is not null and var loadedFnPtr + _slots[223] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[191] = nativeContext.LoadFunction( + : _slots[223] = nativeContext.LoadFunction( "vkCmdSetCoverageReductionModeNV", "vulkan" ) @@ -126021,9 +138400,9 @@ uint coverageToColorEnable ) => ( (delegate* unmanaged)( - _slots[192] is not null and var loadedFnPtr + _slots[224] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[192] = nativeContext.LoadFunction( + : _slots[224] = nativeContext.LoadFunction( "vkCmdSetCoverageToColorEnableNV", "vulkan" ) @@ -126099,9 +138478,9 @@ uint coverageToColorLocation ) => ( (delegate* unmanaged)( - _slots[193] is not null and var loadedFnPtr + _slots[225] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[193] = nativeContext.LoadFunction( + : _slots[225] = nativeContext.LoadFunction( "vkCmdSetCoverageToColorLocationNV", "vulkan" ) @@ -126136,9 +138515,9 @@ uint coverageToColorLocation void IVk.CmdSetCullMode(CommandBufferHandle commandBuffer, CullModeFlags cullMode) => ( (delegate* unmanaged)( - _slots[194] is not null and var loadedFnPtr + _slots[226] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[194] = nativeContext.LoadFunction("vkCmdSetCullMode", "vulkan") + : _slots[226] = nativeContext.LoadFunction("vkCmdSetCullMode", "vulkan") ) )(commandBuffer, cullMode); @@ -126167,9 +138546,9 @@ public static void CmdSetCullMode(CommandBufferHandle commandBuffer, CullModeFla void IVk.CmdSetCullModeEXT(CommandBufferHandle commandBuffer, CullModeFlags cullMode) => ( (delegate* unmanaged)( - _slots[195] is not null and var loadedFnPtr + _slots[227] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[195] = nativeContext.LoadFunction("vkCmdSetCullModeEXT", "vulkan") + : _slots[227] = nativeContext.LoadFunction("vkCmdSetCullModeEXT", "vulkan") ) )(commandBuffer, cullMode); @@ -126216,9 +138595,9 @@ float depthBiasSlopeFactor ) => ( (delegate* unmanaged)( - _slots[196] is not null and var loadedFnPtr + _slots[228] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[196] = nativeContext.LoadFunction("vkCmdSetDepthBias", "vulkan") + : _slots[228] = nativeContext.LoadFunction("vkCmdSetDepthBias", "vulkan") ) )(commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor); @@ -126271,9 +138650,9 @@ void IVk.CmdSetDepthBias2EXT( ) => ( (delegate* unmanaged)( - _slots[197] is not null and var loadedFnPtr + _slots[229] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[197] = nativeContext.LoadFunction("vkCmdSetDepthBias2EXT", "vulkan") + : _slots[229] = nativeContext.LoadFunction("vkCmdSetDepthBias2EXT", "vulkan") ) )(commandBuffer, pDepthBiasInfo); @@ -126342,9 +138721,9 @@ Ref pDepthBiasInfo void IVk.CmdSetDepthBiasEnable(CommandBufferHandle commandBuffer, uint depthBiasEnable) => ( (delegate* unmanaged)( - _slots[198] is not null and var loadedFnPtr + _slots[230] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[198] = nativeContext.LoadFunction("vkCmdSetDepthBiasEnable", "vulkan") + : _slots[230] = nativeContext.LoadFunction("vkCmdSetDepthBiasEnable", "vulkan") ) )(commandBuffer, depthBiasEnable); @@ -126401,9 +138780,9 @@ MaybeBool depthBiasEnable void IVk.CmdSetDepthBiasEnableEXT(CommandBufferHandle commandBuffer, uint depthBiasEnable) => ( (delegate* unmanaged)( - _slots[199] is not null and var loadedFnPtr + _slots[231] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[199] = nativeContext.LoadFunction( + : _slots[231] = nativeContext.LoadFunction( "vkCmdSetDepthBiasEnableEXT", "vulkan" ) @@ -126484,9 +138863,9 @@ float maxDepthBounds ) => ( (delegate* unmanaged)( - _slots[200] is not null and var loadedFnPtr + _slots[232] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[200] = nativeContext.LoadFunction("vkCmdSetDepthBounds", "vulkan") + : _slots[232] = nativeContext.LoadFunction("vkCmdSetDepthBounds", "vulkan") ) )(commandBuffer, minDepthBounds, maxDepthBounds); @@ -126529,9 +138908,9 @@ uint depthBoundsTestEnable ) => ( (delegate* unmanaged)( - _slots[201] is not null and var loadedFnPtr + _slots[233] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[201] = nativeContext.LoadFunction( + : _slots[233] = nativeContext.LoadFunction( "vkCmdSetDepthBoundsTestEnable", "vulkan" ) @@ -126594,9 +138973,9 @@ uint depthBoundsTestEnable ) => ( (delegate* unmanaged)( - _slots[202] is not null and var loadedFnPtr + _slots[234] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[202] = nativeContext.LoadFunction( + : _slots[234] = nativeContext.LoadFunction( "vkCmdSetDepthBoundsTestEnableEXT", "vulkan" ) @@ -126665,9 +139044,9 @@ MaybeBool depthBoundsTestEnable void IVk.CmdSetDepthClampEnableEXT(CommandBufferHandle commandBuffer, uint depthClampEnable) => ( (delegate* unmanaged)( - _slots[203] is not null and var loadedFnPtr + _slots[235] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[203] = nativeContext.LoadFunction( + : _slots[235] = nativeContext.LoadFunction( "vkCmdSetDepthClampEnableEXT", "vulkan" ) @@ -126746,9 +139125,9 @@ void IVk.CmdSetDepthClampRangeEXT( DepthClampModeEXT, DepthClampRangeEXT*, void>)( - _slots[204] is not null and var loadedFnPtr + _slots[236] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[204] = nativeContext.LoadFunction( + : _slots[236] = nativeContext.LoadFunction( "vkCmdSetDepthClampRangeEXT", "vulkan" ) @@ -126837,9 +139216,9 @@ Ref pDepthClampRange void IVk.CmdSetDepthClipEnableEXT(CommandBufferHandle commandBuffer, uint depthClipEnable) => ( (delegate* unmanaged)( - _slots[205] is not null and var loadedFnPtr + _slots[237] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[205] = nativeContext.LoadFunction( + : _slots[237] = nativeContext.LoadFunction( "vkCmdSetDepthClipEnableEXT", "vulkan" ) @@ -126915,9 +139294,9 @@ uint negativeOneToOne ) => ( (delegate* unmanaged)( - _slots[206] is not null and var loadedFnPtr + _slots[238] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[206] = nativeContext.LoadFunction( + : _slots[238] = nativeContext.LoadFunction( "vkCmdSetDepthClipNegativeOneToOneEXT", "vulkan" ) @@ -126986,9 +139365,9 @@ MaybeBool negativeOneToOne void IVk.CmdSetDepthCompareOp(CommandBufferHandle commandBuffer, CompareOp depthCompareOp) => ( (delegate* unmanaged)( - _slots[207] is not null and var loadedFnPtr + _slots[239] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[207] = nativeContext.LoadFunction("vkCmdSetDepthCompareOp", "vulkan") + : _slots[239] = nativeContext.LoadFunction("vkCmdSetDepthCompareOp", "vulkan") ) )(commandBuffer, depthCompareOp); @@ -127019,9 +139398,9 @@ CompareOp depthCompareOp void IVk.CmdSetDepthCompareOpEXT(CommandBufferHandle commandBuffer, CompareOp depthCompareOp) => ( (delegate* unmanaged)( - _slots[208] is not null and var loadedFnPtr + _slots[240] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[208] = nativeContext.LoadFunction( + : _slots[240] = nativeContext.LoadFunction( "vkCmdSetDepthCompareOpEXT", "vulkan" ) @@ -127055,9 +139434,9 @@ CompareOp depthCompareOp void IVk.CmdSetDepthTestEnable(CommandBufferHandle commandBuffer, uint depthTestEnable) => ( (delegate* unmanaged)( - _slots[209] is not null and var loadedFnPtr + _slots[241] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[209] = nativeContext.LoadFunction("vkCmdSetDepthTestEnable", "vulkan") + : _slots[241] = nativeContext.LoadFunction("vkCmdSetDepthTestEnable", "vulkan") ) )(commandBuffer, depthTestEnable); @@ -127114,9 +139493,9 @@ MaybeBool depthTestEnable void IVk.CmdSetDepthTestEnableEXT(CommandBufferHandle commandBuffer, uint depthTestEnable) => ( (delegate* unmanaged)( - _slots[210] is not null and var loadedFnPtr + _slots[242] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[210] = nativeContext.LoadFunction( + : _slots[242] = nativeContext.LoadFunction( "vkCmdSetDepthTestEnableEXT", "vulkan" ) @@ -127182,9 +139561,9 @@ MaybeBool depthTestEnable void IVk.CmdSetDepthWriteEnable(CommandBufferHandle commandBuffer, uint depthWriteEnable) => ( (delegate* unmanaged)( - _slots[211] is not null and var loadedFnPtr + _slots[243] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[211] = nativeContext.LoadFunction("vkCmdSetDepthWriteEnable", "vulkan") + : _slots[243] = nativeContext.LoadFunction("vkCmdSetDepthWriteEnable", "vulkan") ) )(commandBuffer, depthWriteEnable); @@ -127241,9 +139620,9 @@ MaybeBool depthWriteEnable void IVk.CmdSetDepthWriteEnableEXT(CommandBufferHandle commandBuffer, uint depthWriteEnable) => ( (delegate* unmanaged)( - _slots[212] is not null and var loadedFnPtr + _slots[244] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[212] = nativeContext.LoadFunction( + : _slots[244] = nativeContext.LoadFunction( "vkCmdSetDepthWriteEnableEXT", "vulkan" ) @@ -127313,9 +139692,9 @@ void IVk.CmdSetDescriptorBufferOffsets2EXT( ) => ( (delegate* unmanaged)( - _slots[213] is not null and var loadedFnPtr + _slots[245] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[213] = nativeContext.LoadFunction( + : _slots[245] = nativeContext.LoadFunction( "vkCmdSetDescriptorBufferOffsets2EXT", "vulkan" ) @@ -127416,9 +139795,9 @@ void IVk.CmdSetDescriptorBufferOffsetsEXT( uint*, ulong*, void>)( - _slots[214] is not null and var loadedFnPtr + _slots[246] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[214] = nativeContext.LoadFunction( + : _slots[246] = nativeContext.LoadFunction( "vkCmdSetDescriptorBufferOffsetsEXT", "vulkan" ) @@ -127555,9 +139934,9 @@ Ref pOffsets void IVk.CmdSetDeviceMask(CommandBufferHandle commandBuffer, uint deviceMask) => ( (delegate* unmanaged)( - _slots[215] is not null and var loadedFnPtr + _slots[247] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[215] = nativeContext.LoadFunction("vkCmdSetDeviceMask", "vulkan") + : _slots[247] = nativeContext.LoadFunction("vkCmdSetDeviceMask", "vulkan") ) )(commandBuffer, deviceMask); @@ -127600,9 +139979,9 @@ public static void CmdSetDeviceMask(CommandBufferHandle commandBuffer, uint devi void IVk.CmdSetDeviceMaskKHR(CommandBufferHandle commandBuffer, uint deviceMask) => ( (delegate* unmanaged)( - _slots[216] is not null and var loadedFnPtr + _slots[248] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[216] = nativeContext.LoadFunction("vkCmdSetDeviceMaskKHR", "vulkan") + : _slots[248] = nativeContext.LoadFunction("vkCmdSetDeviceMaskKHR", "vulkan") ) )(commandBuffer, deviceMask); @@ -127634,9 +140013,9 @@ uint discardRectangleEnable ) => ( (delegate* unmanaged)( - _slots[217] is not null and var loadedFnPtr + _slots[249] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[217] = nativeContext.LoadFunction( + : _slots[249] = nativeContext.LoadFunction( "vkCmdSetDiscardRectangleEnableEXT", "vulkan" ) @@ -127710,9 +140089,9 @@ void IVk.CmdSetDiscardRectangleEXT( ) => ( (delegate* unmanaged)( - _slots[218] is not null and var loadedFnPtr + _slots[250] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[218] = nativeContext.LoadFunction( + : _slots[250] = nativeContext.LoadFunction( "vkCmdSetDiscardRectangleEXT", "vulkan" ) @@ -127858,9 +140237,9 @@ DiscardRectangleModeEXT discardRectangleMode ) => ( (delegate* unmanaged)( - _slots[219] is not null and var loadedFnPtr + _slots[251] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[219] = nativeContext.LoadFunction( + : _slots[251] = nativeContext.LoadFunction( "vkCmdSetDiscardRectangleModeEXT", "vulkan" ) @@ -127883,6 +140262,74 @@ public static void CmdSetDiscardRectangleModeEXT( DiscardRectangleModeEXT discardRectangleMode ) => ThisThread.CmdSetDiscardRectangleModeEXT(commandBuffer, discardRectangleMode); + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + DispatchParametersARM* pDispatchParameters + ) => + ( + (delegate* unmanaged)( + _slots[252] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[252] = nativeContext.LoadFunction( + "vkCmdSetDispatchParametersARM", + "vulkan" + ) + ) + )(commandBuffer, pDispatchParameters); + + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + DispatchParametersARM* pDispatchParameters + ) => ThisThread.CmdSetDispatchParametersARM(commandBuffer, pDispatchParameters); + + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + Ref pDispatchParameters + ) + { + fixed (DispatchParametersARM* __dsl_pDispatchParameters = pDispatchParameters) + { + ((IVk)this).CmdSetDispatchParametersARM(commandBuffer, __dsl_pDispatchParameters); + } + } + + [NativeName("vkCmdSetDispatchParametersARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_scheduling_controls"], + ImpliesSets = ["VK_ARM_shader_core_builtins"] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetDispatchParametersARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdSetDispatchParametersARM( + CommandBufferHandle commandBuffer, + Ref pDispatchParameters + ) => ThisThread.CmdSetDispatchParametersARM(commandBuffer, pDispatchParameters); + [NativeName("vkCmdSetEvent")] [SupportedApiProfile( "vulkan", @@ -127914,9 +140361,9 @@ PipelineStageFlags stageMask ) => ( (delegate* unmanaged)( - _slots[220] is not null and var loadedFnPtr + _slots[253] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[220] = nativeContext.LoadFunction("vkCmdSetEvent", "vulkan") + : _slots[253] = nativeContext.LoadFunction("vkCmdSetEvent", "vulkan") ) )(commandBuffer, @event, stageMask); @@ -127972,9 +140419,9 @@ void IVk.CmdSetEvent2( ) => ( (delegate* unmanaged)( - _slots[221] is not null and var loadedFnPtr + _slots[254] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[221] = nativeContext.LoadFunction("vkCmdSetEvent2", "vulkan") + : _slots[254] = nativeContext.LoadFunction("vkCmdSetEvent2", "vulkan") ) )(commandBuffer, @event, pDependencyInfo); @@ -128065,9 +140512,9 @@ void IVk.CmdSetEvent2KHR( ) => ( (delegate* unmanaged)( - _slots[222] is not null and var loadedFnPtr + _slots[255] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[222] = nativeContext.LoadFunction("vkCmdSetEvent2KHR", "vulkan") + : _slots[255] = nativeContext.LoadFunction("vkCmdSetEvent2KHR", "vulkan") ) )(commandBuffer, @event, pDependencyInfo); @@ -128147,9 +140594,9 @@ void IVk.CmdSetExclusiveScissorEnableNV( ) => ( (delegate* unmanaged)( - _slots[223] is not null and var loadedFnPtr + _slots[256] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[223] = nativeContext.LoadFunction( + : _slots[256] = nativeContext.LoadFunction( "vkCmdSetExclusiveScissorEnableNV", "vulkan" ) @@ -128297,9 +140744,9 @@ void IVk.CmdSetExclusiveScissorNV( ) => ( (delegate* unmanaged)( - _slots[224] is not null and var loadedFnPtr + _slots[257] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[224] = nativeContext.LoadFunction( + : _slots[257] = nativeContext.LoadFunction( "vkCmdSetExclusiveScissorNV", "vulkan" ) @@ -128446,9 +140893,9 @@ float extraPrimitiveOverestimationSize ) => ( (delegate* unmanaged)( - _slots[225] is not null and var loadedFnPtr + _slots[258] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[225] = nativeContext.LoadFunction( + : _slots[258] = nativeContext.LoadFunction( "vkCmdSetExtraPrimitiveOverestimationSizeEXT", "vulkan" ) @@ -128495,9 +140942,9 @@ void IVk.CmdSetFragmentShadingRateEnumNV( FragmentShadingRateNV, FragmentShadingRateCombinerOpKHR*, void>)( - _slots[226] is not null and var loadedFnPtr + _slots[259] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[226] = nativeContext.LoadFunction( + : _slots[259] = nativeContext.LoadFunction( "vkCmdSetFragmentShadingRateEnumNV", "vulkan" ) @@ -128579,9 +141026,9 @@ void IVk.CmdSetFragmentShadingRateKHR( Extent2D*, FragmentShadingRateCombinerOpKHR*, void>)( - _slots[227] is not null and var loadedFnPtr + _slots[260] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[227] = nativeContext.LoadFunction( + : _slots[260] = nativeContext.LoadFunction( "vkCmdSetFragmentShadingRateKHR", "vulkan" ) @@ -128664,9 +141111,9 @@ Ref combinerOps void IVk.CmdSetFrontFace(CommandBufferHandle commandBuffer, FrontFace frontFace) => ( (delegate* unmanaged)( - _slots[228] is not null and var loadedFnPtr + _slots[261] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[228] = nativeContext.LoadFunction("vkCmdSetFrontFace", "vulkan") + : _slots[261] = nativeContext.LoadFunction("vkCmdSetFrontFace", "vulkan") ) )(commandBuffer, frontFace); @@ -128695,9 +141142,9 @@ public static void CmdSetFrontFace(CommandBufferHandle commandBuffer, FrontFace void IVk.CmdSetFrontFaceEXT(CommandBufferHandle commandBuffer, FrontFace frontFace) => ( (delegate* unmanaged)( - _slots[229] is not null and var loadedFnPtr + _slots[262] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[229] = nativeContext.LoadFunction("vkCmdSetFrontFaceEXT", "vulkan") + : _slots[262] = nativeContext.LoadFunction("vkCmdSetFrontFaceEXT", "vulkan") ) )(commandBuffer, frontFace); @@ -128718,12 +141165,15 @@ public static void CmdSetFrontFaceEXT(CommandBufferHandle commandBuffer, FrontFa [NativeName("vkCmdSetLineRasterizationModeEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineRasterizationModeEXT")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -128733,9 +141183,9 @@ LineRasterizationMode lineRasterizationMode ) => ( (delegate* unmanaged)( - _slots[230] is not null and var loadedFnPtr + _slots[263] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[230] = nativeContext.LoadFunction( + : _slots[263] = nativeContext.LoadFunction( "vkCmdSetLineRasterizationModeEXT", "vulkan" ) @@ -128745,12 +141195,15 @@ _slots[230] is not null and var loadedFnPtr [NativeName("vkCmdSetLineRasterizationModeEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineRasterizationModeEXT")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -128774,9 +141227,9 @@ ushort lineStipplePattern ) => ( (delegate* unmanaged)( - _slots[231] is not null and var loadedFnPtr + _slots[264] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[231] = nativeContext.LoadFunction("vkCmdSetLineStipple", "vulkan") + : _slots[264] = nativeContext.LoadFunction("vkCmdSetLineStipple", "vulkan") ) )(commandBuffer, lineStippleFactor, lineStipplePattern); @@ -128797,12 +141250,15 @@ ushort lineStipplePattern [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -128812,9 +141268,9 @@ uint stippledLineEnable ) => ( (delegate* unmanaged)( - _slots[232] is not null and var loadedFnPtr + _slots[265] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[232] = nativeContext.LoadFunction( + : _slots[265] = nativeContext.LoadFunction( "vkCmdSetLineStippleEnableEXT", "vulkan" ) @@ -128824,12 +141280,15 @@ _slots[232] is not null and var loadedFnPtr [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -128841,12 +141300,15 @@ uint stippledLineEnable [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -128858,12 +141320,15 @@ MaybeBool stippledLineEnable [NativeName("vkCmdSetLineStippleEnableEXT")] [SupportedApiProfile( "vulkan", - ["VK_EXT_extended_dynamic_state3", "VK_EXT_line_rasterization"], + [ + "VK_EXT_extended_dynamic_state3+VK_EXT_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_KHR_line_rasterization", + "VK_EXT_extended_dynamic_state3+VK_VERSION_1_4", + ], ImpliesSets = [ "VK_EXT_extended_dynamic_state3+VK_KHR_get_physical_device_properties2", "VK_EXT_extended_dynamic_state3+VK_VERSION_1_1", - ], - RequireAll = true + ] )] [NativeFunction("vulkan", EntryPoint = "vkCmdSetLineStippleEnableEXT")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -128890,9 +141355,9 @@ ushort lineStipplePattern ) => ( (delegate* unmanaged)( - _slots[233] is not null and var loadedFnPtr + _slots[266] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[233] = nativeContext.LoadFunction("vkCmdSetLineStippleEXT", "vulkan") + : _slots[266] = nativeContext.LoadFunction("vkCmdSetLineStippleEXT", "vulkan") ) )(commandBuffer, lineStippleFactor, lineStipplePattern); @@ -128931,9 +141396,9 @@ ushort lineStipplePattern ) => ( (delegate* unmanaged)( - _slots[234] is not null and var loadedFnPtr + _slots[267] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[234] = nativeContext.LoadFunction("vkCmdSetLineStippleKHR", "vulkan") + : _slots[267] = nativeContext.LoadFunction("vkCmdSetLineStippleKHR", "vulkan") ) )(commandBuffer, lineStippleFactor, lineStipplePattern); @@ -128976,9 +141441,9 @@ ushort lineStipplePattern void IVk.CmdSetLineWidth(CommandBufferHandle commandBuffer, float lineWidth) => ( (delegate* unmanaged)( - _slots[235] is not null and var loadedFnPtr + _slots[268] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[235] = nativeContext.LoadFunction("vkCmdSetLineWidth", "vulkan") + : _slots[268] = nativeContext.LoadFunction("vkCmdSetLineWidth", "vulkan") ) )(commandBuffer, lineWidth); @@ -129018,9 +141483,9 @@ public static void CmdSetLineWidth(CommandBufferHandle commandBuffer, float line void IVk.CmdSetLogicOpEnableEXT(CommandBufferHandle commandBuffer, uint logicOpEnable) => ( (delegate* unmanaged)( - _slots[236] is not null and var loadedFnPtr + _slots[269] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[236] = nativeContext.LoadFunction("vkCmdSetLogicOpEnableEXT", "vulkan") + : _slots[269] = nativeContext.LoadFunction("vkCmdSetLogicOpEnableEXT", "vulkan") ) )(commandBuffer, logicOpEnable); @@ -129086,9 +141551,9 @@ MaybeBool logicOpEnable void IVk.CmdSetLogicOpEXT(CommandBufferHandle commandBuffer, LogicOp logicOp) => ( (delegate* unmanaged)( - _slots[237] is not null and var loadedFnPtr + _slots[270] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[237] = nativeContext.LoadFunction("vkCmdSetLogicOpEXT", "vulkan") + : _slots[270] = nativeContext.LoadFunction("vkCmdSetLogicOpEXT", "vulkan") ) )(commandBuffer, logicOp); @@ -129123,9 +141588,9 @@ uint patchControlPoints ) => ( (delegate* unmanaged)( - _slots[238] is not null and var loadedFnPtr + _slots[271] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[238] = nativeContext.LoadFunction( + : _slots[271] = nativeContext.LoadFunction( "vkCmdSetPatchControlPointsEXT", "vulkan" ) @@ -129158,9 +141623,9 @@ Result IVk.CmdSetPerformanceMarkerINTEL( ) => ( (delegate* unmanaged)( - _slots[239] is not null and var loadedFnPtr + _slots[272] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[239] = nativeContext.LoadFunction( + : _slots[272] = nativeContext.LoadFunction( "vkCmdSetPerformanceMarkerINTEL", "vulkan" ) @@ -129211,9 +141676,9 @@ Result IVk.CmdSetPerformanceOverrideINTEL( ) => ( (delegate* unmanaged)( - _slots[240] is not null and var loadedFnPtr + _slots[273] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[240] = nativeContext.LoadFunction( + : _slots[273] = nativeContext.LoadFunction( "vkCmdSetPerformanceOverrideINTEL", "vulkan" ) @@ -129264,9 +141729,9 @@ Result IVk.CmdSetPerformanceStreamMarkerINTEL( ) => ( (delegate* unmanaged)( - _slots[241] is not null and var loadedFnPtr + _slots[274] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[241] = nativeContext.LoadFunction( + : _slots[274] = nativeContext.LoadFunction( "vkCmdSetPerformanceStreamMarkerINTEL", "vulkan" ) @@ -129321,9 +141786,9 @@ Ref pMarkerInfo void IVk.CmdSetPolygonModeEXT(CommandBufferHandle commandBuffer, PolygonMode polygonMode) => ( (delegate* unmanaged)( - _slots[242] is not null and var loadedFnPtr + _slots[275] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[242] = nativeContext.LoadFunction("vkCmdSetPolygonModeEXT", "vulkan") + : _slots[275] = nativeContext.LoadFunction("vkCmdSetPolygonModeEXT", "vulkan") ) )(commandBuffer, polygonMode); @@ -129357,9 +141822,9 @@ uint primitiveRestartEnable ) => ( (delegate* unmanaged)( - _slots[243] is not null and var loadedFnPtr + _slots[276] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[243] = nativeContext.LoadFunction( + : _slots[276] = nativeContext.LoadFunction( "vkCmdSetPrimitiveRestartEnable", "vulkan" ) @@ -129422,9 +141887,9 @@ uint primitiveRestartEnable ) => ( (delegate* unmanaged)( - _slots[244] is not null and var loadedFnPtr + _slots[277] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[244] = nativeContext.LoadFunction( + : _slots[277] = nativeContext.LoadFunction( "vkCmdSetPrimitiveRestartEnableEXT", "vulkan" ) @@ -129479,6 +141944,48 @@ public static void CmdSetPrimitiveRestartEnableEXT( MaybeBool primitiveRestartEnable ) => ThisThread.CmdSetPrimitiveRestartEnableEXT(commandBuffer, primitiveRestartEnable); + [NativeName("vkCmdSetPrimitiveRestartIndexEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetPrimitiveRestartIndexEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdSetPrimitiveRestartIndexEXT( + CommandBufferHandle commandBuffer, + uint primitiveRestartIndex + ) => + ( + (delegate* unmanaged)( + _slots[278] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[278] = nativeContext.LoadFunction( + "vkCmdSetPrimitiveRestartIndexEXT", + "vulkan" + ) + ) + )(commandBuffer, primitiveRestartIndex); + + [NativeName("vkCmdSetPrimitiveRestartIndexEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_primitive_restart_index"], + ImpliesSets = [ + "VK_EXT_primitive_restart_index+VK_KHR_get_physical_device_properties2", + "VK_EXT_primitive_restart_index+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdSetPrimitiveRestartIndexEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdSetPrimitiveRestartIndexEXT( + CommandBufferHandle commandBuffer, + uint primitiveRestartIndex + ) => ThisThread.CmdSetPrimitiveRestartIndexEXT(commandBuffer, primitiveRestartIndex); + [NativeName("vkCmdSetPrimitiveTopology")] [SupportedApiProfile( "vulkan", @@ -129493,9 +142000,9 @@ PrimitiveTopology primitiveTopology ) => ( (delegate* unmanaged)( - _slots[245] is not null and var loadedFnPtr + _slots[279] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[245] = nativeContext.LoadFunction( + : _slots[279] = nativeContext.LoadFunction( "vkCmdSetPrimitiveTopology", "vulkan" ) @@ -129532,9 +142039,9 @@ PrimitiveTopology primitiveTopology ) => ( (delegate* unmanaged)( - _slots[246] is not null and var loadedFnPtr + _slots[280] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[246] = nativeContext.LoadFunction( + : _slots[280] = nativeContext.LoadFunction( "vkCmdSetPrimitiveTopologyEXT", "vulkan" ) @@ -129575,9 +142082,9 @@ ProvokingVertexModeEXT provokingVertexMode ) => ( (delegate* unmanaged)( - _slots[247] is not null and var loadedFnPtr + _slots[281] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[247] = nativeContext.LoadFunction( + : _slots[281] = nativeContext.LoadFunction( "vkCmdSetProvokingVertexModeEXT", "vulkan" ) @@ -129618,9 +142125,9 @@ SampleCountFlags rasterizationSamples ) => ( (delegate* unmanaged)( - _slots[248] is not null and var loadedFnPtr + _slots[282] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[248] = nativeContext.LoadFunction( + : _slots[282] = nativeContext.LoadFunction( "vkCmdSetRasterizationSamplesEXT", "vulkan" ) @@ -129661,9 +142168,9 @@ uint rasterizationStream ) => ( (delegate* unmanaged)( - _slots[249] is not null and var loadedFnPtr + _slots[283] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[249] = nativeContext.LoadFunction( + : _slots[283] = nativeContext.LoadFunction( "vkCmdSetRasterizationStreamEXT", "vulkan" ) @@ -129701,9 +142208,9 @@ uint rasterizerDiscardEnable ) => ( (delegate* unmanaged)( - _slots[250] is not null and var loadedFnPtr + _slots[284] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[250] = nativeContext.LoadFunction( + : _slots[284] = nativeContext.LoadFunction( "vkCmdSetRasterizerDiscardEnable", "vulkan" ) @@ -129766,9 +142273,9 @@ uint rasterizerDiscardEnable ) => ( (delegate* unmanaged)( - _slots[251] is not null and var loadedFnPtr + _slots[285] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[251] = nativeContext.LoadFunction( + : _slots[285] = nativeContext.LoadFunction( "vkCmdSetRasterizerDiscardEnableEXT", "vulkan" ) @@ -129840,9 +142347,9 @@ uint pipelineStackSize ) => ( (delegate* unmanaged)( - _slots[252] is not null and var loadedFnPtr + _slots[286] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[252] = nativeContext.LoadFunction( + : _slots[286] = nativeContext.LoadFunction( "vkCmdSetRayTracingPipelineStackSizeKHR", "vulkan" ) @@ -129879,9 +142386,9 @@ void IVk.CmdSetRenderingAttachmentLocations( ) => ( (delegate* unmanaged)( - _slots[253] is not null and var loadedFnPtr + _slots[287] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[253] = nativeContext.LoadFunction( + : _slots[287] = nativeContext.LoadFunction( "vkCmdSetRenderingAttachmentLocations", "vulkan" ) @@ -129950,9 +142457,9 @@ void IVk.CmdSetRenderingAttachmentLocationsKHR( ) => ( (delegate* unmanaged)( - _slots[254] is not null and var loadedFnPtr + _slots[288] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[254] = nativeContext.LoadFunction( + : _slots[288] = nativeContext.LoadFunction( "vkCmdSetRenderingAttachmentLocationsKHR", "vulkan" ) @@ -130027,9 +142534,9 @@ void IVk.CmdSetRenderingInputAttachmentIndices( ) => ( (delegate* unmanaged)( - _slots[255] is not null and var loadedFnPtr + _slots[289] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[255] = nativeContext.LoadFunction( + : _slots[289] = nativeContext.LoadFunction( "vkCmdSetRenderingInputAttachmentIndices", "vulkan" ) @@ -130104,9 +142611,9 @@ void IVk.CmdSetRenderingInputAttachmentIndicesKHR( ) => ( (delegate* unmanaged)( - _slots[256] is not null and var loadedFnPtr + _slots[290] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[256] = nativeContext.LoadFunction( + : _slots[290] = nativeContext.LoadFunction( "vkCmdSetRenderingInputAttachmentIndicesKHR", "vulkan" ) @@ -130199,9 +142706,9 @@ uint representativeFragmentTestEnable ) => ( (delegate* unmanaged)( - _slots[257] is not null and var loadedFnPtr + _slots[291] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[257] = nativeContext.LoadFunction( + : _slots[291] = nativeContext.LoadFunction( "vkCmdSetRepresentativeFragmentTestEnableNV", "vulkan" ) @@ -130289,9 +142796,9 @@ uint sampleLocationsEnable ) => ( (delegate* unmanaged)( - _slots[258] is not null and var loadedFnPtr + _slots[292] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[258] = nativeContext.LoadFunction( + : _slots[292] = nativeContext.LoadFunction( "vkCmdSetSampleLocationsEnableEXT", "vulkan" ) @@ -130366,9 +142873,9 @@ void IVk.CmdSetSampleLocationsEXT( ) => ( (delegate* unmanaged)( - _slots[259] is not null and var loadedFnPtr + _slots[293] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[259] = nativeContext.LoadFunction( + : _slots[293] = nativeContext.LoadFunction( "vkCmdSetSampleLocationsEXT", "vulkan" ) @@ -130447,9 +142954,9 @@ void IVk.CmdSetSampleMaskEXT( ) => ( (delegate* unmanaged)( - _slots[260] is not null and var loadedFnPtr + _slots[294] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[260] = nativeContext.LoadFunction("vkCmdSetSampleMaskEXT", "vulkan") + : _slots[294] = nativeContext.LoadFunction("vkCmdSetSampleMaskEXT", "vulkan") ) )(commandBuffer, samples, pSampleMask); @@ -130537,9 +143044,9 @@ void IVk.CmdSetScissor( ) => ( (delegate* unmanaged)( - _slots[261] is not null and var loadedFnPtr + _slots[295] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[261] = nativeContext.LoadFunction("vkCmdSetScissor", "vulkan") + : _slots[295] = nativeContext.LoadFunction("vkCmdSetScissor", "vulkan") ) )(commandBuffer, firstScissor, scissorCount, pScissors); @@ -130692,9 +143199,9 @@ void IVk.CmdSetScissorWithCount( ) => ( (delegate* unmanaged)( - _slots[262] is not null and var loadedFnPtr + _slots[296] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[262] = nativeContext.LoadFunction("vkCmdSetScissorWithCount", "vulkan") + : _slots[296] = nativeContext.LoadFunction("vkCmdSetScissorWithCount", "vulkan") ) )(commandBuffer, scissorCount, pScissors); @@ -130788,9 +143295,9 @@ void IVk.CmdSetScissorWithCountEXT( ) => ( (delegate* unmanaged)( - _slots[263] is not null and var loadedFnPtr + _slots[297] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[263] = nativeContext.LoadFunction( + : _slots[297] = nativeContext.LoadFunction( "vkCmdSetScissorWithCountEXT", "vulkan" ) @@ -130902,9 +143409,9 @@ uint shadingRateImageEnable ) => ( (delegate* unmanaged)( - _slots[264] is not null and var loadedFnPtr + _slots[298] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[264] = nativeContext.LoadFunction( + : _slots[298] = nativeContext.LoadFunction( "vkCmdSetShadingRateImageEnableNV", "vulkan" ) @@ -130988,9 +143495,9 @@ uint compareMask ) => ( (delegate* unmanaged)( - _slots[265] is not null and var loadedFnPtr + _slots[299] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[265] = nativeContext.LoadFunction( + : _slots[299] = nativeContext.LoadFunction( "vkCmdSetStencilCompareMask", "vulkan" ) @@ -131047,9 +143554,9 @@ CompareOp compareOp StencilOp, CompareOp, void>)( - _slots[266] is not null and var loadedFnPtr + _slots[300] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[266] = nativeContext.LoadFunction("vkCmdSetStencilOp", "vulkan") + : _slots[300] = nativeContext.LoadFunction("vkCmdSetStencilOp", "vulkan") ) )(commandBuffer, faceMask, failOp, passOp, depthFailOp, compareOp); @@ -131099,9 +143606,9 @@ CompareOp compareOp StencilOp, CompareOp, void>)( - _slots[267] is not null and var loadedFnPtr + _slots[301] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[267] = nativeContext.LoadFunction("vkCmdSetStencilOpEXT", "vulkan") + : _slots[301] = nativeContext.LoadFunction("vkCmdSetStencilOpEXT", "vulkan") ) )(commandBuffer, faceMask, failOp, passOp, depthFailOp, compareOp); @@ -131159,9 +143666,9 @@ uint reference ) => ( (delegate* unmanaged)( - _slots[268] is not null and var loadedFnPtr + _slots[302] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[268] = nativeContext.LoadFunction("vkCmdSetStencilReference", "vulkan") + : _slots[302] = nativeContext.LoadFunction("vkCmdSetStencilReference", "vulkan") ) )(commandBuffer, faceMask, reference); @@ -131201,9 +143708,9 @@ uint reference void IVk.CmdSetStencilTestEnable(CommandBufferHandle commandBuffer, uint stencilTestEnable) => ( (delegate* unmanaged)( - _slots[269] is not null and var loadedFnPtr + _slots[303] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[269] = nativeContext.LoadFunction( + : _slots[303] = nativeContext.LoadFunction( "vkCmdSetStencilTestEnable", "vulkan" ) @@ -131266,9 +143773,9 @@ uint stencilTestEnable ) => ( (delegate* unmanaged)( - _slots[270] is not null and var loadedFnPtr + _slots[304] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[270] = nativeContext.LoadFunction( + : _slots[304] = nativeContext.LoadFunction( "vkCmdSetStencilTestEnableEXT", "vulkan" ) @@ -131349,9 +143856,9 @@ uint writeMask ) => ( (delegate* unmanaged)( - _slots[271] is not null and var loadedFnPtr + _slots[305] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[271] = nativeContext.LoadFunction("vkCmdSetStencilWriteMask", "vulkan") + : _slots[305] = nativeContext.LoadFunction("vkCmdSetStencilWriteMask", "vulkan") ) )(commandBuffer, faceMask, writeMask); @@ -131400,9 +143907,9 @@ TessellationDomainOrigin domainOrigin ) => ( (delegate* unmanaged)( - _slots[272] is not null and var loadedFnPtr + _slots[306] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[272] = nativeContext.LoadFunction( + : _slots[306] = nativeContext.LoadFunction( "vkCmdSetTessellationDomainOriginEXT", "vulkan" ) @@ -131454,9 +143961,9 @@ void IVk.CmdSetVertexInputEXT( uint, VertexInputAttributeDescription2EXT*, void>)( - _slots[273] is not null and var loadedFnPtr + _slots[307] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[273] = nativeContext.LoadFunction("vkCmdSetVertexInputEXT", "vulkan") + : _slots[307] = nativeContext.LoadFunction("vkCmdSetVertexInputEXT", "vulkan") ) )( commandBuffer, @@ -131583,9 +144090,9 @@ void IVk.CmdSetViewport( ) => ( (delegate* unmanaged)( - _slots[274] is not null and var loadedFnPtr + _slots[308] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[274] = nativeContext.LoadFunction("vkCmdSetViewport", "vulkan") + : _slots[308] = nativeContext.LoadFunction("vkCmdSetViewport", "vulkan") ) )(commandBuffer, firstViewport, viewportCount, pViewports); @@ -131747,9 +144254,9 @@ void IVk.CmdSetViewportShadingRatePaletteNV( ) => ( (delegate* unmanaged)( - _slots[275] is not null and var loadedFnPtr + _slots[309] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[275] = nativeContext.LoadFunction( + : _slots[309] = nativeContext.LoadFunction( "vkCmdSetViewportShadingRatePaletteNV", "vulkan" ) @@ -131898,9 +144405,9 @@ void IVk.CmdSetViewportSwizzleNV( ) => ( (delegate* unmanaged)( - _slots[276] is not null and var loadedFnPtr + _slots[310] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[276] = nativeContext.LoadFunction( + : _slots[310] = nativeContext.LoadFunction( "vkCmdSetViewportSwizzleNV", "vulkan" ) @@ -132044,9 +144551,9 @@ void IVk.CmdSetViewportWithCount( ) => ( (delegate* unmanaged)( - _slots[277] is not null and var loadedFnPtr + _slots[311] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[277] = nativeContext.LoadFunction( + : _slots[311] = nativeContext.LoadFunction( "vkCmdSetViewportWithCount", "vulkan" ) @@ -132143,9 +144650,9 @@ void IVk.CmdSetViewportWithCountEXT( ) => ( (delegate* unmanaged)( - _slots[278] is not null and var loadedFnPtr + _slots[312] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[278] = nativeContext.LoadFunction( + : _slots[312] = nativeContext.LoadFunction( "vkCmdSetViewportWithCountEXT", "vulkan" ) @@ -132257,9 +144764,9 @@ uint viewportWScalingEnable ) => ( (delegate* unmanaged)( - _slots[279] is not null and var loadedFnPtr + _slots[313] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[279] = nativeContext.LoadFunction( + : _slots[313] = nativeContext.LoadFunction( "vkCmdSetViewportWScalingEnableNV", "vulkan" ) @@ -132329,9 +144836,9 @@ void IVk.CmdSetViewportWScalingNV( ) => ( (delegate* unmanaged)( - _slots[280] is not null and var loadedFnPtr + _slots[314] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[280] = nativeContext.LoadFunction( + : _slots[314] = nativeContext.LoadFunction( "vkCmdSetViewportWScalingNV", "vulkan" ) @@ -132435,9 +144942,9 @@ ViewportWScalingNV pViewportWScalings void IVk.CmdSubpassShadingHUAWEI(CommandBufferHandle commandBuffer) => ( (delegate* unmanaged)( - _slots[281] is not null and var loadedFnPtr + _slots[315] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[281] = nativeContext.LoadFunction( + : _slots[315] = nativeContext.LoadFunction( "vkCmdSubpassShadingHUAWEI", "vulkan" ) @@ -132474,9 +144981,9 @@ ulong indirectDeviceAddress ) => ( (delegate* unmanaged)( - _slots[282] is not null and var loadedFnPtr + _slots[316] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[282] = nativeContext.LoadFunction( + : _slots[316] = nativeContext.LoadFunction( "vkCmdTraceRaysIndirect2KHR", "vulkan" ) @@ -132525,9 +145032,9 @@ ulong indirectDeviceAddress StridedDeviceAddressRegionKHR*, ulong, void>)( - _slots[283] is not null and var loadedFnPtr + _slots[317] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[283] = nativeContext.LoadFunction( + : _slots[317] = nativeContext.LoadFunction( "vkCmdTraceRaysIndirectKHR", "vulkan" ) @@ -132673,9 +145180,9 @@ uint depth uint, uint, void>)( - _slots[284] is not null and var loadedFnPtr + _slots[318] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[284] = nativeContext.LoadFunction("vkCmdTraceRaysKHR", "vulkan") + : _slots[318] = nativeContext.LoadFunction("vkCmdTraceRaysKHR", "vulkan") ) )( commandBuffer, @@ -132846,9 +145353,9 @@ uint depth uint, uint, void>)( - _slots[285] is not null and var loadedFnPtr + _slots[319] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[285] = nativeContext.LoadFunction("vkCmdTraceRaysNV", "vulkan") + : _slots[319] = nativeContext.LoadFunction("vkCmdTraceRaysNV", "vulkan") ) )( commandBuffer, @@ -132952,9 +145459,9 @@ void IVk.CmdUpdateBuffer( ) => ( (delegate* unmanaged)( - _slots[286] is not null and var loadedFnPtr + _slots[320] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[286] = nativeContext.LoadFunction("vkCmdUpdateBuffer", "vulkan") + : _slots[320] = nativeContext.LoadFunction("vkCmdUpdateBuffer", "vulkan") ) )(commandBuffer, dstBuffer, dstOffset, dataSize, pData); @@ -133075,6 +145582,116 @@ public static void CmdUpdateBuffer( Ref pData ) => ThisThread.CmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, pData); + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + void* pData + ) => + ( + (delegate* unmanaged< + CommandBufferHandle, + DeviceAddressRangeKHR*, + AddressCommandFlagsKHR, + ulong, + void*, + void>)( + _slots[321] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[321] = nativeContext.LoadFunction("vkCmdUpdateMemoryKHR", "vulkan") + ) + )(commandBuffer, pDstRange, dstFlags, dataSize, pData); + + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + DeviceAddressRangeKHR* pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + void* pData + ) => ThisThread.CmdUpdateMemoryKHR(commandBuffer, pDstRange, dstFlags, dataSize, pData); + + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + Ref pData + ) + { + fixed (void* __dsl_pData = pData) + fixed (DeviceAddressRangeKHR* __dsl_pDstRange = pDstRange) + { + ((IVk)this).CmdUpdateMemoryKHR( + commandBuffer, + __dsl_pDstRange, + dstFlags, + dataSize, + __dsl_pData + ); + } + } + + [NativeName("vkCmdUpdateMemoryKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdUpdateMemoryKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdUpdateMemoryKHR( + CommandBufferHandle commandBuffer, + Ref pDstRange, + AddressCommandFlagsKHR dstFlags, + ulong dataSize, + Ref pData + ) => ThisThread.CmdUpdateMemoryKHR(commandBuffer, pDstRange, dstFlags, dataSize, pData); + [NativeName("vkCmdUpdatePipelineIndirectBufferNV")] [SupportedApiProfile( "vulkan", @@ -133090,9 +145707,9 @@ PipelineHandle pipeline ) => ( (delegate* unmanaged)( - _slots[287] is not null and var loadedFnPtr + _slots[322] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[287] = nativeContext.LoadFunction( + : _slots[322] = nativeContext.LoadFunction( "vkCmdUpdatePipelineIndirectBufferNV", "vulkan" ) @@ -133164,9 +145781,9 @@ void IVk.CmdWaitEvents( uint, ImageMemoryBarrier*, void>)( - _slots[288] is not null and var loadedFnPtr + _slots[323] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[288] = nativeContext.LoadFunction("vkCmdWaitEvents", "vulkan") + : _slots[323] = nativeContext.LoadFunction("vkCmdWaitEvents", "vulkan") ) )( commandBuffer, @@ -133366,9 +145983,9 @@ void IVk.CmdWaitEvents2( ) => ( (delegate* unmanaged)( - _slots[289] is not null and var loadedFnPtr + _slots[324] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[289] = nativeContext.LoadFunction("vkCmdWaitEvents2", "vulkan") + : _slots[324] = nativeContext.LoadFunction("vkCmdWaitEvents2", "vulkan") ) )(commandBuffer, eventCount, pEvents, pDependencyInfos); @@ -133469,9 +146086,9 @@ void IVk.CmdWaitEvents2KHR( ) => ( (delegate* unmanaged)( - _slots[290] is not null and var loadedFnPtr + _slots[325] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[290] = nativeContext.LoadFunction("vkCmdWaitEvents2KHR", "vulkan") + : _slots[325] = nativeContext.LoadFunction("vkCmdWaitEvents2KHR", "vulkan") ) )(commandBuffer, eventCount, pEvents, pDependencyInfos); @@ -133569,9 +146186,9 @@ uint firstQuery QueryPoolHandle, uint, void>)( - _slots[291] is not null and var loadedFnPtr + _slots[326] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[291] = nativeContext.LoadFunction( + : _slots[326] = nativeContext.LoadFunction( "vkCmdWriteAccelerationStructuresPropertiesKHR", "vulkan" ) @@ -133704,9 +146321,9 @@ uint firstQuery QueryPoolHandle, uint, void>)( - _slots[292] is not null and var loadedFnPtr + _slots[327] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[292] = nativeContext.LoadFunction( + : _slots[327] = nativeContext.LoadFunction( "vkCmdWriteAccelerationStructuresPropertiesNV", "vulkan" ) @@ -133939,9 +146556,9 @@ uint marker ulong, uint, void>)( - _slots[293] is not null and var loadedFnPtr + _slots[328] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[293] = nativeContext.LoadFunction( + : _slots[328] = nativeContext.LoadFunction( "vkCmdWriteBufferMarker2AMD", "vulkan" ) @@ -133982,9 +146599,9 @@ uint marker ulong, uint, void>)( - _slots[294] is not null and var loadedFnPtr + _slots[329] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[294] = nativeContext.LoadFunction( + : _slots[329] = nativeContext.LoadFunction( "vkCmdWriteBufferMarkerAMD", "vulkan" ) @@ -134010,6 +146627,98 @@ uint marker marker ); + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + MemoryMarkerInfoAMD* pInfo + ) => + ( + (delegate* unmanaged)( + _slots[330] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[330] = nativeContext.LoadFunction( + "vkCmdWriteMarkerToMemoryAMD", + "vulkan" + ) + ) + )(commandBuffer, pInfo); + + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + MemoryMarkerInfoAMD* pInfo + ) => ThisThread.CmdWriteMarkerToMemoryAMD(commandBuffer, pInfo); + + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + Ref pInfo + ) + { + fixed (MemoryMarkerInfoAMD* __dsl_pInfo = pInfo) + { + ((IVk)this).CmdWriteMarkerToMemoryAMD(commandBuffer, __dsl_pInfo); + } + } + + [NativeName("vkCmdWriteMarkerToMemoryAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_buffer_marker", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCmdWriteMarkerToMemoryAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CmdWriteMarkerToMemoryAMD( + CommandBufferHandle commandBuffer, + Ref pInfo + ) => ThisThread.CmdWriteMarkerToMemoryAMD(commandBuffer, pInfo); + [NativeName("vkCmdWriteMicromapsPropertiesEXT")] [SupportedApiProfile( "vulkan", @@ -134038,9 +146747,9 @@ uint firstQuery QueryPoolHandle, uint, void>)( - _slots[295] is not null and var loadedFnPtr + _slots[331] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[295] = nativeContext.LoadFunction( + : _slots[331] = nativeContext.LoadFunction( "vkCmdWriteMicromapsPropertiesEXT", "vulkan" ) @@ -134231,9 +146940,9 @@ uint query QueryPoolHandle, uint, void>)( - _slots[296] is not null and var loadedFnPtr + _slots[332] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[296] = nativeContext.LoadFunction("vkCmdWriteTimestamp", "vulkan") + : _slots[332] = nativeContext.LoadFunction("vkCmdWriteTimestamp", "vulkan") ) )(commandBuffer, pipelineStage, queryPool, query); @@ -134303,9 +147012,9 @@ uint query QueryPoolHandle, uint, void>)( - _slots[297] is not null and var loadedFnPtr + _slots[333] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[297] = nativeContext.LoadFunction("vkCmdWriteTimestamp2", "vulkan") + : _slots[333] = nativeContext.LoadFunction("vkCmdWriteTimestamp2", "vulkan") ) )(commandBuffer, stage, queryPool, query); @@ -134357,9 +147066,9 @@ uint query QueryPoolHandle, uint, void>)( - _slots[298] is not null and var loadedFnPtr + _slots[334] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[298] = nativeContext.LoadFunction("vkCmdWriteTimestamp2KHR", "vulkan") + : _slots[334] = nativeContext.LoadFunction("vkCmdWriteTimestamp2KHR", "vulkan") ) )(commandBuffer, stage, queryPool, query); @@ -134395,9 +147104,9 @@ uint query Result IVk.CompileDeferredNV(DeviceHandle device, PipelineHandle pipeline, uint shader) => ( (delegate* unmanaged)( - _slots[299] is not null and var loadedFnPtr + _slots[335] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[299] = nativeContext.LoadFunction("vkCompileDeferredNV", "vulkan") + : _slots[335] = nativeContext.LoadFunction("vkCompileDeferredNV", "vulkan") ) )(device, pipeline, shader); @@ -134435,9 +147144,9 @@ Result IVk.ConvertCooperativeVectorMatrixNV( ) => ( (delegate* unmanaged)( - _slots[300] is not null and var loadedFnPtr + _slots[336] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[300] = nativeContext.LoadFunction( + : _slots[336] = nativeContext.LoadFunction( "vkConvertCooperativeVectorMatrixNV", "vulkan" ) @@ -134520,9 +147229,9 @@ Result IVk.CopyAccelerationStructureKHR( DeferredOperationHandleKHR, CopyAccelerationStructureInfoKHR*, Result>)( - _slots[301] is not null and var loadedFnPtr + _slots[337] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[301] = nativeContext.LoadFunction( + : _slots[337] = nativeContext.LoadFunction( "vkCopyAccelerationStructureKHR", "vulkan" ) @@ -134609,9 +147318,9 @@ Result IVk.CopyAccelerationStructureToMemoryKHR( DeferredOperationHandleKHR, CopyAccelerationStructureToMemoryInfoKHR*, Result>)( - _slots[302] is not null and var loadedFnPtr + _slots[338] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[302] = nativeContext.LoadFunction( + : _slots[338] = nativeContext.LoadFunction( "vkCopyAccelerationStructureToMemoryKHR", "vulkan" ) @@ -134696,9 +147405,9 @@ Ref pInfo Result IVk.CopyImageToImage(DeviceHandle device, CopyImageToImageInfo* pCopyImageToImageInfo) => ( (delegate* unmanaged)( - _slots[303] is not null and var loadedFnPtr + _slots[339] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[303] = nativeContext.LoadFunction("vkCopyImageToImage", "vulkan") + : _slots[339] = nativeContext.LoadFunction("vkCopyImageToImage", "vulkan") ) )(device, pCopyImageToImageInfo); @@ -134780,9 +147489,9 @@ Result IVk.CopyImageToImageEXT( ) => ( (delegate* unmanaged)( - _slots[304] is not null and var loadedFnPtr + _slots[340] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[304] = nativeContext.LoadFunction("vkCopyImageToImageEXT", "vulkan") + : _slots[340] = nativeContext.LoadFunction("vkCopyImageToImageEXT", "vulkan") ) )(device, pCopyImageToImageInfo); @@ -134862,9 +147571,9 @@ Result IVk.CopyImageToMemory( ) => ( (delegate* unmanaged)( - _slots[305] is not null and var loadedFnPtr + _slots[341] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[305] = nativeContext.LoadFunction("vkCopyImageToMemory", "vulkan") + : _slots[341] = nativeContext.LoadFunction("vkCopyImageToMemory", "vulkan") ) )(device, pCopyImageToMemoryInfo); @@ -134946,9 +147655,9 @@ Result IVk.CopyImageToMemoryEXT( ) => ( (delegate* unmanaged)( - _slots[306] is not null and var loadedFnPtr + _slots[342] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[306] = nativeContext.LoadFunction("vkCopyImageToMemoryEXT", "vulkan") + : _slots[342] = nativeContext.LoadFunction("vkCopyImageToMemoryEXT", "vulkan") ) )(device, pCopyImageToMemoryInfo); @@ -135031,9 +147740,9 @@ Result IVk.CopyMemoryToAccelerationStructureKHR( DeferredOperationHandleKHR, CopyMemoryToAccelerationStructureInfoKHR*, Result>)( - _slots[307] is not null and var loadedFnPtr + _slots[343] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[307] = nativeContext.LoadFunction( + : _slots[343] = nativeContext.LoadFunction( "vkCopyMemoryToAccelerationStructureKHR", "vulkan" ) @@ -135121,9 +147830,9 @@ Result IVk.CopyMemoryToImage( ) => ( (delegate* unmanaged)( - _slots[308] is not null and var loadedFnPtr + _slots[344] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[308] = nativeContext.LoadFunction("vkCopyMemoryToImage", "vulkan") + : _slots[344] = nativeContext.LoadFunction("vkCopyMemoryToImage", "vulkan") ) )(device, pCopyMemoryToImageInfo); @@ -135205,9 +147914,9 @@ Result IVk.CopyMemoryToImageEXT( ) => ( (delegate* unmanaged)( - _slots[309] is not null and var loadedFnPtr + _slots[345] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[309] = nativeContext.LoadFunction("vkCopyMemoryToImageEXT", "vulkan") + : _slots[345] = nativeContext.LoadFunction("vkCopyMemoryToImageEXT", "vulkan") ) )(device, pCopyMemoryToImageInfo); @@ -135290,9 +147999,9 @@ Result IVk.CopyMemoryToMicromapEXT( DeferredOperationHandleKHR, CopyMemoryToMicromapInfoEXT*, Result>)( - _slots[310] is not null and var loadedFnPtr + _slots[346] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[310] = nativeContext.LoadFunction( + : _slots[346] = nativeContext.LoadFunction( "vkCopyMemoryToMicromapEXT", "vulkan" ) @@ -135379,9 +148088,9 @@ Result IVk.CopyMicromapEXT( DeferredOperationHandleKHR, CopyMicromapInfoEXT*, Result>)( - _slots[311] is not null and var loadedFnPtr + _slots[347] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[311] = nativeContext.LoadFunction("vkCopyMicromapEXT", "vulkan") + : _slots[347] = nativeContext.LoadFunction("vkCopyMicromapEXT", "vulkan") ) )(device, deferredOperation, pInfo); @@ -135464,9 +148173,9 @@ Result IVk.CopyMicromapToMemoryEXT( DeferredOperationHandleKHR, CopyMicromapToMemoryInfoEXT*, Result>)( - _slots[312] is not null and var loadedFnPtr + _slots[348] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[312] = nativeContext.LoadFunction( + : _slots[348] = nativeContext.LoadFunction( "vkCopyMicromapToMemoryEXT", "vulkan" ) @@ -135531,6 +148240,133 @@ public static Result CopyMicromapToMemoryEXT( Ref pInfo ) => ThisThread.CopyMicromapToMemoryEXT(device, deferredOperation, pInfo); + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.CreateAccelerationStructure2KHR( + DeviceHandle device, + AccelerationStructureCreateInfo2KHR* pCreateInfo, + AllocationCallbacks* pAllocator, + AccelerationStructureHandleKHR* pAccelerationStructure + ) => + ( + (delegate* unmanaged< + DeviceHandle, + AccelerationStructureCreateInfo2KHR*, + AllocationCallbacks*, + AccelerationStructureHandleKHR*, + Result>)( + _slots[349] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[349] = nativeContext.LoadFunction( + "vkCreateAccelerationStructure2KHR", + "vulkan" + ) + ) + )(device, pCreateInfo, pAllocator, pAccelerationStructure); + + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateAccelerationStructure2KHR( + DeviceHandle device, + AccelerationStructureCreateInfo2KHR* pCreateInfo, + AllocationCallbacks* pAllocator, + AccelerationStructureHandleKHR* pAccelerationStructure + ) => + ThisThread.CreateAccelerationStructure2KHR( + device, + pCreateInfo, + pAllocator, + pAccelerationStructure + ); + + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.CreateAccelerationStructure2KHR( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pAccelerationStructure + ) + { + fixed ( + AccelerationStructureHandleKHR* __dsl_pAccelerationStructure = pAccelerationStructure + ) + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + fixed (AccelerationStructureCreateInfo2KHR* __dsl_pCreateInfo = pCreateInfo) + { + return (Result) + ((IVk)this).CreateAccelerationStructure2KHR( + device, + __dsl_pCreateInfo, + __dsl_pAllocator, + __dsl_pAccelerationStructure + ); + } + } + + [NativeName("vkCreateAccelerationStructure2KHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_acceleration_structure", "VK_KHR_device_address_commands"], + ImpliesSets = [ + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_KHR_get_physical_device_properties2", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_KHR_buffer_device_address+VK_VERSION_1_1", + "VK_KHR_synchronization2+VK_EXT_extended_dynamic_state+VK_VERSION_1_2", + "VK_VERSION_1_3", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateAccelerationStructure2KHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateAccelerationStructure2KHR( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pAccelerationStructure + ) => + ThisThread.CreateAccelerationStructure2KHR( + device, + pCreateInfo, + pAllocator, + pAccelerationStructure + ); + [NativeName("vkCreateAccelerationStructureKHR")] [SupportedApiProfile( "vulkan", @@ -135555,9 +148391,9 @@ Result IVk.CreateAccelerationStructureKHR( AllocationCallbacks*, AccelerationStructureHandleKHR*, Result>)( - _slots[313] is not null and var loadedFnPtr + _slots[350] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[313] = nativeContext.LoadFunction( + : _slots[350] = nativeContext.LoadFunction( "vkCreateAccelerationStructureKHR", "vulkan" ) @@ -135670,9 +148506,9 @@ Result IVk.CreateAccelerationStructureNV( AllocationCallbacks*, AccelerationStructureHandleNV*, Result>)( - _slots[314] is not null and var loadedFnPtr + _slots[351] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[314] = nativeContext.LoadFunction( + : _slots[351] = nativeContext.LoadFunction( "vkCreateAccelerationStructureNV", "vulkan" ) @@ -135801,9 +148637,9 @@ Result IVk.CreateBuffer( AllocationCallbacks*, BufferHandle*, Result>)( - _slots[315] is not null and var loadedFnPtr + _slots[352] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[315] = nativeContext.LoadFunction("vkCreateBuffer", "vulkan") + : _slots[352] = nativeContext.LoadFunction("vkCreateBuffer", "vulkan") ) )(device, pCreateInfo, pAllocator, pBuffer); @@ -135966,9 +148802,9 @@ Result IVk.CreateBufferView( AllocationCallbacks*, BufferViewHandle*, Result>)( - _slots[316] is not null and var loadedFnPtr + _slots[353] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[316] = nativeContext.LoadFunction("vkCreateBufferView", "vulkan") + : _slots[353] = nativeContext.LoadFunction("vkCreateBufferView", "vulkan") ) )(device, pCreateInfo, pAllocator, pView); @@ -136121,9 +148957,9 @@ Result IVk.CreateCommandPool( AllocationCallbacks*, CommandPoolHandle*, Result>)( - _slots[317] is not null and var loadedFnPtr + _slots[354] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[317] = nativeContext.LoadFunction("vkCreateCommandPool", "vulkan") + : _slots[354] = nativeContext.LoadFunction("vkCreateCommandPool", "vulkan") ) )(device, pCreateInfo, pAllocator, pCommandPool); @@ -136290,9 +149126,9 @@ Result IVk.CreateComputePipelines( AllocationCallbacks*, PipelineHandle*, Result>)( - _slots[318] is not null and var loadedFnPtr + _slots[355] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[318] = nativeContext.LoadFunction("vkCreateComputePipelines", "vulkan") + : _slots[355] = nativeContext.LoadFunction("vkCreateComputePipelines", "vulkan") ) )(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines); @@ -136444,9 +149280,9 @@ Result IVk.CreateCuFunctionNVX( AllocationCallbacks*, CuFunctionHandleNVX*, Result>)( - _slots[319] is not null and var loadedFnPtr + _slots[356] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[319] = nativeContext.LoadFunction("vkCreateCuFunctionNVX", "vulkan") + : _slots[356] = nativeContext.LoadFunction("vkCreateCuFunctionNVX", "vulkan") ) )(device, pCreateInfo, pAllocator, pFunction); @@ -136514,9 +149350,9 @@ Result IVk.CreateCuModuleNVX( AllocationCallbacks*, CuModuleHandleNVX*, Result>)( - _slots[320] is not null and var loadedFnPtr + _slots[357] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[320] = nativeContext.LoadFunction("vkCreateCuModuleNVX", "vulkan") + : _slots[357] = nativeContext.LoadFunction("vkCreateCuModuleNVX", "vulkan") ) )(device, pCreateInfo, pAllocator, pModule); @@ -136571,7 +149407,10 @@ Ref pModule [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -136594,9 +149433,9 @@ Result IVk.CreateDataGraphPipelinesARM( AllocationCallbacks*, PipelineHandle*, Result>)( - _slots[321] is not null and var loadedFnPtr + _slots[358] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[321] = nativeContext.LoadFunction( + : _slots[358] = nativeContext.LoadFunction( "vkCreateDataGraphPipelinesARM", "vulkan" ) @@ -136615,7 +149454,10 @@ _slots[321] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -136642,7 +149484,10 @@ public static Result CreateDataGraphPipelinesARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -136677,7 +149522,10 @@ Ref pPipelines [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelinesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -136704,7 +149552,10 @@ Ref pPipelines [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -136721,9 +149572,9 @@ Result IVk.CreateDataGraphPipelineSessionARM( AllocationCallbacks*, DataGraphPipelineSessionHandleARM*, Result>)( - _slots[322] is not null and var loadedFnPtr + _slots[359] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[322] = nativeContext.LoadFunction( + : _slots[359] = nativeContext.LoadFunction( "vkCreateDataGraphPipelineSessionARM", "vulkan" ) @@ -136734,7 +149585,10 @@ _slots[322] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -136749,7 +149603,10 @@ public static Result CreateDataGraphPipelineSessionARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -136778,7 +149635,10 @@ Ref pSession [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkCreateDataGraphPipelineSessionARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -136806,9 +149666,9 @@ Result IVk.CreateDebugReportCallbackEXT( AllocationCallbacks*, DebugReportCallbackHandleEXT*, Result>)( - _slots[323] is not null and var loadedFnPtr + _slots[360] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[323] = nativeContext.LoadFunction( + : _slots[360] = nativeContext.LoadFunction( "vkCreateDebugReportCallbackEXT", "vulkan" ) @@ -136879,9 +149739,9 @@ Result IVk.CreateDebugUtilsMessengerEXT( AllocationCallbacks*, DebugUtilsMessengerHandleEXT*, Result>)( - _slots[324] is not null and var loadedFnPtr + _slots[361] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[324] = nativeContext.LoadFunction( + : _slots[361] = nativeContext.LoadFunction( "vkCreateDebugUtilsMessengerEXT", "vulkan" ) @@ -136950,9 +149810,9 @@ Result IVk.CreateDeferredOperationKHR( AllocationCallbacks*, DeferredOperationHandleKHR*, Result>)( - _slots[325] is not null and var loadedFnPtr + _slots[362] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[325] = nativeContext.LoadFunction( + : _slots[362] = nativeContext.LoadFunction( "vkCreateDeferredOperationKHR", "vulkan" ) @@ -137038,9 +149898,9 @@ Result IVk.CreateDescriptorPool( AllocationCallbacks*, DescriptorPoolHandle*, Result>)( - _slots[326] is not null and var loadedFnPtr + _slots[363] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[326] = nativeContext.LoadFunction("vkCreateDescriptorPool", "vulkan") + : _slots[363] = nativeContext.LoadFunction("vkCreateDescriptorPool", "vulkan") ) )(device, pCreateInfo, pAllocator, pDescriptorPool); @@ -137188,9 +150048,9 @@ Result IVk.CreateDescriptorSetLayout( AllocationCallbacks*, DescriptorSetLayoutHandle*, Result>)( - _slots[327] is not null and var loadedFnPtr + _slots[364] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[327] = nativeContext.LoadFunction( + : _slots[364] = nativeContext.LoadFunction( "vkCreateDescriptorSetLayout", "vulkan" ) @@ -137338,9 +150198,9 @@ Result IVk.CreateDescriptorUpdateTemplate( AllocationCallbacks*, DescriptorUpdateTemplateHandle*, Result>)( - _slots[328] is not null and var loadedFnPtr + _slots[365] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[328] = nativeContext.LoadFunction( + : _slots[365] = nativeContext.LoadFunction( "vkCreateDescriptorUpdateTemplate", "vulkan" ) @@ -137477,9 +150337,9 @@ Result IVk.CreateDescriptorUpdateTemplateKHR( AllocationCallbacks*, DescriptorUpdateTemplateHandle*, Result>)( - _slots[329] is not null and var loadedFnPtr + _slots[366] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[329] = nativeContext.LoadFunction( + : _slots[366] = nativeContext.LoadFunction( "vkCreateDescriptorUpdateTemplateKHR", "vulkan" ) @@ -137712,9 +150572,9 @@ private Result CreateDeviceInternal( AllocationCallbacks*, DeviceHandle*, Result>)( - _slots[330] is not null and var loadedFnPtr + _slots[367] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[330] = nativeContext.LoadFunction("vkCreateDevice", "vulkan") + : _slots[367] = nativeContext.LoadFunction("vkCreateDevice", "vulkan") ) )(physicalDevice, pCreateInfo, pAllocator, pDevice); @@ -137786,9 +150646,9 @@ Result IVk.CreateDisplayModeKHR( AllocationCallbacks*, DisplayModeHandleKHR*, Result>)( - _slots[331] is not null and var loadedFnPtr + _slots[368] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[331] = nativeContext.LoadFunction("vkCreateDisplayModeKHR", "vulkan") + : _slots[368] = nativeContext.LoadFunction("vkCreateDisplayModeKHR", "vulkan") ) )(physicalDevice, display, pCreateInfo, pAllocator, pMode); @@ -137860,9 +150720,9 @@ Result IVk.CreateDisplayPlaneSurfaceKHR( AllocationCallbacks*, SurfaceHandleKHR*, Result>)( - _slots[332] is not null and var loadedFnPtr + _slots[369] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[332] = nativeContext.LoadFunction( + : _slots[369] = nativeContext.LoadFunction( "vkCreateDisplayPlaneSurfaceKHR", "vulkan" ) @@ -137953,9 +150813,9 @@ Result IVk.CreateEvent( AllocationCallbacks*, EventHandle*, Result>)( - _slots[333] is not null and var loadedFnPtr + _slots[370] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[333] = nativeContext.LoadFunction("vkCreateEvent", "vulkan") + : _slots[370] = nativeContext.LoadFunction("vkCreateEvent", "vulkan") ) )(device, pCreateInfo, pAllocator, pEvent); @@ -138078,9 +150938,9 @@ Result IVk.CreateExternalComputeQueueNV( AllocationCallbacks*, ExternalComputeQueueHandleNV*, Result>)( - _slots[334] is not null and var loadedFnPtr + _slots[371] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[334] = nativeContext.LoadFunction( + : _slots[371] = nativeContext.LoadFunction( "vkCreateExternalComputeQueueNV", "vulkan" ) @@ -138176,9 +151036,9 @@ Result IVk.CreateFence( AllocationCallbacks*, FenceHandle*, Result>)( - _slots[335] is not null and var loadedFnPtr + _slots[372] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[335] = nativeContext.LoadFunction("vkCreateFence", "vulkan") + : _slots[372] = nativeContext.LoadFunction("vkCreateFence", "vulkan") ) )(device, pCreateInfo, pAllocator, pFence); @@ -138331,9 +151191,9 @@ Result IVk.CreateFramebuffer( AllocationCallbacks*, FramebufferHandle*, Result>)( - _slots[336] is not null and var loadedFnPtr + _slots[373] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[336] = nativeContext.LoadFunction("vkCreateFramebuffer", "vulkan") + : _slots[373] = nativeContext.LoadFunction("vkCreateFramebuffer", "vulkan") ) )(device, pCreateInfo, pAllocator, pFramebuffer); @@ -138429,6 +151289,104 @@ public static Result CreateFramebuffer( Ref pFramebuffer ) => ThisThread.CreateFramebuffer(device, pCreateInfo, pAllocator, pFramebuffer); + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.CreateGpaSessionAMD( + DeviceHandle device, + GpaSessionCreateInfoAMD* pCreateInfo, + AllocationCallbacks* pAllocator, + GpaSessionHandleAMD* pGpaSession + ) => + ( + (delegate* unmanaged< + DeviceHandle, + GpaSessionCreateInfoAMD*, + AllocationCallbacks*, + GpaSessionHandleAMD*, + Result>)( + _slots[374] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[374] = nativeContext.LoadFunction("vkCreateGpaSessionAMD", "vulkan") + ) + )(device, pCreateInfo, pAllocator, pGpaSession); + + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateGpaSessionAMD( + DeviceHandle device, + GpaSessionCreateInfoAMD* pCreateInfo, + AllocationCallbacks* pAllocator, + GpaSessionHandleAMD* pGpaSession + ) => ThisThread.CreateGpaSessionAMD(device, pCreateInfo, pAllocator, pGpaSession); + + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.CreateGpaSessionAMD( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pGpaSession + ) + { + fixed (GpaSessionHandleAMD* __dsl_pGpaSession = pGpaSession) + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + fixed (GpaSessionCreateInfoAMD* __dsl_pCreateInfo = pCreateInfo) + { + return (Result) + ((IVk)this).CreateGpaSessionAMD( + device, + __dsl_pCreateInfo, + __dsl_pAllocator, + __dsl_pGpaSession + ); + } + } + + [NativeName("vkCreateGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateGpaSessionAMD( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pGpaSession + ) => ThisThread.CreateGpaSessionAMD(device, pCreateInfo, pAllocator, pGpaSession); + [NativeName("vkCreateGraphicsPipelines")] [SupportedApiProfile( "vulkan", @@ -138465,9 +151423,9 @@ Result IVk.CreateGraphicsPipelines( AllocationCallbacks*, PipelineHandle*, Result>)( - _slots[337] is not null and var loadedFnPtr + _slots[375] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[337] = nativeContext.LoadFunction( + : _slots[375] = nativeContext.LoadFunction( "vkCreateGraphicsPipelines", "vulkan" ) @@ -138607,9 +151565,9 @@ Result IVk.CreateHeadlessSurfaceEXT( AllocationCallbacks*, SurfaceHandleKHR*, Result>)( - _slots[338] is not null and var loadedFnPtr + _slots[376] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[338] = nativeContext.LoadFunction( + : _slots[376] = nativeContext.LoadFunction( "vkCreateHeadlessSurfaceEXT", "vulkan" ) @@ -138705,9 +151663,9 @@ Result IVk.CreateImage( AllocationCallbacks*, ImageHandle*, Result>)( - _slots[339] is not null and var loadedFnPtr + _slots[377] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[339] = nativeContext.LoadFunction("vkCreateImage", "vulkan") + : _slots[377] = nativeContext.LoadFunction("vkCreateImage", "vulkan") ) )(device, pCreateInfo, pAllocator, pImage); @@ -138870,9 +151828,9 @@ Result IVk.CreateImageView( AllocationCallbacks*, ImageViewHandle*, Result>)( - _slots[340] is not null and var loadedFnPtr + _slots[378] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[340] = nativeContext.LoadFunction("vkCreateImageView", "vulkan") + : _slots[378] = nativeContext.LoadFunction("vkCreateImageView", "vulkan") ) )(device, pCreateInfo, pAllocator, pView); @@ -139003,8 +151961,10 @@ Ref pView "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -139023,9 +151983,9 @@ Result IVk.CreateIndirectCommandsLayoutEXT( AllocationCallbacks*, IndirectCommandsLayoutHandleEXT*, Result>)( - _slots[341] is not null and var loadedFnPtr + _slots[379] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[341] = nativeContext.LoadFunction( + : _slots[379] = nativeContext.LoadFunction( "vkCreateIndirectCommandsLayoutEXT", "vulkan" ) @@ -139037,8 +151997,10 @@ _slots[341] is not null and var loadedFnPtr "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -139062,8 +152024,10 @@ public static Result CreateIndirectCommandsLayoutEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -139097,8 +152061,10 @@ Ref pIndirectCommandsLayout "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -139138,9 +152104,9 @@ Result IVk.CreateIndirectCommandsLayoutNV( AllocationCallbacks*, IndirectCommandsLayoutHandleNV*, Result>)( - _slots[342] is not null and var loadedFnPtr + _slots[380] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[342] = nativeContext.LoadFunction( + : _slots[380] = nativeContext.LoadFunction( "vkCreateIndirectCommandsLayoutNV", "vulkan" ) @@ -139225,8 +152191,10 @@ Ref pIndirectCommandsLayout "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -139245,9 +152213,9 @@ Result IVk.CreateIndirectExecutionSetEXT( AllocationCallbacks*, IndirectExecutionSetHandleEXT*, Result>)( - _slots[343] is not null and var loadedFnPtr + _slots[381] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[343] = nativeContext.LoadFunction( + : _slots[381] = nativeContext.LoadFunction( "vkCreateIndirectExecutionSetEXT", "vulkan" ) @@ -139259,8 +152227,10 @@ _slots[343] is not null and var loadedFnPtr "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -139284,8 +152254,10 @@ public static Result CreateIndirectExecutionSetEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -139317,8 +152289,10 @@ Ref pIndirectExecutionSet "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -139491,9 +152465,9 @@ private Result CreateInstanceInternal( AllocationCallbacks*, InstanceHandle*, Result>)( - _slots[344] is not null and var loadedFnPtr + _slots[382] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[344] = nativeContext.LoadFunction("vkCreateInstance", "vulkan") + : _slots[382] = nativeContext.LoadFunction("vkCreateInstance", "vulkan") ) )(pCreateInfo, pAllocator, pInstance); @@ -139568,9 +152542,9 @@ Result IVk.CreateMicromapEXT( AllocationCallbacks*, MicromapHandleEXT*, Result>)( - _slots[345] is not null and var loadedFnPtr + _slots[383] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[345] = nativeContext.LoadFunction("vkCreateMicromapEXT", "vulkan") + : _slots[383] = nativeContext.LoadFunction("vkCreateMicromapEXT", "vulkan") ) )(device, pCreateInfo, pAllocator, pMicromap); @@ -139667,9 +152641,9 @@ Result IVk.CreateOpticalFlowSessionNV( AllocationCallbacks*, OpticalFlowSessionHandleNV*, Result>)( - _slots[346] is not null and var loadedFnPtr + _slots[384] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[346] = nativeContext.LoadFunction( + : _slots[384] = nativeContext.LoadFunction( "vkCreateOpticalFlowSessionNV", "vulkan" ) @@ -139752,6 +152726,7 @@ Ref pSession "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -139771,9 +152746,9 @@ Result IVk.CreatePipelineBinariesKHR( AllocationCallbacks*, PipelineBinaryHandlesInfoKHR*, Result>)( - _slots[347] is not null and var loadedFnPtr + _slots[385] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[347] = nativeContext.LoadFunction( + : _slots[385] = nativeContext.LoadFunction( "vkCreatePipelineBinariesKHR", "vulkan" ) @@ -139785,6 +152760,7 @@ _slots[347] is not null and var loadedFnPtr "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -139803,6 +152779,7 @@ public static Result CreatePipelineBinariesKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -139835,6 +152812,7 @@ Ref pBinaries "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -139885,9 +152863,9 @@ Result IVk.CreatePipelineCache( AllocationCallbacks*, PipelineCacheHandle*, Result>)( - _slots[348] is not null and var loadedFnPtr + _slots[386] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[348] = nativeContext.LoadFunction("vkCreatePipelineCache", "vulkan") + : _slots[386] = nativeContext.LoadFunction("vkCreatePipelineCache", "vulkan") ) )(device, pCreateInfo, pAllocator, pPipelineCache); @@ -140035,9 +153013,9 @@ Result IVk.CreatePipelineLayout( AllocationCallbacks*, PipelineLayoutHandle*, Result>)( - _slots[349] is not null and var loadedFnPtr + _slots[387] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[349] = nativeContext.LoadFunction("vkCreatePipelineLayout", "vulkan") + : _slots[387] = nativeContext.LoadFunction("vkCreatePipelineLayout", "vulkan") ) )(device, pCreateInfo, pAllocator, pPipelineLayout); @@ -140178,9 +153156,9 @@ Result IVk.CreatePrivateDataSlot( AllocationCallbacks*, PrivateDataSlotHandle*, Result>)( - _slots[350] is not null and var loadedFnPtr + _slots[388] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[350] = nativeContext.LoadFunction("vkCreatePrivateDataSlot", "vulkan") + : _slots[388] = nativeContext.LoadFunction("vkCreatePrivateDataSlot", "vulkan") ) )(device, pCreateInfo, pAllocator, pPrivateDataSlot); @@ -140294,9 +153272,9 @@ Result IVk.CreatePrivateDataSlotEXT( AllocationCallbacks*, PrivateDataSlotHandle*, Result>)( - _slots[351] is not null and var loadedFnPtr + _slots[389] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[351] = nativeContext.LoadFunction( + : _slots[389] = nativeContext.LoadFunction( "vkCreatePrivateDataSlotEXT", "vulkan" ) @@ -140413,9 +153391,9 @@ Result IVk.CreateQueryPool( AllocationCallbacks*, QueryPoolHandle*, Result>)( - _slots[352] is not null and var loadedFnPtr + _slots[390] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[352] = nativeContext.LoadFunction("vkCreateQueryPool", "vulkan") + : _slots[390] = nativeContext.LoadFunction("vkCreateQueryPool", "vulkan") ) )(device, pCreateInfo, pAllocator, pQueryPool); @@ -140571,9 +153549,9 @@ Result IVk.CreateRayTracingPipelinesKHR( AllocationCallbacks*, PipelineHandle*, Result>)( - _slots[353] is not null and var loadedFnPtr + _slots[391] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[353] = nativeContext.LoadFunction( + : _slots[391] = nativeContext.LoadFunction( "vkCreateRayTracingPipelinesKHR", "vulkan" ) @@ -140714,9 +153692,9 @@ Result IVk.CreateRayTracingPipelinesNV( AllocationCallbacks*, PipelineHandle*, Result>)( - _slots[354] is not null and var loadedFnPtr + _slots[392] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[354] = nativeContext.LoadFunction( + : _slots[392] = nativeContext.LoadFunction( "vkCreateRayTracingPipelinesNV", "vulkan" ) @@ -140847,9 +153825,9 @@ Result IVk.CreateRenderPass( AllocationCallbacks*, RenderPassHandle*, Result>)( - _slots[355] is not null and var loadedFnPtr + _slots[393] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[355] = nativeContext.LoadFunction("vkCreateRenderPass", "vulkan") + : _slots[393] = nativeContext.LoadFunction("vkCreateRenderPass", "vulkan") ) )(device, pCreateInfo, pAllocator, pRenderPass); @@ -140973,9 +153951,9 @@ Result IVk.CreateRenderPass2( AllocationCallbacks*, RenderPassHandle*, Result>)( - _slots[356] is not null and var loadedFnPtr + _slots[394] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[356] = nativeContext.LoadFunction("vkCreateRenderPass2", "vulkan") + : _slots[394] = nativeContext.LoadFunction("vkCreateRenderPass2", "vulkan") ) )(device, pCreateInfo, pAllocator, pRenderPass); @@ -141080,9 +154058,9 @@ Result IVk.CreateRenderPass2KHR( AllocationCallbacks*, RenderPassHandle*, Result>)( - _slots[357] is not null and var loadedFnPtr + _slots[395] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[357] = nativeContext.LoadFunction("vkCreateRenderPass2KHR", "vulkan") + : _slots[395] = nativeContext.LoadFunction("vkCreateRenderPass2KHR", "vulkan") ) )(device, pCreateInfo, pAllocator, pRenderPass); @@ -141182,9 +154160,9 @@ Result IVk.CreateSampler( AllocationCallbacks*, SamplerHandle*, Result>)( - _slots[358] is not null and var loadedFnPtr + _slots[396] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[358] = nativeContext.LoadFunction("vkCreateSampler", "vulkan") + : _slots[396] = nativeContext.LoadFunction("vkCreateSampler", "vulkan") ) )(device, pCreateInfo, pAllocator, pSampler); @@ -141329,9 +154307,9 @@ Result IVk.CreateSamplerYcbcrConversion( AllocationCallbacks*, SamplerYcbcrConversionHandle*, Result>)( - _slots[359] is not null and var loadedFnPtr + _slots[397] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[359] = nativeContext.LoadFunction( + : _slots[397] = nativeContext.LoadFunction( "vkCreateSamplerYcbcrConversion", "vulkan" ) @@ -141460,9 +154438,9 @@ Result IVk.CreateSamplerYcbcrConversionKHR( AllocationCallbacks*, SamplerYcbcrConversionHandle*, Result>)( - _slots[360] is not null and var loadedFnPtr + _slots[398] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[360] = nativeContext.LoadFunction( + : _slots[398] = nativeContext.LoadFunction( "vkCreateSamplerYcbcrConversionKHR", "vulkan" ) @@ -141591,9 +154569,9 @@ Result IVk.CreateSemaphore( AllocationCallbacks*, SemaphoreHandle*, Result>)( - _slots[361] is not null and var loadedFnPtr + _slots[399] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[361] = nativeContext.LoadFunction("vkCreateSemaphore", "vulkan") + : _slots[399] = nativeContext.LoadFunction("vkCreateSemaphore", "vulkan") ) )(device, pCreateInfo, pAllocator, pSemaphore); @@ -141719,6 +154697,119 @@ public static Result CreateSemaphore( Ref pSemaphore ) => ThisThread.CreateSemaphore(device, pCreateInfo, pAllocator, pSemaphore); + [NativeName("vkCreateShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.CreateShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationCreateInfoARM* pCreateInfo, + AllocationCallbacks* pAllocator, + ShaderInstrumentationHandleARM* pInstrumentation + ) => + ( + (delegate* unmanaged< + DeviceHandle, + ShaderInstrumentationCreateInfoARM*, + AllocationCallbacks*, + ShaderInstrumentationHandleARM*, + Result>)( + _slots[400] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[400] = nativeContext.LoadFunction( + "vkCreateShaderInstrumentationARM", + "vulkan" + ) + ) + )(device, pCreateInfo, pAllocator, pInstrumentation); + + [NativeName("vkCreateShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationCreateInfoARM* pCreateInfo, + AllocationCallbacks* pAllocator, + ShaderInstrumentationHandleARM* pInstrumentation + ) => + ThisThread.CreateShaderInstrumentationARM( + device, + pCreateInfo, + pAllocator, + pInstrumentation + ); + + [NativeName("vkCreateShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.CreateShaderInstrumentationARM( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pInstrumentation + ) + { + fixed (ShaderInstrumentationHandleARM* __dsl_pInstrumentation = pInstrumentation) + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + fixed (ShaderInstrumentationCreateInfoARM* __dsl_pCreateInfo = pCreateInfo) + { + return (Result) + ((IVk)this).CreateShaderInstrumentationARM( + device, + __dsl_pCreateInfo, + __dsl_pAllocator, + __dsl_pInstrumentation + ); + } + } + + [NativeName("vkCreateShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkCreateShaderInstrumentationARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result CreateShaderInstrumentationARM( + DeviceHandle device, + Ref pCreateInfo, + Ref pAllocator, + Ref pInstrumentation + ) => + ThisThread.CreateShaderInstrumentationARM( + device, + pCreateInfo, + pAllocator, + pInstrumentation + ); + [NativeName("vkCreateShaderModule")] [SupportedApiProfile( "vulkan", @@ -141756,9 +154847,9 @@ Result IVk.CreateShaderModule( AllocationCallbacks*, ShaderModuleHandle*, Result>)( - _slots[362] is not null and var loadedFnPtr + _slots[401] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[362] = nativeContext.LoadFunction("vkCreateShaderModule", "vulkan") + : _slots[401] = nativeContext.LoadFunction("vkCreateShaderModule", "vulkan") ) )(device, pCreateInfo, pAllocator, pShaderModule); @@ -141896,9 +154987,9 @@ Result IVk.CreateShadersEXT( AllocationCallbacks*, ShaderHandleEXT*, Result>)( - _slots[363] is not null and var loadedFnPtr + _slots[402] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[363] = nativeContext.LoadFunction("vkCreateShadersEXT", "vulkan") + : _slots[402] = nativeContext.LoadFunction("vkCreateShadersEXT", "vulkan") ) )(device, createInfoCount, pCreateInfos, pAllocator, pShaders); @@ -142000,9 +155091,9 @@ Result IVk.CreateSharedSwapchainsKHR( AllocationCallbacks*, SwapchainHandleKHR*, Result>)( - _slots[364] is not null and var loadedFnPtr + _slots[403] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[364] = nativeContext.LoadFunction( + : _slots[403] = nativeContext.LoadFunction( "vkCreateSharedSwapchainsKHR", "vulkan" ) @@ -142103,9 +155194,9 @@ Result IVk.CreateSwapchainKHR( AllocationCallbacks*, SwapchainHandleKHR*, Result>)( - _slots[365] is not null and var loadedFnPtr + _slots[404] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[365] = nativeContext.LoadFunction("vkCreateSwapchainKHR", "vulkan") + : _slots[404] = nativeContext.LoadFunction("vkCreateSwapchainKHR", "vulkan") ) )(device, pCreateInfo, pAllocator, pSwapchain); @@ -142173,9 +155264,9 @@ Result IVk.CreateTensorARM( AllocationCallbacks*, TensorHandleARM*, Result>)( - _slots[366] is not null and var loadedFnPtr + _slots[405] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[366] = nativeContext.LoadFunction("vkCreateTensorARM", "vulkan") + : _slots[405] = nativeContext.LoadFunction("vkCreateTensorARM", "vulkan") ) )(device, pCreateInfo, pAllocator, pTensor); @@ -142243,9 +155334,9 @@ Result IVk.CreateTensorViewARM( AllocationCallbacks*, TensorViewHandleARM*, Result>)( - _slots[367] is not null and var loadedFnPtr + _slots[406] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[367] = nativeContext.LoadFunction("vkCreateTensorViewARM", "vulkan") + : _slots[406] = nativeContext.LoadFunction("vkCreateTensorViewARM", "vulkan") ) )(device, pCreateInfo, pAllocator, pView); @@ -142313,9 +155404,9 @@ Result IVk.CreateValidationCacheEXT( AllocationCallbacks*, ValidationCacheHandleEXT*, Result>)( - _slots[368] is not null and var loadedFnPtr + _slots[407] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[368] = nativeContext.LoadFunction( + : _slots[407] = nativeContext.LoadFunction( "vkCreateValidationCacheEXT", "vulkan" ) @@ -142390,9 +155481,9 @@ Result IVk.CreateVideoSessionKHR( AllocationCallbacks*, VideoSessionHandleKHR*, Result>)( - _slots[369] is not null and var loadedFnPtr + _slots[408] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[369] = nativeContext.LoadFunction("vkCreateVideoSessionKHR", "vulkan") + : _slots[408] = nativeContext.LoadFunction("vkCreateVideoSessionKHR", "vulkan") ) )(device, pCreateInfo, pAllocator, pVideoSession); @@ -142476,9 +155567,9 @@ Result IVk.CreateVideoSessionParametersKHR( AllocationCallbacks*, VideoSessionParametersHandleKHR*, Result>)( - _slots[370] is not null and var loadedFnPtr + _slots[409] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[370] = nativeContext.LoadFunction( + : _slots[409] = nativeContext.LoadFunction( "vkCreateVideoSessionParametersKHR", "vulkan" ) @@ -142568,9 +155659,9 @@ Result IVk.DebugMarkerSetObjectNameEXT( ) => ( (delegate* unmanaged)( - _slots[371] is not null and var loadedFnPtr + _slots[410] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[371] = nativeContext.LoadFunction( + : _slots[410] = nativeContext.LoadFunction( "vkDebugMarkerSetObjectNameEXT", "vulkan" ) @@ -142620,9 +155711,9 @@ Result IVk.DebugMarkerSetObjectTagEXT( ) => ( (delegate* unmanaged)( - _slots[372] is not null and var loadedFnPtr + _slots[411] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[372] = nativeContext.LoadFunction( + : _slots[411] = nativeContext.LoadFunction( "vkDebugMarkerSetObjectTagEXT", "vulkan" ) @@ -142687,9 +155778,9 @@ void IVk.DebugReportMessageEXT( sbyte*, sbyte*, void>)( - _slots[373] is not null and var loadedFnPtr + _slots[412] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[373] = nativeContext.LoadFunction("vkDebugReportMessageEXT", "vulkan") + : _slots[412] = nativeContext.LoadFunction("vkDebugReportMessageEXT", "vulkan") ) )(instance, flags, objectType, @object, location, messageCode, pLayerPrefix, pMessage); @@ -142784,9 +155875,9 @@ DeferredOperationHandleKHR operation ) => ( (delegate* unmanaged)( - _slots[374] is not null and var loadedFnPtr + _slots[413] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[374] = nativeContext.LoadFunction( + : _slots[413] = nativeContext.LoadFunction( "vkDeferredOperationJoinKHR", "vulkan" ) @@ -142824,9 +155915,9 @@ void IVk.DestroyAccelerationStructureKHR( AccelerationStructureHandleKHR, AllocationCallbacks*, void>)( - _slots[375] is not null and var loadedFnPtr + _slots[414] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[375] = nativeContext.LoadFunction( + : _slots[414] = nativeContext.LoadFunction( "vkDestroyAccelerationStructureKHR", "vulkan" ) @@ -142916,9 +156007,9 @@ void IVk.DestroyAccelerationStructureNV( AccelerationStructureHandleNV, AllocationCallbacks*, void>)( - _slots[376] is not null and var loadedFnPtr + _slots[415] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[376] = nativeContext.LoadFunction( + : _slots[415] = nativeContext.LoadFunction( "vkDestroyAccelerationStructureNV", "vulkan" ) @@ -143022,9 +156113,9 @@ void IVk.DestroyBuffer( ) => ( (delegate* unmanaged)( - _slots[377] is not null and var loadedFnPtr + _slots[416] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[377] = nativeContext.LoadFunction("vkDestroyBuffer", "vulkan") + : _slots[416] = nativeContext.LoadFunction("vkDestroyBuffer", "vulkan") ) )(device, buffer, pAllocator); @@ -143170,9 +156261,9 @@ void IVk.DestroyBufferView( ) => ( (delegate* unmanaged)( - _slots[378] is not null and var loadedFnPtr + _slots[417] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[378] = nativeContext.LoadFunction("vkDestroyBufferView", "vulkan") + : _slots[417] = nativeContext.LoadFunction("vkDestroyBufferView", "vulkan") ) )(device, bufferView, pAllocator); @@ -143308,9 +156399,9 @@ void IVk.DestroyCommandPool( ) => ( (delegate* unmanaged)( - _slots[379] is not null and var loadedFnPtr + _slots[418] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[379] = nativeContext.LoadFunction("vkDestroyCommandPool", "vulkan") + : _slots[418] = nativeContext.LoadFunction("vkDestroyCommandPool", "vulkan") ) )(device, commandPool, pAllocator); @@ -143436,9 +156527,9 @@ void IVk.DestroyCuFunctionNVX( ) => ( (delegate* unmanaged)( - _slots[380] is not null and var loadedFnPtr + _slots[419] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[380] = nativeContext.LoadFunction("vkDestroyCuFunctionNVX", "vulkan") + : _slots[419] = nativeContext.LoadFunction("vkDestroyCuFunctionNVX", "vulkan") ) )(device, function, pAllocator); @@ -143489,9 +156580,9 @@ void IVk.DestroyCuModuleNVX( ) => ( (delegate* unmanaged)( - _slots[381] is not null and var loadedFnPtr + _slots[420] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[381] = nativeContext.LoadFunction("vkDestroyCuModuleNVX", "vulkan") + : _slots[420] = nativeContext.LoadFunction("vkDestroyCuModuleNVX", "vulkan") ) )(device, module, pAllocator); @@ -143535,7 +156626,10 @@ Ref pAllocator [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -143550,9 +156644,9 @@ void IVk.DestroyDataGraphPipelineSessionARM( DataGraphPipelineSessionHandleARM, AllocationCallbacks*, void>)( - _slots[382] is not null and var loadedFnPtr + _slots[421] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[382] = nativeContext.LoadFunction( + : _slots[421] = nativeContext.LoadFunction( "vkDestroyDataGraphPipelineSessionARM", "vulkan" ) @@ -143563,7 +156657,10 @@ _slots[382] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -143577,7 +156674,10 @@ public static void DestroyDataGraphPipelineSessionARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -143597,7 +156697,10 @@ Ref pAllocator [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkDestroyDataGraphPipelineSessionARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -143622,9 +156725,9 @@ void IVk.DestroyDebugReportCallbackEXT( DebugReportCallbackHandleEXT, AllocationCallbacks*, void>)( - _slots[383] is not null and var loadedFnPtr + _slots[422] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[383] = nativeContext.LoadFunction( + : _slots[422] = nativeContext.LoadFunction( "vkDestroyDebugReportCallbackEXT", "vulkan" ) @@ -143682,9 +156785,9 @@ void IVk.DestroyDebugUtilsMessengerEXT( DebugUtilsMessengerHandleEXT, AllocationCallbacks*, void>)( - _slots[384] is not null and var loadedFnPtr + _slots[423] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[384] = nativeContext.LoadFunction( + : _slots[423] = nativeContext.LoadFunction( "vkDestroyDebugUtilsMessengerEXT", "vulkan" ) @@ -143742,9 +156845,9 @@ void IVk.DestroyDeferredOperationKHR( DeferredOperationHandleKHR, AllocationCallbacks*, void>)( - _slots[385] is not null and var loadedFnPtr + _slots[424] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[385] = nativeContext.LoadFunction( + : _slots[424] = nativeContext.LoadFunction( "vkDestroyDeferredOperationKHR", "vulkan" ) @@ -143818,9 +156921,9 @@ void IVk.DestroyDescriptorPool( ) => ( (delegate* unmanaged)( - _slots[386] is not null and var loadedFnPtr + _slots[425] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[386] = nativeContext.LoadFunction("vkDestroyDescriptorPool", "vulkan") + : _slots[425] = nativeContext.LoadFunction("vkDestroyDescriptorPool", "vulkan") ) )(device, descriptorPool, pAllocator); @@ -143955,9 +157058,9 @@ void IVk.DestroyDescriptorSetLayout( DescriptorSetLayoutHandle, AllocationCallbacks*, void>)( - _slots[387] is not null and var loadedFnPtr + _slots[426] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[387] = nativeContext.LoadFunction( + : _slots[426] = nativeContext.LoadFunction( "vkDestroyDescriptorSetLayout", "vulkan" ) @@ -144092,9 +157195,9 @@ void IVk.DestroyDescriptorUpdateTemplate( DescriptorUpdateTemplateHandle, AllocationCallbacks*, void>)( - _slots[388] is not null and var loadedFnPtr + _slots[427] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[388] = nativeContext.LoadFunction( + : _slots[427] = nativeContext.LoadFunction( "vkDestroyDescriptorUpdateTemplate", "vulkan" ) @@ -144207,9 +157310,9 @@ void IVk.DestroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplateHandle, AllocationCallbacks*, void>)( - _slots[389] is not null and var loadedFnPtr + _slots[428] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[389] = nativeContext.LoadFunction( + : _slots[428] = nativeContext.LoadFunction( "vkDestroyDescriptorUpdateTemplateKHR", "vulkan" ) @@ -144290,9 +157393,9 @@ Ref pAllocator void IVk.DestroyDevice(DeviceHandle device, AllocationCallbacks* pAllocator) => ( (delegate* unmanaged)( - _slots[390] is not null and var loadedFnPtr + _slots[429] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[390] = nativeContext.LoadFunction("vkDestroyDevice", "vulkan") + : _slots[429] = nativeContext.LoadFunction("vkDestroyDevice", "vulkan") ) )(device, pAllocator); @@ -144428,9 +157531,9 @@ void IVk.DestroyEvent( ) => ( (delegate* unmanaged)( - _slots[391] is not null and var loadedFnPtr + _slots[430] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[391] = nativeContext.LoadFunction("vkDestroyEvent", "vulkan") + : _slots[430] = nativeContext.LoadFunction("vkDestroyEvent", "vulkan") ) )(device, @event, pAllocator); @@ -144545,9 +157648,9 @@ void IVk.DestroyExternalComputeQueueNV( ExternalComputeQueueHandleNV, AllocationCallbacks*, void>)( - _slots[392] is not null and var loadedFnPtr + _slots[431] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[392] = nativeContext.LoadFunction( + : _slots[431] = nativeContext.LoadFunction( "vkDestroyExternalComputeQueueNV", "vulkan" ) @@ -144626,9 +157729,9 @@ void IVk.DestroyFence( ) => ( (delegate* unmanaged)( - _slots[393] is not null and var loadedFnPtr + _slots[432] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[393] = nativeContext.LoadFunction("vkDestroyFence", "vulkan") + : _slots[432] = nativeContext.LoadFunction("vkDestroyFence", "vulkan") ) )(device, fence, pAllocator); @@ -144769,9 +157872,9 @@ void IVk.DestroyFramebuffer( ) => ( (delegate* unmanaged)( - _slots[394] is not null and var loadedFnPtr + _slots[433] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[394] = nativeContext.LoadFunction("vkDestroyFramebuffer", "vulkan") + : _slots[433] = nativeContext.LoadFunction("vkDestroyFramebuffer", "vulkan") ) )(device, framebuffer, pAllocator); @@ -144856,6 +157959,87 @@ public static void DestroyFramebuffer( Ref pAllocator ) => ThisThread.DestroyFramebuffer(device, framebuffer, pAllocator); + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + AllocationCallbacks* pAllocator + ) => + ( + (delegate* unmanaged)( + _slots[434] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[434] = nativeContext.LoadFunction("vkDestroyGpaSessionAMD", "vulkan") + ) + )(device, gpaSession, pAllocator); + + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + AllocationCallbacks* pAllocator + ) => ThisThread.DestroyGpaSessionAMD(device, gpaSession, pAllocator); + + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + Ref pAllocator + ) + { + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + { + ((IVk)this).DestroyGpaSessionAMD(device, gpaSession, __dsl_pAllocator); + } + } + + [NativeName("vkDestroyGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DestroyGpaSessionAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + Ref pAllocator + ) => ThisThread.DestroyGpaSessionAMD(device, gpaSession, pAllocator); + [NativeName("vkDestroyImage")] [SupportedApiProfile( "vulkan", @@ -144892,9 +158076,9 @@ void IVk.DestroyImage( ) => ( (delegate* unmanaged)( - _slots[395] is not null and var loadedFnPtr + _slots[435] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[395] = nativeContext.LoadFunction("vkDestroyImage", "vulkan") + : _slots[435] = nativeContext.LoadFunction("vkDestroyImage", "vulkan") ) )(device, image, pAllocator); @@ -145045,9 +158229,9 @@ void IVk.DestroyImageView( ) => ( (delegate* unmanaged)( - _slots[396] is not null and var loadedFnPtr + _slots[436] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[396] = nativeContext.LoadFunction("vkDestroyImageView", "vulkan") + : _slots[436] = nativeContext.LoadFunction("vkDestroyImageView", "vulkan") ) )(device, imageView, pAllocator); @@ -145167,8 +158351,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -145185,9 +158371,9 @@ void IVk.DestroyIndirectCommandsLayoutEXT( IndirectCommandsLayoutHandleEXT, AllocationCallbacks*, void>)( - _slots[397] is not null and var loadedFnPtr + _slots[437] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[397] = nativeContext.LoadFunction( + : _slots[437] = nativeContext.LoadFunction( "vkDestroyIndirectCommandsLayoutEXT", "vulkan" ) @@ -145199,8 +158385,10 @@ _slots[397] is not null and var loadedFnPtr "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -145217,8 +158405,10 @@ public static void DestroyIndirectCommandsLayoutEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -145245,8 +158435,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -145277,9 +158469,9 @@ void IVk.DestroyIndirectCommandsLayoutNV( IndirectCommandsLayoutHandleNV, AllocationCallbacks*, void>)( - _slots[398] is not null and var loadedFnPtr + _slots[438] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[398] = nativeContext.LoadFunction( + : _slots[438] = nativeContext.LoadFunction( "vkDestroyIndirectCommandsLayoutNV", "vulkan" ) @@ -145343,8 +158535,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -145361,9 +158555,9 @@ void IVk.DestroyIndirectExecutionSetEXT( IndirectExecutionSetHandleEXT, AllocationCallbacks*, void>)( - _slots[399] is not null and var loadedFnPtr + _slots[439] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[399] = nativeContext.LoadFunction( + : _slots[439] = nativeContext.LoadFunction( "vkDestroyIndirectExecutionSetEXT", "vulkan" ) @@ -145375,8 +158569,10 @@ _slots[399] is not null and var loadedFnPtr "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -145393,8 +158589,10 @@ public static void DestroyIndirectExecutionSetEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -145421,8 +158619,10 @@ Ref pAllocator "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -145466,9 +158666,9 @@ Ref pAllocator void IVk.DestroyInstance(InstanceHandle instance, AllocationCallbacks* pAllocator) => ( (delegate* unmanaged)( - _slots[400] is not null and var loadedFnPtr + _slots[440] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[400] = nativeContext.LoadFunction("vkDestroyInstance", "vulkan") + : _slots[440] = nativeContext.LoadFunction("vkDestroyInstance", "vulkan") ) )(instance, pAllocator); @@ -145593,9 +158793,9 @@ void IVk.DestroyMicromapEXT( ) => ( (delegate* unmanaged)( - _slots[401] is not null and var loadedFnPtr + _slots[441] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[401] = nativeContext.LoadFunction("vkDestroyMicromapEXT", "vulkan") + : _slots[441] = nativeContext.LoadFunction("vkDestroyMicromapEXT", "vulkan") ) )(device, micromap, pAllocator); @@ -145679,9 +158879,9 @@ void IVk.DestroyOpticalFlowSessionNV( OpticalFlowSessionHandleNV, AllocationCallbacks*, void>)( - _slots[402] is not null and var loadedFnPtr + _slots[442] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[402] = nativeContext.LoadFunction( + : _slots[442] = nativeContext.LoadFunction( "vkDestroyOpticalFlowSessionNV", "vulkan" ) @@ -145779,9 +158979,9 @@ void IVk.DestroyPipeline( ) => ( (delegate* unmanaged)( - _slots[403] is not null and var loadedFnPtr + _slots[443] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[403] = nativeContext.LoadFunction("vkDestroyPipeline", "vulkan") + : _slots[443] = nativeContext.LoadFunction("vkDestroyPipeline", "vulkan") ) )(device, pipeline, pAllocator); @@ -145886,6 +159086,7 @@ Ref pAllocator "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -145903,9 +159104,9 @@ void IVk.DestroyPipelineBinaryKHR( PipelineBinaryHandleKHR, AllocationCallbacks*, void>)( - _slots[404] is not null and var loadedFnPtr + _slots[444] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[404] = nativeContext.LoadFunction( + : _slots[444] = nativeContext.LoadFunction( "vkDestroyPipelineBinaryKHR", "vulkan" ) @@ -145917,6 +159118,7 @@ _slots[404] is not null and var loadedFnPtr "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -145934,6 +159136,7 @@ public static void DestroyPipelineBinaryKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -145957,6 +159160,7 @@ Ref pAllocator "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -146000,9 +159204,9 @@ void IVk.DestroyPipelineCache( ) => ( (delegate* unmanaged)( - _slots[405] is not null and var loadedFnPtr + _slots[445] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[405] = nativeContext.LoadFunction("vkDestroyPipelineCache", "vulkan") + : _slots[445] = nativeContext.LoadFunction("vkDestroyPipelineCache", "vulkan") ) )(device, pipelineCache, pAllocator); @@ -146133,9 +159337,9 @@ void IVk.DestroyPipelineLayout( ) => ( (delegate* unmanaged)( - _slots[406] is not null and var loadedFnPtr + _slots[446] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[406] = nativeContext.LoadFunction("vkDestroyPipelineLayout", "vulkan") + : _slots[446] = nativeContext.LoadFunction("vkDestroyPipelineLayout", "vulkan") ) )(device, pipelineLayout, pAllocator); @@ -146259,9 +159463,9 @@ void IVk.DestroyPrivateDataSlot( ) => ( (delegate* unmanaged)( - _slots[407] is not null and var loadedFnPtr + _slots[447] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[407] = nativeContext.LoadFunction("vkDestroyPrivateDataSlot", "vulkan") + : _slots[447] = nativeContext.LoadFunction("vkDestroyPrivateDataSlot", "vulkan") ) )(device, privateDataSlot, pAllocator); @@ -146358,9 +159562,9 @@ void IVk.DestroyPrivateDataSlotEXT( ) => ( (delegate* unmanaged)( - _slots[408] is not null and var loadedFnPtr + _slots[448] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[408] = nativeContext.LoadFunction( + : _slots[448] = nativeContext.LoadFunction( "vkDestroyPrivateDataSlotEXT", "vulkan" ) @@ -146460,9 +159664,9 @@ void IVk.DestroyQueryPool( ) => ( (delegate* unmanaged)( - _slots[409] is not null and var loadedFnPtr + _slots[449] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[409] = nativeContext.LoadFunction("vkDestroyQueryPool", "vulkan") + : _slots[449] = nativeContext.LoadFunction("vkDestroyQueryPool", "vulkan") ) )(device, queryPool, pAllocator); @@ -146603,9 +159807,9 @@ void IVk.DestroyRenderPass( ) => ( (delegate* unmanaged)( - _slots[410] is not null and var loadedFnPtr + _slots[450] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[410] = nativeContext.LoadFunction("vkDestroyRenderPass", "vulkan") + : _slots[450] = nativeContext.LoadFunction("vkDestroyRenderPass", "vulkan") ) )(device, renderPass, pAllocator); @@ -146721,9 +159925,9 @@ void IVk.DestroySampler( ) => ( (delegate* unmanaged)( - _slots[411] is not null and var loadedFnPtr + _slots[451] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[411] = nativeContext.LoadFunction("vkDestroySampler", "vulkan") + : _slots[451] = nativeContext.LoadFunction("vkDestroySampler", "vulkan") ) )(device, sampler, pAllocator); @@ -146855,9 +160059,9 @@ void IVk.DestroySamplerYcbcrConversion( SamplerYcbcrConversionHandle, AllocationCallbacks*, void>)( - _slots[412] is not null and var loadedFnPtr + _slots[452] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[412] = nativeContext.LoadFunction( + : _slots[452] = nativeContext.LoadFunction( "vkDestroySamplerYcbcrConversion", "vulkan" ) @@ -146973,9 +160177,9 @@ void IVk.DestroySamplerYcbcrConversionKHR( SamplerYcbcrConversionHandle, AllocationCallbacks*, void>)( - _slots[413] is not null and var loadedFnPtr + _slots[453] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[413] = nativeContext.LoadFunction( + : _slots[453] = nativeContext.LoadFunction( "vkDestroySamplerYcbcrConversionKHR", "vulkan" ) @@ -147075,9 +160279,9 @@ void IVk.DestroySemaphore( ) => ( (delegate* unmanaged)( - _slots[414] is not null and var loadedFnPtr + _slots[454] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[414] = nativeContext.LoadFunction("vkDestroySemaphore", "vulkan") + : _slots[454] = nativeContext.LoadFunction("vkDestroySemaphore", "vulkan") ) )(device, semaphore, pAllocator); @@ -147211,9 +160415,9 @@ void IVk.DestroyShaderEXT( ) => ( (delegate* unmanaged)( - _slots[415] is not null and var loadedFnPtr + _slots[455] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[415] = nativeContext.LoadFunction("vkDestroyShaderEXT", "vulkan") + : _slots[455] = nativeContext.LoadFunction("vkDestroyShaderEXT", "vulkan") ) )(device, shader, pAllocator); @@ -147277,6 +160481,94 @@ public static void DestroyShaderEXT( Ref pAllocator ) => ThisThread.DestroyShaderEXT(device, shader, pAllocator); + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + AllocationCallbacks* pAllocator + ) => + ( + (delegate* unmanaged< + DeviceHandle, + ShaderInstrumentationHandleARM, + AllocationCallbacks*, + void>)( + _slots[456] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[456] = nativeContext.LoadFunction( + "vkDestroyShaderInstrumentationARM", + "vulkan" + ) + ) + )(device, instrumentation, pAllocator); + + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + AllocationCallbacks* pAllocator + ) => ThisThread.DestroyShaderInstrumentationARM(device, instrumentation, pAllocator); + + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pAllocator + ) + { + fixed (AllocationCallbacks* __dsl_pAllocator = pAllocator) + { + ((IVk)this).DestroyShaderInstrumentationARM(device, instrumentation, __dsl_pAllocator); + } + } + + [NativeName("vkDestroyShaderInstrumentationARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkDestroyShaderInstrumentationARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DestroyShaderInstrumentationARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pAllocator + ) => ThisThread.DestroyShaderInstrumentationARM(device, instrumentation, pAllocator); + [NativeName("vkDestroyShaderModule")] [SupportedApiProfile( "vulkan", @@ -147308,9 +160600,9 @@ void IVk.DestroyShaderModule( ) => ( (delegate* unmanaged)( - _slots[416] is not null and var loadedFnPtr + _slots[457] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[416] = nativeContext.LoadFunction("vkDestroyShaderModule", "vulkan") + : _slots[457] = nativeContext.LoadFunction("vkDestroyShaderModule", "vulkan") ) )(device, shaderModule, pAllocator); @@ -147421,9 +160713,9 @@ void IVk.DestroySurfaceKHR( ) => ( (delegate* unmanaged)( - _slots[417] is not null and var loadedFnPtr + _slots[458] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[417] = nativeContext.LoadFunction("vkDestroySurfaceKHR", "vulkan") + : _slots[458] = nativeContext.LoadFunction("vkDestroySurfaceKHR", "vulkan") ) )(instance, surface, pAllocator); @@ -147474,9 +160766,9 @@ void IVk.DestroySwapchainKHR( ) => ( (delegate* unmanaged)( - _slots[418] is not null and var loadedFnPtr + _slots[459] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[418] = nativeContext.LoadFunction("vkDestroySwapchainKHR", "vulkan") + : _slots[459] = nativeContext.LoadFunction("vkDestroySwapchainKHR", "vulkan") ) )(device, swapchain, pAllocator); @@ -147527,9 +160819,9 @@ void IVk.DestroyTensorARM( ) => ( (delegate* unmanaged)( - _slots[419] is not null and var loadedFnPtr + _slots[460] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[419] = nativeContext.LoadFunction("vkDestroyTensorARM", "vulkan") + : _slots[460] = nativeContext.LoadFunction("vkDestroyTensorARM", "vulkan") ) )(device, tensor, pAllocator); @@ -147580,9 +160872,9 @@ void IVk.DestroyTensorViewARM( ) => ( (delegate* unmanaged)( - _slots[420] is not null and var loadedFnPtr + _slots[461] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[420] = nativeContext.LoadFunction("vkDestroyTensorViewARM", "vulkan") + : _slots[461] = nativeContext.LoadFunction("vkDestroyTensorViewARM", "vulkan") ) )(device, tensorView, pAllocator); @@ -147637,9 +160929,9 @@ void IVk.DestroyValidationCacheEXT( ValidationCacheHandleEXT, AllocationCallbacks*, void>)( - _slots[421] is not null and var loadedFnPtr + _slots[462] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[421] = nativeContext.LoadFunction( + : _slots[462] = nativeContext.LoadFunction( "vkDestroyValidationCacheEXT", "vulkan" ) @@ -147697,9 +160989,9 @@ void IVk.DestroyVideoSessionKHR( ) => ( (delegate* unmanaged)( - _slots[422] is not null and var loadedFnPtr + _slots[463] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[422] = nativeContext.LoadFunction("vkDestroyVideoSessionKHR", "vulkan") + : _slots[463] = nativeContext.LoadFunction("vkDestroyVideoSessionKHR", "vulkan") ) )(device, videoSession, pAllocator); @@ -147770,9 +161062,9 @@ void IVk.DestroyVideoSessionParametersKHR( VideoSessionParametersHandleKHR, AllocationCallbacks*, void>)( - _slots[423] is not null and var loadedFnPtr + _slots[464] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[423] = nativeContext.LoadFunction( + : _slots[464] = nativeContext.LoadFunction( "vkDestroyVideoSessionParametersKHR", "vulkan" ) @@ -147863,9 +161155,9 @@ Ref pAllocator Result IVk.DeviceWaitIdle(DeviceHandle device) => ( (delegate* unmanaged)( - _slots[424] is not null and var loadedFnPtr + _slots[465] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[424] = nativeContext.LoadFunction("vkDeviceWaitIdle", "vulkan") + : _slots[465] = nativeContext.LoadFunction("vkDeviceWaitIdle", "vulkan") ) )(device); @@ -147915,9 +161207,9 @@ Result IVk.DisplayPowerControlEXT( ) => ( (delegate* unmanaged)( - _slots[425] is not null and var loadedFnPtr + _slots[466] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[425] = nativeContext.LoadFunction("vkDisplayPowerControlEXT", "vulkan") + : _slots[466] = nativeContext.LoadFunction("vkDisplayPowerControlEXT", "vulkan") ) )(device, display, pDisplayPowerInfo); @@ -148002,9 +161294,9 @@ Ref pDisplayPowerInfo Result IVk.EndCommandBuffer(CommandBufferHandle commandBuffer) => ( (delegate* unmanaged)( - _slots[426] is not null and var loadedFnPtr + _slots[467] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[426] = nativeContext.LoadFunction("vkEndCommandBuffer", "vulkan") + : _slots[467] = nativeContext.LoadFunction("vkEndCommandBuffer", "vulkan") ) )(commandBuffer); @@ -148082,9 +161374,9 @@ Result IVk.EnumerateDeviceExtensionProperties( uint*, ExtensionProperties*, Result>)( - _slots[427] is not null and var loadedFnPtr + _slots[468] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[427] = nativeContext.LoadFunction( + : _slots[468] = nativeContext.LoadFunction( "vkEnumerateDeviceExtensionProperties", "vulkan" ) @@ -148261,9 +161553,9 @@ Result IVk.EnumerateDeviceLayerProperties( ) => ( (delegate* unmanaged)( - _slots[428] is not null and var loadedFnPtr + _slots[469] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[428] = nativeContext.LoadFunction( + : _slots[469] = nativeContext.LoadFunction( "vkEnumerateDeviceLayerProperties", "vulkan" ) @@ -148423,9 +161715,9 @@ Result IVk.EnumerateInstanceExtensionProperties( ) => ( (delegate* unmanaged)( - _slots[429] is not null and var loadedFnPtr + _slots[470] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[429] = nativeContext.LoadFunction( + : _slots[470] = nativeContext.LoadFunction( "vkEnumerateInstanceExtensionProperties", "vulkan" ) @@ -148585,9 +161877,9 @@ Result IVk.EnumerateInstanceLayerProperties( ) => ( (delegate* unmanaged)( - _slots[430] is not null and var loadedFnPtr + _slots[471] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[430] = nativeContext.LoadFunction( + : _slots[471] = nativeContext.LoadFunction( "vkEnumerateInstanceLayerProperties", "vulkan" ) @@ -148735,9 +162027,9 @@ Ref pProperties Result IVk.EnumerateInstanceVersion(uint* pApiVersion) => ( (delegate* unmanaged)( - _slots[431] is not null and var loadedFnPtr + _slots[472] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[431] = nativeContext.LoadFunction( + : _slots[472] = nativeContext.LoadFunction( "vkEnumerateInstanceVersion", "vulkan" ) @@ -148865,9 +162157,9 @@ Result IVk.EnumeratePhysicalDeviceGroups( ) => ( (delegate* unmanaged)( - _slots[432] is not null and var loadedFnPtr + _slots[473] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[432] = nativeContext.LoadFunction( + : _slots[473] = nativeContext.LoadFunction( "vkEnumeratePhysicalDeviceGroups", "vulkan" ) @@ -149003,9 +162295,9 @@ Result IVk.EnumeratePhysicalDeviceGroupsKHR( ) => ( (delegate* unmanaged)( - _slots[433] is not null and var loadedFnPtr + _slots[474] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[433] = nativeContext.LoadFunction( + : _slots[474] = nativeContext.LoadFunction( "vkEnumeratePhysicalDeviceGroupsKHR", "vulkan" ) @@ -149096,9 +162388,9 @@ Result IVk.EnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM( PerformanceCounterARM*, PerformanceCounterDescriptionARM*, Result>)( - _slots[434] is not null and var loadedFnPtr + _slots[475] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[434] = nativeContext.LoadFunction( + : _slots[475] = nativeContext.LoadFunction( "vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM", "vulkan" ) @@ -149229,9 +162521,9 @@ Result IVk.EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( PerformanceCounterKHR*, PerformanceCounterDescriptionKHR*, Result>)( - _slots[435] is not null and var loadedFnPtr + _slots[476] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[435] = nativeContext.LoadFunction( + : _slots[476] = nativeContext.LoadFunction( "vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR", "vulkan" ) @@ -149369,9 +162661,9 @@ Result IVk.EnumeratePhysicalDevices( ) => ( (delegate* unmanaged)( - _slots[436] is not null and var loadedFnPtr + _slots[477] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[436] = nativeContext.LoadFunction( + : _slots[477] = nativeContext.LoadFunction( "vkEnumeratePhysicalDevices", "vulkan" ) @@ -149495,6 +162787,122 @@ public static Result EnumeratePhysicalDevices( Ref pPhysicalDevices ) => ThisThread.EnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices); + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" + )] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + uint* pDescriptionCount, + ShaderInstrumentationMetricDescriptionARM* pDescriptions + ) => + ( + (delegate* unmanaged< + PhysicalDeviceHandle, + uint*, + ShaderInstrumentationMetricDescriptionARM*, + Result>)( + _slots[478] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[478] = nativeContext.LoadFunction( + "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM", + "vulkan" + ) + ) + )(physicalDevice, pDescriptionCount, pDescriptions); + + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" + )] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + uint* pDescriptionCount, + ShaderInstrumentationMetricDescriptionARM* pDescriptions + ) => + ThisThread.EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + physicalDevice, + pDescriptionCount, + pDescriptions + ); + + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" + )] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + Ref pDescriptionCount, + Ref pDescriptions + ) + { + fixed (ShaderInstrumentationMetricDescriptionARM* __dsl_pDescriptions = pDescriptions) + fixed (uint* __dsl_pDescriptionCount = pDescriptionCount) + { + return (Result) + ((IVk)this).EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + physicalDevice, + __dsl_pDescriptionCount, + __dsl_pDescriptions + ); + } + } + + [NativeName("vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM" + )] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + PhysicalDeviceHandle physicalDevice, + Ref pDescriptionCount, + Ref pDescriptions + ) => + ThisThread.EnumeratePhysicalDeviceShaderInstrumentationMetricsARM( + physicalDevice, + pDescriptionCount, + pDescriptions + ); + [NativeName("vkFlushMappedMemoryRanges")] [SupportedApiProfile( "vulkan", @@ -149531,9 +162939,9 @@ Result IVk.FlushMappedMemoryRanges( ) => ( (delegate* unmanaged)( - _slots[437] is not null and var loadedFnPtr + _slots[479] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[437] = nativeContext.LoadFunction( + : _slots[479] = nativeContext.LoadFunction( "vkFlushMappedMemoryRanges", "vulkan" ) @@ -149770,9 +163178,9 @@ void IVk.FreeCommandBuffers( uint, CommandBufferHandle*, void>)( - _slots[438] is not null and var loadedFnPtr + _slots[480] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[438] = nativeContext.LoadFunction("vkFreeCommandBuffers", "vulkan") + : _slots[480] = nativeContext.LoadFunction("vkFreeCommandBuffers", "vulkan") ) )(device, commandPool, commandBufferCount, pCommandBuffers); @@ -149932,9 +163340,9 @@ Result IVk.FreeDescriptorSets( uint, DescriptorSetHandle*, Result>)( - _slots[439] is not null and var loadedFnPtr + _slots[481] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[439] = nativeContext.LoadFunction("vkFreeDescriptorSets", "vulkan") + : _slots[481] = nativeContext.LoadFunction("vkFreeDescriptorSets", "vulkan") ) )(device, descriptorPool, descriptorSetCount, pDescriptorSets); @@ -150079,9 +163487,9 @@ void IVk.FreeMemory( ) => ( (delegate* unmanaged)( - _slots[440] is not null and var loadedFnPtr + _slots[482] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[440] = nativeContext.LoadFunction("vkFreeMemory", "vulkan") + : _slots[482] = nativeContext.LoadFunction("vkFreeMemory", "vulkan") ) )(device, memory, pAllocator); @@ -150222,9 +163630,9 @@ void IVk.GetAccelerationStructureBuildSizesKHR( uint*, AccelerationStructureBuildSizesInfoKHR*, void>)( - _slots[441] is not null and var loadedFnPtr + _slots[483] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[441] = nativeContext.LoadFunction( + : _slots[483] = nativeContext.LoadFunction( "vkGetAccelerationStructureBuildSizesKHR", "vulkan" ) @@ -150333,9 +163741,9 @@ ulong IVk.GetAccelerationStructureDeviceAddressKHR( ) => ( (delegate* unmanaged)( - _slots[442] is not null and var loadedFnPtr + _slots[484] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[442] = nativeContext.LoadFunction( + : _slots[484] = nativeContext.LoadFunction( "vkGetAccelerationStructureDeviceAddressKHR", "vulkan" ) @@ -150420,9 +163828,9 @@ Result IVk.GetAccelerationStructureHandleNV( nuint, void*, Result>)( - _slots[443] is not null and var loadedFnPtr + _slots[485] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[443] = nativeContext.LoadFunction( + : _slots[485] = nativeContext.LoadFunction( "vkGetAccelerationStructureHandleNV", "vulkan" ) @@ -150519,9 +163927,9 @@ void IVk.GetAccelerationStructureMemoryRequirementsNV( AccelerationStructureMemoryRequirementsInfoNV*, MemoryRequirements2*, void>)( - _slots[444] is not null and var loadedFnPtr + _slots[486] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[444] = nativeContext.LoadFunction( + : _slots[486] = nativeContext.LoadFunction( "vkGetAccelerationStructureMemoryRequirementsNV", "vulkan" ) @@ -150622,9 +164030,9 @@ Result IVk.GetAccelerationStructureOpaqueCaptureDescriptorDataEXT( AccelerationStructureCaptureDescriptorDataInfoEXT*, void*, Result>)( - _slots[445] is not null and var loadedFnPtr + _slots[487] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[445] = nativeContext.LoadFunction( + : _slots[487] = nativeContext.LoadFunction( "vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT", "vulkan" ) @@ -150742,9 +164150,9 @@ Ref pData ulong IVk.GetBufferDeviceAddress(DeviceHandle device, BufferDeviceAddressInfo* pInfo) => ( (delegate* unmanaged)( - _slots[446] is not null and var loadedFnPtr + _slots[488] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[446] = nativeContext.LoadFunction("vkGetBufferDeviceAddress", "vulkan") + : _slots[488] = nativeContext.LoadFunction("vkGetBufferDeviceAddress", "vulkan") ) )(device, pInfo); @@ -150843,9 +164251,9 @@ Ref pInfo ulong IVk.GetBufferDeviceAddressEXT(DeviceHandle device, BufferDeviceAddressInfo* pInfo) => ( (delegate* unmanaged)( - _slots[447] is not null and var loadedFnPtr + _slots[489] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[447] = nativeContext.LoadFunction( + : _slots[489] = nativeContext.LoadFunction( "vkGetBufferDeviceAddressEXT", "vulkan" ) @@ -150917,9 +164325,9 @@ Ref pInfo ulong IVk.GetBufferDeviceAddressKHR(DeviceHandle device, BufferDeviceAddressInfo* pInfo) => ( (delegate* unmanaged)( - _slots[448] is not null and var loadedFnPtr + _slots[490] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[448] = nativeContext.LoadFunction( + : _slots[490] = nativeContext.LoadFunction( "vkGetBufferDeviceAddressKHR", "vulkan" ) @@ -151013,9 +164421,9 @@ void IVk.GetBufferMemoryRequirements( ) => ( (delegate* unmanaged)( - _slots[449] is not null and var loadedFnPtr + _slots[491] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[449] = nativeContext.LoadFunction( + : _slots[491] = nativeContext.LoadFunction( "vkGetBufferMemoryRequirements", "vulkan" ) @@ -151169,9 +164577,9 @@ void IVk.GetBufferMemoryRequirements2( BufferMemoryRequirementsInfo2*, MemoryRequirements2*, void>)( - _slots[450] is not null and var loadedFnPtr + _slots[492] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[450] = nativeContext.LoadFunction( + : _slots[492] = nativeContext.LoadFunction( "vkGetBufferMemoryRequirements2", "vulkan" ) @@ -151297,9 +164705,9 @@ void IVk.GetBufferMemoryRequirements2KHR( BufferMemoryRequirementsInfo2*, MemoryRequirements2*, void>)( - _slots[451] is not null and var loadedFnPtr + _slots[493] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[451] = nativeContext.LoadFunction( + : _slots[493] = nativeContext.LoadFunction( "vkGetBufferMemoryRequirements2KHR", "vulkan" ) @@ -151371,9 +164779,9 @@ Ref pMemoryRequirements ulong IVk.GetBufferOpaqueCaptureAddress(DeviceHandle device, BufferDeviceAddressInfo* pInfo) => ( (delegate* unmanaged)( - _slots[452] is not null and var loadedFnPtr + _slots[494] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[452] = nativeContext.LoadFunction( + : _slots[494] = nativeContext.LoadFunction( "vkGetBufferOpaqueCaptureAddress", "vulkan" ) @@ -151478,9 +164886,9 @@ ulong IVk.GetBufferOpaqueCaptureAddressKHR( ) => ( (delegate* unmanaged)( - _slots[453] is not null and var loadedFnPtr + _slots[495] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[453] = nativeContext.LoadFunction( + : _slots[495] = nativeContext.LoadFunction( "vkGetBufferOpaqueCaptureAddressKHR", "vulkan" ) @@ -151561,9 +164969,9 @@ Result IVk.GetBufferOpaqueCaptureDescriptorDataEXT( ) => ( (delegate* unmanaged)( - _slots[454] is not null and var loadedFnPtr + _slots[496] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[454] = nativeContext.LoadFunction( + : _slots[496] = nativeContext.LoadFunction( "vkGetBufferOpaqueCaptureDescriptorDataEXT", "vulkan" ) @@ -151665,9 +165073,9 @@ Result IVk.GetCalibratedTimestampsEXT( ulong*, ulong*, Result>)( - _slots[455] is not null and var loadedFnPtr + _slots[497] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[455] = nativeContext.LoadFunction( + : _slots[497] = nativeContext.LoadFunction( "vkGetCalibratedTimestampsEXT", "vulkan" ) @@ -151786,9 +165194,9 @@ Result IVk.GetCalibratedTimestampsKHR( ulong*, ulong*, Result>)( - _slots[456] is not null and var loadedFnPtr + _slots[498] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[456] = nativeContext.LoadFunction( + : _slots[498] = nativeContext.LoadFunction( "vkGetCalibratedTimestampsKHR", "vulkan" ) @@ -151900,9 +165308,9 @@ void IVk.GetClusterAccelerationStructureBuildSizesNV( ClusterAccelerationStructureInputInfoNV*, AccelerationStructureBuildSizesInfoKHR*, void>)( - _slots[457] is not null and var loadedFnPtr + _slots[499] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[457] = nativeContext.LoadFunction( + : _slots[499] = nativeContext.LoadFunction( "vkGetClusterAccelerationStructureBuildSizesNV", "vulkan" ) @@ -151966,7 +165374,10 @@ Ref pSizeInfo [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -151983,9 +165394,9 @@ Result IVk.GetDataGraphPipelineAvailablePropertiesARM( uint*, DataGraphPipelinePropertyARM*, Result>)( - _slots[458] is not null and var loadedFnPtr + _slots[500] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[458] = nativeContext.LoadFunction( + : _slots[500] = nativeContext.LoadFunction( "vkGetDataGraphPipelineAvailablePropertiesARM", "vulkan" ) @@ -151996,7 +165407,10 @@ _slots[458] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152017,7 +165431,10 @@ public static Result GetDataGraphPipelineAvailablePropertiesARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152046,7 +165463,10 @@ Ref pProperties [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineAvailablePropertiesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152067,7 +165487,10 @@ Ref pProperties [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152084,9 +165507,9 @@ Result IVk.GetDataGraphPipelinePropertiesARM( uint, DataGraphPipelinePropertyQueryResultARM*, Result>)( - _slots[459] is not null and var loadedFnPtr + _slots[501] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[459] = nativeContext.LoadFunction( + : _slots[501] = nativeContext.LoadFunction( "vkGetDataGraphPipelinePropertiesARM", "vulkan" ) @@ -152097,7 +165520,10 @@ _slots[459] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152118,7 +165544,10 @@ public static Result GetDataGraphPipelinePropertiesARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152146,7 +165575,10 @@ Ref pProperties [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelinePropertiesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152167,7 +165599,10 @@ Ref pProperties [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152184,9 +165619,9 @@ Result IVk.GetDataGraphPipelineSessionBindPointRequirementsARM( uint*, DataGraphPipelineSessionBindPointRequirementARM*, Result>)( - _slots[460] is not null and var loadedFnPtr + _slots[502] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[460] = nativeContext.LoadFunction( + : _slots[502] = nativeContext.LoadFunction( "vkGetDataGraphPipelineSessionBindPointRequirementsARM", "vulkan" ) @@ -152197,7 +165632,10 @@ _slots[460] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152218,7 +165656,10 @@ public static Result GetDataGraphPipelineSessionBindPointRequirementsARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152250,7 +165691,10 @@ Ref pBindPointRequirements [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineSessionBindPointRequirementsARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152271,7 +165715,10 @@ Ref pBindPointRequirements [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineSessionMemoryRequirementsARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152286,9 +165733,9 @@ void IVk.GetDataGraphPipelineSessionMemoryRequirementsARM( DataGraphPipelineSessionMemoryRequirementsInfoARM*, MemoryRequirements2*, void>)( - _slots[461] is not null and var loadedFnPtr + _slots[503] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[461] = nativeContext.LoadFunction( + : _slots[503] = nativeContext.LoadFunction( "vkGetDataGraphPipelineSessionMemoryRequirementsARM", "vulkan" ) @@ -152299,7 +165746,10 @@ _slots[461] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineSessionMemoryRequirementsARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152318,7 +165768,10 @@ public static void GetDataGraphPipelineSessionMemoryRequirementsARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineSessionMemoryRequirementsARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152343,7 +165796,10 @@ Ref pMemoryRequirements [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetDataGraphPipelineSessionMemoryRequirementsARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -152368,9 +165824,9 @@ DeferredOperationHandleKHR operation ) => ( (delegate* unmanaged)( - _slots[462] is not null and var loadedFnPtr + _slots[504] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[462] = nativeContext.LoadFunction( + : _slots[504] = nativeContext.LoadFunction( "vkGetDeferredOperationMaxConcurrencyKHR", "vulkan" ) @@ -152396,9 +165852,9 @@ DeferredOperationHandleKHR operation ) => ( (delegate* unmanaged)( - _slots[463] is not null and var loadedFnPtr + _slots[505] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[463] = nativeContext.LoadFunction( + : _slots[505] = nativeContext.LoadFunction( "vkGetDeferredOperationResultKHR", "vulkan" ) @@ -152435,9 +165891,9 @@ void IVk.GetDescriptorEXT( ) => ( (delegate* unmanaged)( - _slots[464] is not null and var loadedFnPtr + _slots[506] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[464] = nativeContext.LoadFunction("vkGetDescriptorEXT", "vulkan") + : _slots[506] = nativeContext.LoadFunction("vkGetDescriptorEXT", "vulkan") ) )(device, pDescriptorInfo, dataSize, pDescriptor); @@ -152531,9 +165987,9 @@ void IVk.GetDescriptorSetHostMappingVALVE( ) => ( (delegate* unmanaged)( - _slots[465] is not null and var loadedFnPtr + _slots[507] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[465] = nativeContext.LoadFunction( + : _slots[507] = nativeContext.LoadFunction( "vkGetDescriptorSetHostMappingVALVE", "vulkan" ) @@ -152618,9 +166074,9 @@ void IVk.GetDescriptorSetLayoutBindingOffsetEXT( ) => ( (delegate* unmanaged)( - _slots[466] is not null and var loadedFnPtr + _slots[508] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[466] = nativeContext.LoadFunction( + : _slots[508] = nativeContext.LoadFunction( "vkGetDescriptorSetLayoutBindingOffsetEXT", "vulkan" ) @@ -152720,9 +166176,9 @@ void IVk.GetDescriptorSetLayoutHostMappingInfoVALVE( DescriptorSetBindingReferenceVALVE*, DescriptorSetLayoutHostMappingInfoVALVE*, void>)( - _slots[467] is not null and var loadedFnPtr + _slots[509] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[467] = nativeContext.LoadFunction( + : _slots[509] = nativeContext.LoadFunction( "vkGetDescriptorSetLayoutHostMappingInfoVALVE", "vulkan" ) @@ -152821,9 +166277,9 @@ void IVk.GetDescriptorSetLayoutSizeEXT( ) => ( (delegate* unmanaged)( - _slots[468] is not null and var loadedFnPtr + _slots[510] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[468] = nativeContext.LoadFunction( + : _slots[510] = nativeContext.LoadFunction( "vkGetDescriptorSetLayoutSizeEXT", "vulkan" ) @@ -152925,9 +166381,9 @@ void IVk.GetDescriptorSetLayoutSupport( DescriptorSetLayoutCreateInfo*, DescriptorSetLayoutSupport*, void>)( - _slots[469] is not null and var loadedFnPtr + _slots[511] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[469] = nativeContext.LoadFunction( + : _slots[511] = nativeContext.LoadFunction( "vkGetDescriptorSetLayoutSupport", "vulkan" ) @@ -153044,9 +166500,9 @@ void IVk.GetDescriptorSetLayoutSupportKHR( DescriptorSetLayoutCreateInfo*, DescriptorSetLayoutSupport*, void>)( - _slots[470] is not null and var loadedFnPtr + _slots[512] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[470] = nativeContext.LoadFunction( + : _slots[512] = nativeContext.LoadFunction( "vkGetDescriptorSetLayoutSupportKHR", "vulkan" ) @@ -153133,9 +166589,9 @@ void IVk.GetDeviceAccelerationStructureCompatibilityKHR( AccelerationStructureVersionInfoKHR*, AccelerationStructureCompatibilityKHR*, void>)( - _slots[471] is not null and var loadedFnPtr + _slots[513] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[471] = nativeContext.LoadFunction( + : _slots[513] = nativeContext.LoadFunction( "vkGetDeviceAccelerationStructureCompatibilityKHR", "vulkan" ) @@ -153242,9 +166698,9 @@ void IVk.GetDeviceBufferMemoryRequirements( DeviceBufferMemoryRequirements*, MemoryRequirements2*, void>)( - _slots[472] is not null and var loadedFnPtr + _slots[514] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[472] = nativeContext.LoadFunction( + : _slots[514] = nativeContext.LoadFunction( "vkGetDeviceBufferMemoryRequirements", "vulkan" ) @@ -153346,9 +166802,9 @@ void IVk.GetDeviceBufferMemoryRequirementsKHR( DeviceBufferMemoryRequirements*, MemoryRequirements2*, void>)( - _slots[473] is not null and var loadedFnPtr + _slots[515] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[473] = nativeContext.LoadFunction( + : _slots[515] = nativeContext.LoadFunction( "vkGetDeviceBufferMemoryRequirementsKHR", "vulkan" ) @@ -153396,6 +166852,116 @@ public static void GetDeviceBufferMemoryRequirementsKHR( Ref pMemoryRequirements ) => ThisThread.GetDeviceBufferMemoryRequirementsKHR(device, pInfo, pMemoryRequirements); + [NativeName("vkGetDeviceCombinedImageSamplerIndexNVX")] + [SupportedApiProfile("vulkan", ["VK_NVX_image_view_handle"])] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceCombinedImageSamplerIndexNVX")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ulong IVk.GetDeviceCombinedImageSamplerIndexNVX( + DeviceHandle device, + ulong imageViewIndex, + ulong samplerIndex + ) => + ( + (delegate* unmanaged)( + _slots[516] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[516] = nativeContext.LoadFunction( + "vkGetDeviceCombinedImageSamplerIndexNVX", + "vulkan" + ) + ) + )(device, imageViewIndex, samplerIndex); + + [NativeName("vkGetDeviceCombinedImageSamplerIndexNVX")] + [SupportedApiProfile("vulkan", ["VK_NVX_image_view_handle"])] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceCombinedImageSamplerIndexNVX")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ulong GetDeviceCombinedImageSamplerIndexNVX( + DeviceHandle device, + ulong imageViewIndex, + ulong samplerIndex + ) => ThisThread.GetDeviceCombinedImageSamplerIndexNVX(device, imageViewIndex, samplerIndex); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetDeviceFaultDebugInfoKHR( + DeviceHandle device, + DeviceFaultDebugInfoKHR* pDebugInfo + ) => + ( + (delegate* unmanaged)( + _slots[517] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[517] = nativeContext.LoadFunction( + "vkGetDeviceFaultDebugInfoKHR", + "vulkan" + ) + ) + )(device, pDebugInfo); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetDeviceFaultDebugInfoKHR( + DeviceHandle device, + DeviceFaultDebugInfoKHR* pDebugInfo + ) => ThisThread.GetDeviceFaultDebugInfoKHR(device, pDebugInfo); + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetDeviceFaultDebugInfoKHR( + DeviceHandle device, + Ref pDebugInfo + ) + { + fixed (DeviceFaultDebugInfoKHR* __dsl_pDebugInfo = pDebugInfo) + { + return (Result)((IVk)this).GetDeviceFaultDebugInfoKHR(device, __dsl_pDebugInfo); + } + } + + [NativeName("vkGetDeviceFaultDebugInfoKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultDebugInfoKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetDeviceFaultDebugInfoKHR( + DeviceHandle device, + Ref pDebugInfo + ) => ThisThread.GetDeviceFaultDebugInfoKHR(device, pDebugInfo); + [NativeName("vkGetDeviceFaultInfoEXT")] [SupportedApiProfile( "vulkan", @@ -153414,9 +166980,9 @@ Result IVk.GetDeviceFaultInfoEXT( ) => ( (delegate* unmanaged)( - _slots[474] is not null and var loadedFnPtr + _slots[518] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[474] = nativeContext.LoadFunction("vkGetDeviceFaultInfoEXT", "vulkan") + : _slots[518] = nativeContext.LoadFunction("vkGetDeviceFaultInfoEXT", "vulkan") ) )(device, pFaultCounts, pFaultInfo); @@ -153479,6 +167045,101 @@ public static Result GetDeviceFaultInfoEXT( Ref pFaultInfo ) => ThisThread.GetDeviceFaultInfoEXT(device, pFaultCounts, pFaultInfo); + [NativeName("vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + uint* pFaultCounts, + DeviceFaultInfoKHR* pFaultInfo + ) => + ( + (delegate* unmanaged)( + _slots[519] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[519] = nativeContext.LoadFunction( + "vkGetDeviceFaultReportsKHR", + "vulkan" + ) + ) + )(device, timeout, pFaultCounts, pFaultInfo); + + [NativeName("vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + uint* pFaultCounts, + DeviceFaultInfoKHR* pFaultInfo + ) => ThisThread.GetDeviceFaultReportsKHR(device, timeout, pFaultCounts, pFaultInfo); + + [NativeName("vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + Ref pFaultCounts, + Ref pFaultInfo + ) + { + fixed (DeviceFaultInfoKHR* __dsl_pFaultInfo = pFaultInfo) + fixed (uint* __dsl_pFaultCounts = pFaultCounts) + { + return (Result) + ((IVk)this).GetDeviceFaultReportsKHR( + device, + timeout, + __dsl_pFaultCounts, + __dsl_pFaultInfo + ); + } + } + + [NativeName("vkGetDeviceFaultReportsKHR")] + [SupportedApiProfile( + "vulkan", + ["VK_KHR_device_fault"], + ImpliesSets = [ + "VK_KHR_device_fault+VK_KHR_get_physical_device_properties2", + "VK_KHR_device_fault+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetDeviceFaultReportsKHR")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetDeviceFaultReportsKHR( + DeviceHandle device, + ulong timeout, + Ref pFaultCounts, + Ref pFaultInfo + ) => ThisThread.GetDeviceFaultReportsKHR(device, timeout, pFaultCounts, pFaultInfo); + [NativeName("vkGetDeviceGroupPeerMemoryFeatures")] [SupportedApiProfile( "vulkan", @@ -153513,9 +167174,9 @@ void IVk.GetDeviceGroupPeerMemoryFeatures( ) => ( (delegate* unmanaged)( - _slots[475] is not null and var loadedFnPtr + _slots[520] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[475] = nativeContext.LoadFunction( + : _slots[520] = nativeContext.LoadFunction( "vkGetDeviceGroupPeerMemoryFeatures", "vulkan" ) @@ -153664,9 +167325,9 @@ void IVk.GetDeviceGroupPeerMemoryFeaturesKHR( ) => ( (delegate* unmanaged)( - _slots[476] is not null and var loadedFnPtr + _slots[521] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[476] = nativeContext.LoadFunction( + : _slots[521] = nativeContext.LoadFunction( "vkGetDeviceGroupPeerMemoryFeaturesKHR", "vulkan" ) @@ -153762,9 +167423,9 @@ Result IVk.GetDeviceGroupPresentCapabilitiesKHR( ) => ( (delegate* unmanaged)( - _slots[477] is not null and var loadedFnPtr + _slots[522] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[477] = nativeContext.LoadFunction( + : _slots[522] = nativeContext.LoadFunction( "vkGetDeviceGroupPresentCapabilitiesKHR", "vulkan" ) @@ -153846,9 +167507,9 @@ Result IVk.GetDeviceGroupSurfacePresentModesKHR( SurfaceHandleKHR, DeviceGroupPresentModeFlagsKHR*, Result>)( - _slots[478] is not null and var loadedFnPtr + _slots[523] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[478] = nativeContext.LoadFunction( + : _slots[523] = nativeContext.LoadFunction( "vkGetDeviceGroupSurfacePresentModesKHR", "vulkan" ) @@ -153935,9 +167596,9 @@ void IVk.GetDeviceImageMemoryRequirements( DeviceImageMemoryRequirements*, MemoryRequirements2*, void>)( - _slots[479] is not null and var loadedFnPtr + _slots[524] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[479] = nativeContext.LoadFunction( + : _slots[524] = nativeContext.LoadFunction( "vkGetDeviceImageMemoryRequirements", "vulkan" ) @@ -154039,9 +167700,9 @@ void IVk.GetDeviceImageMemoryRequirementsKHR( DeviceImageMemoryRequirements*, MemoryRequirements2*, void>)( - _slots[480] is not null and var loadedFnPtr + _slots[525] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[480] = nativeContext.LoadFunction( + : _slots[525] = nativeContext.LoadFunction( "vkGetDeviceImageMemoryRequirementsKHR", "vulkan" ) @@ -154119,9 +167780,9 @@ void IVk.GetDeviceImageSparseMemoryRequirements( uint*, SparseImageMemoryRequirements2*, void>)( - _slots[481] is not null and var loadedFnPtr + _slots[526] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[481] = nativeContext.LoadFunction( + : _slots[526] = nativeContext.LoadFunction( "vkGetDeviceImageSparseMemoryRequirements", "vulkan" ) @@ -154245,9 +167906,9 @@ void IVk.GetDeviceImageSparseMemoryRequirementsKHR( uint*, SparseImageMemoryRequirements2*, void>)( - _slots[482] is not null and var loadedFnPtr + _slots[527] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[482] = nativeContext.LoadFunction( + : _slots[527] = nativeContext.LoadFunction( "vkGetDeviceImageSparseMemoryRequirementsKHR", "vulkan" ) @@ -154339,9 +168000,9 @@ void IVk.GetDeviceImageSubresourceLayout( DeviceImageSubresourceInfo*, SubresourceLayout2*, void>)( - _slots[483] is not null and var loadedFnPtr + _slots[528] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[483] = nativeContext.LoadFunction( + : _slots[528] = nativeContext.LoadFunction( "vkGetDeviceImageSubresourceLayout", "vulkan" ) @@ -154431,9 +168092,9 @@ void IVk.GetDeviceImageSubresourceLayoutKHR( DeviceImageSubresourceInfo*, SubresourceLayout2*, void>)( - _slots[484] is not null and var loadedFnPtr + _slots[529] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[484] = nativeContext.LoadFunction( + : _slots[529] = nativeContext.LoadFunction( "vkGetDeviceImageSubresourceLayoutKHR", "vulkan" ) @@ -154525,9 +168186,9 @@ void IVk.GetDeviceMemoryCommitment( ) => ( (delegate* unmanaged)( - _slots[485] is not null and var loadedFnPtr + _slots[530] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[485] = nativeContext.LoadFunction( + : _slots[530] = nativeContext.LoadFunction( "vkGetDeviceMemoryCommitment", "vulkan" ) @@ -154672,9 +168333,9 @@ ulong IVk.GetDeviceMemoryOpaqueCaptureAddress( ) => ( (delegate* unmanaged)( - _slots[486] is not null and var loadedFnPtr + _slots[531] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[486] = nativeContext.LoadFunction( + : _slots[531] = nativeContext.LoadFunction( "vkGetDeviceMemoryOpaqueCaptureAddress", "vulkan" ) @@ -154782,9 +168443,9 @@ ulong IVk.GetDeviceMemoryOpaqueCaptureAddressKHR( ) => ( (delegate* unmanaged)( - _slots[487] is not null and var loadedFnPtr + _slots[532] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[487] = nativeContext.LoadFunction( + : _slots[532] = nativeContext.LoadFunction( "vkGetDeviceMemoryOpaqueCaptureAddressKHR", "vulkan" ) @@ -154867,9 +168528,9 @@ void IVk.GetDeviceMicromapCompatibilityEXT( MicromapVersionInfoEXT*, AccelerationStructureCompatibilityKHR*, void>)( - _slots[488] is not null and var loadedFnPtr + _slots[533] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[488] = nativeContext.LoadFunction( + : _slots[533] = nativeContext.LoadFunction( "vkGetDeviceMicromapCompatibilityEXT", "vulkan" ) @@ -154970,9 +168631,9 @@ Ref pCompatibility VoidFunction IVk.GetDeviceProcAddr(DeviceHandle device, sbyte* pName) => ( (delegate* unmanaged)( - _slots[489] is not null and var loadedFnPtr + _slots[534] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[489] = nativeContext.LoadFunction("vkGetDeviceProcAddr", "vulkan") + : _slots[534] = nativeContext.LoadFunction("vkGetDeviceProcAddr", "vulkan") ) )(device, pName); @@ -155114,9 +168775,9 @@ void IVk.GetDeviceQueue( ) => ( (delegate* unmanaged)( - _slots[490] is not null and var loadedFnPtr + _slots[535] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[490] = nativeContext.LoadFunction("vkGetDeviceQueue", "vulkan") + : _slots[535] = nativeContext.LoadFunction("vkGetDeviceQueue", "vulkan") ) )(device, queueFamilyIndex, queueIndex, pQueue); @@ -155266,9 +168927,9 @@ void IVk.GetDeviceQueue2( ) => ( (delegate* unmanaged)( - _slots[491] is not null and var loadedFnPtr + _slots[536] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[491] = nativeContext.LoadFunction("vkGetDeviceQueue2", "vulkan") + : _slots[536] = nativeContext.LoadFunction("vkGetDeviceQueue2", "vulkan") ) )(device, pQueueInfo, pQueue); @@ -155391,9 +169052,9 @@ Result IVk.GetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI( ) => ( (delegate* unmanaged)( - _slots[492] is not null and var loadedFnPtr + _slots[537] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[492] = nativeContext.LoadFunction( + : _slots[537] = nativeContext.LoadFunction( "vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI", "vulkan" ) @@ -155490,9 +169151,9 @@ void IVk.GetDeviceTensorMemoryRequirementsARM( DeviceTensorMemoryRequirementsARM*, MemoryRequirements2*, void>)( - _slots[493] is not null and var loadedFnPtr + _slots[538] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[493] = nativeContext.LoadFunction( + : _slots[538] = nativeContext.LoadFunction( "vkGetDeviceTensorMemoryRequirementsARM", "vulkan" ) @@ -155561,9 +169222,9 @@ Result IVk.GetDisplayModeProperties2KHR( uint*, DisplayModeProperties2KHR*, Result>)( - _slots[494] is not null and var loadedFnPtr + _slots[539] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[494] = nativeContext.LoadFunction( + : _slots[539] = nativeContext.LoadFunction( "vkGetDisplayModeProperties2KHR", "vulkan" ) @@ -155657,9 +169318,9 @@ Result IVk.GetDisplayModePropertiesKHR( uint*, DisplayModePropertiesKHR*, Result>)( - _slots[495] is not null and var loadedFnPtr + _slots[540] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[495] = nativeContext.LoadFunction( + : _slots[540] = nativeContext.LoadFunction( "vkGetDisplayModePropertiesKHR", "vulkan" ) @@ -155743,9 +169404,9 @@ Result IVk.GetDisplayPlaneCapabilities2KHR( DisplayPlaneInfo2KHR*, DisplayPlaneCapabilities2KHR*, Result>)( - _slots[496] is not null and var loadedFnPtr + _slots[541] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[496] = nativeContext.LoadFunction( + : _slots[541] = nativeContext.LoadFunction( "vkGetDisplayPlaneCapabilities2KHR", "vulkan" ) @@ -155833,9 +169494,9 @@ Result IVk.GetDisplayPlaneCapabilitiesKHR( uint, DisplayPlaneCapabilitiesKHR*, Result>)( - _slots[497] is not null and var loadedFnPtr + _slots[542] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[497] = nativeContext.LoadFunction( + : _slots[542] = nativeContext.LoadFunction( "vkGetDisplayPlaneCapabilitiesKHR", "vulkan" ) @@ -155899,9 +169560,9 @@ Result IVk.GetDisplayPlaneSupportedDisplaysKHR( ) => ( (delegate* unmanaged)( - _slots[498] is not null and var loadedFnPtr + _slots[543] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[498] = nativeContext.LoadFunction( + : _slots[543] = nativeContext.LoadFunction( "vkGetDisplayPlaneSupportedDisplaysKHR", "vulkan" ) @@ -155982,9 +169643,9 @@ Result IVk.GetDrmDisplayEXT( ) => ( (delegate* unmanaged)( - _slots[499] is not null and var loadedFnPtr + _slots[544] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[499] = nativeContext.LoadFunction("vkGetDrmDisplayEXT", "vulkan") + : _slots[544] = nativeContext.LoadFunction("vkGetDrmDisplayEXT", "vulkan") ) )(physicalDevice, drmFd, connectorId, display); @@ -156058,9 +169719,9 @@ Result IVk.GetDynamicRenderingTilePropertiesQCOM( ) => ( (delegate* unmanaged)( - _slots[500] is not null and var loadedFnPtr + _slots[545] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[500] = nativeContext.LoadFunction( + : _slots[545] = nativeContext.LoadFunction( "vkGetDynamicRenderingTilePropertiesQCOM", "vulkan" ) @@ -156156,9 +169817,9 @@ Result IVk.GetEncodedVideoSessionParametersKHR( nuint*, void*, Result>)( - _slots[501] is not null and var loadedFnPtr + _slots[546] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[501] = nativeContext.LoadFunction( + : _slots[546] = nativeContext.LoadFunction( "vkGetEncodedVideoSessionParametersKHR", "vulkan" ) @@ -156282,9 +169943,9 @@ Ref pData Result IVk.GetEventStatus(DeviceHandle device, EventHandle @event) => ( (delegate* unmanaged)( - _slots[502] is not null and var loadedFnPtr + _slots[547] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[502] = nativeContext.LoadFunction("vkGetEventStatus", "vulkan") + : _slots[547] = nativeContext.LoadFunction("vkGetEventStatus", "vulkan") ) )(device, @event); @@ -156330,9 +169991,9 @@ void IVk.GetExternalComputeQueueDataNV( ExternalComputeQueueDataParamsNV*, void*, void>)( - _slots[503] is not null and var loadedFnPtr + _slots[548] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[503] = nativeContext.LoadFunction( + : _slots[548] = nativeContext.LoadFunction( "vkGetExternalComputeQueueDataNV", "vulkan" ) @@ -156390,9 +170051,9 @@ Ref pData Result IVk.GetFenceFdKHR(DeviceHandle device, FenceGetFdInfoKHR* pGetFdInfo, int* pFd) => ( (delegate* unmanaged)( - _slots[504] is not null and var loadedFnPtr + _slots[549] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[504] = nativeContext.LoadFunction("vkGetFenceFdKHR", "vulkan") + : _slots[549] = nativeContext.LoadFunction("vkGetFenceFdKHR", "vulkan") ) )(device, pGetFdInfo, pFd); @@ -156482,9 +170143,9 @@ Ref pFd Result IVk.GetFenceStatus(DeviceHandle device, FenceHandle fence) => ( (delegate* unmanaged)( - _slots[505] is not null and var loadedFnPtr + _slots[550] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[505] = nativeContext.LoadFunction("vkGetFenceStatus", "vulkan") + : _slots[550] = nativeContext.LoadFunction("vkGetFenceStatus", "vulkan") ) )(device, fence); @@ -156544,9 +170205,9 @@ Result IVk.GetFramebufferTilePropertiesQCOM( uint*, TilePropertiesQCOM*, Result>)( - _slots[506] is not null and var loadedFnPtr + _slots[551] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[506] = nativeContext.LoadFunction( + : _slots[551] = nativeContext.LoadFunction( "vkGetFramebufferTilePropertiesQCOM", "vulkan" ) @@ -156637,8 +170298,10 @@ Ref pProperties "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -156655,9 +170318,9 @@ void IVk.GetGeneratedCommandsMemoryRequirementsEXT( GeneratedCommandsMemoryRequirementsInfoEXT*, MemoryRequirements2*, void>)( - _slots[507] is not null and var loadedFnPtr + _slots[552] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[507] = nativeContext.LoadFunction( + : _slots[552] = nativeContext.LoadFunction( "vkGetGeneratedCommandsMemoryRequirementsEXT", "vulkan" ) @@ -156669,8 +170332,10 @@ _slots[507] is not null and var loadedFnPtr "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -156687,8 +170352,10 @@ public static void GetGeneratedCommandsMemoryRequirementsEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -156716,8 +170383,10 @@ Ref pMemoryRequirements "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -156748,9 +170417,9 @@ void IVk.GetGeneratedCommandsMemoryRequirementsNV( GeneratedCommandsMemoryRequirementsInfoNV*, MemoryRequirements2*, void>)( - _slots[508] is not null and var loadedFnPtr + _slots[553] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[508] = nativeContext.LoadFunction( + : _slots[553] = nativeContext.LoadFunction( "vkGetGeneratedCommandsMemoryRequirementsNV", "vulkan" ) @@ -156810,6 +170479,216 @@ public static void GetGeneratedCommandsMemoryRequirementsNV( Ref pMemoryRequirements ) => ThisThread.GetGeneratedCommandsMemoryRequirementsNV(device, pInfo, pMemoryRequirements); + [NativeName("vkGetGpaDeviceClockInfoAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetGpaDeviceClockInfoAMD(DeviceHandle device, GpaDeviceGetClockInfoAMD* pInfo) => + ( + (delegate* unmanaged)( + _slots[554] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[554] = nativeContext.LoadFunction( + "vkGetGpaDeviceClockInfoAMD", + "vulkan" + ) + ) + )(device, pInfo); + + [NativeName("vkGetGpaDeviceClockInfoAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetGpaDeviceClockInfoAMD( + DeviceHandle device, + GpaDeviceGetClockInfoAMD* pInfo + ) => ThisThread.GetGpaDeviceClockInfoAMD(device, pInfo); + + [NativeName("vkGetGpaDeviceClockInfoAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetGpaDeviceClockInfoAMD(DeviceHandle device, Ref pInfo) + { + fixed (GpaDeviceGetClockInfoAMD* __dsl_pInfo = pInfo) + { + return (Result)((IVk)this).GetGpaDeviceClockInfoAMD(device, __dsl_pInfo); + } + } + + [NativeName("vkGetGpaDeviceClockInfoAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaDeviceClockInfoAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetGpaDeviceClockInfoAMD( + DeviceHandle device, + Ref pInfo + ) => ThisThread.GetGpaDeviceClockInfoAMD(device, pInfo); + + [NativeName("vkGetGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetGpaSessionResultsAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + uint sampleID, + nuint* pSizeInBytes, + void* pData + ) => + ( + (delegate* unmanaged)( + _slots[555] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[555] = nativeContext.LoadFunction( + "vkGetGpaSessionResultsAMD", + "vulkan" + ) + ) + )(device, gpaSession, sampleID, pSizeInBytes, pData); + + [NativeName("vkGetGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetGpaSessionResultsAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + uint sampleID, + nuint* pSizeInBytes, + void* pData + ) => ThisThread.GetGpaSessionResultsAMD(device, gpaSession, sampleID, pSizeInBytes, pData); + + [NativeName("vkGetGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetGpaSessionResultsAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + uint sampleID, + Ref pSizeInBytes, + Ref pData + ) + { + fixed (void* __dsl_pData = pData) + fixed (nuint* __dsl_pSizeInBytes = pSizeInBytes) + { + return (Result) + ((IVk)this).GetGpaSessionResultsAMD( + device, + gpaSession, + sampleID, + __dsl_pSizeInBytes, + __dsl_pData + ); + } + } + + [NativeName("vkGetGpaSessionResultsAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionResultsAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetGpaSessionResultsAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession, + uint sampleID, + Ref pSizeInBytes, + Ref pData + ) => ThisThread.GetGpaSessionResultsAMD(device, gpaSession, sampleID, pSizeInBytes, pData); + + [NativeName("vkGetGpaSessionStatusAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionStatusAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetGpaSessionStatusAMD(DeviceHandle device, GpaSessionHandleAMD gpaSession) => + ( + (delegate* unmanaged)( + _slots[556] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[556] = nativeContext.LoadFunction("vkGetGpaSessionStatusAMD", "vulkan") + ) + )(device, gpaSession); + + [NativeName("vkGetGpaSessionStatusAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetGpaSessionStatusAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetGpaSessionStatusAMD( + DeviceHandle device, + GpaSessionHandleAMD gpaSession + ) => ThisThread.GetGpaSessionStatusAMD(device, gpaSession); + [NativeName("vkGetImageDrmFormatModifierPropertiesEXT")] [SupportedApiProfile( "vulkan", @@ -156833,9 +170712,9 @@ Result IVk.GetImageDrmFormatModifierPropertiesEXT( ImageHandle, ImageDrmFormatModifierPropertiesEXT*, Result>)( - _slots[509] is not null and var loadedFnPtr + _slots[557] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[509] = nativeContext.LoadFunction( + : _slots[557] = nativeContext.LoadFunction( "vkGetImageDrmFormatModifierPropertiesEXT", "vulkan" ) @@ -156943,9 +170822,9 @@ void IVk.GetImageMemoryRequirements( ) => ( (delegate* unmanaged)( - _slots[510] is not null and var loadedFnPtr + _slots[558] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[510] = nativeContext.LoadFunction( + : _slots[558] = nativeContext.LoadFunction( "vkGetImageMemoryRequirements", "vulkan" ) @@ -157099,9 +170978,9 @@ void IVk.GetImageMemoryRequirements2( ImageMemoryRequirementsInfo2*, MemoryRequirements2*, void>)( - _slots[511] is not null and var loadedFnPtr + _slots[559] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[511] = nativeContext.LoadFunction( + : _slots[559] = nativeContext.LoadFunction( "vkGetImageMemoryRequirements2", "vulkan" ) @@ -157223,9 +171102,9 @@ void IVk.GetImageMemoryRequirements2KHR( ImageMemoryRequirementsInfo2*, MemoryRequirements2*, void>)( - _slots[512] is not null and var loadedFnPtr + _slots[560] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[512] = nativeContext.LoadFunction( + : _slots[560] = nativeContext.LoadFunction( "vkGetImageMemoryRequirements2KHR", "vulkan" ) @@ -157273,6 +171152,113 @@ public static void GetImageMemoryRequirements2KHR( Ref pMemoryRequirements ) => ThisThread.GetImageMemoryRequirements2KHR(device, pInfo, pMemoryRequirements); + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + ImageHandle* pImages, + HostAddressRangeEXT* pDatas + ) => + ( + (delegate* unmanaged)( + _slots[561] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[561] = nativeContext.LoadFunction( + "vkGetImageOpaqueCaptureDataEXT", + "vulkan" + ) + ) + )(device, imageCount, pImages, pDatas); + + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + ImageHandle* pImages, + HostAddressRangeEXT* pDatas + ) => ThisThread.GetImageOpaqueCaptureDataEXT(device, imageCount, pImages, pDatas); + + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + Ref pImages, + Ref pDatas + ) + { + fixed (HostAddressRangeEXT* __dsl_pDatas = pDatas) + fixed (ImageHandle* __dsl_pImages = pImages) + { + return (Result) + ((IVk)this).GetImageOpaqueCaptureDataEXT( + device, + imageCount, + __dsl_pImages, + __dsl_pDatas + ); + } + } + + [NativeName("vkGetImageOpaqueCaptureDataEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetImageOpaqueCaptureDataEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetImageOpaqueCaptureDataEXT( + DeviceHandle device, + uint imageCount, + Ref pImages, + Ref pDatas + ) => ThisThread.GetImageOpaqueCaptureDataEXT(device, imageCount, pImages, pDatas); + [NativeName("vkGetImageOpaqueCaptureDescriptorDataEXT")] [SupportedApiProfile( "vulkan", @@ -157293,9 +171279,9 @@ Result IVk.GetImageOpaqueCaptureDescriptorDataEXT( ) => ( (delegate* unmanaged)( - _slots[513] is not null and var loadedFnPtr + _slots[562] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[513] = nativeContext.LoadFunction( + : _slots[562] = nativeContext.LoadFunction( "vkGetImageOpaqueCaptureDescriptorDataEXT", "vulkan" ) @@ -157413,9 +171399,9 @@ void IVk.GetImageSparseMemoryRequirements( uint*, SparseImageMemoryRequirements*, void>)( - _slots[514] is not null and var loadedFnPtr + _slots[563] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[514] = nativeContext.LoadFunction( + : _slots[563] = nativeContext.LoadFunction( "vkGetImageSparseMemoryRequirements", "vulkan" ) @@ -157595,9 +171581,9 @@ void IVk.GetImageSparseMemoryRequirements2( uint*, SparseImageMemoryRequirements2*, void>)( - _slots[515] is not null and var loadedFnPtr + _slots[564] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[515] = nativeContext.LoadFunction( + : _slots[564] = nativeContext.LoadFunction( "vkGetImageSparseMemoryRequirements2", "vulkan" ) @@ -157745,9 +171731,9 @@ void IVk.GetImageSparseMemoryRequirements2KHR( uint*, SparseImageMemoryRequirements2*, void>)( - _slots[516] is not null and var loadedFnPtr + _slots[565] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[516] = nativeContext.LoadFunction( + : _slots[565] = nativeContext.LoadFunction( "vkGetImageSparseMemoryRequirements2KHR", "vulkan" ) @@ -157857,9 +171843,9 @@ void IVk.GetImageSubresourceLayout( ImageSubresource*, SubresourceLayout*, void>)( - _slots[517] is not null and var loadedFnPtr + _slots[566] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[517] = nativeContext.LoadFunction( + : _slots[566] = nativeContext.LoadFunction( "vkGetImageSubresourceLayout", "vulkan" ) @@ -158007,9 +171993,9 @@ void IVk.GetImageSubresourceLayout2( ImageSubresource2*, SubresourceLayout2*, void>)( - _slots[518] is not null and var loadedFnPtr + _slots[567] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[518] = nativeContext.LoadFunction( + : _slots[567] = nativeContext.LoadFunction( "vkGetImageSubresourceLayout2", "vulkan" ) @@ -158113,9 +172099,9 @@ void IVk.GetImageSubresourceLayout2EXT( ImageSubresource2*, SubresourceLayout2*, void>)( - _slots[519] is not null and var loadedFnPtr + _slots[568] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[519] = nativeContext.LoadFunction( + : _slots[568] = nativeContext.LoadFunction( "vkGetImageSubresourceLayout2EXT", "vulkan" ) @@ -158212,9 +172198,9 @@ void IVk.GetImageSubresourceLayout2KHR( ImageSubresource2*, SubresourceLayout2*, void>)( - _slots[520] is not null and var loadedFnPtr + _slots[569] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[520] = nativeContext.LoadFunction( + : _slots[569] = nativeContext.LoadFunction( "vkGetImageSubresourceLayout2KHR", "vulkan" ) @@ -158293,9 +172279,9 @@ Result IVk.GetImageViewAddressNVX( ImageViewHandle, ImageViewAddressPropertiesNVX*, Result>)( - _slots[521] is not null and var loadedFnPtr + _slots[570] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[521] = nativeContext.LoadFunction("vkGetImageViewAddressNVX", "vulkan") + : _slots[570] = nativeContext.LoadFunction("vkGetImageViewAddressNVX", "vulkan") ) )(device, imageView, pProperties); @@ -158342,9 +172328,9 @@ Ref pProperties ulong IVk.GetImageViewHandle64NVX(DeviceHandle device, ImageViewHandleInfoNVX* pInfo) => ( (delegate* unmanaged)( - _slots[522] is not null and var loadedFnPtr + _slots[571] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[522] = nativeContext.LoadFunction( + : _slots[571] = nativeContext.LoadFunction( "vkGetImageViewHandle64NVX", "vulkan" ) @@ -158388,9 +172374,9 @@ Ref pInfo uint IVk.GetImageViewHandleNVX(DeviceHandle device, ImageViewHandleInfoNVX* pInfo) => ( (delegate* unmanaged)( - _slots[523] is not null and var loadedFnPtr + _slots[572] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[523] = nativeContext.LoadFunction("vkGetImageViewHandleNVX", "vulkan") + : _slots[572] = nativeContext.LoadFunction("vkGetImageViewHandleNVX", "vulkan") ) )(device, pInfo); @@ -158446,9 +172432,9 @@ Result IVk.GetImageViewOpaqueCaptureDescriptorDataEXT( ImageViewCaptureDescriptorDataInfoEXT*, void*, Result>)( - _slots[524] is not null and var loadedFnPtr + _slots[573] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[524] = nativeContext.LoadFunction( + : _slots[573] = nativeContext.LoadFunction( "vkGetImageViewOpaqueCaptureDescriptorDataEXT", "vulkan" ) @@ -158556,9 +172542,9 @@ Ref pData VoidFunction IVk.GetInstanceProcAddr(InstanceHandle instance, sbyte* pName) => ( (delegate* unmanaged)( - _slots[525] is not null and var loadedFnPtr + _slots[574] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[525] = nativeContext.LoadFunction("vkGetInstanceProcAddr", "vulkan") + : _slots[574] = nativeContext.LoadFunction("vkGetInstanceProcAddr", "vulkan") ) )(instance, pName); @@ -158683,9 +172669,9 @@ void IVk.GetLatencyTimingsNV( ) => ( (delegate* unmanaged)( - _slots[526] is not null and var loadedFnPtr + _slots[575] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[526] = nativeContext.LoadFunction("vkGetLatencyTimingsNV", "vulkan") + : _slots[575] = nativeContext.LoadFunction("vkGetLatencyTimingsNV", "vulkan") ) )(device, swapchain, pLatencyMarkerInfo); @@ -158766,9 +172752,9 @@ Ref pLatencyMarkerInfo Result IVk.GetMemoryFdKHR(DeviceHandle device, MemoryGetFdInfoKHR* pGetFdInfo, int* pFd) => ( (delegate* unmanaged)( - _slots[527] is not null and var loadedFnPtr + _slots[576] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[527] = nativeContext.LoadFunction("vkGetMemoryFdKHR", "vulkan") + : _slots[576] = nativeContext.LoadFunction("vkGetMemoryFdKHR", "vulkan") ) )(device, pGetFdInfo, pFd); @@ -158850,9 +172836,9 @@ Result IVk.GetMemoryFdPropertiesKHR( int, MemoryFdPropertiesKHR*, Result>)( - _slots[528] is not null and var loadedFnPtr + _slots[577] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[528] = nativeContext.LoadFunction( + : _slots[577] = nativeContext.LoadFunction( "vkGetMemoryFdPropertiesKHR", "vulkan" ) @@ -158949,9 +172935,9 @@ Result IVk.GetMemoryHostPointerPropertiesEXT( void*, MemoryHostPointerPropertiesEXT*, Result>)( - _slots[529] is not null and var loadedFnPtr + _slots[578] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[529] = nativeContext.LoadFunction( + : _slots[578] = nativeContext.LoadFunction( "vkGetMemoryHostPointerPropertiesEXT", "vulkan" ) @@ -159058,9 +173044,9 @@ Result IVk.GetMemoryRemoteAddressNV( ) => ( (delegate* unmanaged)( - _slots[530] is not null and var loadedFnPtr + _slots[579] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[530] = nativeContext.LoadFunction( + : _slots[579] = nativeContext.LoadFunction( "vkGetMemoryRemoteAddressNV", "vulkan" ) @@ -159157,9 +173143,9 @@ void IVk.GetMicromapBuildSizesEXT( MicromapBuildInfoEXT*, MicromapBuildSizesInfoEXT*, void>)( - _slots[531] is not null and var loadedFnPtr + _slots[580] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[531] = nativeContext.LoadFunction( + : _slots[580] = nativeContext.LoadFunction( "vkGetMicromapBuildSizesEXT", "vulkan" ) @@ -159251,9 +173237,9 @@ void IVk.GetPartitionedAccelerationStructuresBuildSizesNV( PartitionedAccelerationStructureInstancesInputNV*, AccelerationStructureBuildSizesInfoKHR*, void>)( - _slots[532] is not null and var loadedFnPtr + _slots[581] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[532] = nativeContext.LoadFunction( + : _slots[581] = nativeContext.LoadFunction( "vkGetPartitionedAccelerationStructuresBuildSizesNV", "vulkan" ) @@ -159313,6 +173299,124 @@ public static void GetPartitionedAccelerationStructuresBuildSizesNV( Ref pSizeInfo ) => ThisThread.GetPartitionedAccelerationStructuresBuildSizesNV(device, pInfo, pSizeInfo); + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetPastPresentationTimingEXT( + DeviceHandle device, + PastPresentationTimingInfoEXT* pPastPresentationTimingInfo, + PastPresentationTimingPropertiesEXT* pPastPresentationTimingProperties + ) => + ( + (delegate* unmanaged< + DeviceHandle, + PastPresentationTimingInfoEXT*, + PastPresentationTimingPropertiesEXT*, + Result>)( + _slots[582] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[582] = nativeContext.LoadFunction( + "vkGetPastPresentationTimingEXT", + "vulkan" + ) + ) + )(device, pPastPresentationTimingInfo, pPastPresentationTimingProperties); + + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetPastPresentationTimingEXT( + DeviceHandle device, + PastPresentationTimingInfoEXT* pPastPresentationTimingInfo, + PastPresentationTimingPropertiesEXT* pPastPresentationTimingProperties + ) => + ThisThread.GetPastPresentationTimingEXT( + device, + pPastPresentationTimingInfo, + pPastPresentationTimingProperties + ); + + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetPastPresentationTimingEXT( + DeviceHandle device, + Ref pPastPresentationTimingInfo, + Ref pPastPresentationTimingProperties + ) + { + fixed ( + PastPresentationTimingPropertiesEXT* __dsl_pPastPresentationTimingProperties = + pPastPresentationTimingProperties + ) + fixed ( + PastPresentationTimingInfoEXT* __dsl_pPastPresentationTimingInfo = + pPastPresentationTimingInfo + ) + { + return (Result) + ((IVk)this).GetPastPresentationTimingEXT( + device, + __dsl_pPastPresentationTimingInfo, + __dsl_pPastPresentationTimingProperties + ); + } + } + + [NativeName("vkGetPastPresentationTimingEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPastPresentationTimingEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetPastPresentationTimingEXT( + DeviceHandle device, + Ref pPastPresentationTimingInfo, + Ref pPastPresentationTimingProperties + ) => + ThisThread.GetPastPresentationTimingEXT( + device, + pPastPresentationTimingInfo, + pPastPresentationTimingProperties + ); + [NativeName("vkGetPastPresentationTimingGOOGLE")] [SupportedApiProfile( "vulkan", @@ -159334,9 +173438,9 @@ Result IVk.GetPastPresentationTimingGOOGLE( uint*, PastPresentationTimingGOOGLE*, Result>)( - _slots[533] is not null and var loadedFnPtr + _slots[583] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[533] = nativeContext.LoadFunction( + : _slots[583] = nativeContext.LoadFunction( "vkGetPastPresentationTimingGOOGLE", "vulkan" ) @@ -159428,9 +173532,9 @@ Result IVk.GetPerformanceParameterINTEL( PerformanceParameterTypeINTEL, PerformanceValueINTEL*, Result>)( - _slots[534] is not null and var loadedFnPtr + _slots[584] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[534] = nativeContext.LoadFunction( + : _slots[584] = nativeContext.LoadFunction( "vkGetPerformanceParameterINTEL", "vulkan" ) @@ -159492,9 +173596,9 @@ Result IVk.GetPhysicalDeviceCalibrateableTimeDomainsEXT( ) => ( (delegate* unmanaged)( - _slots[535] is not null and var loadedFnPtr + _slots[585] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[535] = nativeContext.LoadFunction( + : _slots[585] = nativeContext.LoadFunction( "vkGetPhysicalDeviceCalibrateableTimeDomainsEXT", "vulkan" ) @@ -159592,9 +173696,9 @@ Result IVk.GetPhysicalDeviceCalibrateableTimeDomainsKHR( ) => ( (delegate* unmanaged)( - _slots[536] is not null and var loadedFnPtr + _slots[586] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[536] = nativeContext.LoadFunction( + : _slots[586] = nativeContext.LoadFunction( "vkGetPhysicalDeviceCalibrateableTimeDomainsKHR", "vulkan" ) @@ -159696,9 +173800,9 @@ Result IVk.GetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( uint*, CooperativeMatrixFlexibleDimensionsPropertiesNV*, Result>)( - _slots[537] is not null and var loadedFnPtr + _slots[587] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[537] = nativeContext.LoadFunction( + : _slots[587] = nativeContext.LoadFunction( "vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV", "vulkan" ) @@ -159800,9 +173904,9 @@ Result IVk.GetPhysicalDeviceCooperativeMatrixPropertiesKHR( uint*, CooperativeMatrixPropertiesKHR*, Result>)( - _slots[538] is not null and var loadedFnPtr + _slots[588] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[538] = nativeContext.LoadFunction( + : _slots[588] = nativeContext.LoadFunction( "vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR", "vulkan" ) @@ -159904,9 +174008,9 @@ Result IVk.GetPhysicalDeviceCooperativeMatrixPropertiesNV( uint*, CooperativeMatrixPropertiesNV*, Result>)( - _slots[539] is not null and var loadedFnPtr + _slots[589] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[539] = nativeContext.LoadFunction( + : _slots[589] = nativeContext.LoadFunction( "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV", "vulkan" ) @@ -160008,9 +174112,9 @@ Result IVk.GetPhysicalDeviceCooperativeVectorPropertiesNV( uint*, CooperativeVectorPropertiesNV*, Result>)( - _slots[540] is not null and var loadedFnPtr + _slots[590] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[540] = nativeContext.LoadFunction( + : _slots[590] = nativeContext.LoadFunction( "vkGetPhysicalDeviceCooperativeVectorPropertiesNV", "vulkan" ) @@ -160090,6 +174194,54 @@ Ref pProperties pProperties ); + [NativeName("vkGetPhysicalDeviceDescriptorSizeEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPhysicalDeviceDescriptorSizeEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ulong IVk.GetPhysicalDeviceDescriptorSizeEXT( + PhysicalDeviceHandle physicalDevice, + DescriptorType descriptorType + ) => + ( + (delegate* unmanaged)( + _slots[591] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[591] = nativeContext.LoadFunction( + "vkGetPhysicalDeviceDescriptorSizeEXT", + "vulkan" + ) + ) + )(physicalDevice, descriptorType); + + [NativeName("vkGetPhysicalDeviceDescriptorSizeEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetPhysicalDeviceDescriptorSizeEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ulong GetPhysicalDeviceDescriptorSizeEXT( + PhysicalDeviceHandle physicalDevice, + DescriptorType descriptorType + ) => ThisThread.GetPhysicalDeviceDescriptorSizeEXT(physicalDevice, descriptorType); + [NativeName("vkGetPhysicalDeviceDisplayPlaneProperties2KHR")] [SupportedApiProfile( "vulkan", @@ -160105,9 +174257,9 @@ Result IVk.GetPhysicalDeviceDisplayPlaneProperties2KHR( ) => ( (delegate* unmanaged)( - _slots[541] is not null and var loadedFnPtr + _slots[592] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[541] = nativeContext.LoadFunction( + : _slots[592] = nativeContext.LoadFunction( "vkGetPhysicalDeviceDisplayPlaneProperties2KHR", "vulkan" ) @@ -160189,9 +174341,9 @@ Result IVk.GetPhysicalDeviceDisplayPlanePropertiesKHR( ) => ( (delegate* unmanaged)( - _slots[542] is not null and var loadedFnPtr + _slots[593] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[542] = nativeContext.LoadFunction( + : _slots[593] = nativeContext.LoadFunction( "vkGetPhysicalDeviceDisplayPlanePropertiesKHR", "vulkan" ) @@ -160265,9 +174417,9 @@ Result IVk.GetPhysicalDeviceDisplayProperties2KHR( ) => ( (delegate* unmanaged)( - _slots[543] is not null and var loadedFnPtr + _slots[594] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[543] = nativeContext.LoadFunction( + : _slots[594] = nativeContext.LoadFunction( "vkGetPhysicalDeviceDisplayProperties2KHR", "vulkan" ) @@ -160349,9 +174501,9 @@ Result IVk.GetPhysicalDeviceDisplayPropertiesKHR( ) => ( (delegate* unmanaged)( - _slots[544] is not null and var loadedFnPtr + _slots[595] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[544] = nativeContext.LoadFunction( + : _slots[595] = nativeContext.LoadFunction( "vkGetPhysicalDeviceDisplayPropertiesKHR", "vulkan" ) @@ -160446,9 +174598,9 @@ void IVk.GetPhysicalDeviceExternalBufferProperties( PhysicalDeviceExternalBufferInfo*, ExternalBufferProperties*, void>)( - _slots[545] is not null and var loadedFnPtr + _slots[596] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[545] = nativeContext.LoadFunction( + : _slots[596] = nativeContext.LoadFunction( "vkGetPhysicalDeviceExternalBufferProperties", "vulkan" ) @@ -160593,9 +174745,9 @@ void IVk.GetPhysicalDeviceExternalBufferPropertiesKHR( PhysicalDeviceExternalBufferInfo*, ExternalBufferProperties*, void>)( - _slots[546] is not null and var loadedFnPtr + _slots[597] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[546] = nativeContext.LoadFunction( + : _slots[597] = nativeContext.LoadFunction( "vkGetPhysicalDeviceExternalBufferPropertiesKHR", "vulkan" ) @@ -160712,9 +174864,9 @@ void IVk.GetPhysicalDeviceExternalFenceProperties( PhysicalDeviceExternalFenceInfo*, ExternalFenceProperties*, void>)( - _slots[547] is not null and var loadedFnPtr + _slots[598] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[547] = nativeContext.LoadFunction( + : _slots[598] = nativeContext.LoadFunction( "vkGetPhysicalDeviceExternalFenceProperties", "vulkan" ) @@ -160857,9 +175009,9 @@ void IVk.GetPhysicalDeviceExternalFencePropertiesKHR( PhysicalDeviceExternalFenceInfo*, ExternalFenceProperties*, void>)( - _slots[548] is not null and var loadedFnPtr + _slots[599] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[548] = nativeContext.LoadFunction( + : _slots[599] = nativeContext.LoadFunction( "vkGetPhysicalDeviceExternalFencePropertiesKHR", "vulkan" ) @@ -160963,9 +175115,9 @@ Result IVk.GetPhysicalDeviceExternalImageFormatPropertiesNV( ExternalMemoryHandleTypeFlagsNV, ExternalImageFormatPropertiesNV*, Result>)( - _slots[549] is not null and var loadedFnPtr + _slots[600] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[549] = nativeContext.LoadFunction( + : _slots[600] = nativeContext.LoadFunction( "vkGetPhysicalDeviceExternalImageFormatPropertiesNV", "vulkan" ) @@ -161101,9 +175253,9 @@ void IVk.GetPhysicalDeviceExternalSemaphoreProperties( PhysicalDeviceExternalSemaphoreInfo*, ExternalSemaphoreProperties*, void>)( - _slots[550] is not null and var loadedFnPtr + _slots[601] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[550] = nativeContext.LoadFunction( + : _slots[601] = nativeContext.LoadFunction( "vkGetPhysicalDeviceExternalSemaphoreProperties", "vulkan" ) @@ -161252,9 +175404,9 @@ void IVk.GetPhysicalDeviceExternalSemaphorePropertiesKHR( PhysicalDeviceExternalSemaphoreInfo*, ExternalSemaphoreProperties*, void>)( - _slots[551] is not null and var loadedFnPtr + _slots[602] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[551] = nativeContext.LoadFunction( + : _slots[602] = nativeContext.LoadFunction( "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR", "vulkan" ) @@ -161354,9 +175506,9 @@ void IVk.GetPhysicalDeviceExternalTensorPropertiesARM( PhysicalDeviceExternalTensorInfoARM*, ExternalTensorPropertiesARM*, void>)( - _slots[552] is not null and var loadedFnPtr + _slots[603] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[552] = nativeContext.LoadFunction( + : _slots[603] = nativeContext.LoadFunction( "vkGetPhysicalDeviceExternalTensorPropertiesARM", "vulkan" ) @@ -161451,9 +175603,9 @@ void IVk.GetPhysicalDeviceFeatures( ) => ( (delegate* unmanaged)( - _slots[553] is not null and var loadedFnPtr + _slots[604] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[553] = nativeContext.LoadFunction( + : _slots[604] = nativeContext.LoadFunction( "vkGetPhysicalDeviceFeatures", "vulkan" ) @@ -161599,9 +175751,9 @@ void IVk.GetPhysicalDeviceFeatures2( ) => ( (delegate* unmanaged)( - _slots[554] is not null and var loadedFnPtr + _slots[605] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[554] = nativeContext.LoadFunction( + : _slots[605] = nativeContext.LoadFunction( "vkGetPhysicalDeviceFeatures2", "vulkan" ) @@ -161714,9 +175866,9 @@ void IVk.GetPhysicalDeviceFeatures2KHR( ) => ( (delegate* unmanaged)( - _slots[555] is not null and var loadedFnPtr + _slots[606] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[555] = nativeContext.LoadFunction( + : _slots[606] = nativeContext.LoadFunction( "vkGetPhysicalDeviceFeatures2KHR", "vulkan" ) @@ -161792,9 +175944,9 @@ void IVk.GetPhysicalDeviceFormatProperties( ) => ( (delegate* unmanaged)( - _slots[556] is not null and var loadedFnPtr + _slots[607] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[556] = nativeContext.LoadFunction( + : _slots[607] = nativeContext.LoadFunction( "vkGetPhysicalDeviceFormatProperties", "vulkan" ) @@ -161948,9 +176100,9 @@ void IVk.GetPhysicalDeviceFormatProperties2( ) => ( (delegate* unmanaged)( - _slots[557] is not null and var loadedFnPtr + _slots[608] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[557] = nativeContext.LoadFunction( + : _slots[608] = nativeContext.LoadFunction( "vkGetPhysicalDeviceFormatProperties2", "vulkan" ) @@ -162071,9 +176223,9 @@ void IVk.GetPhysicalDeviceFormatProperties2KHR( ) => ( (delegate* unmanaged)( - _slots[558] is not null and var loadedFnPtr + _slots[609] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[558] = nativeContext.LoadFunction( + : _slots[609] = nativeContext.LoadFunction( "vkGetPhysicalDeviceFormatProperties2KHR", "vulkan" ) @@ -162145,9 +176297,9 @@ Result IVk.GetPhysicalDeviceFragmentShadingRatesKHR( uint*, PhysicalDeviceFragmentShadingRateKHR*, Result>)( - _slots[559] is not null and var loadedFnPtr + _slots[610] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[559] = nativeContext.LoadFunction( + : _slots[610] = nativeContext.LoadFunction( "vkGetPhysicalDeviceFragmentShadingRatesKHR", "vulkan" ) @@ -162281,9 +176433,9 @@ Result IVk.GetPhysicalDeviceImageFormatProperties( ImageCreateFlags, ImageFormatProperties*, Result>)( - _slots[560] is not null and var loadedFnPtr + _slots[611] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[560] = nativeContext.LoadFunction( + : _slots[611] = nativeContext.LoadFunction( "vkGetPhysicalDeviceImageFormatProperties", "vulkan" ) @@ -162476,9 +176628,9 @@ Result IVk.GetPhysicalDeviceImageFormatProperties2( PhysicalDeviceImageFormatInfo2*, ImageFormatProperties2*, Result>)( - _slots[561] is not null and var loadedFnPtr + _slots[612] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[561] = nativeContext.LoadFunction( + : _slots[612] = nativeContext.LoadFunction( "vkGetPhysicalDeviceImageFormatProperties2", "vulkan" ) @@ -162615,9 +176767,9 @@ Result IVk.GetPhysicalDeviceImageFormatProperties2KHR( PhysicalDeviceImageFormatInfo2*, ImageFormatProperties2*, Result>)( - _slots[562] is not null and var loadedFnPtr + _slots[613] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[562] = nativeContext.LoadFunction( + : _slots[613] = nativeContext.LoadFunction( "vkGetPhysicalDeviceImageFormatProperties2KHR", "vulkan" ) @@ -162711,9 +176863,9 @@ void IVk.GetPhysicalDeviceMemoryProperties( ) => ( (delegate* unmanaged)( - _slots[563] is not null and var loadedFnPtr + _slots[614] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[563] = nativeContext.LoadFunction( + : _slots[614] = nativeContext.LoadFunction( "vkGetPhysicalDeviceMemoryProperties", "vulkan" ) @@ -162859,9 +177011,9 @@ void IVk.GetPhysicalDeviceMemoryProperties2( ) => ( (delegate* unmanaged)( - _slots[564] is not null and var loadedFnPtr + _slots[615] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[564] = nativeContext.LoadFunction( + : _slots[615] = nativeContext.LoadFunction( "vkGetPhysicalDeviceMemoryProperties2", "vulkan" ) @@ -162974,9 +177126,9 @@ void IVk.GetPhysicalDeviceMemoryProperties2KHR( ) => ( (delegate* unmanaged)( - _slots[565] is not null and var loadedFnPtr + _slots[616] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[565] = nativeContext.LoadFunction( + : _slots[616] = nativeContext.LoadFunction( "vkGetPhysicalDeviceMemoryProperties2KHR", "vulkan" ) @@ -163041,9 +177193,9 @@ void IVk.GetPhysicalDeviceMultisamplePropertiesEXT( SampleCountFlags, MultisamplePropertiesEXT*, void>)( - _slots[566] is not null and var loadedFnPtr + _slots[617] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[566] = nativeContext.LoadFunction( + : _slots[617] = nativeContext.LoadFunction( "vkGetPhysicalDeviceMultisamplePropertiesEXT", "vulkan" ) @@ -163146,9 +177298,9 @@ Result IVk.GetPhysicalDeviceOpticalFlowImageFormatsNV( uint*, OpticalFlowImageFormatPropertiesNV*, Result>)( - _slots[567] is not null and var loadedFnPtr + _slots[618] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[567] = nativeContext.LoadFunction( + : _slots[618] = nativeContext.LoadFunction( "vkGetPhysicalDeviceOpticalFlowImageFormatsNV", "vulkan" ) @@ -163261,9 +177413,9 @@ Result IVk.GetPhysicalDevicePresentRectanglesKHR( ) => ( (delegate* unmanaged)( - _slots[568] is not null and var loadedFnPtr + _slots[619] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[568] = nativeContext.LoadFunction( + : _slots[619] = nativeContext.LoadFunction( "vkGetPhysicalDevicePresentRectanglesKHR", "vulkan" ) @@ -163378,9 +177530,9 @@ void IVk.GetPhysicalDeviceProperties( ) => ( (delegate* unmanaged)( - _slots[569] is not null and var loadedFnPtr + _slots[620] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[569] = nativeContext.LoadFunction( + : _slots[620] = nativeContext.LoadFunction( "vkGetPhysicalDeviceProperties", "vulkan" ) @@ -163526,9 +177678,9 @@ void IVk.GetPhysicalDeviceProperties2( ) => ( (delegate* unmanaged)( - _slots[570] is not null and var loadedFnPtr + _slots[621] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[570] = nativeContext.LoadFunction( + : _slots[621] = nativeContext.LoadFunction( "vkGetPhysicalDeviceProperties2", "vulkan" ) @@ -163641,9 +177793,9 @@ void IVk.GetPhysicalDeviceProperties2KHR( ) => ( (delegate* unmanaged)( - _slots[571] is not null and var loadedFnPtr + _slots[622] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[571] = nativeContext.LoadFunction( + : _slots[622] = nativeContext.LoadFunction( "vkGetPhysicalDeviceProperties2KHR", "vulkan" ) @@ -163683,11 +177835,275 @@ public static void GetPhysicalDeviceProperties2KHR( Ref pProperties ) => ThisThread.GetPhysicalDeviceProperties2KHR(physicalDevice, pProperties); + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + BaseOutStructure* pProperties + ) => + ( + (delegate* unmanaged< + PhysicalDeviceHandle, + uint, + QueueFamilyDataGraphPropertiesARM*, + BaseOutStructure*, + Result>)( + _slots[623] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[623] = nativeContext.LoadFunction( + "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM", + "vulkan" + ) + ) + )(physicalDevice, queueFamilyIndex, pQueueFamilyDataGraphProperties, pProperties); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + BaseOutStructure* pProperties + ) => + ThisThread.GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + physicalDevice, + queueFamilyIndex, + pQueueFamilyDataGraphProperties, + pProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pProperties + ) + { + fixed (BaseOutStructure* __dsl_pProperties = pProperties) + fixed ( + QueueFamilyDataGraphPropertiesARM* __dsl_pQueueFamilyDataGraphProperties = + pQueueFamilyDataGraphProperties + ) + { + return (Result) + ((IVk)this).GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + physicalDevice, + queueFamilyIndex, + __dsl_pQueueFamilyDataGraphProperties, + __dsl_pProperties + ); + } + } + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_instruction_set_tosa"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM" + )] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pProperties + ) => + ThisThread.GetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( + physicalDevice, + queueFamilyIndex, + pQueueFamilyDataGraphProperties, + pProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + DataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, + uint* pFormatCount, + DataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties + ) => + ( + (delegate* unmanaged< + PhysicalDeviceHandle, + uint, + QueueFamilyDataGraphPropertiesARM*, + DataGraphOpticalFlowImageFormatInfoARM*, + uint*, + DataGraphOpticalFlowImageFormatPropertiesARM*, + Result>)( + _slots[624] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[624] = nativeContext.LoadFunction( + "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM", + "vulkan" + ) + ) + )( + physicalDevice, + queueFamilyIndex, + pQueueFamilyDataGraphProperties, + pOpticalFlowImageFormatInfo, + pFormatCount, + pImageFormatProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + QueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties, + DataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, + uint* pFormatCount, + DataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties + ) => + ThisThread.GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + physicalDevice, + queueFamilyIndex, + pQueueFamilyDataGraphProperties, + pOpticalFlowImageFormatInfo, + pFormatCount, + pImageFormatProperties + ); + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pOpticalFlowImageFormatInfo, + Ref pFormatCount, + Ref pImageFormatProperties + ) + { + fixed ( + DataGraphOpticalFlowImageFormatPropertiesARM* __dsl_pImageFormatProperties = + pImageFormatProperties + ) + fixed (uint* __dsl_pFormatCount = pFormatCount) + fixed ( + DataGraphOpticalFlowImageFormatInfoARM* __dsl_pOpticalFlowImageFormatInfo = + pOpticalFlowImageFormatInfo + ) + fixed ( + QueueFamilyDataGraphPropertiesARM* __dsl_pQueueFamilyDataGraphProperties = + pQueueFamilyDataGraphProperties + ) + { + return (Result) + ((IVk)this).GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + physicalDevice, + queueFamilyIndex, + __dsl_pQueueFamilyDataGraphProperties, + __dsl_pOpticalFlowImageFormatInfo, + __dsl_pFormatCount, + __dsl_pImageFormatProperties + ); + } + } + + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_data_graph_optical_flow"], + ImpliesSets = ["VK_ARM_data_graph"] + )] + [NativeFunction( + "vulkan", + EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" + )] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + PhysicalDeviceHandle physicalDevice, + uint queueFamilyIndex, + Ref pQueueFamilyDataGraphProperties, + Ref pOpticalFlowImageFormatInfo, + Ref pFormatCount, + Ref pImageFormatProperties + ) => + ThisThread.GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( + physicalDevice, + queueFamilyIndex, + pQueueFamilyDataGraphProperties, + pOpticalFlowImageFormatInfo, + pFormatCount, + pImageFormatProperties + ); + [NativeName("vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM")] [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction( "vulkan", @@ -163705,9 +178121,9 @@ void IVk.GetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM( PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM*, QueueFamilyDataGraphProcessingEnginePropertiesARM*, void>)( - _slots[572] is not null and var loadedFnPtr + _slots[625] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[572] = nativeContext.LoadFunction( + : _slots[625] = nativeContext.LoadFunction( "vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM", "vulkan" ) @@ -163722,7 +178138,10 @@ _slots[572] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction( "vulkan", @@ -163744,7 +178163,10 @@ public static void GetPhysicalDeviceQueueFamilyDataGraphProcessingEngineProperti [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction( "vulkan", @@ -163778,7 +178200,10 @@ Ref pQueueFamilyDataGraphProc [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction( "vulkan", @@ -163800,7 +178225,10 @@ Ref pQueueFamilyDataGraphProc [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -163817,9 +178245,9 @@ Result IVk.GetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( uint*, QueueFamilyDataGraphPropertiesARM*, Result>)( - _slots[573] is not null and var loadedFnPtr + _slots[626] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[573] = nativeContext.LoadFunction( + : _slots[626] = nativeContext.LoadFunction( "vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM", "vulkan" ) @@ -163835,7 +178263,10 @@ _slots[573] is not null and var loadedFnPtr [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -163856,7 +178287,10 @@ public static Result GetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -163887,7 +178321,10 @@ Ref pQueueFamilyDataGraphProperties [SupportedApiProfile( "vulkan", ["VK_ARM_data_graph"], - ImpliesSets = ["VK_KHR_deferred_host_operations", "VK_KHR_maintenance5", "VK_VERSION_1_3"] + ImpliesSets = [ + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_extended_flags", + "VK_VERSION_1_3+VK_KHR_deferred_host_operations+VK_KHR_maintenance5", + ] )] [NativeFunction("vulkan", EntryPoint = "vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM")] [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] @@ -163929,9 +178366,9 @@ void IVk.GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( QueryPoolPerformanceCreateInfoKHR*, uint*, void>)( - _slots[574] is not null and var loadedFnPtr + _slots[627] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[574] = nativeContext.LoadFunction( + : _slots[627] = nativeContext.LoadFunction( "vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR", "vulkan" ) @@ -164058,9 +178495,9 @@ void IVk.GetPhysicalDeviceQueueFamilyProperties( ) => ( (delegate* unmanaged)( - _slots[575] is not null and var loadedFnPtr + _slots[628] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[575] = nativeContext.LoadFunction( + : _slots[628] = nativeContext.LoadFunction( "vkGetPhysicalDeviceQueueFamilyProperties", "vulkan" ) @@ -164225,9 +178662,9 @@ void IVk.GetPhysicalDeviceQueueFamilyProperties2( ) => ( (delegate* unmanaged)( - _slots[576] is not null and var loadedFnPtr + _slots[629] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[576] = nativeContext.LoadFunction( + : _slots[629] = nativeContext.LoadFunction( "vkGetPhysicalDeviceQueueFamilyProperties2", "vulkan" ) @@ -164359,9 +178796,9 @@ void IVk.GetPhysicalDeviceQueueFamilyProperties2KHR( ) => ( (delegate* unmanaged)( - _slots[577] is not null and var loadedFnPtr + _slots[630] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[577] = nativeContext.LoadFunction( + : _slots[630] = nativeContext.LoadFunction( "vkGetPhysicalDeviceQueueFamilyProperties2KHR", "vulkan" ) @@ -164469,9 +178906,9 @@ void IVk.GetPhysicalDeviceSparseImageFormatProperties( uint*, SparseImageFormatProperties*, void>)( - _slots[578] is not null and var loadedFnPtr + _slots[631] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[578] = nativeContext.LoadFunction( + : _slots[631] = nativeContext.LoadFunction( "vkGetPhysicalDeviceSparseImageFormatProperties", "vulkan" ) @@ -164672,9 +179109,9 @@ void IVk.GetPhysicalDeviceSparseImageFormatProperties2( uint*, SparseImageFormatProperties2*, void>)( - _slots[579] is not null and var loadedFnPtr + _slots[632] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[579] = nativeContext.LoadFunction( + : _slots[632] = nativeContext.LoadFunction( "vkGetPhysicalDeviceSparseImageFormatProperties2", "vulkan" ) @@ -164819,9 +179256,9 @@ void IVk.GetPhysicalDeviceSparseImageFormatProperties2KHR( uint*, SparseImageFormatProperties2*, void>)( - _slots[580] is not null and var loadedFnPtr + _slots[633] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[580] = nativeContext.LoadFunction( + : _slots[633] = nativeContext.LoadFunction( "vkGetPhysicalDeviceSparseImageFormatProperties2KHR", "vulkan" ) @@ -164911,9 +179348,9 @@ Result IVk.GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( uint*, FramebufferMixedSamplesCombinationNV*, Result>)( - _slots[581] is not null and var loadedFnPtr + _slots[634] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[581] = nativeContext.LoadFunction( + : _slots[634] = nativeContext.LoadFunction( "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV", "vulkan" ) @@ -165021,9 +179458,9 @@ Result IVk.GetPhysicalDeviceSurfaceCapabilities2EXT( SurfaceHandleKHR, SurfaceCapabilities2EXT*, Result>)( - _slots[582] is not null and var loadedFnPtr + _slots[635] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[582] = nativeContext.LoadFunction( + : _slots[635] = nativeContext.LoadFunction( "vkGetPhysicalDeviceSurfaceCapabilities2EXT", "vulkan" ) @@ -165112,9 +179549,9 @@ Result IVk.GetPhysicalDeviceSurfaceCapabilities2KHR( PhysicalDeviceSurfaceInfo2KHR*, SurfaceCapabilities2KHR*, Result>)( - _slots[583] is not null and var loadedFnPtr + _slots[636] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[583] = nativeContext.LoadFunction( + : _slots[636] = nativeContext.LoadFunction( "vkGetPhysicalDeviceSurfaceCapabilities2KHR", "vulkan" ) @@ -165200,9 +179637,9 @@ Result IVk.GetPhysicalDeviceSurfaceCapabilitiesKHR( SurfaceHandleKHR, SurfaceCapabilitiesKHR*, Result>)( - _slots[584] is not null and var loadedFnPtr + _slots[637] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[584] = nativeContext.LoadFunction( + : _slots[637] = nativeContext.LoadFunction( "vkGetPhysicalDeviceSurfaceCapabilitiesKHR", "vulkan" ) @@ -165281,9 +179718,9 @@ Result IVk.GetPhysicalDeviceSurfaceFormats2KHR( uint*, SurfaceFormat2KHR*, Result>)( - _slots[585] is not null and var loadedFnPtr + _slots[638] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[585] = nativeContext.LoadFunction( + : _slots[638] = nativeContext.LoadFunction( "vkGetPhysicalDeviceSurfaceFormats2KHR", "vulkan" ) @@ -165378,9 +179815,9 @@ Result IVk.GetPhysicalDeviceSurfaceFormatsKHR( uint*, SurfaceFormatKHR*, Result>)( - _slots[586] is not null and var loadedFnPtr + _slots[639] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[586] = nativeContext.LoadFunction( + : _slots[639] = nativeContext.LoadFunction( "vkGetPhysicalDeviceSurfaceFormatsKHR", "vulkan" ) @@ -165462,9 +179899,9 @@ Result IVk.GetPhysicalDeviceSurfacePresentModesKHR( uint*, PresentModeKHR*, Result>)( - _slots[587] is not null and var loadedFnPtr + _slots[640] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[587] = nativeContext.LoadFunction( + : _slots[640] = nativeContext.LoadFunction( "vkGetPhysicalDeviceSurfacePresentModesKHR", "vulkan" ) @@ -165541,9 +179978,9 @@ Result IVk.GetPhysicalDeviceSurfaceSupportKHR( ) => ( (delegate* unmanaged)( - _slots[588] is not null and var loadedFnPtr + _slots[641] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[588] = nativeContext.LoadFunction( + : _slots[641] = nativeContext.LoadFunction( "vkGetPhysicalDeviceSurfaceSupportKHR", "vulkan" ) @@ -165635,9 +180072,9 @@ Result IVk.GetPhysicalDeviceToolProperties( uint*, PhysicalDeviceToolProperties*, Result>)( - _slots[589] is not null and var loadedFnPtr + _slots[642] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[589] = nativeContext.LoadFunction( + : _slots[642] = nativeContext.LoadFunction( "vkGetPhysicalDeviceToolProperties", "vulkan" ) @@ -165740,9 +180177,9 @@ Result IVk.GetPhysicalDeviceToolPropertiesEXT( uint*, PhysicalDeviceToolProperties*, Result>)( - _slots[590] is not null and var loadedFnPtr + _slots[643] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[590] = nativeContext.LoadFunction( + : _slots[643] = nativeContext.LoadFunction( "vkGetPhysicalDeviceToolPropertiesEXT", "vulkan" ) @@ -165810,9 +180247,9 @@ Result IVk.GetPhysicalDeviceVideoCapabilitiesKHR( VideoProfileInfoKHR*, VideoCapabilitiesKHR*, Result>)( - _slots[591] is not null and var loadedFnPtr + _slots[644] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[591] = nativeContext.LoadFunction( + : _slots[644] = nativeContext.LoadFunction( "vkGetPhysicalDeviceVideoCapabilitiesKHR", "vulkan" ) @@ -165908,9 +180345,9 @@ Result IVk.GetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR( PhysicalDeviceVideoEncodeQualityLevelInfoKHR*, VideoEncodeQualityLevelPropertiesKHR*, Result>)( - _slots[592] is not null and var loadedFnPtr + _slots[645] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[592] = nativeContext.LoadFunction( + : _slots[645] = nativeContext.LoadFunction( "vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR", "vulkan" ) @@ -166026,9 +180463,9 @@ Result IVk.GetPhysicalDeviceVideoFormatPropertiesKHR( uint*, VideoFormatPropertiesKHR*, Result>)( - _slots[593] is not null and var loadedFnPtr + _slots[646] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[593] = nativeContext.LoadFunction( + : _slots[646] = nativeContext.LoadFunction( "vkGetPhysicalDeviceVideoFormatPropertiesKHR", "vulkan" ) @@ -166111,6 +180548,7 @@ Ref pVideoFormatProperties "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -166132,9 +180570,9 @@ Result IVk.GetPipelineBinaryDataKHR( nuint*, void*, Result>)( - _slots[594] is not null and var loadedFnPtr + _slots[647] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[594] = nativeContext.LoadFunction( + : _slots[647] = nativeContext.LoadFunction( "vkGetPipelineBinaryDataKHR", "vulkan" ) @@ -166146,6 +180584,7 @@ _slots[594] is not null and var loadedFnPtr "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -166172,6 +180611,7 @@ public static Result GetPipelineBinaryDataKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -166207,6 +180647,7 @@ Ref pPipelineBinaryData "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -166260,9 +180701,9 @@ Result IVk.GetPipelineCacheData( ) => ( (delegate* unmanaged)( - _slots[595] is not null and var loadedFnPtr + _slots[648] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[595] = nativeContext.LoadFunction("vkGetPipelineCacheData", "vulkan") + : _slots[648] = nativeContext.LoadFunction("vkGetPipelineCacheData", "vulkan") ) )(device, pipelineCache, pDataSize, pData); @@ -166396,9 +180837,9 @@ Result IVk.GetPipelineExecutableInternalRepresentationsKHR( uint*, PipelineExecutableInternalRepresentationKHR*, Result>)( - _slots[596] is not null and var loadedFnPtr + _slots[649] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[596] = nativeContext.LoadFunction( + : _slots[649] = nativeContext.LoadFunction( "vkGetPipelineExecutableInternalRepresentationsKHR", "vulkan" ) @@ -166512,9 +180953,9 @@ Result IVk.GetPipelineExecutablePropertiesKHR( uint*, PipelineExecutablePropertiesKHR*, Result>)( - _slots[597] is not null and var loadedFnPtr + _slots[650] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[597] = nativeContext.LoadFunction( + : _slots[650] = nativeContext.LoadFunction( "vkGetPipelineExecutablePropertiesKHR", "vulkan" ) @@ -166625,9 +181066,9 @@ Result IVk.GetPipelineExecutableStatisticsKHR( uint*, PipelineExecutableStatisticKHR*, Result>)( - _slots[598] is not null and var loadedFnPtr + _slots[651] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[598] = nativeContext.LoadFunction( + : _slots[651] = nativeContext.LoadFunction( "vkGetPipelineExecutableStatisticsKHR", "vulkan" ) @@ -166728,9 +181169,9 @@ ulong IVk.GetPipelineIndirectDeviceAddressNV( ) => ( (delegate* unmanaged)( - _slots[599] is not null and var loadedFnPtr + _slots[652] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[599] = nativeContext.LoadFunction( + : _slots[652] = nativeContext.LoadFunction( "vkGetPipelineIndirectDeviceAddressNV", "vulkan" ) @@ -166801,9 +181242,9 @@ void IVk.GetPipelineIndirectMemoryRequirementsNV( ComputePipelineCreateInfo*, MemoryRequirements2*, void>)( - _slots[600] is not null and var loadedFnPtr + _slots[653] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[600] = nativeContext.LoadFunction( + : _slots[653] = nativeContext.LoadFunction( "vkGetPipelineIndirectMemoryRequirementsNV", "vulkan" ) @@ -166878,6 +181319,7 @@ Ref pMemoryRequirements "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -166895,9 +181337,9 @@ Result IVk.GetPipelineKeyKHR( PipelineCreateInfoKHR*, PipelineBinaryKeyKHR*, Result>)( - _slots[601] is not null and var loadedFnPtr + _slots[654] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[601] = nativeContext.LoadFunction("vkGetPipelineKeyKHR", "vulkan") + : _slots[654] = nativeContext.LoadFunction("vkGetPipelineKeyKHR", "vulkan") ) )(device, pPipelineCreateInfo, pPipelineKey); @@ -166906,6 +181348,7 @@ _slots[601] is not null and var loadedFnPtr "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -166923,6 +181366,7 @@ public static Result GetPipelineKeyKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -166952,6 +181396,7 @@ Ref pPipelineKey "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -166982,9 +181427,9 @@ Result IVk.GetPipelinePropertiesEXT( ) => ( (delegate* unmanaged)( - _slots[602] is not null and var loadedFnPtr + _slots[655] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[602] = nativeContext.LoadFunction( + : _slots[655] = nativeContext.LoadFunction( "vkGetPipelinePropertiesEXT", "vulkan" ) @@ -167086,9 +181531,9 @@ void IVk.GetPrivateData( PrivateDataSlotHandle, ulong*, void>)( - _slots[603] is not null and var loadedFnPtr + _slots[656] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[603] = nativeContext.LoadFunction("vkGetPrivateData", "vulkan") + : _slots[656] = nativeContext.LoadFunction("vkGetPrivateData", "vulkan") ) )(device, objectType, objectHandle, privateDataSlot, pData); @@ -167205,9 +181650,9 @@ void IVk.GetPrivateDataEXT( PrivateDataSlotHandle, ulong*, void>)( - _slots[604] is not null and var loadedFnPtr + _slots[657] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[604] = nativeContext.LoadFunction("vkGetPrivateDataEXT", "vulkan") + : _slots[657] = nativeContext.LoadFunction("vkGetPrivateDataEXT", "vulkan") ) )(device, objectType, objectHandle, privateDataSlot, pData); @@ -167330,9 +181775,9 @@ QueryResultFlags flags ulong, QueryResultFlags, Result>)( - _slots[605] is not null and var loadedFnPtr + _slots[658] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[605] = nativeContext.LoadFunction("vkGetQueryPoolResults", "vulkan") + : _slots[658] = nativeContext.LoadFunction("vkGetQueryPoolResults", "vulkan") ) )(device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags); @@ -167513,9 +181958,9 @@ void IVk.GetQueueCheckpointData2NV( ) => ( (delegate* unmanaged)( - _slots[606] is not null and var loadedFnPtr + _slots[659] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[606] = nativeContext.LoadFunction( + : _slots[659] = nativeContext.LoadFunction( "vkGetQueueCheckpointData2NV", "vulkan" ) @@ -167611,9 +182056,9 @@ void IVk.GetQueueCheckpointDataNV( ) => ( (delegate* unmanaged)( - _slots[607] is not null and var loadedFnPtr + _slots[660] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[607] = nativeContext.LoadFunction( + : _slots[660] = nativeContext.LoadFunction( "vkGetQueueCheckpointDataNV", "vulkan" ) @@ -167703,9 +182148,9 @@ Result IVk.GetRayTracingCaptureReplayShaderGroupHandlesKHR( ) => ( (delegate* unmanaged)( - _slots[608] is not null and var loadedFnPtr + _slots[661] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[608] = nativeContext.LoadFunction( + : _slots[661] = nativeContext.LoadFunction( "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR", "vulkan" ) @@ -167823,9 +182268,9 @@ Result IVk.GetRayTracingShaderGroupHandlesKHR( ) => ( (delegate* unmanaged)( - _slots[609] is not null and var loadedFnPtr + _slots[662] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[609] = nativeContext.LoadFunction( + : _slots[662] = nativeContext.LoadFunction( "vkGetRayTracingShaderGroupHandlesKHR", "vulkan" ) @@ -167943,9 +182388,9 @@ Result IVk.GetRayTracingShaderGroupHandlesNV( ) => ( (delegate* unmanaged)( - _slots[610] is not null and var loadedFnPtr + _slots[663] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[610] = nativeContext.LoadFunction( + : _slots[663] = nativeContext.LoadFunction( "vkGetRayTracingShaderGroupHandlesNV", "vulkan" ) @@ -168061,9 +182506,9 @@ ShaderGroupShaderKHR groupShader ) => ( (delegate* unmanaged)( - _slots[611] is not null and var loadedFnPtr + _slots[664] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[611] = nativeContext.LoadFunction( + : _slots[664] = nativeContext.LoadFunction( "vkGetRayTracingShaderGroupStackSizeKHR", "vulkan" ) @@ -168107,9 +182552,9 @@ Result IVk.GetRefreshCycleDurationGOOGLE( SwapchainHandleKHR, RefreshCycleDurationGOOGLE*, Result>)( - _slots[612] is not null and var loadedFnPtr + _slots[665] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[612] = nativeContext.LoadFunction( + : _slots[665] = nativeContext.LoadFunction( "vkGetRefreshCycleDurationGOOGLE", "vulkan" ) @@ -168197,9 +182642,9 @@ void IVk.GetRenderAreaGranularity( ) => ( (delegate* unmanaged)( - _slots[613] is not null and var loadedFnPtr + _slots[666] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[613] = nativeContext.LoadFunction( + : _slots[666] = nativeContext.LoadFunction( "vkGetRenderAreaGranularity", "vulkan" ) @@ -168302,9 +182747,9 @@ void IVk.GetRenderingAreaGranularity( ) => ( (delegate* unmanaged)( - _slots[614] is not null and var loadedFnPtr + _slots[667] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[614] = nativeContext.LoadFunction( + : _slots[667] = nativeContext.LoadFunction( "vkGetRenderingAreaGranularity", "vulkan" ) @@ -168379,9 +182824,9 @@ void IVk.GetRenderingAreaGranularityKHR( ) => ( (delegate* unmanaged)( - _slots[615] is not null and var loadedFnPtr + _slots[668] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[615] = nativeContext.LoadFunction( + : _slots[668] = nativeContext.LoadFunction( "vkGetRenderingAreaGranularityKHR", "vulkan" ) @@ -168465,9 +182910,9 @@ Result IVk.GetSamplerOpaqueCaptureDescriptorDataEXT( SamplerCaptureDescriptorDataInfoEXT*, void*, Result>)( - _slots[616] is not null and var loadedFnPtr + _slots[669] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[616] = nativeContext.LoadFunction( + : _slots[669] = nativeContext.LoadFunction( "vkGetSamplerOpaqueCaptureDescriptorDataEXT", "vulkan" ) @@ -168571,9 +183016,9 @@ Result IVk.GetSemaphoreCounterValue( ) => ( (delegate* unmanaged)( - _slots[617] is not null and var loadedFnPtr + _slots[670] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[617] = nativeContext.LoadFunction( + : _slots[670] = nativeContext.LoadFunction( "vkGetSemaphoreCounterValue", "vulkan" ) @@ -168685,9 +183130,9 @@ Result IVk.GetSemaphoreCounterValueKHR( ) => ( (delegate* unmanaged)( - _slots[618] is not null and var loadedFnPtr + _slots[671] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[618] = nativeContext.LoadFunction( + : _slots[671] = nativeContext.LoadFunction( "vkGetSemaphoreCounterValueKHR", "vulkan" ) @@ -168769,9 +183214,9 @@ Result IVk.GetSemaphoreFdKHR( ) => ( (delegate* unmanaged)( - _slots[619] is not null and var loadedFnPtr + _slots[672] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[619] = nativeContext.LoadFunction("vkGetSemaphoreFdKHR", "vulkan") + : _slots[672] = nativeContext.LoadFunction("vkGetSemaphoreFdKHR", "vulkan") ) )(device, pGetFdInfo, pFd); @@ -168853,9 +183298,9 @@ Result IVk.GetShaderBinaryDataEXT( ) => ( (delegate* unmanaged)( - _slots[620] is not null and var loadedFnPtr + _slots[673] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[620] = nativeContext.LoadFunction("vkGetShaderBinaryDataEXT", "vulkan") + : _slots[673] = nativeContext.LoadFunction("vkGetShaderBinaryDataEXT", "vulkan") ) )(device, shader, pDataSize, pData); @@ -168945,9 +183390,9 @@ Result IVk.GetShaderInfoAMD( nuint*, void*, Result>)( - _slots[621] is not null and var loadedFnPtr + _slots[674] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[621] = nativeContext.LoadFunction("vkGetShaderInfoAMD", "vulkan") + : _slots[674] = nativeContext.LoadFunction("vkGetShaderInfoAMD", "vulkan") ) )(device, pipeline, shaderStage, infoType, pInfoSize, pInfo); @@ -169005,6 +183450,126 @@ public static Result GetShaderInfoAMD( Ref pInfo ) => ThisThread.GetShaderInfoAMD(device, pipeline, shaderStage, infoType, pInfoSize, pInfo); + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + uint* pMetricBlockCount, + void* pMetricValues, + uint flags + ) => + ( + (delegate* unmanaged< + DeviceHandle, + ShaderInstrumentationHandleARM, + uint*, + void*, + uint, + Result>)( + _slots[675] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[675] = nativeContext.LoadFunction( + "vkGetShaderInstrumentationValuesARM", + "vulkan" + ) + ) + )(device, instrumentation, pMetricBlockCount, pMetricValues, flags); + + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + uint* pMetricBlockCount, + void* pMetricValues, + uint flags + ) => + ThisThread.GetShaderInstrumentationValuesARM( + device, + instrumentation, + pMetricBlockCount, + pMetricValues, + flags + ); + + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pMetricBlockCount, + Ref pMetricValues, + uint flags + ) + { + fixed (void* __dsl_pMetricValues = pMetricValues) + fixed (uint* __dsl_pMetricBlockCount = pMetricBlockCount) + { + return (Result) + ((IVk)this).GetShaderInstrumentationValuesARM( + device, + instrumentation, + __dsl_pMetricBlockCount, + __dsl_pMetricValues, + flags + ); + } + } + + [NativeName("vkGetShaderInstrumentationValuesARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_shader_instrumentation"], + ImpliesSets = [ + "VK_ARM_shader_instrumentation+VK_KHR_get_physical_device_properties2", + "VK_ARM_shader_instrumentation+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetShaderInstrumentationValuesARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetShaderInstrumentationValuesARM( + DeviceHandle device, + ShaderInstrumentationHandleARM instrumentation, + Ref pMetricBlockCount, + Ref pMetricValues, + uint flags + ) => + ThisThread.GetShaderInstrumentationValuesARM( + device, + instrumentation, + pMetricBlockCount, + pMetricValues, + flags + ); + [NativeName("vkGetShaderModuleCreateInfoIdentifierEXT")] [SupportedApiProfile( "vulkan", @@ -169028,9 +183593,9 @@ void IVk.GetShaderModuleCreateInfoIdentifierEXT( ShaderModuleCreateInfo*, ShaderModuleIdentifierEXT*, void>)( - _slots[622] is not null and var loadedFnPtr + _slots[676] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[622] = nativeContext.LoadFunction( + : _slots[676] = nativeContext.LoadFunction( "vkGetShaderModuleCreateInfoIdentifierEXT", "vulkan" ) @@ -169125,9 +183690,9 @@ void IVk.GetShaderModuleIdentifierEXT( ShaderModuleHandle, ShaderModuleIdentifierEXT*, void>)( - _slots[623] is not null and var loadedFnPtr + _slots[677] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[623] = nativeContext.LoadFunction( + : _slots[677] = nativeContext.LoadFunction( "vkGetShaderModuleIdentifierEXT", "vulkan" ) @@ -169215,9 +183780,9 @@ Result IVk.GetSwapchainCounterEXT( SurfaceCounterFlagsEXT, ulong*, Result>)( - _slots[624] is not null and var loadedFnPtr + _slots[678] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[624] = nativeContext.LoadFunction("vkGetSwapchainCounterEXT", "vulkan") + : _slots[678] = nativeContext.LoadFunction("vkGetSwapchainCounterEXT", "vulkan") ) )(device, swapchain, counter, pCounterValue); @@ -169285,9 +183850,9 @@ Result IVk.GetSwapchainImagesKHR( ) => ( (delegate* unmanaged)( - _slots[625] is not null and var loadedFnPtr + _slots[679] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[625] = nativeContext.LoadFunction("vkGetSwapchainImagesKHR", "vulkan") + : _slots[679] = nativeContext.LoadFunction("vkGetSwapchainImagesKHR", "vulkan") ) )(device, swapchain, pSwapchainImageCount, pSwapchainImages); @@ -169353,9 +183918,9 @@ Ref pSwapchainImages Result IVk.GetSwapchainStatusKHR(DeviceHandle device, SwapchainHandleKHR swapchain) => ( (delegate* unmanaged)( - _slots[626] is not null and var loadedFnPtr + _slots[680] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[626] = nativeContext.LoadFunction("vkGetSwapchainStatusKHR", "vulkan") + : _slots[680] = nativeContext.LoadFunction("vkGetSwapchainStatusKHR", "vulkan") ) )(device, swapchain); @@ -169373,6 +183938,252 @@ _slots[626] is not null and var loadedFnPtr public static Result GetSwapchainStatusKHR(DeviceHandle device, SwapchainHandleKHR swapchain) => ThisThread.GetSwapchainStatusKHR(device, swapchain); + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimeDomainPropertiesEXT* pSwapchainTimeDomainProperties, + ulong* pTimeDomainsCounter + ) => + ( + (delegate* unmanaged< + DeviceHandle, + SwapchainHandleKHR, + SwapchainTimeDomainPropertiesEXT*, + ulong*, + Result>)( + _slots[681] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[681] = nativeContext.LoadFunction( + "vkGetSwapchainTimeDomainPropertiesEXT", + "vulkan" + ) + ) + )(device, swapchain, pSwapchainTimeDomainProperties, pTimeDomainsCounter); + + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimeDomainPropertiesEXT* pSwapchainTimeDomainProperties, + ulong* pTimeDomainsCounter + ) => + ThisThread.GetSwapchainTimeDomainPropertiesEXT( + device, + swapchain, + pSwapchainTimeDomainProperties, + pTimeDomainsCounter + ); + + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimeDomainProperties, + Ref pTimeDomainsCounter + ) + { + fixed (ulong* __dsl_pTimeDomainsCounter = pTimeDomainsCounter) + fixed ( + SwapchainTimeDomainPropertiesEXT* __dsl_pSwapchainTimeDomainProperties = + pSwapchainTimeDomainProperties + ) + { + return (Result) + ((IVk)this).GetSwapchainTimeDomainPropertiesEXT( + device, + swapchain, + __dsl_pSwapchainTimeDomainProperties, + __dsl_pTimeDomainsCounter + ); + } + } + + [NativeName("vkGetSwapchainTimeDomainPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimeDomainPropertiesEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetSwapchainTimeDomainPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimeDomainProperties, + Ref pTimeDomainsCounter + ) => + ThisThread.GetSwapchainTimeDomainPropertiesEXT( + device, + swapchain, + pSwapchainTimeDomainProperties, + pTimeDomainsCounter + ); + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimingPropertiesEXT* pSwapchainTimingProperties, + ulong* pSwapchainTimingPropertiesCounter + ) => + ( + (delegate* unmanaged< + DeviceHandle, + SwapchainHandleKHR, + SwapchainTimingPropertiesEXT*, + ulong*, + Result>)( + _slots[682] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[682] = nativeContext.LoadFunction( + "vkGetSwapchainTimingPropertiesEXT", + "vulkan" + ) + ) + )(device, swapchain, pSwapchainTimingProperties, pSwapchainTimingPropertiesCounter); + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + SwapchainTimingPropertiesEXT* pSwapchainTimingProperties, + ulong* pSwapchainTimingPropertiesCounter + ) => + ThisThread.GetSwapchainTimingPropertiesEXT( + device, + swapchain, + pSwapchainTimingProperties, + pSwapchainTimingPropertiesCounter + ); + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimingProperties, + Ref pSwapchainTimingPropertiesCounter + ) + { + fixed (ulong* __dsl_pSwapchainTimingPropertiesCounter = pSwapchainTimingPropertiesCounter) + fixed ( + SwapchainTimingPropertiesEXT* __dsl_pSwapchainTimingProperties = + pSwapchainTimingProperties + ) + { + return (Result) + ((IVk)this).GetSwapchainTimingPropertiesEXT( + device, + swapchain, + __dsl_pSwapchainTimingProperties, + __dsl_pSwapchainTimingPropertiesCounter + ); + } + } + + [NativeName("vkGetSwapchainTimingPropertiesEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkGetSwapchainTimingPropertiesEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetSwapchainTimingPropertiesEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + Ref pSwapchainTimingProperties, + Ref pSwapchainTimingPropertiesCounter + ) => + ThisThread.GetSwapchainTimingPropertiesEXT( + device, + swapchain, + pSwapchainTimingProperties, + pSwapchainTimingPropertiesCounter + ); + [NativeName("vkGetTensorMemoryRequirementsARM")] [SupportedApiProfile("vulkan", ["VK_ARM_tensors"], ImpliesSets = ["VK_VERSION_1_3"])] [NativeFunction("vulkan", EntryPoint = "vkGetTensorMemoryRequirementsARM")] @@ -169388,9 +184199,9 @@ void IVk.GetTensorMemoryRequirementsARM( TensorMemoryRequirementsInfoARM*, MemoryRequirements2*, void>)( - _slots[627] is not null and var loadedFnPtr + _slots[683] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[627] = nativeContext.LoadFunction( + : _slots[683] = nativeContext.LoadFunction( "vkGetTensorMemoryRequirementsARM", "vulkan" ) @@ -169438,6 +184249,122 @@ public static void GetTensorMemoryRequirementsARM( Ref pMemoryRequirements ) => ThisThread.GetTensorMemoryRequirementsARM(device, pInfo, pMemoryRequirements); + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + TensorHandleARM* pTensors, + HostAddressRangeEXT* pDatas + ) => + ( + (delegate* unmanaged< + DeviceHandle, + uint, + TensorHandleARM*, + HostAddressRangeEXT*, + Result>)( + _slots[684] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[684] = nativeContext.LoadFunction( + "vkGetTensorOpaqueCaptureDataARM", + "vulkan" + ) + ) + )(device, tensorCount, pTensors, pDatas); + + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + TensorHandleARM* pTensors, + HostAddressRangeEXT* pDatas + ) => ThisThread.GetTensorOpaqueCaptureDataARM(device, tensorCount, pTensors, pDatas); + + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + Ref pTensors, + Ref pDatas + ) + { + fixed (HostAddressRangeEXT* __dsl_pDatas = pDatas) + fixed (TensorHandleARM* __dsl_pTensors = pTensors) + { + return (Result) + ((IVk)this).GetTensorOpaqueCaptureDataARM( + device, + tensorCount, + __dsl_pTensors, + __dsl_pDatas + ); + } + } + + [NativeName("vkGetTensorOpaqueCaptureDataARM")] + [SupportedApiProfile( + "vulkan", + ["VK_ARM_tensors", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkGetTensorOpaqueCaptureDataARM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result GetTensorOpaqueCaptureDataARM( + DeviceHandle device, + uint tensorCount, + Ref pTensors, + Ref pDatas + ) => ThisThread.GetTensorOpaqueCaptureDataARM(device, tensorCount, pTensors, pDatas); + [NativeName("vkGetTensorOpaqueCaptureDescriptorDataARM")] [SupportedApiProfile( "vulkan", @@ -169454,9 +184381,9 @@ Result IVk.GetTensorOpaqueCaptureDescriptorDataARM( ) => ( (delegate* unmanaged)( - _slots[628] is not null and var loadedFnPtr + _slots[685] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[628] = nativeContext.LoadFunction( + : _slots[685] = nativeContext.LoadFunction( "vkGetTensorOpaqueCaptureDescriptorDataARM", "vulkan" ) @@ -169540,9 +184467,9 @@ Result IVk.GetTensorViewOpaqueCaptureDescriptorDataARM( TensorViewCaptureDescriptorDataInfoARM*, void*, Result>)( - _slots[629] is not null and var loadedFnPtr + _slots[686] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[629] = nativeContext.LoadFunction( + : _slots[686] = nativeContext.LoadFunction( "vkGetTensorViewOpaqueCaptureDescriptorDataARM", "vulkan" ) @@ -169618,9 +184545,9 @@ Result IVk.GetValidationCacheDataEXT( ) => ( (delegate* unmanaged)( - _slots[630] is not null and var loadedFnPtr + _slots[687] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[630] = nativeContext.LoadFunction( + : _slots[687] = nativeContext.LoadFunction( "vkGetValidationCacheDataEXT", "vulkan" ) @@ -169694,9 +184621,9 @@ Result IVk.GetVideoSessionMemoryRequirementsKHR( uint*, VideoSessionMemoryRequirementsKHR*, Result>)( - _slots[631] is not null and var loadedFnPtr + _slots[688] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[631] = nativeContext.LoadFunction( + : _slots[688] = nativeContext.LoadFunction( "vkGetVideoSessionMemoryRequirementsKHR", "vulkan" ) @@ -169787,9 +184714,9 @@ Ref pMemoryRequirements Result IVk.ImportFenceFdKHR(DeviceHandle device, ImportFenceFdInfoKHR* pImportFenceFdInfo) => ( (delegate* unmanaged)( - _slots[632] is not null and var loadedFnPtr + _slots[689] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[632] = nativeContext.LoadFunction("vkImportFenceFdKHR", "vulkan") + : _slots[689] = nativeContext.LoadFunction("vkImportFenceFdKHR", "vulkan") ) )(device, pImportFenceFdInfo); @@ -169861,9 +184788,9 @@ Result IVk.ImportSemaphoreFdKHR( ) => ( (delegate* unmanaged)( - _slots[633] is not null and var loadedFnPtr + _slots[690] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[633] = nativeContext.LoadFunction("vkImportSemaphoreFdKHR", "vulkan") + : _slots[690] = nativeContext.LoadFunction("vkImportSemaphoreFdKHR", "vulkan") ) )(device, pImportSemaphoreFdInfo); @@ -169931,9 +184858,9 @@ Result IVk.InitializePerformanceApiINTEL( ) => ( (delegate* unmanaged)( - _slots[634] is not null and var loadedFnPtr + _slots[691] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[634] = nativeContext.LoadFunction( + : _slots[691] = nativeContext.LoadFunction( "vkInitializePerformanceApiINTEL", "vulkan" ) @@ -170009,9 +184936,9 @@ Result IVk.InvalidateMappedMemoryRanges( ) => ( (delegate* unmanaged)( - _slots[635] is not null and var loadedFnPtr + _slots[692] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[635] = nativeContext.LoadFunction( + : _slots[692] = nativeContext.LoadFunction( "vkInvalidateMappedMemoryRanges", "vulkan" ) @@ -170154,9 +185081,9 @@ Result IVk.LatencySleepNV( ) => ( (delegate* unmanaged)( - _slots[636] is not null and var loadedFnPtr + _slots[693] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[636] = nativeContext.LoadFunction("vkLatencySleepNV", "vulkan") + : _slots[693] = nativeContext.LoadFunction("vkLatencySleepNV", "vulkan") ) )(device, swapchain, pSleepInfo); @@ -170269,9 +185196,9 @@ Result IVk.MapMemory( MemoryMapFlags, void**, Result>)( - _slots[637] is not null and var loadedFnPtr + _slots[694] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[637] = nativeContext.LoadFunction("vkMapMemory", "vulkan") + : _slots[694] = nativeContext.LoadFunction("vkMapMemory", "vulkan") ) )(device, memory, offset, size, flags, ppData); @@ -170411,9 +185338,9 @@ Ref2D ppData Result IVk.MapMemory2(DeviceHandle device, MemoryMapInfo* pMemoryMapInfo, void** ppData) => ( (delegate* unmanaged)( - _slots[638] is not null and var loadedFnPtr + _slots[695] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[638] = nativeContext.LoadFunction("vkMapMemory2", "vulkan") + : _slots[695] = nativeContext.LoadFunction("vkMapMemory2", "vulkan") ) )(device, pMemoryMapInfo, ppData); @@ -170484,9 +185411,9 @@ Ref2D ppData Result IVk.MapMemory2KHR(DeviceHandle device, MemoryMapInfo* pMemoryMapInfo, void** ppData) => ( (delegate* unmanaged)( - _slots[639] is not null and var loadedFnPtr + _slots[696] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[639] = nativeContext.LoadFunction("vkMapMemory2KHR", "vulkan") + : _slots[696] = nativeContext.LoadFunction("vkMapMemory2KHR", "vulkan") ) )(device, pMemoryMapInfo, ppData); @@ -170560,9 +185487,9 @@ Result IVk.MergePipelineCaches( uint, PipelineCacheHandle*, Result>)( - _slots[640] is not null and var loadedFnPtr + _slots[697] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[640] = nativeContext.LoadFunction("vkMergePipelineCaches", "vulkan") + : _slots[697] = nativeContext.LoadFunction("vkMergePipelineCaches", "vulkan") ) )(device, dstCache, srcCacheCount, pSrcCaches); @@ -170683,9 +185610,9 @@ Result IVk.MergeValidationCachesEXT( uint, ValidationCacheHandleEXT*, Result>)( - _slots[641] is not null and var loadedFnPtr + _slots[698] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[641] = nativeContext.LoadFunction( + : _slots[698] = nativeContext.LoadFunction( "vkMergeValidationCachesEXT", "vulkan" ) @@ -170744,9 +185671,9 @@ Ref pSrcCaches void IVk.QueueBeginDebugUtilsLabelEXT(QueueHandle queue, DebugUtilsLabelEXT* pLabelInfo) => ( (delegate* unmanaged)( - _slots[642] is not null and var loadedFnPtr + _slots[699] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[642] = nativeContext.LoadFunction( + : _slots[699] = nativeContext.LoadFunction( "vkQueueBeginDebugUtilsLabelEXT", "vulkan" ) @@ -170820,9 +185747,9 @@ FenceHandle fence ) => ( (delegate* unmanaged)( - _slots[643] is not null and var loadedFnPtr + _slots[700] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[643] = nativeContext.LoadFunction("vkQueueBindSparse", "vulkan") + : _slots[700] = nativeContext.LoadFunction("vkQueueBindSparse", "vulkan") ) )(queue, bindInfoCount, pBindInfo, fence); @@ -170948,9 +185875,9 @@ FenceHandle fence void IVk.QueueEndDebugUtilsLabelEXT(QueueHandle queue) => ( (delegate* unmanaged)( - _slots[644] is not null and var loadedFnPtr + _slots[701] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[644] = nativeContext.LoadFunction( + : _slots[701] = nativeContext.LoadFunction( "vkQueueEndDebugUtilsLabelEXT", "vulkan" ) @@ -170971,9 +185898,9 @@ public static void QueueEndDebugUtilsLabelEXT(QueueHandle queue) => void IVk.QueueInsertDebugUtilsLabelEXT(QueueHandle queue, DebugUtilsLabelEXT* pLabelInfo) => ( (delegate* unmanaged)( - _slots[645] is not null and var loadedFnPtr + _slots[702] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[645] = nativeContext.LoadFunction( + : _slots[702] = nativeContext.LoadFunction( "vkQueueInsertDebugUtilsLabelEXT", "vulkan" ) @@ -171026,9 +185953,9 @@ Ref pLabelInfo void IVk.QueueNotifyOutOfBandNV(QueueHandle queue, OutOfBandQueueTypeInfoNV* pQueueTypeInfo) => ( (delegate* unmanaged)( - _slots[646] is not null and var loadedFnPtr + _slots[703] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[646] = nativeContext.LoadFunction("vkQueueNotifyOutOfBandNV", "vulkan") + : _slots[703] = nativeContext.LoadFunction("vkQueueNotifyOutOfBandNV", "vulkan") ) )(queue, pQueueTypeInfo); @@ -171096,9 +186023,9 @@ Ref pQueueTypeInfo Result IVk.QueuePresentKHR(QueueHandle queue, PresentInfoKHR* pPresentInfo) => ( (delegate* unmanaged)( - _slots[647] is not null and var loadedFnPtr + _slots[704] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[647] = nativeContext.LoadFunction("vkQueuePresentKHR", "vulkan") + : _slots[704] = nativeContext.LoadFunction("vkQueuePresentKHR", "vulkan") ) )(queue, pPresentInfo); @@ -171128,6 +186055,75 @@ Result IVk.QueuePresentKHR(QueueHandle queue, Ref pPresentInfo) public static Result QueuePresentKHR(QueueHandle queue, Ref pPresentInfo) => ThisThread.QueuePresentKHR(queue, pPresentInfo); + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.QueueSetPerfHintQCOM(QueueHandle queue, PerfHintInfoQCOM* pPerfHintInfo) => + ( + (delegate* unmanaged)( + _slots[705] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[705] = nativeContext.LoadFunction("vkQueueSetPerfHintQCOM", "vulkan") + ) + )(queue, pPerfHintInfo); + + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result QueueSetPerfHintQCOM(QueueHandle queue, PerfHintInfoQCOM* pPerfHintInfo) => + ThisThread.QueueSetPerfHintQCOM(queue, pPerfHintInfo); + + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.QueueSetPerfHintQCOM(QueueHandle queue, Ref pPerfHintInfo) + { + fixed (PerfHintInfoQCOM* __dsl_pPerfHintInfo = pPerfHintInfo) + { + return (Result)((IVk)this).QueueSetPerfHintQCOM(queue, __dsl_pPerfHintInfo); + } + } + + [NativeName("vkQueueSetPerfHintQCOM")] + [SupportedApiProfile( + "vulkan", + ["VK_QCOM_queue_perf_hint"], + ImpliesSets = [ + "VK_QCOM_queue_perf_hint+VK_KHR_get_physical_device_properties2", + "VK_QCOM_queue_perf_hint+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerfHintQCOM")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result QueueSetPerfHintQCOM( + QueueHandle queue, + Ref pPerfHintInfo + ) => ThisThread.QueueSetPerfHintQCOM(queue, pPerfHintInfo); + [NativeName("vkQueueSetPerformanceConfigurationINTEL")] [SupportedApiProfile("vulkan", ["VK_INTEL_performance_query"])] [NativeFunction("vulkan", EntryPoint = "vkQueueSetPerformanceConfigurationINTEL")] @@ -171138,9 +186134,9 @@ PerformanceConfigurationHandleINTEL configuration ) => ( (delegate* unmanaged)( - _slots[648] is not null and var loadedFnPtr + _slots[706] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[648] = nativeContext.LoadFunction( + : _slots[706] = nativeContext.LoadFunction( "vkQueueSetPerformanceConfigurationINTEL", "vulkan" ) @@ -171193,9 +186189,9 @@ FenceHandle fence ) => ( (delegate* unmanaged)( - _slots[649] is not null and var loadedFnPtr + _slots[707] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[649] = nativeContext.LoadFunction("vkQueueSubmit", "vulkan") + : _slots[707] = nativeContext.LoadFunction("vkQueueSubmit", "vulkan") ) )(queue, submitCount, pSubmits, fence); @@ -171338,9 +186334,9 @@ FenceHandle fence ) => ( (delegate* unmanaged)( - _slots[650] is not null and var loadedFnPtr + _slots[708] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[650] = nativeContext.LoadFunction("vkQueueSubmit2", "vulkan") + : _slots[708] = nativeContext.LoadFunction("vkQueueSubmit2", "vulkan") ) )(queue, submitCount, pSubmits, fence); @@ -171441,9 +186437,9 @@ FenceHandle fence ) => ( (delegate* unmanaged)( - _slots[651] is not null and var loadedFnPtr + _slots[709] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[651] = nativeContext.LoadFunction("vkQueueSubmit2KHR", "vulkan") + : _slots[709] = nativeContext.LoadFunction("vkQueueSubmit2KHR", "vulkan") ) )(queue, submitCount, pSubmits, fence); @@ -171539,9 +186535,9 @@ FenceHandle fence Result IVk.QueueWaitIdle(QueueHandle queue) => ( (delegate* unmanaged)( - _slots[652] is not null and var loadedFnPtr + _slots[710] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[652] = nativeContext.LoadFunction("vkQueueWaitIdle", "vulkan") + : _slots[710] = nativeContext.LoadFunction("vkQueueWaitIdle", "vulkan") ) )(queue); @@ -171576,6 +186572,122 @@ _slots[652] is not null and var loadedFnPtr [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] public static Result QueueWaitIdle(QueueHandle queue) => ThisThread.QueueWaitIdle(queue); + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.RegisterCustomBorderColorEXT( + DeviceHandle device, + SamplerCustomBorderColorCreateInfoEXT* pBorderColor, + uint requestIndex, + uint* pIndex + ) => + ( + (delegate* unmanaged< + DeviceHandle, + SamplerCustomBorderColorCreateInfoEXT*, + uint, + uint*, + Result>)( + _slots[711] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[711] = nativeContext.LoadFunction( + "vkRegisterCustomBorderColorEXT", + "vulkan" + ) + ) + )(device, pBorderColor, requestIndex, pIndex); + + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result RegisterCustomBorderColorEXT( + DeviceHandle device, + SamplerCustomBorderColorCreateInfoEXT* pBorderColor, + uint requestIndex, + uint* pIndex + ) => ThisThread.RegisterCustomBorderColorEXT(device, pBorderColor, requestIndex, pIndex); + + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.RegisterCustomBorderColorEXT( + DeviceHandle device, + Ref pBorderColor, + MaybeBool requestIndex, + Ref pIndex + ) + { + fixed (uint* __dsl_pIndex = pIndex) + fixed (SamplerCustomBorderColorCreateInfoEXT* __dsl_pBorderColor = pBorderColor) + { + return (Result) + ((IVk)this).RegisterCustomBorderColorEXT( + device, + __dsl_pBorderColor, + (uint)requestIndex, + __dsl_pIndex + ); + } + } + + [NativeName("vkRegisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkRegisterCustomBorderColorEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result RegisterCustomBorderColorEXT( + DeviceHandle device, + Ref pBorderColor, + MaybeBool requestIndex, + Ref pIndex + ) => ThisThread.RegisterCustomBorderColorEXT(device, pBorderColor, requestIndex, pIndex); + [NativeName("vkRegisterDeviceEventEXT")] [SupportedApiProfile( "vulkan", @@ -171597,9 +186709,9 @@ Result IVk.RegisterDeviceEventEXT( AllocationCallbacks*, FenceHandle*, Result>)( - _slots[653] is not null and var loadedFnPtr + _slots[712] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[653] = nativeContext.LoadFunction("vkRegisterDeviceEventEXT", "vulkan") + : _slots[712] = nativeContext.LoadFunction("vkRegisterDeviceEventEXT", "vulkan") ) )(device, pDeviceEventInfo, pAllocator, pFence); @@ -171685,9 +186797,9 @@ Result IVk.RegisterDisplayEventEXT( AllocationCallbacks*, FenceHandle*, Result>)( - _slots[654] is not null and var loadedFnPtr + _slots[713] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[654] = nativeContext.LoadFunction( + : _slots[713] = nativeContext.LoadFunction( "vkRegisterDisplayEventEXT", "vulkan" ) @@ -171762,6 +186874,7 @@ Ref pFence "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -171779,9 +186892,9 @@ Result IVk.ReleaseCapturedPipelineDataKHR( ReleaseCapturedPipelineDataInfoKHR*, AllocationCallbacks*, Result>)( - _slots[655] is not null and var loadedFnPtr + _slots[714] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[655] = nativeContext.LoadFunction( + : _slots[714] = nativeContext.LoadFunction( "vkReleaseCapturedPipelineDataKHR", "vulkan" ) @@ -171793,6 +186906,7 @@ _slots[655] is not null and var loadedFnPtr "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -171810,6 +186924,7 @@ public static Result ReleaseCapturedPipelineDataKHR( "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -171835,6 +186950,7 @@ Ref pAllocator "vulkan", ["VK_KHR_pipeline_binary"], ImpliesSets = [ + "VK_KHR_pipeline_binary+VK_KHR_extended_flags", "VK_KHR_pipeline_binary+VK_KHR_maintenance5", "VK_KHR_pipeline_binary+VK_VERSION_1_4", ] @@ -171858,9 +186974,9 @@ Ref pAllocator Result IVk.ReleaseDisplayEXT(PhysicalDeviceHandle physicalDevice, DisplayHandleKHR display) => ( (delegate* unmanaged)( - _slots[656] is not null and var loadedFnPtr + _slots[715] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[656] = nativeContext.LoadFunction("vkReleaseDisplayEXT", "vulkan") + : _slots[715] = nativeContext.LoadFunction("vkReleaseDisplayEXT", "vulkan") ) )(physicalDevice, display); @@ -171887,9 +187003,9 @@ PerformanceConfigurationHandleINTEL configuration ) => ( (delegate* unmanaged)( - _slots[657] is not null and var loadedFnPtr + _slots[716] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[657] = nativeContext.LoadFunction( + : _slots[716] = nativeContext.LoadFunction( "vkReleasePerformanceConfigurationINTEL", "vulkan" ) @@ -171919,9 +187035,9 @@ PerformanceConfigurationHandleINTEL configuration void IVk.ReleaseProfilingLockKHR(DeviceHandle device) => ( (delegate* unmanaged)( - _slots[658] is not null and var loadedFnPtr + _slots[717] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[658] = nativeContext.LoadFunction( + : _slots[717] = nativeContext.LoadFunction( "vkReleaseProfilingLockKHR", "vulkan" ) @@ -171959,9 +187075,9 @@ Result IVk.ReleaseSwapchainImagesEXT( ) => ( (delegate* unmanaged)( - _slots[659] is not null and var loadedFnPtr + _slots[718] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[659] = nativeContext.LoadFunction( + : _slots[718] = nativeContext.LoadFunction( "vkReleaseSwapchainImagesEXT", "vulkan" ) @@ -172027,9 +187143,8 @@ Ref pReleaseInfo "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -172040,9 +187155,9 @@ Result IVk.ReleaseSwapchainImagesKHR( ) => ( (delegate* unmanaged)( - _slots[660] is not null and var loadedFnPtr + _slots[719] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[660] = nativeContext.LoadFunction( + : _slots[719] = nativeContext.LoadFunction( "vkReleaseSwapchainImagesKHR", "vulkan" ) @@ -172054,9 +187169,8 @@ _slots[660] is not null and var loadedFnPtr "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -172071,9 +187185,8 @@ public static Result ReleaseSwapchainImagesKHR( "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -172094,9 +187207,8 @@ Ref pReleaseInfo "vulkan", ["VK_KHR_swapchain_maintenance1"], ImpliesSets = [ - "VK_KHR_swapchain_maintenance1+VK_KHR_get_physical_device_properties2", - "VK_KHR_swapchain_maintenance1+VK_KHR_surface_maintenance1", - "VK_KHR_swapchain_maintenance1+VK_KHR_swapchain", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_KHR_get_physical_device_properties2", + "VK_KHR_swapchain+VK_KHR_surface_maintenance1+VK_VERSION_1_1", ] )] [NativeFunction("vulkan", EntryPoint = "vkReleaseSwapchainImagesKHR")] @@ -172141,9 +187253,9 @@ CommandBufferResetFlags flags ) => ( (delegate* unmanaged)( - _slots[661] is not null and var loadedFnPtr + _slots[720] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[661] = nativeContext.LoadFunction("vkResetCommandBuffer", "vulkan") + : _slots[720] = nativeContext.LoadFunction("vkResetCommandBuffer", "vulkan") ) )(commandBuffer, flags); @@ -172217,9 +187329,9 @@ CommandPoolResetFlags flags ) => ( (delegate* unmanaged)( - _slots[662] is not null and var loadedFnPtr + _slots[721] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[662] = nativeContext.LoadFunction("vkResetCommandPool", "vulkan") + : _slots[721] = nativeContext.LoadFunction("vkResetCommandPool", "vulkan") ) )(device, commandPool, flags); @@ -172289,9 +187401,9 @@ uint flags ) => ( (delegate* unmanaged)( - _slots[663] is not null and var loadedFnPtr + _slots[722] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[663] = nativeContext.LoadFunction("vkResetDescriptorPool", "vulkan") + : _slots[722] = nativeContext.LoadFunction("vkResetDescriptorPool", "vulkan") ) )(device, descriptorPool, flags); @@ -172352,9 +187464,9 @@ uint flags Result IVk.ResetEvent(DeviceHandle device, EventHandle @event) => ( (delegate* unmanaged)( - _slots[664] is not null and var loadedFnPtr + _slots[723] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[664] = nativeContext.LoadFunction("vkResetEvent", "vulkan") + : _slots[723] = nativeContext.LoadFunction("vkResetEvent", "vulkan") ) )(device, @event); @@ -172417,9 +187529,9 @@ public static Result ResetEvent(DeviceHandle device, EventHandle @event) => Result IVk.ResetFences(DeviceHandle device, uint fenceCount, FenceHandle* pFences) => ( (delegate* unmanaged)( - _slots[665] is not null and var loadedFnPtr + _slots[724] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[665] = nativeContext.LoadFunction("vkResetFences", "vulkan") + : _slots[724] = nativeContext.LoadFunction("vkResetFences", "vulkan") ) )(device, fenceCount, pFences); @@ -172527,6 +187639,40 @@ public static Result ResetFences( Ref pFences ) => ThisThread.ResetFences(device, fenceCount, pFences); + [NativeName("vkResetGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkResetGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.ResetGpaSessionAMD(DeviceHandle device, GpaSessionHandleAMD gpaSession) => + ( + (delegate* unmanaged)( + _slots[725] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[725] = nativeContext.LoadFunction("vkResetGpaSessionAMD", "vulkan") + ) + )(device, gpaSession); + + [NativeName("vkResetGpaSessionAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkResetGpaSessionAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result ResetGpaSessionAMD(DeviceHandle device, GpaSessionHandleAMD gpaSession) => + ThisThread.ResetGpaSessionAMD(device, gpaSession); + [NativeName("vkResetQueryPool")] [SupportedApiProfile( "vulkan", @@ -172556,9 +187702,9 @@ uint queryCount ) => ( (delegate* unmanaged)( - _slots[666] is not null and var loadedFnPtr + _slots[726] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[666] = nativeContext.LoadFunction("vkResetQueryPool", "vulkan") + : _slots[726] = nativeContext.LoadFunction("vkResetQueryPool", "vulkan") ) )(device, queryPool, firstQuery, queryCount); @@ -172609,9 +187755,9 @@ uint queryCount ) => ( (delegate* unmanaged)( - _slots[667] is not null and var loadedFnPtr + _slots[727] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[667] = nativeContext.LoadFunction("vkResetQueryPoolEXT", "vulkan") + : _slots[727] = nativeContext.LoadFunction("vkResetQueryPoolEXT", "vulkan") ) )(device, queryPool, firstQuery, queryCount); @@ -172643,9 +187789,9 @@ Result IVk.SetDebugUtilsObjectNameEXT( ) => ( (delegate* unmanaged)( - _slots[668] is not null and var loadedFnPtr + _slots[728] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[668] = nativeContext.LoadFunction( + : _slots[728] = nativeContext.LoadFunction( "vkSetDebugUtilsObjectNameEXT", "vulkan" ) @@ -172695,9 +187841,9 @@ Result IVk.SetDebugUtilsObjectTagEXT( ) => ( (delegate* unmanaged)( - _slots[669] is not null and var loadedFnPtr + _slots[729] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[669] = nativeContext.LoadFunction( + : _slots[729] = nativeContext.LoadFunction( "vkSetDebugUtilsObjectTagEXT", "vulkan" ) @@ -172752,9 +187898,9 @@ float priority ) => ( (delegate* unmanaged)( - _slots[670] is not null and var loadedFnPtr + _slots[730] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[670] = nativeContext.LoadFunction( + : _slots[730] = nativeContext.LoadFunction( "vkSetDeviceMemoryPriorityEXT", "vulkan" ) @@ -172802,9 +187948,9 @@ float priority Result IVk.SetEvent(DeviceHandle device, EventHandle @event) => ( (delegate* unmanaged)( - _slots[671] is not null and var loadedFnPtr + _slots[731] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[671] = nativeContext.LoadFunction("vkSetEvent", "vulkan") + : _slots[731] = nativeContext.LoadFunction("vkSetEvent", "vulkan") ) )(device, @event); @@ -172835,6 +187981,80 @@ _slots[671] is not null and var loadedFnPtr public static Result SetEvent(DeviceHandle device, EventHandle @event) => ThisThread.SetEvent(device, @event); + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.SetGpaDeviceClockModeAMD(DeviceHandle device, GpaDeviceClockModeInfoAMD* pInfo) => + ( + (delegate* unmanaged)( + _slots[732] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[732] = nativeContext.LoadFunction( + "vkSetGpaDeviceClockModeAMD", + "vulkan" + ) + ) + )(device, pInfo); + + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result SetGpaDeviceClockModeAMD( + DeviceHandle device, + GpaDeviceClockModeInfoAMD* pInfo + ) => ThisThread.SetGpaDeviceClockModeAMD(device, pInfo); + + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.SetGpaDeviceClockModeAMD(DeviceHandle device, Ref pInfo) + { + fixed (GpaDeviceClockModeInfoAMD* __dsl_pInfo = pInfo) + { + return (Result)((IVk)this).SetGpaDeviceClockModeAMD(device, __dsl_pInfo); + } + } + + [NativeName("vkSetGpaDeviceClockModeAMD")] + [SupportedApiProfile( + "vulkan", + ["VK_AMD_gpa_interface"], + ImpliesSets = [ + "VK_AMD_gpa_interface+VK_KHR_get_physical_device_properties2", + "VK_AMD_gpa_interface+VK_VERSION_1_1", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetGpaDeviceClockModeAMD")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result SetGpaDeviceClockModeAMD( + DeviceHandle device, + Ref pInfo + ) => ThisThread.SetGpaDeviceClockModeAMD(device, pInfo); + [NativeName("vkSetHdrMetadataEXT")] [SupportedApiProfile("vulkan", ["VK_EXT_hdr_metadata"], ImpliesSets = ["VK_KHR_swapchain"])] [NativeFunction("vulkan", EntryPoint = "vkSetHdrMetadataEXT")] @@ -172847,9 +188067,9 @@ void IVk.SetHdrMetadataEXT( ) => ( (delegate* unmanaged)( - _slots[672] is not null and var loadedFnPtr + _slots[733] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[672] = nativeContext.LoadFunction("vkSetHdrMetadataEXT", "vulkan") + : _slots[733] = nativeContext.LoadFunction("vkSetHdrMetadataEXT", "vulkan") ) )(device, swapchainCount, pSwapchains, pMetadata); @@ -172918,9 +188138,9 @@ void IVk.SetLatencyMarkerNV( ) => ( (delegate* unmanaged)( - _slots[673] is not null and var loadedFnPtr + _slots[734] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[673] = nativeContext.LoadFunction("vkSetLatencyMarkerNV", "vulkan") + : _slots[734] = nativeContext.LoadFunction("vkSetLatencyMarkerNV", "vulkan") ) )(device, swapchain, pLatencyMarkerInfo); @@ -173011,9 +188231,9 @@ Result IVk.SetLatencySleepModeNV( SwapchainHandleKHR, LatencySleepModeInfoNV*, Result>)( - _slots[674] is not null and var loadedFnPtr + _slots[735] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[674] = nativeContext.LoadFunction("vkSetLatencySleepModeNV", "vulkan") + : _slots[735] = nativeContext.LoadFunction("vkSetLatencySleepModeNV", "vulkan") ) )(device, swapchain, pSleepModeInfo); @@ -173099,9 +188319,9 @@ uint localDimmingEnable ) => ( (delegate* unmanaged)( - _slots[675] is not null and var loadedFnPtr + _slots[736] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[675] = nativeContext.LoadFunction("vkSetLocalDimmingAMD", "vulkan") + : _slots[736] = nativeContext.LoadFunction("vkSetLocalDimmingAMD", "vulkan") ) )(device, swapChain, localDimmingEnable); @@ -173188,9 +188408,9 @@ ulong data PrivateDataSlotHandle, ulong, Result>)( - _slots[676] is not null and var loadedFnPtr + _slots[737] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[676] = nativeContext.LoadFunction("vkSetPrivateData", "vulkan") + : _slots[737] = nativeContext.LoadFunction("vkSetPrivateData", "vulkan") ) )(device, objectType, objectHandle, privateDataSlot, data); @@ -173245,9 +188465,9 @@ ulong data PrivateDataSlotHandle, ulong, Result>)( - _slots[677] is not null and var loadedFnPtr + _slots[738] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[677] = nativeContext.LoadFunction("vkSetPrivateDataEXT", "vulkan") + : _slots[738] = nativeContext.LoadFunction("vkSetPrivateDataEXT", "vulkan") ) )(device, objectType, objectHandle, privateDataSlot, data); @@ -173270,6 +188490,54 @@ public static Result SetPrivateDataEXT( ulong data ) => ThisThread.SetPrivateDataEXT(device, objectType, objectHandle, privateDataSlot, data); + [NativeName("vkSetSwapchainPresentTimingQueueSizeEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetSwapchainPresentTimingQueueSizeEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.SetSwapchainPresentTimingQueueSizeEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + uint size + ) => + ( + (delegate* unmanaged)( + _slots[739] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[739] = nativeContext.LoadFunction( + "vkSetSwapchainPresentTimingQueueSizeEXT", + "vulkan" + ) + ) + )(device, swapchain, size); + + [NativeName("vkSetSwapchainPresentTimingQueueSizeEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_present_timing"], + ImpliesSets = [ + "VK_KHR_calibrated_timestamps", + "VK_KHR_get_surface_capabilities2", + "VK_KHR_present_id2", + "VK_KHR_swapchain", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkSetSwapchainPresentTimingQueueSizeEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result SetSwapchainPresentTimingQueueSizeEXT( + DeviceHandle device, + SwapchainHandleKHR swapchain, + uint size + ) => ThisThread.SetSwapchainPresentTimingQueueSizeEXT(device, swapchain, size); + [NativeName("vkSignalSemaphore")] [SupportedApiProfile( "vulkan", @@ -173294,9 +188562,9 @@ ulong data Result IVk.SignalSemaphore(DeviceHandle device, SemaphoreSignalInfo* pSignalInfo) => ( (delegate* unmanaged)( - _slots[678] is not null and var loadedFnPtr + _slots[740] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[678] = nativeContext.LoadFunction("vkSignalSemaphore", "vulkan") + : _slots[740] = nativeContext.LoadFunction("vkSignalSemaphore", "vulkan") ) )(device, pSignalInfo); @@ -173393,9 +188661,9 @@ Ref pSignalInfo Result IVk.SignalSemaphoreKHR(DeviceHandle device, SemaphoreSignalInfo* pSignalInfo) => ( (delegate* unmanaged)( - _slots[679] is not null and var loadedFnPtr + _slots[741] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[679] = nativeContext.LoadFunction("vkSignalSemaphoreKHR", "vulkan") + : _slots[741] = nativeContext.LoadFunction("vkSignalSemaphoreKHR", "vulkan") ) )(device, pSignalInfo); @@ -173467,9 +188735,9 @@ void IVk.SubmitDebugUtilsMessageEXT( DebugUtilsMessageTypeFlagsEXT, DebugUtilsMessengerCallbackDataEXT*, void>)( - _slots[680] is not null and var loadedFnPtr + _slots[742] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[680] = nativeContext.LoadFunction( + : _slots[742] = nativeContext.LoadFunction( "vkSubmitDebugUtilsMessageEXT", "vulkan" ) @@ -173552,9 +188820,9 @@ Result IVk.TransitionImageLayout( ) => ( (delegate* unmanaged)( - _slots[681] is not null and var loadedFnPtr + _slots[743] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[681] = nativeContext.LoadFunction("vkTransitionImageLayout", "vulkan") + : _slots[743] = nativeContext.LoadFunction("vkTransitionImageLayout", "vulkan") ) )(device, transitionCount, pTransitions); @@ -173641,9 +188909,9 @@ Result IVk.TransitionImageLayoutEXT( ) => ( (delegate* unmanaged)( - _slots[682] is not null and var loadedFnPtr + _slots[744] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[682] = nativeContext.LoadFunction( + : _slots[744] = nativeContext.LoadFunction( "vkTransitionImageLayoutEXT", "vulkan" ) @@ -173739,9 +189007,9 @@ Ref pTransitions void IVk.TrimCommandPool(DeviceHandle device, CommandPoolHandle commandPool, uint flags) => ( (delegate* unmanaged)( - _slots[683] is not null and var loadedFnPtr + _slots[745] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[683] = nativeContext.LoadFunction("vkTrimCommandPool", "vulkan") + : _slots[745] = nativeContext.LoadFunction("vkTrimCommandPool", "vulkan") ) )(device, commandPool, flags); @@ -173783,9 +189051,9 @@ uint flags void IVk.TrimCommandPoolKHR(DeviceHandle device, CommandPoolHandle commandPool, uint flags) => ( (delegate* unmanaged)( - _slots[684] is not null and var loadedFnPtr + _slots[746] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[684] = nativeContext.LoadFunction("vkTrimCommandPoolKHR", "vulkan") + : _slots[746] = nativeContext.LoadFunction("vkTrimCommandPoolKHR", "vulkan") ) )(device, commandPool, flags); @@ -173806,9 +189074,9 @@ uint flags void IVk.UninitializePerformanceApiINTEL(DeviceHandle device) => ( (delegate* unmanaged)( - _slots[685] is not null and var loadedFnPtr + _slots[747] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[685] = nativeContext.LoadFunction( + : _slots[747] = nativeContext.LoadFunction( "vkUninitializePerformanceApiINTEL", "vulkan" ) @@ -173854,9 +189122,9 @@ public static void UninitializePerformanceApiINTEL(DeviceHandle device) => void IVk.UnmapMemory(DeviceHandle device, DeviceMemoryHandle memory) => ( (delegate* unmanaged)( - _slots[686] is not null and var loadedFnPtr + _slots[748] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[686] = nativeContext.LoadFunction("vkUnmapMemory", "vulkan") + : _slots[748] = nativeContext.LoadFunction("vkUnmapMemory", "vulkan") ) )(device, memory); @@ -173908,9 +189176,9 @@ public static void UnmapMemory(DeviceHandle device, DeviceMemoryHandle memory) = Result IVk.UnmapMemory2(DeviceHandle device, MemoryUnmapInfo* pMemoryUnmapInfo) => ( (delegate* unmanaged)( - _slots[687] is not null and var loadedFnPtr + _slots[749] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[687] = nativeContext.LoadFunction("vkUnmapMemory2", "vulkan") + : _slots[749] = nativeContext.LoadFunction("vkUnmapMemory2", "vulkan") ) )(device, pMemoryUnmapInfo); @@ -173974,9 +189242,9 @@ public static Result UnmapMemory2(DeviceHandle device, Ref pMem Result IVk.UnmapMemory2KHR(DeviceHandle device, MemoryUnmapInfo* pMemoryUnmapInfo) => ( (delegate* unmanaged)( - _slots[688] is not null and var loadedFnPtr + _slots[750] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[688] = nativeContext.LoadFunction("vkUnmapMemory2KHR", "vulkan") + : _slots[750] = nativeContext.LoadFunction("vkUnmapMemory2KHR", "vulkan") ) )(device, pMemoryUnmapInfo); @@ -174008,6 +189276,51 @@ public static Result UnmapMemory2KHR( Ref pMemoryUnmapInfo ) => ThisThread.UnmapMemory2KHR(device, pMemoryUnmapInfo); + [NativeName("vkUnregisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkUnregisterCustomBorderColorEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IVk.UnregisterCustomBorderColorEXT(DeviceHandle device, uint index) => + ( + (delegate* unmanaged)( + _slots[751] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[751] = nativeContext.LoadFunction( + "vkUnregisterCustomBorderColorEXT", + "vulkan" + ) + ) + )(device, index); + + [NativeName("vkUnregisterCustomBorderColorEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_custom_border_color", "VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ], + RequireAll = true + )] + [NativeFunction("vulkan", EntryPoint = "vkUnregisterCustomBorderColorEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void UnregisterCustomBorderColorEXT(DeviceHandle device, uint index) => + ThisThread.UnregisterCustomBorderColorEXT(device, index); + [NativeName("vkUpdateDescriptorSets")] [SupportedApiProfile( "vulkan", @@ -174047,9 +189360,9 @@ void IVk.UpdateDescriptorSets( uint, CopyDescriptorSet*, void>)( - _slots[689] is not null and var loadedFnPtr + _slots[752] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[689] = nativeContext.LoadFunction("vkUpdateDescriptorSets", "vulkan") + : _slots[752] = nativeContext.LoadFunction("vkUpdateDescriptorSets", "vulkan") ) )(device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies); @@ -174210,9 +189523,9 @@ void IVk.UpdateDescriptorSetWithTemplate( DescriptorUpdateTemplateHandle, void*, void>)( - _slots[690] is not null and var loadedFnPtr + _slots[753] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[690] = nativeContext.LoadFunction( + : _slots[753] = nativeContext.LoadFunction( "vkUpdateDescriptorSetWithTemplate", "vulkan" ) @@ -174343,9 +189656,9 @@ void IVk.UpdateDescriptorSetWithTemplateKHR( DescriptorUpdateTemplateHandle, void*, void>)( - _slots[691] is not null and var loadedFnPtr + _slots[754] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[691] = nativeContext.LoadFunction( + : _slots[754] = nativeContext.LoadFunction( "vkUpdateDescriptorSetWithTemplateKHR", "vulkan" ) @@ -174413,8 +189726,10 @@ Ref pData "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -174433,9 +189748,9 @@ void IVk.UpdateIndirectExecutionSetPipelineEXT( uint, WriteIndirectExecutionSetPipelineEXT*, void>)( - _slots[692] is not null and var loadedFnPtr + _slots[755] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[692] = nativeContext.LoadFunction( + : _slots[755] = nativeContext.LoadFunction( "vkUpdateIndirectExecutionSetPipelineEXT", "vulkan" ) @@ -174447,8 +189762,10 @@ _slots[692] is not null and var loadedFnPtr "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -174472,8 +189789,10 @@ public static void UpdateIndirectExecutionSetPipelineEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -174504,8 +189823,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -174529,8 +189850,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -174553,8 +189876,10 @@ WriteIndirectExecutionSetPipelineEXT pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -174576,8 +189901,10 @@ WriteIndirectExecutionSetPipelineEXT pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -174596,9 +189923,9 @@ void IVk.UpdateIndirectExecutionSetShaderEXT( uint, WriteIndirectExecutionSetShaderEXT*, void>)( - _slots[693] is not null and var loadedFnPtr + _slots[756] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[693] = nativeContext.LoadFunction( + : _slots[756] = nativeContext.LoadFunction( "vkUpdateIndirectExecutionSetShaderEXT", "vulkan" ) @@ -174610,8 +189937,10 @@ _slots[693] is not null and var loadedFnPtr "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -174635,8 +189964,10 @@ public static void UpdateIndirectExecutionSetShaderEXT( "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -174665,8 +189996,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -174690,8 +190023,10 @@ Ref pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -174714,8 +190049,10 @@ WriteIndirectExecutionSetShaderEXT pExecutionSetWrites "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -174751,9 +190088,9 @@ Result IVk.UpdateVideoSessionParametersKHR( VideoSessionParametersHandleKHR, VideoSessionParametersUpdateInfoKHR*, Result>)( - _slots[694] is not null and var loadedFnPtr + _slots[757] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[694] = nativeContext.LoadFunction( + : _slots[757] = nativeContext.LoadFunction( "vkUpdateVideoSessionParametersKHR", "vulkan" ) @@ -174851,9 +190188,9 @@ ulong timeout ) => ( (delegate* unmanaged)( - _slots[695] is not null and var loadedFnPtr + _slots[758] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[695] = nativeContext.LoadFunction("vkWaitForFences", "vulkan") + : _slots[758] = nativeContext.LoadFunction("vkWaitForFences", "vulkan") ) )(device, fenceCount, pFences, waitAll, timeout); @@ -175001,9 +190338,9 @@ Result IVk.WaitForPresent2KHR( ) => ( (delegate* unmanaged)( - _slots[696] is not null and var loadedFnPtr + _slots[759] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[696] = nativeContext.LoadFunction("vkWaitForPresent2KHR", "vulkan") + : _slots[759] = nativeContext.LoadFunction("vkWaitForPresent2KHR", "vulkan") ) )(device, swapchain, pPresentWait2Info); @@ -175087,9 +190424,9 @@ ulong timeout ) => ( (delegate* unmanaged)( - _slots[697] is not null and var loadedFnPtr + _slots[760] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[697] = nativeContext.LoadFunction("vkWaitForPresentKHR", "vulkan") + : _slots[760] = nativeContext.LoadFunction("vkWaitForPresentKHR", "vulkan") ) )(device, swapchain, presentId, timeout); @@ -175132,9 +190469,9 @@ ulong timeout Result IVk.WaitSemaphores(DeviceHandle device, SemaphoreWaitInfo* pWaitInfo, ulong timeout) => ( (delegate* unmanaged)( - _slots[698] is not null and var loadedFnPtr + _slots[761] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[698] = nativeContext.LoadFunction("vkWaitSemaphores", "vulkan") + : _slots[761] = nativeContext.LoadFunction("vkWaitSemaphores", "vulkan") ) )(device, pWaitInfo, timeout); @@ -175239,9 +190576,9 @@ ulong timeout ) => ( (delegate* unmanaged)( - _slots[699] is not null and var loadedFnPtr + _slots[762] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[699] = nativeContext.LoadFunction("vkWaitSemaphoresKHR", "vulkan") + : _slots[762] = nativeContext.LoadFunction("vkWaitSemaphoresKHR", "vulkan") ) )(device, pWaitInfo, timeout); @@ -175332,9 +190669,9 @@ nuint stride void*, nuint, Result>)( - _slots[700] is not null and var loadedFnPtr + _slots[763] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[700] = nativeContext.LoadFunction( + : _slots[763] = nativeContext.LoadFunction( "vkWriteAccelerationStructuresPropertiesKHR", "vulkan" ) @@ -175478,9 +190815,9 @@ nuint stride void*, nuint, Result>)( - _slots[701] is not null and var loadedFnPtr + _slots[764] is not null and var loadedFnPtr ? loadedFnPtr - : _slots[701] = nativeContext.LoadFunction( + : _slots[764] = nativeContext.LoadFunction( "vkWriteMicromapsPropertiesEXT", "vulkan" ) @@ -175583,4 +190920,228 @@ nuint stride pData, stride ); + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + ResourceDescriptorInfoEXT* pResources, + HostAddressRangeEXT* pDescriptors + ) => + ( + (delegate* unmanaged< + DeviceHandle, + uint, + ResourceDescriptorInfoEXT*, + HostAddressRangeEXT*, + Result>)( + _slots[765] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[765] = nativeContext.LoadFunction( + "vkWriteResourceDescriptorsEXT", + "vulkan" + ) + ) + )(device, resourceCount, pResources, pDescriptors); + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + ResourceDescriptorInfoEXT* pResources, + HostAddressRangeEXT* pDescriptors + ) => ThisThread.WriteResourceDescriptorsEXT(device, resourceCount, pResources, pDescriptors); + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + Ref pResources, + Ref pDescriptors + ) + { + fixed (HostAddressRangeEXT* __dsl_pDescriptors = pDescriptors) + fixed (ResourceDescriptorInfoEXT* __dsl_pResources = pResources) + { + return (Result) + ((IVk)this).WriteResourceDescriptorsEXT( + device, + resourceCount, + __dsl_pResources, + __dsl_pDescriptors + ); + } + } + + [NativeName("vkWriteResourceDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteResourceDescriptorsEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result WriteResourceDescriptorsEXT( + DeviceHandle device, + uint resourceCount, + Ref pResources, + Ref pDescriptors + ) => ThisThread.WriteResourceDescriptorsEXT(device, resourceCount, pResources, pDescriptors); + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + SamplerCreateInfo* pSamplers, + HostAddressRangeEXT* pDescriptors + ) => + ( + (delegate* unmanaged< + DeviceHandle, + uint, + SamplerCreateInfo*, + HostAddressRangeEXT*, + Result>)( + _slots[766] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[766] = nativeContext.LoadFunction( + "vkWriteSamplerDescriptorsEXT", + "vulkan" + ) + ) + )(device, samplerCount, pSamplers, pDescriptors); + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + SamplerCreateInfo* pSamplers, + HostAddressRangeEXT* pDescriptors + ) => ThisThread.WriteSamplerDescriptorsEXT(device, samplerCount, pSamplers, pDescriptors); + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Result IVk.WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + Ref pSamplers, + Ref pDescriptors + ) + { + fixed (HostAddressRangeEXT* __dsl_pDescriptors = pDescriptors) + fixed (SamplerCreateInfo* __dsl_pSamplers = pSamplers) + { + return (Result) + ((IVk)this).WriteSamplerDescriptorsEXT( + device, + samplerCount, + __dsl_pSamplers, + __dsl_pDescriptors + ); + } + } + + [NativeName("vkWriteSamplerDescriptorsEXT")] + [SupportedApiProfile( + "vulkan", + ["VK_EXT_descriptor_heap"], + ImpliesSets = [ + "VK_KHR_extended_flags+VK_KHR_buffer_device_address", + "VK_KHR_extended_flags+VK_VERSION_1_2", + "VK_KHR_maintenance5+VK_KHR_buffer_device_address", + "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_VERSION_1_4", + ] + )] + [NativeFunction("vulkan", EntryPoint = "vkWriteSamplerDescriptorsEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Result WriteSamplerDescriptorsEXT( + DeviceHandle device, + uint samplerCount, + Ref pSamplers, + Ref pDescriptors + ) => ThisThread.WriteSamplerDescriptorsEXT(device, samplerCount, pSamplers, pDescriptors); } diff --git a/sources/Vulkan/Vulkan/Vulkan/WriteIndirectExecutionSetPipelineEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/WriteIndirectExecutionSetPipelineEXT.gen.cs index eaf6eaf07c..803cc0ae45 100644 --- a/sources/Vulkan/Vulkan/Vulkan/WriteIndirectExecutionSetPipelineEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/WriteIndirectExecutionSetPipelineEXT.gen.cs @@ -17,8 +17,10 @@ public unsafe partial struct WriteIndirectExecutionSetPipelineEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -29,8 +31,10 @@ public unsafe partial struct WriteIndirectExecutionSetPipelineEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -41,8 +45,10 @@ public unsafe partial struct WriteIndirectExecutionSetPipelineEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -53,8 +59,10 @@ public unsafe partial struct WriteIndirectExecutionSetPipelineEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] @@ -64,8 +72,10 @@ public unsafe partial struct WriteIndirectExecutionSetPipelineEXT "vulkan", ["VK_EXT_device_generated_commands"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ] )] diff --git a/sources/Vulkan/Vulkan/Vulkan/WriteIndirectExecutionSetShaderEXT.gen.cs b/sources/Vulkan/Vulkan/Vulkan/WriteIndirectExecutionSetShaderEXT.gen.cs index fabc1f5767..6a86d883e7 100644 --- a/sources/Vulkan/Vulkan/Vulkan/WriteIndirectExecutionSetShaderEXT.gen.cs +++ b/sources/Vulkan/Vulkan/Vulkan/WriteIndirectExecutionSetShaderEXT.gen.cs @@ -16,8 +16,10 @@ public unsafe partial struct WriteIndirectExecutionSetShaderEXT "vulkan", ["VK_EXT_device_generated_commands", "VK_EXT_shader_object"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ], RequireAll = true @@ -29,8 +31,10 @@ public unsafe partial struct WriteIndirectExecutionSetShaderEXT "vulkan", ["VK_EXT_device_generated_commands", "VK_EXT_shader_object"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ], RequireAll = true @@ -42,8 +46,10 @@ public unsafe partial struct WriteIndirectExecutionSetShaderEXT "vulkan", ["VK_EXT_device_generated_commands", "VK_EXT_shader_object"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ], RequireAll = true @@ -55,8 +61,10 @@ public unsafe partial struct WriteIndirectExecutionSetShaderEXT "vulkan", ["VK_EXT_device_generated_commands", "VK_EXT_shader_object"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ], RequireAll = true @@ -67,8 +75,10 @@ public unsafe partial struct WriteIndirectExecutionSetShaderEXT "vulkan", ["VK_EXT_device_generated_commands", "VK_EXT_shader_object"], ImpliesSets = [ - "VK_KHR_maintenance5+VK_KHR_buffer_device_address", - "VK_KHR_maintenance5+VK_VERSION_1_2", + "VK_KHR_buffer_device_address+VK_KHR_extended_flags", + "VK_KHR_buffer_device_address+VK_KHR_maintenance5", + "VK_VERSION_1_2+VK_KHR_extended_flags", + "VK_VERSION_1_2+VK_KHR_maintenance5", "VK_VERSION_1_3", ], RequireAll = true diff --git a/tests/SilkTouch/SilkTouch/MetadataUtilsTests.cs b/tests/SilkTouch/SilkTouch/MetadataUtilsTests.cs index 1a5c8194d3..b1fee27275 100644 --- a/tests/SilkTouch/SilkTouch/MetadataUtilsTests.cs +++ b/tests/SilkTouch/SilkTouch/MetadataUtilsTests.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using Silk.NET.SilkTouch.Mods.Metadata; +using Throws = NUnit.Framework.Throws; namespace Silk.NET.SilkTouch.UnitTests; @@ -15,7 +16,7 @@ public class MetadataUtilsTests TestCase("const int* const* const*[16]", 4), TestCase("const int* const* const* a[16]", 4), TestCase("const int* const* const* a[2][8]", 4), - TestCase("const int a", 0) + TestCase("const int a", 0), ] public void GetIndirectionLevels(string type, int expectedIndirection) => Assert.That(MetadataUtils.GetIndirectionLevels(type), Is.EqualTo(expectedIndirection)); @@ -51,7 +52,7 @@ public void GetIndirectionLevels(string type, int expectedIndirection) => TestCase("int** const*[16]", 4, new[] { true, true, false, true, true }, 16), TestCase("int** const* a[16]", 4, new[] { true, true, false, true, true }, 16), TestCase("int** const* a[2][8]", 4, new[] { true, true, false, true, true }, 16), - TestCase("int a", 0, new[] { true }, 0) + TestCase("int a", 0, new[] { true }, 0), ] public void GetMutability( string type, @@ -68,4 +69,47 @@ int expectedOuterCount Assert.That(mutability, Is.EquivalentTo(expectedMutability)); }); } + + [Test] + public void HandlesSimpleSymbols() + { + // OpenXR's XML uses constants to specify array sizes + // Normally this isn't an issue because ClangSharp resolves these for us + // This test ensures that we can handle simple symbols (naive lookup) for this case + Span mutability = stackalloc bool[2]; + MetadataUtils.GetTypeDetails( + "charbuffer[XR_MAX_RESULT_STRING_SIZE]", + mutability, + out var outerCount, + new Dictionary() { { "XR_MAX_RESULT_STRING_SIZE", "64" } } + ); + + Assert.That(mutability[0], Is.True); + Assert.That(mutability[1], Is.True); + Assert.That(outerCount, Is.EqualTo(64)); + } + + [Test] + public void SymbolLookupThrowsForInfiniteLoop() + { + // Implementation should throw for cycles + // Naive detection is fine since this is an unlikely case + Assert.That( + () => + { + Span mutability = stackalloc bool[2]; + MetadataUtils.GetTypeDetails( + "charbuffer[XR_MAX_RESULT_STRING_SIZE]", + mutability, + out _, + new Dictionary() + { + { "XR_MAX_RESULT_STRING_SIZE", "XR_MAX_RESULT_STRING_SIZE_2" }, + { "XR_MAX_RESULT_STRING_SIZE_2", "XR_MAX_RESULT_STRING_SIZE" }, + } + ); + }, + Throws.InvalidOperationException + ); + } } diff --git a/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Capitalize.verified.txt b/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Capitalize.verified.txt new file mode 100644 index 0000000000..c44661bd9e --- /dev/null +++ b/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Capitalize.verified.txt @@ -0,0 +1,5 @@ +// Test.gen.cs +[NameAffix("Prefix", "TestPrefix", "prefix_")] +public struct PREFIX_BaseName +{ +} diff --git a/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Preserves_ByDefault.verified.txt b/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Preserves_ByDefault.verified.txt new file mode 100644 index 0000000000..586affcd56 --- /dev/null +++ b/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Preserves_ByDefault.verified.txt @@ -0,0 +1,5 @@ +// Test.gen.cs +[NameAffix("Prefix", "TestPrefix", "prefix_")] +public struct prefix_BaseName +{ +} diff --git a/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Prettify.verified.txt b/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Prettify.verified.txt new file mode 100644 index 0000000000..419ee0f74c --- /dev/null +++ b/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Prettify.verified.txt @@ -0,0 +1,5 @@ +// Test.gen.cs +[NameAffix("Prefix", "TestPrefix", "prefix_")] +public struct PrefixBaseName +{ +} diff --git a/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Prettify2.verified.txt b/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Prettify2.verified.txt new file mode 100644 index 0000000000..130b36a5d1 --- /dev/null +++ b/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Prettify2.verified.txt @@ -0,0 +1,6 @@ +// Test.gen.cs +[NameAffix("Prefix", "TestPrefix1", "inner_")] +[NameAffix("Prefix", "TestPrefix2", "outer_")] +public struct OuterInnerBaseName +{ +} diff --git a/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Prettify_Capitalize.verified.txt b/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Prettify_Capitalize.verified.txt new file mode 100644 index 0000000000..e7e4617d05 --- /dev/null +++ b/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.ReapplyAffixesProcessor_Prettify_Capitalize.verified.txt @@ -0,0 +1,5 @@ +// Test.gen.cs +[NameAffix("Prefix", "TestPrefix", "prefix_")] +public struct PREFIXBaseName +{ +} diff --git a/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.cs b/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.cs index 23259aca7d..60b954b856 100644 --- a/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.cs +++ b/tests/SilkTouch/SilkTouch/Naming/PrettifyNamesTests.cs @@ -475,4 +475,192 @@ public class Sdl // Method is named "Main" await TestUtils.VerifyDocumentsAsync(context.SourceProject.Documents); } + + [Test] + public async Task ReapplyAffixesProcessor_Preserves_ByDefault() + { + var project = TestUtils + .CreateTestProject() + .AddDocument( + "Test.gen.cs", + """ + [NameAffix("Prefix", "TestPrefix", "prefix_")] + public struct BaseName { } + """ + ) + .Project; + + var context = new DummyModContext() { SourceProject = project }; + + var prettifyNames = new PrettifyNames( + NullLogger.Instance, + new DummyOptions(new PrettifyNames.Configuration()) + ); + + await prettifyNames.ExecuteAsync(context); + + // Result should be prefix_BaseName + await TestUtils.VerifyDocumentsAsync(context.SourceProject.Documents); + } + + [Test] + public async Task ReapplyAffixesProcessor_Prettify() + { + var project = TestUtils + .CreateTestProject() + .AddDocument( + "Test.gen.cs", + """ + [NameAffix("Prefix", "TestPrefix", "prefix_")] + public struct BaseName { } + """ + ) + .Project; + + var context = new DummyModContext() { SourceProject = project }; + + var prettifyNames = new PrettifyNames( + NullLogger.Instance, + new DummyOptions( + new PrettifyNames.Configuration() + { + Affixes = + { + { + "TestPrefix", + new PrettifyNames.NameAffixConfiguration() { Prettify = true } + }, + }, + } + ) + ); + + await prettifyNames.ExecuteAsync(context); + + // Result should be PrefixBaseName + await TestUtils.VerifyDocumentsAsync(context.SourceProject.Documents); + } + + [Test] + public async Task ReapplyAffixesProcessor_Prettify2() + { + var project = TestUtils + .CreateTestProject() + .AddDocument( + "Test.gen.cs", + """ + [NameAffix("Prefix", "TestPrefix1", "inner_")] + [NameAffix("Prefix", "TestPrefix2", "outer_")] + public struct BaseName { } + """ + ) + .Project; + + var context = new DummyModContext() { SourceProject = project }; + + var prettifyNames = new PrettifyNames( + NullLogger.Instance, + new DummyOptions( + new PrettifyNames.Configuration() + { + Affixes = + { + { + "TestPrefix1", + new PrettifyNames.NameAffixConfiguration() { Prettify = true } + }, + { + "TestPrefix2", + new PrettifyNames.NameAffixConfiguration() { Prettify = true } + }, + }, + } + ) + ); + + await prettifyNames.ExecuteAsync(context); + + // Result should be OuterInnerBaseName + await TestUtils.VerifyDocumentsAsync(context.SourceProject.Documents); + } + + [Test] + public async Task ReapplyAffixesProcessor_Capitalize() + { + var project = TestUtils + .CreateTestProject() + .AddDocument( + "Test.gen.cs", + """ + [NameAffix("Prefix", "TestPrefix", "prefix_")] + public struct BaseName { } + """ + ) + .Project; + + var context = new DummyModContext() { SourceProject = project }; + + var prettifyNames = new PrettifyNames( + NullLogger.Instance, + new DummyOptions( + new PrettifyNames.Configuration() + { + Affixes = + { + { + "TestPrefix", + new PrettifyNames.NameAffixConfiguration() { Capitalize = true } + }, + }, + } + ) + ); + + await prettifyNames.ExecuteAsync(context); + + // Result should be PREFIX_BaseName + await TestUtils.VerifyDocumentsAsync(context.SourceProject.Documents); + } + + [Test] + public async Task ReapplyAffixesProcessor_Prettify_Capitalize() + { + var project = TestUtils + .CreateTestProject() + .AddDocument( + "Test.gen.cs", + """ + [NameAffix("Prefix", "TestPrefix", "prefix_")] + public struct BaseName { } + """ + ) + .Project; + + var context = new DummyModContext() { SourceProject = project }; + + var prettifyNames = new PrettifyNames( + NullLogger.Instance, + new DummyOptions( + new PrettifyNames.Configuration() + { + Affixes = + { + { + "TestPrefix", + new PrettifyNames.NameAffixConfiguration() + { + Prettify = true, + Capitalize = true, + } + }, + }, + } + ) + ); + + await prettifyNames.ExecuteAsync(context); + + // Result should be PREFIXBaseName + await TestUtils.VerifyDocumentsAsync(context.SourceProject.Documents); + } }